Re: RFC: disable HPET legacy mode after timer check

2023-04-17 Thread Simon Gaiser
Andrew Cooper: [...] >> It reaches low power states only for a fraction of the suspend to idle >> time, so something still makes the CPU/chipset think it should leave the >> low power mode, but that's another topic. > > Do you have any further info here? There are a range of possibilities, > from

Re: RFC: disable HPET legacy mode after timer check

2023-04-17 Thread Roger Pau Monné
On Mon, Apr 17, 2023 at 10:49:38AM +0200, Jan Beulich wrote: > On 12.04.2023 13:25, Roger Pau Monné wrote: > > On Tue, Apr 11, 2023 at 12:20:13PM +0100, Andrew Cooper wrote: > >> On 11/04/2023 11:30 am, Simon Gaiser wrote: > >>> Hi, > >>> > >>> I have been recently looking into getting S0ix working

Re: RFC: disable HPET legacy mode after timer check

2023-04-17 Thread Jan Beulich
On 12.04.2023 13:25, Roger Pau Monné wrote: > On Tue, Apr 11, 2023 at 12:20:13PM +0100, Andrew Cooper wrote: >> On 11/04/2023 11:30 am, Simon Gaiser wrote: >>> Hi, >>> >>> I have been recently looking into getting S0ix working on Xen [1]. >>> >>> Thanks to a tip from Andrew I found that the HPET le

Re: RFC: disable HPET legacy mode after timer check

2023-04-12 Thread Roger Pau Monné
On Tue, Apr 11, 2023 at 12:20:13PM +0100, Andrew Cooper wrote: > On 11/04/2023 11:30 am, Simon Gaiser wrote: > > Hi, > > > > I have been recently looking into getting S0ix working on Xen [1]. > > > > Thanks to a tip from Andrew I found that the HPET legacy mode was > > preventing my test system fro

Re: RFC: disable HPET legacy mode after timer check

2023-04-11 Thread Andrew Cooper
On 11/04/2023 11:30 am, Simon Gaiser wrote: > Hi, > > I have been recently looking into getting S0ix working on Xen [1]. > > Thanks to a tip from Andrew I found that the HPET legacy mode was > preventing my test system from reaching a package C-state lower than PC7 > and thereby also preventing S0i

RFC: disable HPET legacy mode after timer check

2023-04-11 Thread Simon Gaiser
Hi, I have been recently looking into getting S0ix working on Xen [1]. Thanks to a tip from Andrew I found that the HPET legacy mode was preventing my test system from reaching a package C-state lower than PC7 and thereby also preventing S0ix residency. For testing I simply modified check_timer(