Re: [PATCH v2 1/1] x86/acpi: Use FADT flags to determine the PMTMR width

2020-06-22 Thread Jan Beulich
On 19.06.2020 20:23, Grzegorz Uriasz wrote: > On 19/06/2020 15:17, Jan Beulich wrote: >> On 19.06.2020 06:28, Grzegorz Uriasz wrote: >>> --- a/xen/arch/x86/time.c >>> +++ b/xen/arch/x86/time.c >>> @@ -457,16 +457,16 @@ static u64 read_pmtimer_count(void) >>> static s64 __init init_pmtimer(struct p

Re: [PATCH v2 1/1] x86/acpi: Use FADT flags to determine the PMTMR width

2020-06-19 Thread Grzegorz Uriasz
On 19/06/2020 15:17, Jan Beulich wrote: > On 19.06.2020 06:28, Grzegorz Uriasz wrote: >> --- a/xen/arch/x86/acpi/boot.c >> +++ b/xen/arch/x86/acpi/boot.c >> @@ -478,7 +478,9 @@ static int __init acpi_parse_fadt(struct >> acpi_table_header *table) >> if (fadt->header.revision >= FADT2_REVISION

Re: [PATCH v2 1/1] x86/acpi: Use FADT flags to determine the PMTMR width

2020-06-19 Thread Jan Beulich
On 19.06.2020 06:28, Grzegorz Uriasz wrote: > --- a/xen/arch/x86/acpi/boot.c > +++ b/xen/arch/x86/acpi/boot.c > @@ -478,7 +478,9 @@ static int __init acpi_parse_fadt(struct > acpi_table_header *table) > if (fadt->header.revision >= FADT2_REVISION_ID) { > /* FADT rev. 2 */ >

[PATCH v2 1/1] x86/acpi: Use FADT flags to determine the PMTMR width

2020-06-18 Thread Grzegorz Uriasz
On some computers the bit width of the PM Timer as reported by ACPI is 32 bits when in fact the FADT flags report correctly that the timer is 24 bits wide. On affected machines such as the ASUS FX504GM and never gaming laptops this results in the inability to resume the machine from suspend. Withou