search for: acpi_driver_data

Displaying 4 results from an estimated 4 matches for "acpi_driver_data".

2013 Feb 15
1
xen/acpi: ACPI memory hotplug
...e is unnecessary. if (acpi_bus_get_device(handle, &device) == 0) goto end; A successful "Get Device" means that "device" is non-NULL; that's built into the name. Anyway, if acpi_bus_get_device() fails either something else will fail or we will Oops in the call to acpi_driver_data(). 172 goto end; 173 174 status = acpi_get_parent(handle, &phandle); 175 if (ACPI_FAILURE(status)) { 176 pr_warn(PREFIX "Cannot find acpi parent\n"); 177 return -EINVAL; 178 } 179 180 /* Get the parent device */ 181 result = acpi_bus_get_dev...
2013 Feb 15
1
xen/acpi: ACPI memory hotplug
...e is unnecessary. if (acpi_bus_get_device(handle, &device) == 0) goto end; A successful "Get Device" means that "device" is non-NULL; that's built into the name. Anyway, if acpi_bus_get_device() fails either something else will fail or we will Oops in the call to acpi_driver_data(). 172 goto end; 173 174 status = acpi_get_parent(handle, &phandle); 175 if (ACPI_FAILURE(status)) { 176 pr_warn(PREFIX "Cannot find acpi parent\n"); 177 return -EINVAL; 178 } 179 180 /* Get the parent device */ 181 result = acpi_bus_get_dev...
2008 Sep 19
0
[PATCH] linux: fix processor handling in presence of external control
...=========================== --- head-2008-09-15.orig/drivers/acpi/processor_core.c 2008-09-19 12:55:04.000000000 +0200 +++ head-2008-09-15/drivers/acpi/processor_core.c 2008-09-19 12:13:42.000000000 +0200 @@ -661,7 +661,7 @@ static int acpi_processor_remove(struct pr = (struct acpi_processor *)acpi_driver_data(device); - if (pr->id >= NR_CPUS) { + if (!processor_cntl_external() && pr->id >= NR_CPUS) { kfree(pr); return 0; } @@ -831,12 +831,7 @@ static void __ref acpi_processor_hotplug return; } -#ifdef CONFIG_XEN - if ((pr->id >= 0) && (pr->id <...
2011 Nov 30
36
[RFC PATCH] Exporting ACPI Pxx/Cxx states to other kernel subsystems (v1).
Hello, The following patches are a solution to a problem we have encountered when using the Xen hypervisor: - Need Pxx/Cxx states to save on power consumption when using Xen (we do want those datacenters to consume less power!), - Also need to figure out the Turbo mode so that the scheduler can properly boost a core for CPU bound guests. In essence the Xen hypervisor requires that