25 Feb, 2010

1 commit

  • To fix a bug and address the reviewers' comments regarding the ACPI
    GPE refcounting patch, do the following additional changes:

    o Remove the second argument of acpi_ev_enable_gpe(),
    'write_to_hardware', because it is not necessary any more.

    o Add the "bad parameter" test against 'type' in
    acpi_enable_gpe() and acpi_disable_gpe().

    o Make acpi_enable_gpe() only check 'status' for runtime GPEs if
    acpi_ev_enable_gpe() was actually called.

    o Make acpi_disable_gpe() return 'status' returned by
    acpi_ev_disable_gpe() and fix a bug where ACPI_GPE_TYPE_WAKE
    and ACPI_GPE_TYPE_RUNTIME were exchanged by mistake.

    o Add comments explaining why acpi_set_gpe() is used by the ACPI EC
    driver.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Jesse Barnes

    Rafael J. Wysocki
     

23 Feb, 2010

2 commits

  • Currently it only is possible to install one system notify handler
    per namespace node, but this is not enough for PCI run-time power
    management, because we need to install power management notifiers for
    devices that already have hotplug notifiers installed. While in
    principle this could be handled at the PCI level, that would be
    suboptimal due to the way in which the ACPI-based PCI hotplug code is
    designed.

    For this reason, modify ACPICA so that it is possible to install more
    than one system notify handler per namespace node. Namely, make
    acpi_install_notify_handler(), acpi_remove_notify_handler() and
    acpi_ev_notify_dispatch() use a list of system notify handler objects
    associated with a namespace node.

    Make acpi_remove_notify_handler() call acpi_os_wait_events_complete()
    upfront to avoid a situation in which concurrent instance of
    acpi_remove_notify_handler() removes the handler from under us while
    we're waiting for the event queues to flush.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Jesse Barnes

    Rafael J. Wysocki
     
  • ACPI GPEs may map to multiple devices. The current GPE interface
    only provides a mechanism for enabling and disabling GPEs, making
    it difficult to change the state of GPEs at runtime without extensive
    cooperation between devices.

    Add an API to allow devices to indicate whether or not they want
    their device's GPE to be enabled for both runtime and wakeup events.

    Remove the old GPE type handling entirely, which gets rid of various
    quirks, like the implicit disabling with GPE type setting. This
    requires a small amount of rework in order to ensure that non-wake
    GPEs are enabled by default to preserve existing behaviour.

    Based on patches from Matthew Garrett .

    Signed-off-by: Matthew Garrett
    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Jesse Barnes

    Rafael J. Wysocki
     

16 Dec, 2009

16 commits


10 Dec, 2009

1 commit

  • * 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPICA: Update version to 20091112.
    ACPICA: Add additional module-level code support
    ACPICA: Deploy new create integer interface where appropriate
    ACPICA: New internal utility function to create Integer objects
    ACPICA: Add repair for predefined methods that must return sorted lists
    ACPICA: Fix possible fault if return Package objects contain NULL elements
    ACPICA: Add post-order callback to acpi_walk_namespace
    ACPICA: Change package length error message to an info message
    ACPICA: Reduce severity of predefined repair messages, Warning to Info
    ACPICA: Update version to 20091013
    ACPICA: Fix possible memory leak for Scope ASL operator
    ACPICA: Remove possibility of executing _REG methods twice
    ACPICA: Add repair for bad _MAT buffers
    ACPICA: Add repair for bad _BIF/_BIX packages

    Linus Torvalds
     

25 Nov, 2009

13 commits


06 Nov, 2009

1 commit

  • Ensure that memory mappings created for operation regions
    do not cross page boundaries. Crossing a page boundary
    while mapping regions can cause warnings if the pages have different attributes.

    Such regions are probably BIOS bugs, and this is the workaround.

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

    [Kernel summit hacking hour]

    Signed-off-by: Bob Moore
    Acked-by: Suresh Siddha
    Signed-off-by: Lin Ming
    Signed-off-by: Len Brown

    Bob Moore
     

24 Sep, 2009

1 commit

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (119 commits)
    ACPI: don't pass handle for fixed hardware notifications
    ACPI: remove null pointer checks in deferred execution path
    ACPI: simplify deferred execution path
    acerhdf: additional BIOS versions
    acerhdf: convert to dev_pm_ops
    acerhdf: fix fan control for AOA150 model
    thermal: add missing Kconfig dependency
    acpi: switch /proc/acpi/{debug_layer,debug_level} to seq_file
    hp-wmi: fix rfkill memory leak on unload
    ACPI: remove unnecessary #ifdef CONFIG_DMI
    ACPI: linux/acpi.h should not include linux/dmi.h
    hwmon driver for ACPI 4.0 power meters
    topstar-laptop: add new driver for hotkeys support on Topstar N01
    thinkpad_acpi: fix rfkill memory leak on unload
    thinkpad-acpi: report brightness events when required
    thinkpad-acpi: don't poll by default any of the reserved hotkeys
    thinkpad-acpi: Fix procfs hotkey reset command
    thinkpad-acpi: deprecate hotkey_bios_mask
    thinkpad-acpi: hotkey poll fixes
    thinkpad-acpi: be more strict when detecting a ThinkPad
    ...

    Linus Torvalds
     

21 Sep, 2009

1 commit


19 Sep, 2009

2 commits


16 Sep, 2009

1 commit

  • * 'x86-txt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, intel_txt: clean up the impact on generic code, unbreak non-x86
    x86, intel_txt: Handle ACPI_SLEEP without X86_TRAMPOLINE
    x86, intel_txt: Fix typos in Kconfig help
    x86, intel_txt: Factor out the code for S3 setup
    x86, intel_txt: tboot.c needs
    intel_txt: Force IOMMU on for Intel TXT launch
    x86, intel_txt: Intel TXT Sx shutdown support
    x86, intel_txt: Intel TXT reboot/halt shutdown support
    x86, intel_txt: Intel TXT boot support

    Linus Torvalds
     

09 Sep, 2009

1 commit