Re: [Xen-devel] [PATCH v3 7/7] amd/pvh: enable ACPI C1E disable quirk on PVH Dom0

2018-11-07 Thread Roger Pau Monné
On Fri, Nov 02, 2018 at 03:06:58AM -0600, Jan Beulich wrote: > >>> On 30.10.18 at 16:41, wrote: > > --- a/xen/arch/x86/cpu/amd.c > > +++ b/xen/arch/x86/cpu/amd.c > > @@ -44,6 +44,9 @@ integer_param("cpuid_mask_thermal_ecx", > > opt_cpuid_mask_thermal_ecx); > > s8 __read_mostly opt_allow_unsafe;

Re: [Xen-devel] [PATCH v3 7/7] amd/pvh: enable ACPI C1E disable quirk on PVH Dom0

2018-11-02 Thread Jan Beulich
>>> On 30.10.18 at 16:41, wrote: > --- a/xen/arch/x86/cpu/amd.c > +++ b/xen/arch/x86/cpu/amd.c > @@ -44,6 +44,9 @@ integer_param("cpuid_mask_thermal_ecx", > opt_cpuid_mask_thermal_ecx); > s8 __read_mostly opt_allow_unsafe; > boolean_param("allow_unsafe", opt_allow_unsafe); > > +/* Signal

Re: [Xen-devel] [PATCH v3 7/7] amd/pvh: enable ACPI C1E disable quirk on PVH Dom0

2018-10-31 Thread Boris Ostrovsky
On 10/30/18 11:41 AM, Roger Pau Monne wrote: > PV Dom0 has a quirk for some AMD processors, where enabling ACPI can > also enable C1E mode. Apply the same workaround as done on PV for a > PVH Dom0, which consist on trapping accesses to the SMI command IO > port and disabling C1E if ACPI is

Re: [Xen-devel] [PATCH v3 7/7] amd/pvh: enable ACPI C1E disable quirk on PVH Dom0

2018-10-30 Thread Wei Liu
On Tue, Oct 30, 2018 at 04:41:23PM +0100, Roger Pau Monne wrote: > PV Dom0 has a quirk for some AMD processors, where enabling ACPI can > also enable C1E mode. Apply the same workaround as done on PV for a > PVH Dom0, which consist on trapping accesses to the SMI command IO > port and disabling

[Xen-devel] [PATCH v3 7/7] amd/pvh: enable ACPI C1E disable quirk on PVH Dom0

2018-10-30 Thread Roger Pau Monne
PV Dom0 has a quirk for some AMD processors, where enabling ACPI can also enable C1E mode. Apply the same workaround as done on PV for a PVH Dom0, which consist on trapping accesses to the SMI command IO port and disabling C1E if ACPI is enabled. Reported-by: Jan Beulich Signed-off-by: Roger Pau