1. 19 Aug, 2003 40 commits
    • Patrick Mochel's avatar
      Merge bk://linux.bkbits.net/linux-2.5 · 1a5edfd6
      Patrick Mochel authored
      into kernel.bkbits.net:/home/mochel/linux-2.5-power
      1a5edfd6
    • Hirofumi Ogawa's avatar
      [PATCH] don't export add_timer · 76e8b3a4
      Hirofumi Ogawa authored
      This removes EXPORT_SYMBOL(add_timer) since add_timer() became inline
      recently.
      76e8b3a4
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia · f6024824
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      f6024824
    • Christoph Hellwig's avatar
      [PCMCIA] kill remaining cardservices version checking · c8635fbc
      Christoph Hellwig authored
      We know we have the right version because we were compiled in the
      same kernel tree..
      c8635fbc
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.5-rmk · 72847a2a
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      72847a2a
    • Russell King's avatar
      Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5 · ae650d87
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
      ae650d87
    • Russell King's avatar
      [ARM] Add missing IM-PD1 header file. · 4cf9be2c
      Russell King authored
      4cf9be2c
    • Russell King's avatar
      [ARM] Add missing show_stack() · 095be2b5
      Russell King authored
      This change seems to have been missed for some time.  Remove
      __dump_stack(), and convert show_trace_task() to show_stack().
      095be2b5
    • Russell King's avatar
      [ARM] Remove redundant CONFIG_DEBUG_INFO. · f2bb4931
      Russell King authored
      ARM had CONFIG_DEBUG_INFO for ages.  Unfortunately, the new
      CONFIG_DEBUG_INFO was rather blindly applied across all architectures.
      This removes the duplication from the ARM architecture.
      f2bb4931
    • Linus Torvalds's avatar
      Merge http://linux-acpi.bkbits.net/linux-acpi · 1cc3ea44
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      1cc3ea44
    • Linus Torvalds's avatar
      Update the newly merged Ninja-SCSI PCMCIA driver to · f399dae1
      Linus Torvalds authored
      recent cleanups (removal of link release timer and
      the STALE_CONFIG crud).
      f399dae1
    • Andy Grover's avatar
      Merge groveronline.com:/root/bk/linux-len · e466afe1
      Andy Grover authored
      into groveronline.com:/root/bk/linux-acpi
      e466afe1
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
    • Simon Evans's avatar
      [PATCH] blkmtd for 2.6 · ad6ab150
      Simon Evans authored
      This updates the blkmtd driver with the latest which has been in the MTD
      CVS for quite a while.  It is a rewrite from the 2.4 version to work
      with the new block layer changes.
      ad6ab150
    • Sam Ravnborg's avatar
      [PATCH] fix make xconfig · 3503ee60
      Sam Ravnborg authored
      When the *config targets were moved to scripts/kconfig/Makefile
      the graphical configurator support broke.
      
      The following patch is a minimal fix, required to restore support
      of 'make xconfig' and 'make gconfig'.
      3503ee60
    • Arnd Bergmann's avatar
      [PATCH] correct local_dec on some architectures · 6108d0da
      Arnd Bergmann authored
      A small bug in local.h apparently got copied a few times.
      I noticed this because I copied the same bug to s390.
      This patch should fix the occurrences in BK, but there
      are others that are not merged yet, e.g. ppc64 in -mm3.
      6108d0da
    • Adam Belay's avatar
      [PATCH] Fix awe PnP probing · e63cd488
      Adam Belay authored
      This is a rewrite of the awe_wave detection code that will allow this
      driver to be compiled.  It moves detection functions to a common
      location at the end of the file and makes the code driver-model
      compatible.  Also it fixes a bug in which the driver could possibly
      write to incorrect ports when using isapnp cards.
      
      Unfortunantly I do not currently have an AWE32 to test these changes so
      I could only check for compilation and driver registration.
      e63cd488
    • Andi Kleen's avatar
      [PATCH] Fix ugly hole in x86-64 interrupt gates · 2e2aa4ce
      Andi Kleen authored
      There was a quite nasty long standing bug in the x86-64 port.  The
      interrupt gates had a DPL of 3, allowing user space to trigger any
      interrupt.  I have not found a way to exploit it this to crash the
      kernel, but it definitely shouldn't happen.  It could e.g.  cause
      problems with drivers that do not handle shared interrupt properly.
      
      This also broke some programs who assumed that int <random number>
      causes a signal.
      2e2aa4ce
    • Andi Kleen's avatar
      [PATCH] Make x86-64 compile again · 27da03fc
      Andi Kleen authored
      Various compile fixes for x86-64 in the current BKCVS tree.
      
      - Use new information from acpi_pci_link_get_irq: handle 
        edge and level triggered interrupts properly
      - Fixes for pci_dev->pretty_name 
      
      Only changes x86-64 specific code.
      27da03fc
    • Linus Torvalds's avatar
      The default ARCH_SI_BAND_T should be "int", since that is what · 42033685
      Linus Torvalds authored
      Linux historically has had. Only x86-64 uses anything else, so
      make the special case be _there_.
      42033685
    • Marc Zyngier's avatar
      [PATCH] EISA bus update · 5bb7472f
      Marc Zyngier authored
      - Don't leave resource name uninitialized if CONFIG_EISA_NAME is not set.
      - Print root device bus_id (so we know which bridge is probed).
      - From Zwane Mwaikambo : Add a release method to virtual root, so it
        stays quiet if probing fails (because some pci-eisa bridge have been
        found before).
      5bb7472f
    • Neil Brown's avatar
      [PATCH] kNFSd: Release udp socket for next nfs request to arrive earlier · e8f3645c
      Neil Brown authored
      From: Mark Hemment <markhe@veritas.com>
      
        For RPC over UDP, after receiving a packet kick another thread as soon
      as possible.  This helps NFS performance.
      e8f3645c
    • Neil Brown's avatar
      [PATCH] kNFSd: Make sure nfsd replies from the address the request was sent to. · b50ca02a
      Neil Brown authored
      This is important on multi-homes hosts.
      b50ca02a
    • Neil Brown's avatar
      [PATCH] kNFSd: Make sure nothing happens to a dead rpc/tcp socket · ebbbef61
      Neil Brown authored
      Just make sure that once SK_DEAD is set, nothing is attempted on the socket.
      ebbbef61
    • Andrew Morton's avatar
      [PATCH] sysctl.h needs compiler.h · de9974b1
      Andrew Morton authored
      From: Bernardo Innocenti <bernie@develer.com>
      
      sysctl.h needs compiler.h
      de9974b1
    • Andrew Morton's avatar
      [PATCH] atp870u.c lockup fix · 16a13d05
      Andrew Morton authored
      Fix infinite loop in the device probe function.
      16a13d05
    • Andrew Morton's avatar
      [PATCH] loop: fix module unload oops · f8a938c3
      Andrew Morton authored
      From: Peter Osterlund <petero2@telia.com>
      
      It oopses on module unload in the kobject layer due to misordered destruction
      of things.
      
      And we need to initialise the unplug timer in blk_alloc_queue(), because we
      kill that timer in blk_alloc_queue()'s companion function,
      blk_cleanup_queue().
      f8a938c3
    • Andrew Morton's avatar
      [PATCH] slab: drain_array fix · d08e5b25
      Andrew Morton authored
      From: Philippe Elie <phil.el@wanadoo.fr>
      
      If drain_array_locked() is passed the `force' command, it must go in and
      empty the head array.
      d08e5b25
    • Andrew Morton's avatar
      [PATCH] add locking to global list in ymfpci.c · dc4ff5bf
      Andrew Morton authored
      This driver has a global list of devices which has no locking.
      dc4ff5bf
    • Andrew Morton's avatar
      [PATCH] ymfpci oops fix · 0f9f751c
      Andrew Morton authored
      If the driver fails partway through probing, the recovery code will call
      ac97_release_codec(NULL), which oopses.
      0f9f751c
    • Andrew Morton's avatar
      [PATCH] SELinux check behavior value · ff95eddd
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch fixes a bug in the SELinux module by adding a check of the
      filesystem labeling behavior value obtained from the policy.
      ff95eddd
    • Andrew Morton's avatar
      [PATCH] Fix SELinux avc_log_lock · 1c814119
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch fixes a bug in the SELinux access vector cache code, which was
      incorrectly using spin_lock_irq rather than spin_lock_irqsave for the
      avc_log_lock.  As this code can be called from hardirq (e.g.  from the
      file_send_sigiotask hook), we need irqsave/restore here.
      1c814119
    • Andrew Morton's avatar
      [PATCH] aio: fix error-path mm leak in ioctx_alloc · b2967b49
      Andrew Morton authored
      From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      
      ioctx_alloc() leaks an mm->mm_count ref on an error path.
      b2967b49
    • Andrew Morton's avatar
      [PATCH] enable the ikconfig stuff in config · d8055027
      Andrew Morton authored
      From: Sean Estabrooks <seanlkml@rogers.com>
      
      - fix space at end of line in config files;
      
      - add error check on put_user(); (Daniele Bellucci <bellucda@tiscali.it>)
      
      - add missing Kconfig piece for ikconfig;
      d8055027
    • Andrew Morton's avatar
      [PATCH] async write errors: fix spurious fs truncate errors · e89061de
      Andrew Morton authored
      From: Oliver Xymoron <oxymoron@waste.org>
      
      Currently, a writepage() which detects that it is writing outside i_size (due
      to concurrent truncate) will abandon the write, returning -EIO.
      
      The return value will bogusly cause an error to be recorded in the
      address_space.  So convert all those writepage() instances to return zero in
      this case.
      e89061de
    • Andrew Morton's avatar
      [PATCH] async write errors: use flags in address space · fcad2b42
      Andrew Morton authored
      From: Oliver Xymoron <oxymoron@waste.org>
      
      This patch just saves a few bytes in the inode by turning mapping->gfp_mask
      into an unsigned long mapping->flags.
      
      The mapping's gfp mask is placed in the 16 high bits of mapping->flags and
      two of the remaining 16 bits are used for tracking EIO and ENOSPC errors.
      
      This leaves 14 bits in the mapping for future use.  They should be accessed
      with the atomic bitops.
      fcad2b42
    • Andrew Morton's avatar
      [PATCH] async write errors: report truncate and io errors on · fe7e689f
      Andrew Morton authored
      From: Oliver Xymoron <oxymoron@waste.org>
      
      These patches add the infrastructure for reporting asynchronous write errors
      to block devices to userspace.  Error which are detected due to pdflush or VM
      writeout are reported at the next fsync, fdatasync, or msync on the given
      file, and on close if the error occurs in time.
      
      We do this by propagating any errors into page->mapping->error when they are
      detected.  In fsync(), msync(), fdatasync() and close() we return that error
      and zero it out.
      
      
      The Open Group say close() _may_ fail if an I/O error occurred while reading
      from or writing to the file system.  Well, in this implementation close() can
      return -EIO or -ENOSPC.  And in that case it will succeed, not fail - perhaps
      that is what they meant.
      
      
      There are three patches in this series and testing has only been performed
      with all three applied.
      fe7e689f
    • Andrew Morton's avatar
      [PATCH] Local APIC enable fixes · a5bfb7f3
      Andrew Morton authored
      From: mikep@csd.uu.se
      
      There has been a number of problem reports about local APIC
      interacting badly with ACPI on P4s due to the P4 local APIC
      force-enable change in 2.5.74,
      
      This patch reverts the 2.5.74 patch, so if the BIOS disables
      the local APIC on a P4, we don't enable it by default any more.
      
      The rescue the situation for those P4 systems where the local
      APIC _can_ be enabled safely, I've added two kernel parameters
      that can be used to override broken BIOSen:
      - "nolapic" prevents the kernel from enabling or using the local
        APIC. This is stronger than listing a machine in the DMI scan
        blacklist, since it also works for machines that boot with the
        local APIC already enabled.
      - "lapic" tells the kernel to force-enable the P4 local APIC if
        the BIOS disabled it. I haven't changed the logic for P6/K7
        family processors, so we still force-enable those unless
        "nolapic" was passed to the kernel.
      
      The patch also includes a cleanup: the dont_use_local_apic_timer
      flag variable is not set any more since 2.5.74, so it's removed.
      a5bfb7f3
    • Andrew Morton's avatar
      [PATCH] add ASUS l3800P to DMI black list · 14e902a4
      Andrew Morton authored
      From: Eric Valette <eric.valette@free.fr>
      
      The following patch integrated in 2.5.74,
      
      <http://lists.insecure.org/lists/linux-kernel/2003/Jun/5840.html>
      
      really enables the APIC even if BIOS disabled it. Unfortunately,
      enabling APIC really does not seem to work on this ASUS laptop and ACPI
      (which is mandatory) crash the kernel in ACPI code at boot time while
      "Executing all Devices _STA and_INIT methods"
      
      Unless someones find a bug in ACPI code related to APIC management, It
      is safer to add this machine in the DMI black list (along with DELL,
      IBM, ...).
      
      So, as suggested by the author of the problematic change, I added and
      entry in the DMI black list. But my guess is that most laptop will soon
      be present in this list....
      14e902a4