1. 21 Mar, 2004 18 commits
    • Peter Osterlund's avatar
      [PATCH] Revert UDF inode semaphore locking · 9a45400e
      Peter Osterlund authored
      For some reason I don't understand, the last UDF filesystem update makes
      the UDF deadlock when I write a bunch of mp3 files to a CDRW using the
      packet writing patch.  Both "cp" and pdflush get stuck in __down. 
      
      Reverting the semaphore changes makes the problem go away.  Use the
      kernel lock again, until whatever recursive offender gets fixed.
      
      (The offensive recursion seems to be: write() takes the inode semaphore,
      causes memory pressure, and then trying to write back the inode or dirty
      data to disk tries to get the semaphore again and deadlocks.)
      9a45400e
    • Linus Torvalds's avatar
      Merge http://linux-watchdog.bkbits.net/linux-2.6-watchdog · 72f7e48f
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      72f7e48f
    • Wim Van Sebroeck's avatar
      [WATCHDOG] v2.6.5-rc2 pcwd.c-patch1 · 84d1e7b7
      Wim Van Sebroeck authored
      Version 1.14 of pcwd.c - Changes that were made are:
      * Extract the start code in a seperate function (pcwd_start)
      * Extract the stop code in a seperate function (pcwd_stop)
      * Extract the get_temperature code in a seperate function (pcwd_get_temperature)
      * Make /dev/watchdog and /dev/temperature to different misc devices with their own fops
      * Small clean-up's
      
      Tested on pcwd card with temperature option.
      84d1e7b7
    • Wim Van Sebroeck's avatar
      [WATCHDOG] v2.6.5-rc2 softdog.c-patch · 6582e43d
      Wim Van Sebroeck authored
      Version 0.07 of softdog.c - Changes that were made are:
      * Extract the start/keepalive code in a seperate function (softdog_keepalive)
      * Extract the stop code in a seperate function (softdog_stop)
      * Add notifier support
      * Extract softdog_set_heartbeat code to seperate subroutine
      * Small clean-up's
      6582e43d
    • Wim Van Sebroeck's avatar
      [WATCHDOG] v2.6.5-rc2 wd501p.h-patch · 94147016
      Wim Van Sebroeck authored
      Cleanup header file after changes to wdt.c and wdt_pci.c
      94147016
    • Wim Van Sebroeck's avatar
      [WATCHDOG] v2.6.5-rc2 wdt_pci.c-patch · 8e7ff451
      Wim Van Sebroeck authored
      Version 0.10 of wdt_pci.c - Changes that were made are:
      * Extract the start code in a seperate function (wdtpci_start)
      * Extract the stop code in a seperate function (wdtpci_stop)
      * Convert wdtpci_ping so that it return an int value (0=succes).
      * Extract the get_temperature code in a seperate function (wdtpci_get_temperature)
      * Make /dev/watchdog and /dev/temperature to different misc devices with their own fops.
      * Reorganize init and exit functions
      * Make heartbeat (the emulated heartbeat) a module parameter
      * Rewrite status flag code so that we could add a new tachometer module parameter
         + make clear distinction between PCI-WDT500 and PCI-WDT501.
      * Small clean-up's
      8e7ff451
    • Wim Van Sebroeck's avatar
      [WATCHDOG] v2.6.5-rc2 wdt.c-patch · 54127f9b
      Wim Van Sebroeck authored
      Version 0.10 of wdt.c - Changes that were made are:
      * Extract the start code in a seperate function (wdt_start)
      * Extract the stop code in a seperate function (wdt_stop)
      * Convert wdt_ping so that it return an int value (0=succes).
      * Extract the get_temperature code in a seperate function (wdt_get_temperature)
      * Make /dev/watchdog and /dev/temperature to different misc devices with their own fops.
      * Reorganize init and exit functions
      * Make heartbeat (the emulated heartbeat) a module parameter
      * Rewrite status flag code so that we could add a new tachometer module parameter
      * Small clean-up's
      54127f9b
    • Linus Torvalds's avatar
      Merge bk://linux-pnp.bkbits.net/pnp-2.6 · cfc615f2
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      cfc615f2
    • Armin Schindler's avatar
      [PATCH] ISDN Eicon driver: move workqueue to tasklet for divas dpc · 7ee49b42
      Armin Schindler authored
      Use tasklet instead of workqueue for the divas main dpc.
      7ee49b42
    • Armin Schindler's avatar
      [PATCH] ISDN Eicon driver: restructured capi list and lock handling · c561747e
      Armin Schindler authored
      Restructered the CAPI code of list handling and lock.
      
      Removed obsolete code.
      c561747e
    • 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 22 commits
    • Adam Belay's avatar
      Merge http://linux.bkbits.net/linux-2.5 · a0b18907
      Adam Belay authored
      into neo.rr.com:/home/ambx1/linux/bk/linus-2.5
      a0b18907
    • Adam Belay's avatar
      [ISAPNP] Unmark experimental status · c0ccfc9c
      Adam Belay authored
      ISAPnP support has been stable with the new pnp layer for a while.
      This patch removes the experimental dependency.
      c0ccfc9c
    • Adam Belay's avatar
      [PNP] Add some more modem IDs · 9a026374
      Adam Belay authored
      This patch allows the serial driver to bind to three additional modems.
      9a026374
    • Christoph Hellwig's avatar
      [ISAPNP] Remove uneeded MOD_INC/DEC_USE_COUNT · db4b34ad
      Christoph Hellwig authored
      isapnp_cfg_begin and isapnp_cfg_end are exported symbols, so if any
      module using them is loaded isapnp.o can't be unloaded anyway
      db4b34ad
    • Randy Dunlap's avatar
      [PNP] remove __init from system.c · 1a64fcfd
      Randy Dunlap authored
      // Linux 2.6.4-rc2
      // These 2 functions shouldn't be __init for general PNP use
      1a64fcfd
    • Adam Belay's avatar
      [ISAPNP] MEM Config Fix · 84350f79
      Adam Belay authored
      This patch fixes a bug in the resource configuration function.  If
      there are more than one memory ranges, the isapnp driver will write
      into the incorrect configuration register.
      84350f79
    • 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
    • Adam Belay's avatar
      [ISAPNP] Fix Device Detection Issue · a747324c
      Adam Belay authored
      Some isapnp devices were not getting detected as a result of a bug in the isapnp
      driver.  It was not following the specifications and calculating a checksum when
      it was not reliable.  This problem was originally discovered by Paul L. Rogers
      <rogerspl@datasync.com>.  He made an initial patch.  This release has some small
      modifications, including a check to see if we run out of CSNs.
      a747324c
    • Adam Belay's avatar
      [PARPORT] Update PC Parport Detection Code · 7be9251f
      Adam Belay authored
      This patch updates the parport_pc driver's probing code to better
      detect PnP devices.  It also removes an extra MODULE_AUTHOR.
      7be9251f
    • Matthew Wilcox's avatar
      [PNP] Resource Conflict Cleanup · bba77b4a
      Matthew Wilcox authored
      This patch simplifies the ranged resource checking logic.
      bba77b4a