09 May, 2007

1 commit

  • Teach PNPACPI how to hook up its devices to their ACPI nodes, so that
    pnpdev->dev.archdata points to the parallel acpi device node. Previously
    this only worked for PCI, leaving a notable hole.

    Export "acpi_bus_type" so this can work.

    Remove some extraneous whitespace.

    Signed-off-by: David Brownell
    Cc: Adam Belay
    Cc: Bjorn Helgaas
    Cc: Len Brown
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

03 May, 2007

1 commit


25 Apr, 2007

1 commit


20 Mar, 2007

2 commits

  • Len Brown
     
  • acpi_integer is 64-bits on all platforms, and so was defined as a u64.

    i386 and x86_64 define u64 as unsigned long long.
    ia64 defines u64 as long.

    While these are all 64-bits, the kernel build warns about formating
    a "long" with %ll:

    drivers/ata/libata-acpi.c:176: warning: long long unsigned int format, acpi_integer arg (arg 5)

    So skip using "u64" and define acpi_integer as "unsigned long long"
    to make gcc happy with %ll.

    Signed-off-by: Len Brown

    Len Brown
     

15 Mar, 2007

1 commit

  • This reverts 977a6226feae3e2c10a4d8227625ff0f04b49239
    and reverts 1ba753acb372c2955a4843302e92e49ce82e2fea
    and updates acpi_ev_queue_notify_request()
    to restore the previous implementation of the
    "acpi_serialize" workaround.

    http://bugzilla.kernel.org/show_bug.cgi?id=8171

    Signed-off-by: Len Brown

    Len Brown
     

17 Feb, 2007

6 commits


16 Feb, 2007

2 commits

  • ...which are now unused

    Signed-off-by: Len Brown

    Len Brown
     
  • ACPI AML supports "serialized" methods which are protected
    by an implicit mutex. The mutex is re-entrant for that AML thread
    to allow recursion.

    However, Linux implements notify() by creating a new AML thread.
    So for systems where notify() re-enters a serialized method,
    deadlock results.

    The fix is to use the Linux thread_id as the key to allowing
    re-entrancy, not the AML thread pointer.

    http://bugzilla.kernel.org/show_bug.cgi?id=5534

    Signed-off-by: Alexey Starikovskiy
    Signed-off-by: Len Brown

    Alexey Starikovskiy
     

10 Feb, 2007

1 commit


09 Feb, 2007

1 commit

  • drivers/acpi/bay.c: In function 'bay_add':
    drivers/acpi/bay.c:310: warning: statement with no effect

    Fix it by rewriting those macros in C. Much nicer.

    Cc: Kristen Carlson Accardi
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Andrew Morton
     

03 Feb, 2007

24 commits