Re: [PATCH v3 06/14 RESEND] xen/x86: Tweak PDC bits when using HWP

2023-05-10 Thread Jason Andryuk
On Mon, May 8, 2023 at 5:53 AM Jan Beulich wrote: > > On 01.05.2023 21:30, Jason Andryuk wrote: > > --- a/xen/arch/x86/acpi/cpufreq/hwp.c > > +++ b/xen/arch/x86/acpi/cpufreq/hwp.c > > @@ -13,6 +13,8 @@ > > #include > > #include > > > > +static bool hwp_in_use; > > __ro_after_init again, please

Re: [PATCH v3 06/14 RESEND] xen/x86: Tweak PDC bits when using HWP

2023-05-08 Thread Jan Beulich
On 01.05.2023 21:30, Jason Andryuk wrote: > --- a/xen/arch/x86/acpi/cpufreq/hwp.c > +++ b/xen/arch/x86/acpi/cpufreq/hwp.c > @@ -13,6 +13,8 @@ > #include > #include > > +static bool hwp_in_use; __ro_after_init again, please. > --- a/xen/include/acpi/pdc_intel.h > +++ b/xen/include/acpi/pdc_i

[PATCH v3 06/14 RESEND] xen/x86: Tweak PDC bits when using HWP

2023-05-01 Thread Jason Andryuk
Qubes testing of HWP support had a report of a laptop, Thinkpad X1 Carbon Gen 4 with a Skylake processor, locking up during boot when HWP is enabled. A user found a kernel bug that seems to be the same issue: https://bugzilla.kernel.org/show_bug.cgi?id=110941. That bug was fixed by Linux commit a