Re: [PATCH v1 2/2] target/ppc: Decrementer fix BookE semantics

2023-06-05 Thread Daniel Henrique Barboza
On 5/30/23 10:12, Nicholas Piggin wrote: The decrementer store function has logic that short-cuts the timer if a very small value is stored (0, 1, or 2) and raises an interrupt directly. There are two problem with this on BookE. First is that BookE says a decrementer interrupt should not be

[PATCH v1 2/2] target/ppc: Decrementer fix BookE semantics

2023-05-30 Thread Nicholas Piggin
The decrementer store function has logic that short-cuts the timer if a very small value is stored (0, 1, or 2) and raises an interrupt directly. There are two problem with this on BookE. First is that BookE says a decrementer interrupt should not be raised on a store of 0, only of a decrement