21 May, 2007

2 commits


11 May, 2007

1 commit

  • These files are almost all the same.

    This patch could be made even simpler if we don't mind POLLREMOVE turning
    up in a few architectures that didn't have it previously (which should be
    OK as POLLREMOVE is not used anywhere in the current tree).

    Signed-off-by: Stephen Rothwell
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     

10 May, 2007

4 commits

  • Disband drivers/s390/Kconfig, use the common Kconfig files. The s390
    specific config options from drivers/s390/Kconfig are moved to the
    respective common Kconfig files.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Monthly sparse warning avoidance patch. Sigh.

    Signed-off-by: Heiko Carstens

    Heiko Carstens
     
  • The function shouldn't have existed in the first place (not MSS-aware).
    Introduce a new function ccw_device_get_id() that extracts the
    ccw_dev_id structure of a ccw device and convert all users of
    _ccw_device_get_device_number to ccw_device_get_id.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     
  • With the advent of kdump, the assumption that the boot CPU when booting an UP
    kernel is always the CPU with a particular hardware ID (often 0) (usually
    referred to as BSP on some architectures) is not valid anymore. The reason
    being that the dump capture kernel boots on the crashed CPU (the CPU that
    invoked crash_kexec), which may be or may not be that particular CPU.

    Move definition of hard_smp_processor_id for the UP case to
    architecture-specific code ("asm/smp.h") where it belongs, so that each
    architecture can provide its own implementation.

    Signed-off-by: Fernando Luis Vazquez Cao
    Cc: "Luck, Tony"
    Acked-by: Andi Kleen
    Cc: "Eric W. Biederman"
    Cc: Vivek Goyal
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fernando Luis Vazquez Cao
     

09 May, 2007

3 commits

  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (40 commits)
    [netdrvr] atl1: fix build
    pasemi_mac: Use local-mac-address instead of mac-address if available
    pasemi_mac: PHY support
    pasemi_mac: Add msglevel support and "debug" module param
    pasemi_mac: Logic cleanup / rx performance improvements
    pasemi_mac: Minor cleanup / define fixes
    pasemi_mac: Add SKB reuse / copy-break
    pasemi_mac: Timer and interrupt fixes
    pasemi_mac: Abstract and fix up interrupt restart routines
    pasemi_mac: Move the IRQ mapping from the PCI layer to the driver
    tc35815: Remove unnecessary skb->dev assignment
    drivers/net/dm9000: Convert to generic boolean
    AT91RM9200 Ethernet: Fix multicast addressing
    AT91RM9200 Ethernet: Support additional PHYs
    PCMCIA-NETDEV : xirc2ps_cs: bugfix of multicast code
    sky2: re-enable 88E8056 for most motherboards
    MIPS: Drop unnecessary CONFIG_ISA from RBTX49XX
    ne: MIPS: Use platform_driver for ne on RBTX49XX
    ne: Add NEEDS_PORTLIST to control ISA auto-probe
    ne: Misc fixes for platform driver.
    ...

    Fix conflict in drivers/net/pasemi_mac.c (get_property() got renamed to
    of_get_property()) manually.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Currently the size of the per-cpu region reserved to save crash notes is
    set by the per-architecture value MAX_NOTE_BYTES. Which in turn is
    currently set to 1024 on all supported architectures.

    While testing ia64 I recently discovered that this value is in fact too
    small. The particular setup I was using actually needs 1172 bytes. This
    lead to very tedious failure mode where the tail of one elf note would
    overwrite the head of another if they ended up being alocated sequentially
    by kmalloc, which was often the case.

    It seems to me that a far better approach is to caclculate the size that
    the area needs to be. This patch does just that.

    If a simpler stop-gap patch for ia64 to be squeezed into 2.6.21(.X) is
    needed then this should be as easy as making MAX_NOTE_BYTES larger in
    arch/asm-ia64/kexec.h. Perhaps 2048 would be a good choice. However, I
    think that the approach in this patch is a much more robust idea.

    Acked-by: Vivek Goyal
    Signed-off-by: Simon Horman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Simon Horman
     
  • This patch moves the die notifier handling to common code. Previous
    various architectures had exactly the same code for it. Note that the new
    code is compiled unconditionally, this should be understood as an appel to
    the other architecture maintainer to implement support for it aswell (aka
    sprinkling a notify_die or two in the proper place)

    arm had a notifiy_die that did something totally different, I renamed it to
    arm_notify_die as part of the patch and made it static to the file it's
    declared and used at. avr32 used to pass slightly less information through
    this interface and I brought it into line with the other architectures.

    [akpm@linux-foundation.org: build fix]
    [akpm@linux-foundation.org: fix vmalloc_sync_all bustage]
    [bryan.wu@analog.com: fix vmalloc_sync_all in nommu]
    Signed-off-by: Christoph Hellwig
    Cc:
    Cc: Russell King
    Signed-off-by: Bryan Wu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     

08 May, 2007

2 commits

  • Free sent skbs in some finite amount of time. Affected are
    asynchronous queue of Hipersockets devices and the output
    queues of all eth-devices respectively.

    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Pavlic
    Signed-off-by: Jeff Garzik

    Ursula Braun
     
  • Architectures that don't support DMA can say so by adding a config NO_DMA
    to their Kconfig file. This will prevent compilation of some dma specific
    driver code. Also dma-mapping-broken.h isn't needed anymore on at least
    s390. This avoids compilation and linking of otherwise dead/broken code.

    Other architectures that include dma-mapping-broken.h are arm26, h8300,
    m68k, m68knommu and v850. If these could be converted as well we could get
    rid of the header file.

    Signed-off-by: Heiko Carstens
    "John W. Linville"
    Cc: Kyle McMartin
    Cc:
    Cc: Tejun Heo
    Cc: Jeff Garzik
    Cc: Martin Schwidefsky
    Cc:
    Cc:
    Cc:
    Cc:
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

06 May, 2007

1 commit

  • * 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6: (231 commits)
    [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall
    [PATCH] i386: type may be unused
    [PATCH] i386: Some additional chipset register values validation.
    [PATCH] i386: Add missing !X86_PAE dependincy to the 2G/2G split.
    [PATCH] x86-64: Don't exclude asm-offsets.c in Documentation/dontdiff
    [PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu
    [PATCH] i386: white space fixes in i387.h
    [PATCH] i386: Drop noisy e820 debugging printks
    [PATCH] x86-64: Fix allnoconfig error in genapic_flat.c
    [PATCH] x86-64: Shut up warnings for vfat compat ioctls on other file systems
    [PATCH] x86-64: Share identical video.S between i386 and x86-64
    [PATCH] x86-64: Remove CONFIG_REORDER
    [PATCH] x86-64: Print type and size correctly for unknown compat ioctls
    [PATCH] i386: Remove copy_*_user BUG_ONs for (size < 0)
    [PATCH] i386: Little cleanups in smpboot.c
    [PATCH] x86-64: Don't enable NUMA for a single node in K8 NUMA scanning
    [PATCH] x86: Use RDTSCP for synchronous get_cycles if possible
    [PATCH] i386: Add X86_FEATURE_RDTSCP
    [PATCH] i386: Implement X86_FEATURE_SYNC_RDTSC on i386
    [PATCH] i386: Implement alternative_io for i386
    ...

    Fix up trivial conflict in include/linux/highmem.h manually.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

05 May, 2007

3 commits


03 May, 2007

1 commit

  • Add hooks to allow a paravirt implementation to track the lifetime of
    an mm. Paravirtualization requires three hooks, but only two are
    needed in common code. They are:

    arch_dup_mmap, which is called when a new mmap is created at fork

    arch_exit_mmap, which is called when the last process reference to an
    mm is dropped, which typically happens on exit and exec.

    The third hook is activate_mm, which is called from the arch-specific
    activate_mm() macro/function, and so doesn't need stub versions for
    other architectures. It's called when an mm is first used.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Andi Kleen
    Cc: linux-arch@vger.kernel.org
    Cc: James Bottomley
    Acked-by: Ingo Molnar

    Jeremy Fitzhardinge
     

28 Apr, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (448 commits)
    [IPV4] nl_fib_lookup: Initialise res.r before fib_res_put(&res)
    [IPV6]: Fix thinko in ipv6_rthdr_rcv() changes.
    [IPV4]: Add multipath cached to feature-removal-schedule.txt
    [WIRELESS] cfg80211: Clarify locking comment.
    [WIRELESS] cfg80211: Fix locking in wiphy_new.
    [WEXT] net_device: Don't include wext bits if not required.
    [WEXT]: Misc code cleanups.
    [WEXT]: Reduce inline abuse.
    [WEXT]: Move EXPORT_SYMBOL statements where they belong.
    [WEXT]: Cleanup early ioctl call path.
    [WEXT]: Remove options.
    [WEXT]: Remove dead debug code.
    [WEXT]: Clean up how wext is called.
    [WEXT]: Move to net/wireless
    [AFS]: Eliminate cmpxchg() usage in vlocation code.
    [RXRPC]: Fix pointers passed to bitops.
    [RXRPC]: Remove bogus atomic_* overrides.
    [AFS]: Fix u64 printing in debug logging.
    [AFS]: Add "directory write" support.
    [AFS]: Implement the CB.InitCallBackState3 operation.
    ...

    Linus Torvalds
     

27 Apr, 2007

9 commits

  • Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Heiko Carstens
     
  • The page_test_and_clear_dirty primitive really consists of two
    operations, page_test_dirty and the page_clear_dirty. The combination
    of the two is not an atomic operation, so it makes more sense to have
    two separate operations instead of one.
    In addition to the improved readability of the s390 version of
    SetPageUptodate, it now avoids the page_test_dirty operation which is
    an insert-storage-key-extended (iske) instruction which is an expensive
    operation.

    Signed-off-by: Martin Schwidefsky

    Martin Schwidefsky
     
  • Generate uevents for all cpus if cpu capability changes. This can
    happen e.g. because the cpus are overheating. The cpu capability can
    be read via /sys/devices/system/cpu/cpuN/capability.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Heiko Carstens
     
  • s390 machines provide hardware support for creating Linux dumps on SCSI
    disks. For creating a dump a special purpose dump Linux is used. The first
    32 MB of memory are saved by the hardware before the dump Linux is
    booted. Via an SCLP interface, the saved memory can be accessed from
    Linux. This patch exports memory and registers of the crashed Linux to
    userspace via a debugfs file. For more information refer to
    Documentation/s390/zfcpdump.txt, which is included in this patch.

    Signed-off-by: Michael Holzheu
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Michael Holzheu
     
  • Generic bug implementation for s390. Will increase the value of the
    console output on BUG() statements since registers r0-r5,r14 will
    not be clobbered by a printk() call that was previously done before
    the illegal instruction of BUG() was hit.
    Also implements an architecture specific WARN_ON(). Output of that
    could be increased but requires common code change.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Heiko Carstens
     
  • This patch adds two improvements to the oops output. First it adds an
    additional line after the PSW which decodes the different fields of it.
    Second a disassembler is added that decodes the instructions surrounding
    the faulting PSW. The output of a test oops now looks like this:

    kernel BUG at init/main.c:419
    illegal operation: 0001 [#1]
    CPU: 0 Not tainted
    Process swapper (pid: 0, task: 0000000000464968, ksp: 00000000004be000)
    Krnl PSW : 0700000180000000 00000000000120b6 (rest_init+0x36/0x38)
    R:0 T:1 IO:1 EX:1 Key:0 M:0 W:0 P:0 AS:0 CC:0 PM:0 EA:3
    Krnl GPRS: 0000000000000003 00000000004ba017 0000000000000022 0000000000000001
    000000000003a5f6 0000000000000000 00000000004be6a8 0000000000000000
    0000000000000000 00000000004b8200 0000000000003a50 0000000000008000
    0000000000516368 000000000033d008 00000000000120b2 00000000004bdee0
    Krnl Code: 00000000000120a6: e3e0f0980024 stg %r14,152(%r15)
    00000000000120ac: c0e500014296 brasl %r14,3a5d8
    00000000000120b2: a7f40001 brc 15,120b4
    >00000000000120b6: 0707 bcr 0,%r7
    00000000000120b8: eb7ff0500024 stmg %r7,%r15,80(%r15)
    00000000000120be: c0d000195825 larl %r13,33d108
    00000000000120c4: a7f13f00 tmll %r15,16128
    00000000000120c8: a7840001 brc 8,120ca
    Call Trace:
    ([] rest_init+0x32/0x38)
    [] start_kernel+0x37c/0x410
    [] _ehead+0x20/0x80

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Martin Schwidefsky
     
  • Introduce a mutex for struct ccwgroup to prevent simuntaneous
    register/unregister on the same ccwgroup device.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     
  • Add a new attribute to the channel-path sysfs directory through which
    channel-path configure operations can be triggered. Also listen for
    hardware events requesting channel-path configure operations and
    process them accordingly.

    Signed-off-by: Peter Oberparleiter
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Peter Oberparleiter
     
  • Clean interface between cio and ipl code, so Peter stops complaining.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Heiko Carstens
     

26 Apr, 2007

2 commits

  • Now that network timestamps use ktime_t infrastructure, we can add a new
    SOL_SOCKET sockopt SO_TIMESTAMPNS.

    This command is similar to SO_TIMESTAMP, but permits transmission of
    a 'timespec struct' instead of a 'timeval struct' control message.
    (nanosecond resolution instead of microsecond)

    Control message is labelled SCM_TIMESTAMPNS instead of SCM_TIMESTAMP

    A socket cannot mix SO_TIMESTAMP and SO_TIMESTAMPNS : the two modes are
    mutually exclusive.

    sock_recv_timestamp() became too big to be fully inlined so I added a
    __sock_recv_timestamp() helper function.

    Signed-off-by: Eric Dumazet
    CC: linux-arch@vger.kernel.org
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • Now network timestamps use ktime_t infrastructure, we can add a new
    ioctl() SIOCGSTAMPNS command to get timestamps in 'struct timespec'.
    User programs can thus access to nanosecond resolution.

    Signed-off-by: Eric Dumazet
    CC: Stephen Hemminger
    Signed-off-by: David S. Miller

    Eric Dumazet
     

27 Mar, 2007

1 commit

  • git commit f994aae1bd8e4813d59a2ed64d17585fe42d03fc changed the
    function declaration of csum_tcpudp_nofold. Argument types were
    changed from unsigned long to __be32 (unsigned int). Therefore we
    lost the implicit type conversion that zeroed the upper half of the
    registers that are used to pass parameters. Since the inline assembly
    relied on this we ended up adding random values and wrong checksums
    were created.
    Showed only up on machines with more than 4GB since gcc produced code
    where the registers that are used to pass 'saddr' and 'daddr' previously
    contained addresses before calling this function.
    Fix this by using 32 bit arithmetics and convert code to C, since gcc
    produces better code than these hand-optimized versions.

    Cc: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Heiko Carstens
     

19 Mar, 2007

2 commits


06 Mar, 2007

2 commits


21 Feb, 2007

5 commits


12 Feb, 2007

1 commit