From b57b3df1971cb4096d2b32323402478031c17559 Mon Sep 17 00:00:00 2001 From: Kamala Narasimhan Date: Mon, 6 Jul 2009 11:10:10 -0400 Subject: [PATCH] Enable on-the-fly Cx state changes. --- master/on-the-fly-cx-change | 14 ++++++++++++++ master/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 master/on-the-fly-cx-change diff --git a/master/on-the-fly-cx-change b/master/on-the-fly-cx-change new file mode 100644 index 0000000..c2dd823 --- /dev/null +++ b/master/on-the-fly-cx-change @@ -0,0 +1,14 @@ +diff --git a/arch/x86/kernel/acpi/processor_extcntl_xen.c b/arch/x86/kernel/acpi/processor_extcntl_xen.c +index 5df78b8..69d0a10 100644 +--- a/arch/x86/kernel/acpi/processor_extcntl_xen.c ++++ b/arch/x86/kernel/acpi/processor_extcntl_xen.c +@@ -44,9 +44,6 @@ static int xen_cx_notifier(struct acpi_processor *pr, int action) + struct xen_processor_cx *data, *buf; + struct acpi_processor_cx *cx; + +- if (action == PROCESSOR_PM_CHANGE) +- return -EINVAL; +- + /* Convert to Xen defined structure and hypercall */ + buf = kzalloc(pr->power.count * sizeof(struct xen_processor_cx), + GFP_KERNEL); diff --git a/master/series b/master/series index 81bd013..497cfdc 100644 --- a/master/series +++ b/master/series @@ -263,3 +263,4 @@ pass2-driver remove-release-flr intel-hda-2.6.30 flr-change-sbr-d3r-lists +on-the-fly-cx-change -- 2.39.5