)]}'
{
  "commit": "eb9d0fe40e313c0a74115ef456a2e43a6c8da72f",
  "tree": "7a90a68b8dc152d49a38469fd6a6a7840954bac2",
  "parents": [
    "0af4b8c4fb31193dc666f4893107a18fef82baab"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Mon Jul 07 03:34:48 2008 +0200"
  },
  "committer": {
    "name": "Jesse Barnes",
    "email": "jbarnes@virtuousgeek.org",
    "time": "Mon Jul 07 16:26:28 2008 -0700"
  },
  "message": "PCI ACPI: Rework PCI handling of wake-up\n\n* Introduce function acpi_pm_device_sleep_wake() for enabling and\n  disabling the system wake-up capability of devices that are power\n  manageable by ACPI.\n\n* Introduce function acpi_bus_can_wakeup() allowing other (dependent)\n  subsystems to check if ACPI is able to enable the system wake-up\n  capability of given device.\n\n* Introduce callback .sleep_wake() in struct pci_platform_pm_ops and\n  for the ACPI PCI \u0027driver\u0027 make it use acpi_pm_device_sleep_wake().\n\n* Introduce callback .can_wakeup() in struct pci_platform_pm_ops and\n  for the ACPI \u0027driver\u0027 make it use acpi_bus_can_wakeup().\n\n* Move the PME# handlig code out of pci_enable_wake() and split it\n  into two functions, pci_pme_capable() and pci_pme_active(),\n  allowing the caller to check if given device is capable of\n  generating PME# from given power state and to enable/disable the\n  device\u0027s PME# functionality, respectively.\n\n* Modify pci_enable_wake() to use the new ACPI callbacks and the new\n  PME#-related functions.\n\n* Drop the generic .platform_enable_wakeup() callback that is not\n  used any more.\n\n* Introduce device_set_wakeup_capable() that will set the\n  power.can_wakeup flag of given device.\n\n* Rework PCI device PM initialization so that, if given device is\n  capable of generating wake-up events, either natively through the\n  PME# mechanism, or with the help of the platform, its\n  power.can_wakeup flag is set and its power.should_wakeup flag is\n  unset as appropriate.\n\n* Make ACPI set the power.can_wakeup flag for devices found to be\n  wake-up capable by it.\n\n* Make the ACPI wake-up code enable/disable GPEs for devices that\n  have the wakeup.flags.prepared flag set (which means that their\n  wake-up power has been enabled).\n\nSigned-off-by: Rafael J. Wysocki \u003crjw@sisk.pl\u003e\nSigned-off-by: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b9b69d9629b585a461b09af679533eb9d0c386a9",
      "old_mode": 33188,
      "old_path": "drivers/acpi/bus.c",
      "new_id": "fc1110d6a0787a5d2da8e85b0fe3b9e7b15c6fa8",
      "new_mode": 33188,
      "new_path": "drivers/acpi/bus.c"
    },
    {
      "type": "modify",
      "old_id": "06f8634fe58b192498ad73c5e4d4a4e715b01cf3",
      "old_mode": 33188,
      "old_path": "drivers/acpi/glue.c",
      "new_id": "87c5d456e180fa27d130fee74ec19c967a851d70",
      "new_mode": 33188,
      "new_path": "drivers/acpi/glue.c"
    },
    {
      "type": "modify",
      "old_id": "4addf8ad50ae5fd8f235462f2bc03d937678106b",
      "old_mode": 33188,
      "old_path": "drivers/acpi/sleep/main.c",
      "new_id": "af7f4663deaa40c044a7be4aff7775e9db407559",
      "new_mode": 33188,
      "new_path": "drivers/acpi/sleep/main.c"
    },
    {
      "type": "modify",
      "old_id": "7422a2213944ed0cffba015c56c841a2bed0a87d",
      "old_mode": 33188,
      "old_path": "drivers/acpi/sleep/wakeup.c",
      "new_id": "38655eb132dcca3a42ac2db56f2daf79d3b10286",
      "new_mode": 33188,
      "new_path": "drivers/acpi/sleep/wakeup.c"
    },
    {
      "type": "modify",
      "old_id": "d11f74b038db2039026a6f4a6b1a490e994b51f6",
      "old_mode": 33188,
      "old_path": "drivers/base/power/sysfs.c",
      "new_id": "596aeecfdffe4be62c7e6773046e9c23d4dd37bb",
      "new_mode": 33188,
      "new_path": "drivers/base/power/sysfs.c"
    },
    {
      "type": "modify",
      "old_id": "6bc0d8c870afe1bbc283b873af42abc9388bebac",
      "old_mode": 33188,
      "old_path": "drivers/pci/pci-acpi.c",
      "new_id": "7764768b6a0e7dfc225c76693b3be997df4b926f",
      "new_mode": 33188,
      "new_path": "drivers/pci/pci-acpi.c"
    },
    {
      "type": "modify",
      "old_id": "20e28077b96d44acc6f00f8569b66c785947bfe1",
      "old_mode": 33188,
      "old_path": "drivers/pci/pci.c",
      "new_id": "a6b1b6f96abc6c7124b9b22b3ffec56a3513d462",
      "new_mode": 33188,
      "new_path": "drivers/pci/pci.c"
    },
    {
      "type": "modify",
      "old_id": "0cd2e719933b11c46d8742f07af7f2201264fb89",
      "old_mode": 33188,
      "old_path": "drivers/pci/pci.h",
      "new_id": "b08dfc9746afea97ec7e31b070605bbab61771e6",
      "new_mode": 33188,
      "new_path": "drivers/pci/pci.h"
    },
    {
      "type": "modify",
      "old_id": "2f0ae70710d6ef25f9db8d9e9965d36d90e02c1b",
      "old_mode": 33188,
      "old_path": "drivers/pci/probe.c",
      "new_id": "b1724cf31b669ef459d3250aa8fae48b38e4c7fa",
      "new_mode": 33188,
      "new_path": "drivers/pci/probe.c"
    },
    {
      "type": "modify",
      "old_id": "071daf8db600df53ba8a32449b27711c7cf43366",
      "old_mode": 33188,
      "old_path": "include/acpi/acpi_bus.h",
      "new_id": "7ab5a611e43ff289c34a88a63b54ade498f4a8e7",
      "new_mode": 33188,
      "new_path": "include/acpi/acpi_bus.h"
    },
    {
      "type": "modify",
      "old_id": "f0d0b2cb8d205ce6de169cae5c60c7a3166ef11a",
      "old_mode": 33188,
      "old_path": "include/linux/pm_wakeup.h",
      "new_id": "3af0c8d05cdcb2e89cd70cc5de16fb264a771bd0",
      "new_mode": 33188,
      "new_path": "include/linux/pm_wakeup.h"
    }
  ]
}
