Re: [PATCH 5/6] hw/ppc: Always store the decrementer value

2023-07-30 Thread Cédric Le Goater
On 7/30/23 11:40, Nicholas Piggin wrote: On Thu Jul 27, 2023 at 10:26 PM AEST, Cédric Le Goater wrote: Hello Nick, On 7/26/23 20:22, Nicholas Piggin wrote: When writing a value to the decrementer that raises an exception, the irq is raised, but the value is not stored so the store doesn't appe

Re: [PATCH 5/6] hw/ppc: Always store the decrementer value

2023-07-30 Thread Nicholas Piggin
On Thu Jul 27, 2023 at 10:26 PM AEST, Cédric Le Goater wrote: > Hello Nick, > > On 7/26/23 20:22, Nicholas Piggin wrote: > > When writing a value to the decrementer that raises an exception, the > > irq is raised, but the value is not stored so the store doesn't appear > > to have changed the regis

Re: [PATCH 5/6] hw/ppc: Always store the decrementer value

2023-07-27 Thread Cédric Le Goater
Hello Nick, On 7/26/23 20:22, Nicholas Piggin wrote: When writing a value to the decrementer that raises an exception, the irq is raised, but the value is not stored so the store doesn't appear to have changed the register when it is read again. Always store the write value to the register. T

[PATCH 5/6] hw/ppc: Always store the decrementer value

2023-07-26 Thread Nicholas Piggin
When writing a value to the decrementer that raises an exception, the irq is raised, but the value is not stored so the store doesn't appear to have changed the register when it is read again. Always store the write value to the register. Fixes: e81a982aa53 ("PPC: Clean up DECR implementation") S