Skip to content
Commits on Jan 31, 2007
  1. Linux 2.6.20-rc7

    Linus Torvalds committed Jan 30, 2007
    Ok, so I said there wouldn't be another -rc.
    
    I lied.
    
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  2. Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/g…

    Linus Torvalds committed Jan 30, 2007
    …it/jikos/hid
    
    * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid:
      HID: fix pb_fnmode and move it to generic HID
      HID: fix hid-input mapping for Firefly Mini Remote Control
      USB HID: fix hid_blacklist clash for 0x08ca/0x0010
      HID: fix memleaking of collection
  3. [PATCH] IPMI: fix timeout list handling

    David Barksdale committed with Linus Torvalds Jan 30, 2007
    Fix a dangling pointer bug in ipmi_timeout_handler.  A list of timedout
    messages is not re-initialized before reuse, causing the head of the list
    to point to freed memory.
    
    Signed-off-by: David Barksdale <amatus@ocgnet.org>
    Signed-off-by: Corey Minyard <minyard@acm.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  4. [PATCH] ntfs: kmap_atomic() atomicity fix

    Andrew Morton committed with Linus Torvalds Jan 30, 2007
    The KM_BIO_SRC_IRQ kmap slot requires local irq protection.
    
    Acked-by: Anton Altaparmakov <aia21@cantab.net>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  5. [PATCH] uml: fix signal frame alignment

    Jeff Dike committed with Linus Torvalds Jan 30, 2007
    Use the same signal frame alignment calculations as the underlying
    architecture.  x86_64 appeared to do this, but the "- 8" was really
    subtracting 8 * sizeof(struct rt_sigframe) rather than 8 bytes.
    
    UML/i386 might have been OK, but I changed the calculation to match
    i386 just to be sure.
    
    Signed-off-by: Jeff Dike <jdike@addtoit.com>
    Cc: <stable@kernel.org>
    Cc: Adrian Bunk <bunk@stusta.de>
    Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
    Acked-by: Antoine Martin <antoine@nagafix.co.uk>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  6. [PATCH] jmicron: 40/80pin primary detection

    ethanhsiao@jmicron.com committed with Linus Torvalds Jan 30, 2007
    jmicron module detects all JMB36x as JMB361 and PATA0 has wrong pin status
    of XICBLID.
    
    Cc: Jeff Garzik <jeff@garzik.org>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  7. @jdelvare

    [PATCH] Fix VIA quirks

    jdelvare committed with Linus Torvalds Jan 30, 2007
    Fix VIA quirks that were recently broken by Alan Cox in the upstream
    kernel (commit 1597cac).
    
    My understanding is that pci_find_present() doesn't work yet at the time
    the quirks are run.  So I used a two-step quirk as is done for some other
    quirks already.  First we detect the VIA south bridges and set the right
    low and high device limits, then we are ready to actually run the quirks on
    the affected devices.
    
    Signed-off-by: Jean Delvare <jdelvare@suse.de>
    Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Acked-by: Nick Piggin <nickpiggin@yahoo.com.au>
    Cc: Greg KH <greg@kroah.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  8. @mhiramathitachi

    [PATCH] kprobes: replace magic numbers with enum

    mhiramathitachi committed with Linus Torvalds Jan 30, 2007
    Replace the magic numbers with an enum, and gets rid of a warning on the
    specific architectures (ex.  powerpc) on which the compiler considers
    'char' as 'unsigned char'.
    
    Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    Cc: Prasanna S Panchamukhi <prasanna@in.ibm.com>
    Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
    Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  9. @neilbrown

    [PATCH] Remove warning: VFS is out of sync with lock manager

    neilbrown committed with Linus Torvalds Jan 30, 2007
    But keep it as a dprintk
    
    The message can be generated in a quite normal situation:
     If a 'lock' request is interrupted, then the lock client needs to
      record that the server has the lock, incase it does.
     When we come the unlock, the server might say it doesn't, even
      though we think it does (or might) and this generates the message.
    
    Signed-off-by: Neil Brown <neilb@suse.de>
    Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  10. @vapier

    [PATCH] translate dashes in filenames for headers install

    vapier committed with Linus Torvalds Jan 30, 2007
    The current filename->define translation does not scrub dashes so when
    creating stub defines for like asm-x86_64/ptrace-abi.h, we get: #define
    __ASM_STUB_PTRACE-ABI_H
    
    gcc just hates that sort of thing :)
    
    trivial attached patch adds - to the tr list to scrub it to _
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    Cc: David Woodhouse <dwmw2@infradead.org>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  11. [PATCH] Don't allow the stack to grow into hugetlb reserved regions

    Adam Litke committed with Linus Torvalds Jan 30, 2007
    When expanding the stack, we don't currently check if the VMA will cross
    into an area of the address space that is reserved for hugetlb pages.
    Subsequent faults on the expanded portion of such a VMA will confuse the
    low-level MMU code, resulting in an OOPS.  Check for this.
    
    Signed-off-by: Adam Litke <agl@us.ibm.com>
    Cc: David Gibson <david@gibson.dropbear.id.au>
    Cc: William Lee Irwin III <wli@holomorphy.com>
    Cc: Hugh Dickins <hugh@veritas.com>
    Cc: <stable@kernel.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Commits on Jan 30, 2007
  1. Revert "net: ifb error path loop fix"

    Linus Torvalds committed Jan 30, 2007
    This reverts commit 0c0b3ae.
    
    Quoth David:
    
      "Jeff, please revert
    
       It's wrong.  We had a lengthy analysis of this piece of code
       several months ago, and it is correct.
    
       Consider, if we run the loop and we get an error
       the following happens:
    
       1) attempt of ifb_init_one(i) fails, therefore we should
          not try to "ifb_free_one()" on "i" since it failed
       2) the loop iteration first increments "i", then it
          check for error
    
       Therefore we must decrement "i" twice before the first
       free during the cleanup.  One to "undo" the for() loop
       increment, and one to "skip" the ifb_init_one() case which
       failed."
    
    Reported-by: David Miller <davem@davemloft.net>
    Acked-by: Jeff Garzik <jgarzik@pobox.com>
    Cc: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  2. [PATCH] namespaces: fix task exit disaster

    Serge E. Hallyn committed with Linus Torvalds Jan 30, 2007
    This is based on a patch by Eric W.  Biederman, who pointed out that pid
    namespaces are still fake, and we only have one ever active.
    
    So for the time being, we can modify any code which could access
    tsk->nsproxy->pid_ns during task exit to just use &init_pid_ns instead,
    and move the exit_task_namespaces call in do_exit() back above
    exit_notify(), so that an exiting nfs server has a valid tsk->sighand to
    work with.
    
    Long term, pulling pid_ns out of nsproxy might be the cleanest solution.
    
    Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
    
    [ Eric's patch fixed to take care of free_pid() too ]
    
    Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  3. Revert "[PATCH] namespaces: fix exit race by splitting exit"

    Linus Torvalds committed Jan 30, 2007
    This reverts commit 7a238fc in
    preparation for a better and simpler fix proposed by Eric Biederman
    (and fixed up by Serge Hallyn)
    
    Acked-by: Serge E. Hallyn <serue@us.ibm.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  4. Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/ker…

    Linus Torvalds committed Jan 30, 2007
    …nel/git/jgarzik/libata-dev
    
    * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
      libata: fix translation for START STOP UNIT
      libata-scsi: ata_task_ioctl should return ATA registers from sense data
      pata_platform: set_mode fix
      ata_if_xfermask() word 51 fix
      pata_sil680: PIO1 taskfile transfers overclocking fix (repost)
      libata: fix ata_eh_suspend() return value
      ahci: port_no should be used when clearing IRQ in ahci_thaw()
    
    Fix trivial conflict in drivers/ata/pata_platform.c manually
  5. Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq

    Linus Torvalds committed Jan 30, 2007
    * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
      [CPUFREQ] Remove unneeded errata workaround from p4-clockmod.
      [CPUFREQ] check sysfs_create_link return value
  6. Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart

    Linus Torvalds committed Jan 30, 2007
    * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart:
      [AGPGART] Add new IDs to VIA AGP.
      [AGPGART] Remove pointless assignment.
      [AGPGART] Remove pointless typedef in ati-agp
      [AGPGART] Prevent (unlikely) memory leak in amd_create_gatt_pages()
      [AGPGART] intel_agp: restore graphics device's pci space early in resume
  7. Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6

    Linus Torvalds committed Jan 30, 2007
    * master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6:
      via82cxxx/pata_via: correct PCI_DEVICE_ID_VIA_SATA_EIDE ID and add support for CX700 and 8237S
      ide: unregister idepnp driver on unload
      ide: add missing __init tags to IDE PCI host drivers
      ia64: add pci_get_legacy_ide_irq()
      ide/generic: Jmicron has its own drivers now
      atiixp.c: add cable detection support for ATI IDE
      atiixp.c: sb600 ide only has one channel
      atiixp.c: remove unused code
      jmicron: fix warning
      ide: update MAINTAINERS entry
  8. Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/ker…

    Linus Torvalds committed Jan 30, 2007
    …nel/git/jgarzik/netdev-2.6
    
    * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
      Broadcom 4400 resume small fix
      b44: src_desc->addr is little-endian
      e100: fix irq leak on suspend/resume
      bonding: ARP monitoring broken on x86_64
      ehea: Fixed missing tasklet_kill() call
      ehea: Fixed wrong jumbo frames status query
      82596 warning fixes
      FS_ENET: OF-related fixup for FEC and SCC MAC's
      net: ifb error path loop fix
      b44: Fix frequent link changes
  9. [PATCH] fix indentation-related breakage in Kconfig.i386

    Al Viro committed with Linus Torvalds Jan 30, 2007
    Kconfig recognizes the end of help text by receding indentation depth.
    Recent patch had broken HOST_VMSPLIT_... choice in arch/um/Kconfig.i386 -
    all alternatives are interpreted as part of help text now.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  10. [PATCH] b44: src_desc->addr is little-endian

    Al Viro committed with Linus Torvalds Jan 30, 2007
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  11. [PATCH] dma-mapping.h stubs fix

    Al Viro committed with Linus Torvalds Jan 30, 2007
    do { } while(0) is not a good imitation of function returning void;
    use ((void)0) instead.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  12. [PATCH] missing dma_sync_single_range_for{cpu,device} on alpha

    Al Viro committed with Linus Torvalds Jan 30, 2007
    no-op as all dma_sync_... there.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  13. [PATCH] pata_platform: fallout from set_mode() change

    Al Viro committed with Linus Torvalds Jan 30, 2007
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  14. [PATCH] sym53c500_cs: remove bogus call fo free_dma()

    Al Viro committed with Linus Torvalds Jan 30, 2007
    What DMA for 16bit pcmcia card, anyway?  We never do request_dma()
    there and ->dma_channel never changes since initialization to -1.
    IOW, that call is dead code.
    
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  15. [PATCH] mtd/nand/cafe.c missing include of dma-mapping.h

    Al Viro committed with Linus Torvalds Jan 30, 2007
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  16. [PATCH] missing exports of pm_power_off() on alpha and sparc32

    Al Viro committed with Linus Torvalds Jan 30, 2007
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  17. Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-…

    Linus Torvalds committed Jan 30, 2007
    …linus
    
    * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
      [MIPS] Fix typo of "CONFIG_MT_SMP".
      [MIPS] Ocelot G: Fix a few misspellings of CONFIG_GALILEO_GT64240_ETH
      [PATCH] Malta: Fix build if CONFIG_MTD is diabled.
  18. Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6

    Linus Torvalds committed Jan 30, 2007
    * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6:
      [PATCH] ALSA: Fix sysfs breakage
  19. [PATCH] mm: mremap correct rmap accounting

    Hugh Dickins committed with Linus Torvalds Jan 29, 2007
    Nick Piggin points out that page accounting on MIPS multiple ZERO_PAGEs
    is not maintained by its move_pte, and could lead to freeing a ZERO_PAGE.
    
    Instead of complicating that move_pte, just forget the minor optimization
    when mremapping, and change the one thing which needed it for correctness
    - filemap_xip use ZERO_PAGE(0) throughout instead of according to address.
    
    [ "There is no block device driver one could use for XIP on mips
       platforms" - Carsten Otte ]
    
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Cc: Nick Piggin <nickpiggin@yahoo.com.au>
    Cc: Andrew Morton <akpm@osdl.org>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Carsten Otte <cotte@de.ibm.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  20. @ebiederm

    [PATCH] i386: In assign_irq_vector look at all vectors before giving up

    ebiederm committed with Linus Torvalds Jan 29, 2007
    When the world was a simple and static place setting up irqs was easy.
    It sufficed to allocate a linux irq number and a find a free cpu
    vector we could receive that linux irq on.  In those days it was
    a safe assumption that any allocated vector was actually in use
    so after one global pass through all of the vectors we would have
    none left.
    
    These days things are much more dynamic with interrupt controllers
    (in the form of MSI or MSI-X) appearing on plug in cards and linux
    irqs appearing and disappearing.  As these irqs come and go vectors
    are allocated and freed,  invalidating the ancient assumption that all
    allocated vectors stayed in use forever.
    
    So this patch modifies the vector allocator to walk through every
    possible vector before giving up, and to check to see if a vector
    is in use before assigning it.  With these changes we stop leaking
    freed vectors and it becomes possible to allocate and free irq vectors
    all day long.
    
    This changed was modeled after the vector allocator on x86_64 where
    this limitation has already been removed.  In essence we don't update
    the static variables that hold the position of the last vector we
    allocated until have successfully allocated another vector.  This
    allows us to detect if we have completed one complete scan through
    all of the possible vectors.
    
    Acked-by: Auke Kok <auke-jan.h.kok@intel.com>
    Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  21. Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm

    Linus Torvalds committed Jan 30, 2007
    * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
      [ARM] 4117/1: S3C2412: Fix writel() usage in selection code
      [ARM] 4111/1: Allow VFP to work with thread migration on SMP
      [ARM] 4112/1: Only ioremap to supersections if DOMAIN_IO is zero
      [ARM] 4106/1: S3C2410: typo fixes in register definitions
      [ARM] 4102/1: Allow for PHYS_OFFSET on any valid 2MiB address
      [ARM] Fix AMBA serial drivers for non-first serial ports
      [ARM] 4100/1: iop3xx: fix cpu mask for iop333
      [ARM] Update mach-types
      [ARM] Fix show_mem() for discontigmem
      [ARM] 4096/1: S3C24XX: change return code form s3c2410_gpio_getcfg()
      [ARM] 4095/1: S3C24XX: Fix GPIO set for Bank A
      [ARM] 4092/1: i.MX/MX1 CPU Frequency scaling latency definition
      [ARM] 4089/1: AT91: GPIO wake IRQ cleanup
      [ARM] 4088/1: AT91: Unbalanced IRQ in serial driver suspend/resume
      [ARM] 4087/1: AT91: CPU reset for SAM9x processors
      [ARM] 4086/1: AT91: Whitespace cleanup
      [ARM] 4085/1: AT91: Header fixes.
      [ARM] 4084/1: Remove CONFIG_DEBUG_WAITQ
  22. [PATCH] `make help' in build tree doesn't show headers_* targets

    Geert Uytterhoeven committed with Linus Torvalds Jan 29, 2007
    `make help' in the build tree doesn't show the help texts about the
    `headers_install' and `headers_check' targets because it looks for
    include/asm-$(ARCH)/Kbuild in the wrong place.
    Add the missing `$(srctree)' prefixes to fix this.
    Also move the printing of the default install path for the headers inside the
    `if/fi', where it belongs.
    
    Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
    Acked-by: Oleg Verych <olecom@flower.upol.cz>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  23. [PATCH] cdev.h: forward declarations

    Jan Engelhardt committed with Linus Torvalds Jan 29, 2007
    Apparently this broke due to missing `struct inode' declaration.
    
    Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
    Cc: Noah Watkins <nwatkins@ittc.ku.edu>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  24. @Dushistov

    [PATCH] ufs: reallocation fix

    Dushistov committed with Linus Torvalds Jan 29, 2007
    In blocks reallocation function sometimes does not update some of
    buffer_head::b_blocknr, which may and cause data damage.
    
    Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Something went wrong with that request. Please try again.