Re: Potential scheduler regression

2017-07-13 Thread Ben Guthro
On Tue, Jul 11, 2017 at 5:55 AM, Greg KH <gre...@linuxfoundation.org> wrote: > On Tue, Jul 11, 2017 at 10:30:14AM +0200, Ingo Molnar wrote: >> >> * Ben Guthro <b...@guthro.net> wrote: >> >> > > If people have experience with these in the "ent

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 >> > > ot

Re: Potential scheduler regression

2017-07-10 Thread Ben Guthro
On Mon, Jul 10, 2017 at 11:26 AM, Greg KH <gre...@linuxfoundation.org> 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 m

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 <pet...@infradead.org> 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 s

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

Potential scheduler regression

2017-07-05 Thread Ben Guthro
y 4 years - so apologies if this has been previously discussed. I tried to do my research ahead of time - but either this has not been discussed, or my google-fu was weak when attempting the search parameters. Do you happen to know what might be happening here? Thank you in advance, for any in

Potential scheduler regression

2017-07-05 Thread Ben Guthro
ch 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
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: linux-a...@vger.ker

[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

[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 benjamin.gut...@citrix.com

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

2013-07-30 Thread Ben Guthro
-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Acked-by: Konrad Wilk konrad.w...@oracle.com --- drivers/xen/acpi.c | 41 ++ include/xen/acpi.h |8 ++-- include/xen/interface/platform.h

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

2013-07-30 Thread Ben Guthro
62d1a69 (ACPI: support v5 (reduced HW) sleep interface) on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Richard L Maliszewski richard.l.maliszew...@intel.com Cc: Gang Wei gang@intel.com

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: tboot-de...@lists.sourceforge.net Cc: Gang

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: tboot-de...@lists.sourceforge.net Cc: Gang

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
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: linux-a...@vger.ker

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

2013-07-29 Thread Ben Guthro
62d1a69 (ACPI: support v5 (reduced HW) sleep interface) on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Richard L Maliszewski richard.l.maliszew...@intel.com Cc: Gang Wei gang@intel.com

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

2013-07-29 Thread Ben Guthro
-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Acked-by: Konrad Wilk konrad.w...@oracle.com --- drivers/xen/acpi.c | 41 ++ include/xen/acpi.h |8 ++-- include/xen/interface/platform.h

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: tboot-de...@lists.sourceforge.net Cc: Gang

[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 benjamin.gut...@citrix.com

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. Signed-off-by: Jan Beulich jbeul

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 >> syn

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 r...@sisk.pl 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 synchronized: The new code

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

2013-07-24 Thread Ben Guthro
e 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? >> >> Thanks, >> Bob >> >> >>> -

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] >> Sent: W

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.

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: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-24 Thread Ben Guthro
...and indeed would also be 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? Thanks, Bob -Original Message- From: Ben Guthro

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 for your efforts! I wonder if it is possible to remove the argument

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

2013-07-24 Thread Ben Guthro
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...@citrix.com] Sent: Wednesday, July 24, 2013 5:01 AM To: Zheng, Lv Cc: Konrad

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

2013-07-24 Thread Ben Guthro
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] Sent: Wednesday, July 24, 2013 6:23 AM To: Moore, Robert Cc: Zheng, Lv; Konrad

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-22 Thread Ben Guthro
On Mon, Jul 8, 2013 at 9:08 AM, Ben Guthro benjamin.gut...@citrix.com 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 benjamin.gut...@citrix.com wrote: In version 3.4

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-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 benjamin.gut...@citrix.com wrote: In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with reduced hardware sleep support

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). Fix thi

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 benjamin.gut...@citrix.com 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). Fix

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

2013-07-02 Thread Ben Guthro
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...@vger.ker

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

2013-07-02 Thread Ben Guthro
: 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...@vger.kernel.org; xen-de...@lists.xen.org Cc: Ben Guthro

[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
"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/hwsleep.c |

[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(-)

[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
or 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: Rafael J. Wysocki

[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

[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 benjamin.gut...@citrix.com Cc: Rafael J. Wysocki r...@sisk.pl Cc: Bob Moore robert.mo...@intel.com Reviewed-by: Konrad

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

2013-07-01 Thread Ben Guthro
62d1a69 (ACPI: support v5 (reduced HW) sleep interface) on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Richard L Maliszewski richard.l.maliszew...@intel.com Cc: Gang Wei gang@intel.com

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafael J. Wysocki r

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

2013-07-01 Thread Ben Guthro
-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Acked-by: Konrad Wilk konrad.w...@oracle.com --- drivers/xen/acpi.c | 25 - include/xen/acpi.h |3 +-- include/xen/interface/platform.h |7 --- 3

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei gang@intel.com Reviewed-by: Konrad Rzeszutek

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

2013-07-01 Thread Ben Guthro
extended from legacy sleep. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafael J. Wysocki r...@sisk.pl Cc: linux-a...@vger.kernel.org Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/acpi

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
or 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: Rafael J. Wysocki

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

2013-06-28 Thread Ben Guthro
"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.h

[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

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

2013-06-28 Thread Ben Guthro
-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Konrad Wilk konrad.w...@oracle.com --- drivers/xen/acpi.c | 25 - include/xen/acpi.h |3 +-- include/xen/interface/platform.h |7 --- 3 files

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

2013-06-28 Thread Ben Guthro
extended from legacy sleep. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafael J. Wysocki r...@sisk.pl Cc: linux-a...@vger.kernel.org --- drivers/acpi/acpica/hwesleep.c |7 +++ drivers/acpi/acpica

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

2013-06-28 Thread Ben Guthro
62d1a69 (ACPI: support v5 (reduced HW) sleep interface) on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Richard L Maliszewski richard.l.maliszew...@intel.com Cc: Gang Wei gang@intel.com

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafael J. Wysocki r

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei gang@intel.com --- arch/x86/kernel/tboot.c

[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 benjamin.gut...@citrix.com Cc: Rafael J. Wysocki r...@sisk.pl Cc: Bob Moore robert.mo...@intel.com --- drivers/acpi/acpica

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 jbeul

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

2013-06-27 Thread Ben Guthro
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 Wilk; Rafael

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

2013-06-27 Thread Ben Guthro
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; xen-de

[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
or 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: Rafaell J. Wysocki

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

2013-06-27 Thread Ben Guthro
"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.h

[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

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei gang@intel.com --- arch/x86/kernel/tboot.c

[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 benjamin.gut...@citrix.com Cc: Rafaell J. Wysocki r...@sisk.pl Cc: Bob Moore robert.mo...@intel.com --- drivers/acpi/acpica

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

2013-06-27 Thread Ben Guthro
-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Konrad Wilk konrad.w...@oracle.com --- drivers/xen/acpi.c | 26 +- include/xen/acpi.h |4 ++-- include/xen/interface/platform.h |7 --- 3 files

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

2013-06-27 Thread Ben Guthro
62d1a69 (ACPI: support v5 (reduced HW) sleep interface) on the master branch of git://xenbits.xen.org/xen.git. Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Richard L Maliszewski richard.l.maliszew...@intel.com Cc: Gang Wei gang@intel.com

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

2013-06-27 Thread Ben Guthro
extended from legacy sleep. Signed-off-by: Jan Beulich jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafaell J. Wysocki r...@sisk.pl Cc: linux-a...@vger.kernel.org --- drivers/acpi/acpica/hwesleep.c |7 +++ drivers/acpi/acpica

[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 jbeul...@suse.com Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafaell J. Wysocki

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

2013-06-27 Thread Ben Guthro
To: Ben Guthro Cc: Moore, Robert; xen-de...@lists.xen.org; Konrad Rzeszutek Wilk; Rafaell J . Wysocki; linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 3/5] acpi: Adjust linux acpi OS functions to new extended parameter On 27.06.13 at 17:02, Ben Guthro benjamin.gut

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

2013-06-27 Thread Ben Guthro
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 Wilk; Rafaell J . Wysocki; linux

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: The

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
"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/acpi/osl.

[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
nbits.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 reference to hy

[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 benjamin.gut...@citrix.com Signed-off-by: Jan Beulich jbeul...@suse.com Cc: tboot-de...@lists.sourceforge.net Cc: Gang Wei gang@intel.com --- arch/x86/kernel/tboot.c

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

2013-06-26 Thread Ben Guthro
-by: Ben Guthro benjamin.gut...@citrix.com Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Richard L Maliszewski richard.l.maliszew...@intel.com Cc: Gang Wei gang@intel.com Cc: Shane Wang shane.w...@intel.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafaell J. Wysocki r...@sisk.pl Cc: linux

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

2013-06-26 Thread Ben Guthro
-by: Ben Guthro benjamin.gut...@citrix.com Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Konrad Wilk konrad.w...@oracle.com --- drivers/xen/acpi.c | 26 +- include/xen/acpi.h |4 ++-- include/xen/interface/platform.h |7 --- 3 files

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

2013-06-26 Thread Ben Guthro
extended from legacy sleep. Signed-off-by: Ben Guthro benjamin.gut...@citrix.com Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Bob Moore robert.mo...@intel.com Cc: Rafaell J. Wysocki r...@sisk.pl Cc: linux-a...@vger.kernel.org --- drivers/acpi/acpica/hwesleep.c |8 drivers/acpi/acpica

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 jbeul...@suse.com wrote: On 26.06.13 at 16:06, Ben Guthro benjamin.gut...@citrix.com 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 *fadt

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 jbeul...@suse.com wrote: On 26.06.13 at 16:06, Ben Guthro benjamin.gut...@citrix.com 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

  1   2   >