Re: [PULL 30/53] hw/acpi: Fix PM control register access

2023-06-26 Thread Michael S. Tsirkin
On Mon, Jun 26, 2023 at 03:20:09PM +0200, Igor Mammedov wrote: > On Mon, 26 Jun 2023 08:29:19 -0400 > "Michael S. Tsirkin" wrote: > > > From: BALATON Zoltan > > > > On pegasos2 which has ACPI as part of VT8231 south bridge the board > > firmware writes PM control register by accessing the

Re: [PULL 30/53] hw/acpi: Fix PM control register access

2023-06-26 Thread Igor Mammedov
On Mon, 26 Jun 2023 08:29:19 -0400 "Michael S. Tsirkin" wrote: > From: BALATON Zoltan > > On pegasos2 which has ACPI as part of VT8231 south bridge the board > firmware writes PM control register by accessing the second byte so > addr will be 1. This wasn't handled correctly and the write went

[PULL 30/53] hw/acpi: Fix PM control register access

2023-06-26 Thread Michael S. Tsirkin
From: BALATON Zoltan On pegasos2 which has ACPI as part of VT8231 south bridge the board firmware writes PM control register by accessing the second byte so addr will be 1. This wasn't handled correctly and the write went to addr 0 instead. Remove the acpi_pm1_cnt_write() function which is used