Re: [PATCH v2 for-5.1] acpi-pm-tmr: allow any small-size reads

2020-07-14 Thread Michael S. Tsirkin
On Tue, Jul 14, 2020 at 01:51:45PM +0100, Simon John wrote: > On Tue, 14 Jul 2020 07:10:14 -0400, Michael S. Tsirkin wrote: > > On Tue, Jul 14, 2020 at 01:51:13PM +0300, Michael Tokarev wrote: > > > As found in LP#1886318, MacOS Catalina performs 2-byte reads > > > on the acpi timer address space w

Re: [PATCH v2 for-5.1] acpi-pm-tmr: allow any small-size reads

2020-07-14 Thread Simon John
On Tue, 14 Jul 2020 07:10:14 -0400, Michael S. Tsirkin wrote: On Tue, Jul 14, 2020 at 01:51:13PM +0300, Michael Tokarev wrote: As found in LP#1886318, MacOS Catalina performs 2-byte reads on the acpi timer address space while the spec says it should be 4-byte. Allow any small reads. Reported-By

Re: [PATCH v2 for-5.1] acpi-pm-tmr: allow any small-size reads

2020-07-14 Thread Michael S. Tsirkin
On Tue, Jul 14, 2020 at 01:51:13PM +0300, Michael Tokarev wrote: > As found in LP#1886318, MacOS Catalina performs 2-byte reads > on the acpi timer address space while the spec says it should > be 4-byte. Allow any small reads. > > Reported-By: Simon John > Signed-off-by: Michael Tokarev Simon'

Re: [PATCH v2 for-5.1] acpi-pm-tmr: allow any small-size reads

2020-07-14 Thread Philippe Mathieu-Daudé
On 7/14/20 12:51 PM, Michael Tokarev wrote: > As found in LP#1886318, MacOS Catalina performs 2-byte reads > on the acpi timer address space while the spec says it should > be 4-byte. Allow any small reads. > BugLink: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964247 > Reported-By: Simon

Re: [PATCH v2 for-5.1] acpi-pm-tmr: allow any small-size reads

2020-07-14 Thread Michael S. Tsirkin
On Tue, Jul 14, 2020 at 01:51:13PM +0300, Michael Tokarev wrote: > As found in LP#1886318, MacOS Catalina performs 2-byte reads > on the acpi timer address space while the spec says it should > be 4-byte. Allow any small reads. > > Reported-By: Simon John > Signed-off-by: Michael Tokarev Do we

[PATCH v2 for-5.1] acpi-pm-tmr: allow any small-size reads

2020-07-14 Thread Michael Tokarev
As found in LP#1886318, MacOS Catalina performs 2-byte reads on the acpi timer address space while the spec says it should be 4-byte. Allow any small reads. Reported-By: Simon John Signed-off-by: Michael Tokarev --- hw/acpi/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) v2: fi