Re: Potential scheduler regression

2017-07-13 Thread Ben Guthro
On Tue, Jul 11, 2017 at 5:55 AM, Greg KH wrote: > On Tue, Jul 11, 2017 at 10:30:14AM +0200, Ingo Molnar wrote: >> >> * Ben Guthro wrote: >> >> > > If people have experience with these in the "enterprise" distros, or any >> > > other &

Re: Potential scheduler regression

2017-07-10 Thread Ben Guthro
On Mon, Jul 10, 2017 at 11:26 AM, Greg KH wrote: > On Mon, Jul 10, 2017 at 11:25:32AM +0200, Peter Zijlstra wrote: >> On Fri, Jul 07, 2017 at 04:55:27PM -0400, Ben Guthro wrote: >> >> > Apologies on the delay - it took a bit to get the machines, to run the >> &

Re: Potential scheduler regression

2017-07-07 Thread Ben Guthro
On Wed, Jul 5, 2017 at 12:48 PM, Peter Zijlstra wrote: > On Wed, Jul 05, 2017 at 11:42:46AM -0400, Ben Guthro wrote: >> Hello, >> >> I've been in the process of updating our kernel in our appliance VM >> from an old LTS kernel (4.1.y) to something a bit more mo

Potential scheduler regression

2017-07-05 Thread Ben Guthro
weak when attempting the search parameters. Do you happen to know what might be happening here? Thank you in advance, for any information that you may be able to provide Ben Guthro SimpliVity / Hewlett Packard Enterprise

[PATCH v8.1] x86/tboot: Fail extended mode reduced hardware sleep

2013-07-30 Thread Ben Guthro
Register for the extended sleep callback from acpi. As tboot currently does not support the reduced hardware sleep interface, fail this extended call. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei Reviewed-by: Konrad Rzeszutek Wilk

[PATCH v8 2/3] x86/tboot: Fail extended mode reduced hardware sleep

2013-07-30 Thread Ben Guthro
Register for the extended sleep callback from acpi. As tboot currently does not support the reduced hardware sleep interface, fail this extended call. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei Reviewed-by: Konrad Rzeszutek Wilk

[PATCH v8 3/3] xen/acpi: notify xen when reduced hardware sleep is available

2013-07-30 Thread Ben Guthro
t. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Acked-by: Konrad Wilk --- drivers/xen/acpi.c | 41 ++ include/xen/acpi.h |8 ++-- include/xen/interface/platform.h |7 --- 3 files changed, 38 insertions(+), 18

[PATCH v8 0/3] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-30 Thread Ben Guthro
this is commit 62d1a69 ("ACPI: support v5 (reduced HW) sleep interface") on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Richard L Maliszewski Cc: Gang Wei Cc: Shane Wang Cc: Bob Moore Cc: Rafael J. Wysocki Cc: linu

[PATCH v8 1/3] x86/acpi: Introduce acpi_os_prepare_extended_sleep callback for extended sleep path

2013-07-30 Thread Ben Guthro
Like acpi_os_prepare_sleep, register a callback for use in systems like tboot, and xen, which have system specific requirements outside of acpica. This mirrors the functionality in acpi_os_prepare_sleep(), called from acpi_hw_sleep() Signed-off-by: Ben Guthro --- drivers/acpi/acpica/hwesleep.c

Re: [PATCH v7 2/3] x86/tboot: Fail extended mode reduced hardware sleep

2013-07-29 Thread Ben Guthro
On 07/29/2013 04:21 PM, Rafael J. Wysocki wrote: > On Monday, July 29, 2013 01:14:14 PM Ben Guthro wrote: >> Register for the extended sleep callback from acpi. >> As tboot currently does not support the reduced hardware sleep >> interface, fail this extended call. >

[PATCH v7 1/3] x86/acpi: Introduce acpi_os_prepare_extended_sleep callback for extended sleep path

2013-07-29 Thread Ben Guthro
Like acpi_os_prepare_sleep, register a callback for use in systems like tboot, and xen, which have system specific requirements outside of acpica. This mirrors the functionality in acpi_os_prepare_sleep(), called from acpi_hw_sleep() Signed-off-by: Ben Guthro --- drivers/acpi/acpica/hwesleep.c

[PATCH v7 3/3] xen/acpi: notify xen when reduced hardware sleep is available

2013-07-29 Thread Ben Guthro
t. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Acked-by: Konrad Wilk --- drivers/xen/acpi.c | 41 ++ include/xen/acpi.h |8 ++-- include/xen/interface/platform.h |7 --- 3 files changed, 38 insertions(+), 18

[PATCH v7 2/3] x86/tboot: Fail extended mode reduced hardware sleep

2013-07-29 Thread Ben Guthro
Register for the extended sleep callback from acpi. As tboot currently does not support the reduced hardware sleep interface, fail this extended call. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei Reviewed-by: Konrad Rzeszutek Wilk

[PATCH v7 0/3] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-29 Thread Ben Guthro
this is commit 62d1a69 ("ACPI: support v5 (reduced HW) sleep interface") on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Richard L Maliszewski Cc: Gang Wei Cc: Shane Wang Cc: Bob Moore Cc: Rafael J. Wysocki Cc: linu

Re: [PATCH v4 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-27 Thread Ben Guthro
On Jul 27, 2013, at 9:51 AM, "Rafael J. Wysocki" wrote: > On Thursday, June 27, 2013 11:01:58 AM Ben Guthro wrote: >> In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with >> reduced hardware sleep support, and the two changes didn't get >>

Re: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-24 Thread Ben Guthro
broken for the tboot path. > > This way might be better for both parties. > > Thanks and best regards > -Lv > > >> >> Can someone point me to the overall description of this change and why it is >> being considered? >> >> T

Re: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-24 Thread Ben Guthro
. If not, I'm happy to go into greater detail on any point, or get others involved if I cannot field the question appropriately. Thaks for your time Ben > > Thanks, > Bob > > >> -Original Message- >> From: Ben Guthro [mailto:benjamin.gut...@citrix.com] >&g

Re: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-24 Thread Ben Guthro
behavior, and mask out the reduced hardware capabilities on these system types. It seems to me that if the system supports the reduced hardware ACPI sleep, you would want to make use of it... > > > >> -Original Message- >> From: Ben Guthro [mailto:benjamin.gut...@cit

Re: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-24 Thread Ben Guthro
On 07/24/2013 02:24 AM, Zheng, Lv wrote: > Hi, > > Sorry for the delayed response. > >> From: Ben Guthro [mailto:benjamin.gut...@citrix.com] >> Sent: Tuesday, July 02, 2013 7:43 PM >> >> >> On 07/02/2013 02:19 AM, Zheng, Lv wrote: >>> Thanks f

Re: [Xen-devel] [PATCH v6 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-22 Thread Ben Guthro
On Mon, Jul 8, 2013 at 9:08 AM, Ben Guthro wrote: > > > On 07/08/2013 09:10 AM, Rafael J. Wysocki wrote: >> On Sunday, July 07, 2013 08:13:15 PM Ben Guthro wrote: >>> On Mon, Jul 1, 2013 at 7:48 AM, Ben Guthro >>> wrote: >>>> In version 3.4 acpi_

Re: [Xen-devel] [PATCH v6 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-08 Thread Ben Guthro
On 07/08/2013 09:10 AM, Rafael J. Wysocki wrote: > On Sunday, July 07, 2013 08:13:15 PM Ben Guthro wrote: >> On Mon, Jul 1, 2013 at 7:48 AM, Ben Guthro >> wrote: >>> In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with >>> reduced hardware s

Re: [Xen-devel] [PATCH v6 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-07 Thread Ben Guthro
On Mon, Jul 1, 2013 at 7:48 AM, Ben Guthro wrote: > In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with > reduced hardware sleep support, and the two changes didn't get > synchronized: The new code doesn't call the hook function (if so > requested).

Re: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-02 Thread Ben Guthro
and best regards -Lv -Original Message- From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Ben Guthro Sent: Wednesday, June 26, 2013 10:06 PM To: Konrad Rzeszutek Wilk; Jan Beulich; Rafaell J . Wysocki; linux-kernel@vger.kernel.org; linux-a...@vge

[PATCH v6 4/5] x86/tboot: Fail extended mode reduced hardware sleep

2013-07-01 Thread Ben Guthro
As tboot currently does not support the reduced hardware sleep interface, fail this extended call. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei Reviewed-by: Konrad Rzeszutek Wilk --- arch/x86/kernel/tboot.c |6 ++ 1 file

[PATCH v6 2/5] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-01 Thread Ben Guthro
istinguish "extended" from "legacy" sleep. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Bob Moore Cc: Rafael J. Wysocki Cc: linux-a...@vger.kernel.org Reviewed-by: Konrad Rzeszutek Wilk --- drivers/acpi/acpica/hwesleep.c |7 +++ drivers/acpi/acpica/hwsl

[PATCH v6 5/5] xen/acpi: notify xen when reduced hardware sleep is available

2013-07-01 Thread Ben Guthro
Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Acked-by: Konrad Wilk --- drivers/xen/acpi.c | 25 - include/xen/acpi.h |3 +-- include/xen/interface/platform.h |7 --- 3 files changed, 17 insertions(+), 18 deletions(-) di

[PATCH v6 3/5] acpi/xen/tboot: Adjust linux acpi OS functions to new extended parameter

2013-07-01 Thread Ben Guthro
Change the function definitions of acpi_os_prepare_sleep() and acpi_os_set_prepare_sleep() to pass along the new extended sleep parameter. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Bob Moore Cc: Rafael J. Wysocki Cc: Gang Wei Cc: linux-a...@vger.kernel.org Cc: tboot-de

[PATCH v6 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-01 Thread Ben Guthro
ypervisor change underlying this is commit 62d1a69 ("ACPI: support v5 (reduced HW) sleep interface") on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Richard L Maliszewski Cc: Gang Wei Cc: Shane Wang Cc: Bob Moore Cc: Rafa

[PATCH v6 1/5] acpi: Remove need to include linux/acpi.h in common acpica code

2013-07-01 Thread Ben Guthro
Move the definition of acpi_os_prepare_sleep into the OS services layer header, and remove the include of linux/acpi.h from common acpica code. Signed-off-by: Ben Guthro Cc: Rafael J. Wysocki Cc: Bob Moore Reviewed-by: Konrad Rzeszutek Wilk --- drivers/acpi/acpica/hwsleep.c |1 - include

Re: [PATCH v5 3/5] acpi: Adjust linux acpi OS functions to new extended parameter

2013-06-28 Thread Ben Guthro
On 06/28/2013 12:03 PM, Konrad Rzeszutek Wilk wrote: On Fri, Jun 28, 2013 at 09:46:22AM -0400, Ben Guthro wrote: Change the function definitions of acpi_os_prepare_sleep() and acpi_os_set_prepare_sleep() to pass along the new extended sleep parameter. Signed-off-by: Jan Beulich Signed-off

[PATCH v5 1/5] acpi: Remove need to include linux/acpi.h in common acpica code

2013-06-28 Thread Ben Guthro
Move the definition of acpi_os_prepare_sleep into the OS services layer header, and remove the include of linux/acpi.h from common acpica code. Signed-off-by: Ben Guthro Cc: Rafael J. Wysocki Cc: Bob Moore --- drivers/acpi/acpica/hwsleep.c |1 - include/acpi/acpiosxf.h |6

[PATCH v5 4/5] x86/tboot: Fail extended mode reduced hardware sleep

2013-06-28 Thread Ben Guthro
As tboot currently does not support the reduced hardware sleep interface, fail this extended call. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei --- arch/x86/kernel/tboot.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch

[PATCH v5 3/5] acpi: Adjust linux acpi OS functions to new extended parameter

2013-06-28 Thread Ben Guthro
Change the function definitions of acpi_os_prepare_sleep() and acpi_os_set_prepare_sleep() to pass along the new extended sleep parameter. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Bob Moore Cc: Rafael J. Wysocki Cc: linux-a...@vger.kernel.org --- arch/x86/kernel/tboot.c

[PATCH v5 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-06-28 Thread Ben Guthro
ypervisor change underlying this is commit 62d1a69 ("ACPI: support v5 (reduced HW) sleep interface") on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Richard L Maliszewski Cc: Gang Wei Cc: Shane Wang Cc: Bob Moore Cc: Rafa

[PATCH v5 2/5] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-06-28 Thread Ben Guthro
istinguish "extended" from "legacy" sleep. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Bob Moore Cc: Rafael J. Wysocki Cc: linux-a...@vger.kernel.org --- drivers/acpi/acpica/hwesleep.c |7 +++ drivers/acpi/acpica/hwsleep.c |2 +- include/acpi/acpiosxf

[PATCH v5 5/5] xen/acpi: notify xen when reduced hardware sleep is available

2013-06-28 Thread Ben Guthro
Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Konrad Wilk --- drivers/xen/acpi.c | 25 - include/xen/acpi.h |3 +-- include/xen/interface/platform.h |7 --- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git

Re: [PATCH v4 3/5] acpi: Adjust linux acpi OS functions to new extended parameter

2013-06-27 Thread Ben Guthro
erface for inclusion. Thanks for your time. Ben Bob -----Original Message- From: Ben Guthro [mailto:benjamin.gut...@citrix.com] Sent: Thursday, June 27, 2013 9:13 AM To: Moore, Robert Cc: Jan Beulich; Zheng, Lv; Box, David E; Brown, Len; xen- de...@lists.xen.org; Konrad Rzeszutek

Re: [PATCH v4 3/5] acpi: Adjust linux acpi OS functions to new extended parameter

2013-06-27 Thread Ben Guthro
s. If you have specific questions, please let me know. Regards, Ben > > Thanks, > Bob > > >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Thursday, June 27, 2013 8:12 AM >> To: Ben Guthro >> Cc: Moore, Robert; x

[PATCH v4 3/5] acpi: Adjust linux acpi OS functions to new extended parameter

2013-06-27 Thread Ben Guthro
Change the function definitions of acpi_os_prepare_sleep() and acpi_os_set_prepare_sleep() to pass along the new extended sleep parameter. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Bob Moore Cc: Rafaell J. Wysocki Cc: linux-a...@vger.kernel.org --- drivers/acpi/osl.c | 16

[PATCH v4 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-06-27 Thread Ben Guthro
ypervisor change underlying this is commit 62d1a69 ("ACPI: support v5 (reduced HW) sleep interface") on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Ben Guthro Signed-off-by: Jan Beulich Cc: Richard L Maliszewski Cc: Gang Wei Cc: Shane Wang Cc: Bob Moore Cc: Rafae

[PATCH v4 2/5] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-06-27 Thread Ben Guthro
istinguish "extended" from "legacy" sleep. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Bob Moore Cc: Rafaell J. Wysocki Cc: linux-a...@vger.kernel.org --- drivers/acpi/acpica/hwesleep.c |7 +++ drivers/acpi/acpica/hwsleep.c |2 +- include/acpi/acpiosxf

[PATCH v4 4/5] x86/tboot: Fail extended mode reduced hardware sleep

2013-06-27 Thread Ben Guthro
As tboot currently does not support the reduced hardware sleep interface, fail this extended call. Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei --- arch/x86/kernel/tboot.c |6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH v4 1/5] acpi: Remove need to include linux/acpi.h in common acpica code

2013-06-27 Thread Ben Guthro
Move the definition of acpi_os_prepare_sleep into the OS services layer header, and remove the include of linux/acpi.h from common acpica code. Signed-off-by: Ben Guthro Cc: Rafaell J. Wysocki Cc: Bob Moore --- drivers/acpi/acpica/hwsleep.c |1 - include/acpi/acpiosxf.h |6

[PATCH v4 5/5] xen/acpi: notify xen when reduced hardware sleep is available

2013-06-27 Thread Ben Guthro
Signed-off-by: Jan Beulich Signed-off-by: Ben Guthro Cc: Konrad Wilk --- drivers/xen/acpi.c | 26 +- include/xen/acpi.h |4 ++-- include/xen/interface/platform.h |7 --- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git

Re: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-06-26 Thread Ben Guthro
On Wed, Jun 26, 2013 at 10:41 AM, Jan Beulich wrote: >>>> On 26.06.13 at 16:06, Ben Guthro wrote: >> In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with >> reduced hardware sleep support, and the two changes didn't get >> synchronized:

Re: [PATCH v3 2/3] x86/tboot: Fail extended mode reduced hardware sleep

2013-06-26 Thread Ben Guthro
On Wed, Jun 26, 2013 at 10:44 AM, Jan Beulich wrote: >>>> On 26.06.13 at 16:06, Ben Guthro wrote: >> --- a/arch/x86/kernel/tboot.c >> +++ b/arch/x86/kernel/tboot.c >> @@ -273,7 +273,8 @@ static void tboot_copy_fadt(const struct acpi_table_fadt >> *fa

[PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-06-26 Thread Ben Guthro
istinguish "extended" from "legacy" sleep. Signed-off-by: Ben Guthro Signed-off-by: Jan Beulich Cc: Bob Moore Cc: Rafaell J. Wysocki Cc: linux-a...@vger.kernel.org --- drivers/acpi/acpica/hwesleep.c |8 drivers/acpi/acpica/hwsleep.c |2 +- drivers

[PATCH v3 3/3] xen/acpi: notify xen when reduced hardware sleep is available

2013-06-26 Thread Ben Guthro
Signed-off-by: Ben Guthro Signed-off-by: Jan Beulich Cc: Konrad Wilk --- drivers/xen/acpi.c | 26 +- include/xen/acpi.h |4 ++-- include/xen/interface/platform.h |7 --- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git

[PATCH v3 2/3] x86/tboot: Fail extended mode reduced hardware sleep

2013-06-26 Thread Ben Guthro
As tboot currently does not support the reduced hardware sleep interface, fail this extended call. Signed-off-by: Ben Guthro Signed-off-by: Jan Beulich Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei --- arch/x86/kernel/tboot.c |6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH v3 0/3] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-06-26 Thread Ben Guthro
nch of git://xenbits.xen.org/xen.git. Signed-off-by: Ben Guthro Signed-off-by: Jan Beulich Cc: Richard L Maliszewski Cc: Gang Wei Cc: Shane Wang Cc: Bob Moore Cc: Rafaell J. Wysocki Cc: linux-a...@vger.kernel.org Cc: tboot-de...@lists.sourceforge.net v2: Extend description to include refer

[PATCH] xen/acpi/sleep: Register to the acpi_suspend_lowlevel a callback.

2013-05-14 Thread Ben Guthro
neric code tries to write cr3 values that clashes with what the hypervisor has set up for the guest. Signed-off-by: Liang Tang Signed-off-by: Konrad Rzeszutek Wilk Tested-by: Ben Guthro Acked-by: H. Peter Anvin --- include/xen/acpi.h | 16 +++- 1 file changed, 15 insertions(+),

[PATCH 2/2] xen/acpi/sleep: Register to the acpi_suspend_lowlevel a callback.

2013-05-14 Thread Ben Guthro
Apoligies, the prior description was a bit stale, in lieu of the 3.10 merge window. cr3 is really the only thing that this needs to worry about anymore, since gdt pvops has been removed, and the other registers are pvops'ed. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

[PATCH 2/2] xen/acpi/sleep: Register to the acpi_suspend_lowlevel a callback.

2013-05-14 Thread Ben Guthro
o save cr8 values (which the hypervisor does not support), and then on resume path the cr3, cr8, idt, and gdt are all resumed which clashes with what the hypervisor has set up for the guest. Signed-off-by: Liang Tang Signed-off-by: Konrad Rzeszutek Wilk Tested-by: Ben Guthro Acked-by: H. P

[PATCH 1/2] x86/acpi/sleep: Provide registration for acpi_suspend_lowlevel.

2013-05-14 Thread Ben Guthro
eph Cihula CC: Shane Wang CC: linux...@lists.linux-foundation.org CC: linux-a...@vger.kernel.org CC: Len Brown Signed-off-by: Liang Tang [v1: Fix when CONFIG_ACPI_SLEEP is not set] Signed-off-by: Konrad Rzeszutek Wilk Tested-by: Ben Guthro Acked-by: "H. Peter Anvin" --- arch/x8

[PATCH 0/2] Implement ACPI S3 for Xen dom0

2013-05-14 Thread Ben Guthro
callback. Regards, Ben Guthro Konrad Rzeszutek Wilk (2): x86/acpi/sleep: Provide registration for acpi_suspend_lowlevel. xen/acpi/sleep: Register to the acpi_suspend_lowlevel a callback. arch/x86/include/asm/acpi.h |2 +- arch/x86/kernel/acpi/boot.c |7 +++ arch/x86/kernel/acpi

[PATCH] xen: resolve section mismatch warnings in xen-acpi-processor

2013-04-18 Thread Ben Guthro
read_acpi_id is wrong. Reported-by: kbuild test robot Signed-off-by: Ben Guthro --- drivers/xen/xen-acpi-processor.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c index 86b6f69..e69eb3b 100644 --- a

[PATCH] xen: resolve section mismatch warnings

2013-04-18 Thread Ben Guthro
--- drivers/xen/xen-acpi-processor.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c index 86b6f69..285e3d5 100644 --- a/drivers/xen/xen-acpi-processor.c +++ b/drivers/xen/xen-acpi-processor.c @@ -470,7

[PATCH] xen: Re-upload processor PM data to hypervisor after S3 resume (v2)

2013-04-17 Thread Ben Guthro
, and missed some cases when xen was running with the dom0_max_vcpus= command line parameter. Signed-Off-By: Ben Guthro --- drivers/xen/xen-acpi-processor.c | 78 ++ 1 file changed, 53 insertions(+), 25 deletions(-) diff --git a/drivers/xen/xen-acpi

[PATCH] xen: Re-upload processor PM data to hypervisor after S3 resume

2013-01-24 Thread Ben Guthro
Upon resume, it was found that ACPI C-states were missing from non-boot CPUs. This change registers a syscore_ops handler for this case, and performs a subset of the xen_acpi_processor_init() functionality to achieve this case. Signed-Off-By: Ben Guthro --- drivers/xen/xen-acpi-processor.c

Re: [RFC] ACPI S3 and Xen (suprisingly small\!).

2012-10-19 Thread Ben Guthro
ack. I'm happy to test a 2nd round, if you CC me on any fixed patches (just in case I'm not monitoring lkml / xen-devel on that particular day) On Fri, Oct 19, 2012 at 2:49 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 17, 2012 at 02:00:29PM -0400, Ben Guthro wrote: >> I&#x

Re: [RFC] ACPI S3 and Xen (suprisingly small\!).

2012-10-17 Thread Ben Guthro
; On Wed, Oct 17, 2012 at 01:46:09PM -0400, Ben Guthro wrote: >> On Wed, Oct 17, 2012 at 9:49 AM, Konrad Rzeszutek Wilk >> wrote: >> [...] >> >> > The end result is this is a nice set of patches where there is only >> > _one_ change in the x86 code (and it

Re: [RFC] ACPI S3 and Xen (suprisingly small\!).

2012-10-17 Thread Ben Guthro
On Wed, Oct 17, 2012 at 9:49 AM, Konrad Rzeszutek Wilk wrote: [...] > The end result is this is a nice set of patches where there is only > _one_ change in the x86 code (and it is just more of dealing with > error case) - and the rest are all done in Xen side. I'm sorry to report that this serie

Possible regression: BUG in fs/sysfs/group.c:65

2012-10-05 Thread Ben Guthro
ut this is running as a Xen dom0 pvops kernel. Regards Ben Guthro [ 1554.684622] [ cut here ] [ 1554.684634] WARNING: at /data/home/bguthro/dev/unstable/linux/fs/sysfs/dir.c:536 sysfs_add_one+0xc0/0xf0() [ 1554.684636] Hardware name: 2765T6U [ 1554.684638] sysfs: cannot create

Re: linux-next: build failure in dwarf-regs.c

2012-10-02 Thread Ben Guthro
Hi Ian, Once again - apologies for multiple copies of this email. Please reply to this (plain text) version so it will get through LKML filters. On Tue, Oct 2, 2012 at 12:24 AM, Ian Munsie wrote: > > > > CC arch/x86/util/dwarf-regs.o > > Is this correct? i.e. Are you building perf for x86? Yes

linux-next: build failure in dwarf-regs.c

2012-10-01 Thread Ben Guthro
I pulled the latest bits up to 797b9e5ae93270ec27a1f1ed48cd697d01b2269f - but am seeing the following build failure with gcc 4.6.3 CC arch/x86/util/dwarf-regs.o arch/x86/util/dwarf-regs.c:72:13: error: no previous prototype for 'get_arch_regstr' [-Werror=missing-prototypes] cc1: all warnings bein