Re: [PATCH v2 1/2] ACPI: SPCR: Use access width to determine mmio usage

2017-07-04 Thread Greg Kroah-Hartman
On Mon, Jul 03, 2017 at 11:44:30PM +0200, Rafael J. Wysocki wrote: > On Mon, Jul 3, 2017 at 11:33 PM, Loc Ho wrote: > > The current SPCR code does not check the access width of the mmio, and > > uses a default of 8bit register accesses. This prevents devices that > > only do 16 or

Re: [PATCH v2 1/2] ACPI: SPCR: Use access width to determine mmio usage

2017-07-04 Thread Greg Kroah-Hartman
On Mon, Jul 03, 2017 at 11:44:30PM +0200, Rafael J. Wysocki wrote: > On Mon, Jul 3, 2017 at 11:33 PM, Loc Ho wrote: > > The current SPCR code does not check the access width of the mmio, and > > uses a default of 8bit register accesses. This prevents devices that > > only do 16 or 32bit register

Re: [PATCH v2 1/2] ACPI: SPCR: Use access width to determine mmio usage

2017-07-03 Thread Rafael J. Wysocki
On Mon, Jul 3, 2017 at 11:33 PM, Loc Ho wrote: > The current SPCR code does not check the access width of the mmio, and > uses a default of 8bit register accesses. This prevents devices that > only do 16 or 32bit register accesses from working. By simply checking > this field and

Re: [PATCH v2 1/2] ACPI: SPCR: Use access width to determine mmio usage

2017-07-03 Thread Rafael J. Wysocki
On Mon, Jul 3, 2017 at 11:33 PM, Loc Ho wrote: > The current SPCR code does not check the access width of the mmio, and > uses a default of 8bit register accesses. This prevents devices that > only do 16 or 32bit register accesses from working. By simply checking > this field and setting the