1. 21 Mar, 2004 8 commits
    • Andrew Morton's avatar
      [PATCH] mprotect return value fix · e650bfc3
      Andrew Morton authored
      From: Marc-Christian Petersen <m.c.p@wolk-project.de>
      
      2.4 patch from Adrian Bunk.
      
      ERRORS
      
          The mprotect() function shall fail if:
      
          ...
      
          [ENOMEM]
              Addresses in the range [addr,addr+len) are invalid for the
              address space of a process, or specify one or more pages which are
              not mapped.
      e650bfc3
    • Andrew Morton's avatar
      [PATCH] make inflate use less stack space with gcc3.5 · 7d63de7a
      Andrew Morton authored
      From: Matt Mackall <mpm@selenic.com>
      
      Quick fix to work around gcc3.5's automatic inline and broken stack
      requirements calculation. Without this, I see stack overflows at boot
      with 4k stacks.
      7d63de7a
    • Andrew Morton's avatar
      [PATCH] Add missing uacccess checks for sysctl.c · 07bba9c3
      Andrew Morton authored
      From: Marc-Christian Petersen <m.c.p@wolk-project.de>
      
      Kernel 2.6 lacks two -EFAULT returns in get_user() in kernel/sysctl.c.
      07bba9c3
    • Andrew Morton's avatar
      [PATCH] Fix error value for opening block devices · d21db956
      Andrew Morton authored
      From: Ulrich Drepper <drepper@redhat.com>
      
      Opening a non-existing block device currently yields an ENXIO error.  Doing
      the same for char devices produces the correct error ENODEV.
      d21db956
    • Andrew Morton's avatar
      [PATCH] kbuild ordering fix · 208204bc
      Andrew Morton authored
      From: Sam Ravnborg <sam@ravnborg.org>
      
      In the i386 case we need to generate asm-offset.h, before starting building
      the kernel tree.  Building asm-offset.h causes us to use one of the
      shorthands in the top-level makefile, namely the one for .s files.  The one
      that allows us to do: make some/dir/file.s
      
      And this shorthand happens to have a dependency to scripts, therefore I did
      not see this problem on i386.  But David hit it with sparc64, because there
      is no asm-offset.h file.  No parallel stuff involved here, just an ordinary
      error.
      208204bc
    • Andrew Morton's avatar
      [PATCH] start_cpu_timer() cannot be __init · c8f018d2
      Andrew Morton authored
      It's now called from the CPU hot-add notifier.
      c8f018d2
    • Linus Torvalds's avatar
      Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6 · 33cc912c
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      33cc912c
    • Andi Kleen's avatar
      [PATCH] Hack mptfusion to work on >4GB machines · 4ad1e20a
      Andi Kleen authored
      fusion needs several separately allocated coherent regions and
      requires that they all be in the same 4GB segment.  Obviously this may
      fail.  The hack is to force the coherent_dma_mask to 0xffffffff thus
      ensuring that all the allocations occur within the first 4GB.  This
      hack breaks Altix entirely.
      4ad1e20a
  2. 20 Mar, 2004 13 commits
    • Benjamin Herrenschmidt's avatar
      [PATCH] pmac: Improved G4 "windtunnel" fan controller · 67bfb5a7
      Benjamin Herrenschmidt authored
      This is an improved version of the G4 "windtunnel" fan controller.  It
      depends on the keywest bugfix...
      67bfb5a7
    • Samuel Rydh's avatar
      [PATCH] keywest bugfix · f5dcac2b
      Samuel Rydh authored
      This fixes a deadlock in I2C probing.
      
       - keywest holds the pmac_low_i2c_lock while registering the i2c adapter.
       - i2c_add_adapter() notifies registered drivers by calling
         driver->attach_adapter().
       - a driver might access the i2c bus from attach_adapter() which
         deadlocks since all xfer routines take the lock.
      f5dcac2b
    • Brian King's avatar
      [PATCH] SCSI: Fix Oops in sg with lots of SG_IO activity · 5a35e7ce
      Brian King authored
      Attached is a patch to fix an oops in sg_cmd_done. Please apply.
      5a35e7ce
    • Kai Mäkisara's avatar
      [PATCH] Fix SCSI + st regressions problem · e7f0ba55
      Kai Mäkisara authored
      remove dependency on kobj.name.
      e7f0ba55
    • Linus Torvalds's avatar
      [PATCH] Fix missing part of x86-64 update, part 2 · 366bf3a0
      Linus Torvalds authored
      One more missing doc-file update
      366bf3a0
    • Linus Torvalds's avatar
      [PATCH] Fix missing part of x86-64 update · e171bd13
      Linus Torvalds authored
      Three quarters of the update from Andi was uncommitted due to a bad
      patch date and a bug in "bk import -temail"..
      
      Here are the missing parts..
      e171bd13
    • Linus Torvalds's avatar
      Merge alpha Kconfig · 78e8fcd6
      Linus Torvalds authored
      78e8fcd6
    • Richard Henderson's avatar
      [ALPHA] Update defconfig. · 8208fc00
      Richard Henderson authored
      8208fc00
    • Adrian Bunk's avatar
      [PATCH] fix scsi_transport_spi.c compile with gcc 2.95 · 3e17e2a4
      Adrian Bunk authored
      Fix token pasting to work with older gcc versions.
      
      We need a space before the "," that may get pasted away.
      3e17e2a4
    • Andrew Morton's avatar
      [PATCH] fix console oops/race · c6fb162e
      Andrew Morton authored
      Finally nailed this sucker.
      
      con_close() checks the tty->count and then sleeps in acquire_console_sem().
      But another process can come in and grab a ref against the tty while
      con_close() dropped the BKL.  But con_close() then proceeds to deallocate the
      tty->driver_data anyway, even though the tty now has ->count == 2.
      
      Fix that by moving the check for ->tty_count inside console_sem.
      c6fb162e
    • Andi Kleen's avatar
      [PATCH] critical x86-64 merge · e30b878a
      Andi Kleen authored
      There were some nasty bugs in the x86-64 code, including one race that
      could cause random reboots, especially on Intel machines, with the NMI
      watchdog.  This patch fixes them and also includes some harmless
      cleanups.
      
      Main fixes were for some buglets in the IOMMU code and the plugging of a
      race in the exception stack handling.  Also disables an broken MCE on K8
      explicitely.
      
      Also finally the preempt compile issues are fixed.
      
       - Declare hpet interrupt separately in drivers/char/rtc.c
       - Fix rtc.h/hpet.h to not depend on interrupt.h
       - Finally include smp_lock.h in hardirq.h
       - Update defconfig
       - Export bad_dma_address
       - Merge with 2.6.5rc2
       - Never schedule on interrupt stacks.
       - Add option to force software iotlb (iommu=soft)
       - Add ifdefs to gsi patch to match i386 (Bjorn Helgaas)
       - Fix K8 GART TLB MCE workaround to actually work
       - Fix dwarf2 unwind table in SAVE_ARGS (Jim Houston)
       - Disable APIC on VIA/NVidia even with acpi=off (Gwenole Beauchesne)
       - Fix parsing bug in "apic" option (Gwenole Beauchesne)
       - Fix dma mask handling in pci_alloc_consistent
       - Make pci_alloc_consistent more robust in low memory situations.
       - Print version number in oopses (from i386)
       - ACPI GSI cleanup (Bjorn Helgaas)
       - Disable K8 GART TLB walk error MCE explicitely
       - Add support to disable individual MCEs in the various banks.
      e30b878a
    • Linus Torvalds's avatar
      b66506ce
    • Andrew Morton's avatar
      [PATCH] therm_adt7467 update · 3a86d964
      Andrew Morton authored
      From: "Colin Leroy" <colin@colino.net>
      
      The fan driver I wrote for adt746x looks like it only handles the adt7467
      chip found in iBooks G4; but it also handles the adt7460 chip found in the
      Powerbook G4 Alu.  Here's a patch that updates therm_adt7467.c, Kconfig and
      Makefile.
      3a86d964
  3. 19 Mar, 2004 19 commits