1. 27 Jan, 2004 1 commit
  2. 26 Jan, 2004 4 commits
  3. 23 Jan, 2004 1 commit
  4. 17 Jan, 2004 1 commit
    • Len Brown's avatar
      [ACPI] ACPICA 20040116 from Bob Moore · 28abb66f
      Len Brown authored
      The purpose of this release is primarily to update the copyright years
      in each module, thus causing a huge number of diffs.  There are a few
      small functional changes, however.
      
      Improved error messages when there is a problem finding one or more of
      the required base ACPI tables
      
      Reintroduced the definition of APIC_HEADER in actbl.h
      
      Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
      
      Removed extraneous reference to NewObj in dsmthdat.c
      28abb66f
  5. 15 Jan, 2004 1 commit
  6. 17 Dec, 2003 6 commits
    • Len Brown's avatar
      Merge intel.com:/home/lenb/bk/linux-acpi-test-2.6.0 · 11afe463
      Len Brown authored
      into intel.com:/home/lenb/src/linux-acpi-test-2.6.0
      11afe463
    • Len Brown's avatar
      Merge intel.com:/home/lenb/bk/linux-2.6.0 · 4f596034
      Len Brown authored
      into intel.com:/home/lenb/src/linux-acpi-test-2.6.0
      4f596034
    • Len Brown's avatar
      Merge intel.com:/home/lenb/bk/linux-2.6.0 · 5f480388
      Len Brown authored
      into intel.com:/home/lenb/bk/linux-acpi-test-2.6.0
      5f480388
    • Linus Torvalds's avatar
      Linux 2.6.0 · 67e9bb60
      Linus Torvalds authored
      67e9bb60
    • Jes Sorensen's avatar
      [PATCH] qla1280 crash fix in error handling · 0e70f996
      Jes Sorensen authored
      This fixes a bug in the qla1280 driver where it would leave a pointer to
      an on the stack completion event in a command structure if
      qla1280_mailbox_command fails.  The result is that the interrupt handler
      later tries to complete() garbage on the stack.  The mailbox command can
      fail if a device on the bus decides to lock up etc.
      0e70f996
    • Jens Axboe's avatar
      [PATCH] CDROM_SEND_PACKET bug · f75da5af
      Jens Axboe authored
      I just found Yet Another Bug in scsi_ioctl - CDROM_SEND_PACKET puts a
      kernel pointer in hdr->cmdp, where sg_io() expects to find user address.
      This worked up until recently because of the memcpy bug, but now it
      doesn't because we do the proper copy_from_user(). 
      
      This fix undoes the user copy code from sg_io, and instead makes the
      SG_IO ioctl copy it locally.  This makes SG_IO and CDROM_SEND_PACKET
      agree on the calling convention, and everybody is happy. 
      
      I've tested that both
      
         cdrecord -dev=/dev/hdc -inq
      
      and
      
         cdrecord -dev=ATAPI:/dev/hdc -inq
      
      works now.  The former will use SG_IO, the latter CDROM_SEND_PACKET (and
      incidentally would work in both 2.4 and 2.6, if it wasn't for
      CDROM_SEND_PACKET sucking badly in 2.4).
      f75da5af
  7. 15 Dec, 2003 6 commits
    • Jens Axboe's avatar
      [PATCH] Fix IDE bus reset and DMA disable when reading blank DVD-R · 314dc154
      Jens Axboe authored
      From Jon Burgess:
      
        There is a problems with blank DVD media using the ide-cd driver.
      
        When we attempt to read the blank disk, the drive responds to the read
        request by returning a "blank media" error.  The kernel doesn't have
        any special case handling for this sense value and retries the request
        a couple of times, then gives up and does a bus reset and disables DMA
        to the device.
      
        Which obviously doesn't help the situation.
      
        The sense key value of 8 isn't listed in ide-cd.h, but it is listed in
        scsi.h as a "BLANK_CHECK" error.
      
        This trivial patch treats this error condition as a reason to abort
        the request.  This behaviour is the same as what we do with a blank CD-R.
      
        It looks like the same fix might be desired for 2.4 as well, although
        is perhaps not so important since scsi-ide is normally used instead.
      314dc154
    • Len Brown's avatar
    • Len Brown's avatar
    • Len Brown's avatar
      [ACPI] delete old _TRA code formerly used just by IA64. (Bjorn Helgaas) · 1589887a
      Len Brown authored
      The current approach is to walk the _CRS in pcibios_scan_root()
      using acpi_walk_resources().
      1589887a
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/gregkh-2.6 · 3f69168f
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      3f69168f
    • Neil Brown's avatar
      [PATCH] Fix possible bio corruption with RAID5 · e1f936a9
      Neil Brown authored
       1/ make sure raid5 doesn't try to handle multiple overlaping
          requests at the same time as this would confuse things badly.
          Currently it justs BUGs if this is attempted.
       2/ Fix a possible data-loss-on-write problem.  If two or
          more bio's that write to the same page are processed at the
          same time, only the first was actually commited to storage.
       3/ Fix a use-after-free bug.  raid5 keeps the bio's it is given
          in linked lists when more than one bio touch a single page.
          In some cases the tail of this list can be freed, and
          the current test for 'are we at the end' isn't reliable.
          This patch strengths the test to make it reliable.
      e1f936a9
  8. 14 Dec, 2003 1 commit
    • Linus Torvalds's avatar
      Fix thread group leader zombie leak · 056ffaad
      Linus Torvalds authored
      Petr Vandrovec noticed a problem where the thread group leader
      would not be properly reaped if the parent of the thread group
      was ignoring SIGCHLD, and the thread group leader had exited
      before the last sub-thread.
      
      Fixed by Ingo Molnar.
      056ffaad
  9. 13 Dec, 2003 3 commits
    • Linus Torvalds's avatar
      More subtle SMP bugs in prepare_to_wait()/finish_wait(). · e220fdf7
      Linus Torvalds authored
      This time we have a SMP memory ordering issue in prepare_to_wait(),
      where we really need to make sure that subsequent tests for the
      event we are waiting for can not migrate up to before the wait
      queue has been set up.
      e220fdf7
    • René Scharfe's avatar
      [PATCH] HPFS: missing lock_kernel() in hpfs_readdir() · 14c5d2d2
      René Scharfe authored
      In 2.5.x, the BKL was pushed from vfs_readdir() into the filesystem
      specific functions.  But only the unlock_kernel() made it into the HPFS
      code, lock_kernel() got lost on the way.  This rendered the filesystem
      unusable.
      
      This adds the missing lock_kernel().  It's been tested by Timo Maier who
      also reported the problem earlier today.
      14c5d2d2
    • Jens Axboe's avatar
      [PATCH] no bio unmap on cdb copy failure · 5965168e
      Jens Axboe authored
      The previous scsi_ioctl.c patch didn't cleanup the buffer/bio in the
      error case. 
      
      Fix it by copying the command data earlier.
      5965168e
  10. 12 Dec, 2003 1 commit
  11. 11 Dec, 2003 5 commits
    • Len Brown's avatar
      [ACPI] Update Linux to ACPICA 20031203 (Bob Moore) · b29ea22d
      Len Brown authored
      Changed the initialization of Operation Regions during subsystem init to
      perform two entire walks of the ACPI namespace; The first to initialize
      the regions themselves, the second to execute the _REG methods.  This
      fixed some interdependencies across _REG methods found on some machines.
      
      Fixed a problem where a Store(Local0, Local1) could simply update the
      object reference count, and not create a new copy of the object if the
      Local1 is uninitialized.
      
      Implemented support for the _SST reserved method during sleep
      transitions.
      
      Implemented support to clear the SLP_TYP and SLP_EN bits when waking up,
      this is apparently required by some machines.
      
      When sleeping, clear the wake status only if SleepState is not S5.
      
      Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
      pointer arithmetic advanced a string pointer too far.
      
      Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer could be
      returned if the requested table has not been loaded.
      
      Within the support for IRQ resources, restructured the handling of the
      active and edge/level bits.
      
      Fixed a few problems in AcpiPsxExecute() where memory could be leaked
      under certain error conditions.
      
      Improved error messages for the cases where the ACPI mode could not be
      entered.
      b29ea22d
    • Len Brown's avatar
      [ACPI] update Linux to ACPICA 20031029 (Bob Moore) · ea9c6d74
      Len Brown authored
      Fixed a problem where a level-triggered GPE with an associated _Lxx
      control method was incorrectly cleared twice.
      
      Fixed a problem with the Field support code where an access can occur
      beyond the end-of-region if the field is non-aligned but extends to the
      very end of the parent region (resulted in an AE_AML_REGION_LIMIT
      exception.)
      
      Fixed a problem with ACPI Fixed Events where an RT Clock handler would
      not get invoked on an RTC event.  The RTC event bitmasks for the PM1
      registers were not being initialized properly.
      
      Implemented support for executing _STA and _INI methods for Processor
      objects.  Although this is currently not part of the ACPI specification,
      there is existing ASL code that depends on the init-time execution of
      these methods.
      
      Implemented and deployed a GetDescriptorName function to decode the
      various types of internal descriptors.  Guards against null descriptors
      during debug output also.
      
      Implemented and deployed a GetNodeName function to extract the
      4-character namespace node name.  This function simplifies the debug and
      error output, as well as guarding against null pointers during output.
      
      Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to simplify
      the debug and error output of 64-bit integers.  This macro replaces the
      HIDWORD and LODWORD macros for dumping these integers.
      
      Updated the implementation of the Stall() operator to only call
      AcpiOsStall(), and also return an error if the operand is larger than
      255.  This preserves the required behavior of not relinquishing the
      processor, as would happen if AcpiOsSleep() was called for "long
      stalls".
      
      Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
      initialized are now treated as NOOPs.
      
      Cleaned up a handful of warnings during 64-bit generation.
      
      Fixed a reported error where and incorrect GPE number was passed to the
      GPE dispatch handler.  This value is only used for error output,
      however.  Used this opportunity to clean up and streamline the GPE
      dispatch code.
      ea9c6d74
    • Len Brown's avatar
      0513b8ac
    • Len Brown's avatar
      a07bfd00
    • Greg Kroah-Hartman's avatar
  12. 10 Dec, 2003 5 commits
  13. 09 Dec, 2003 5 commits