Re: [PATCH v1 1/2] target/ppc: Fix decrementer time underflow and infinite timer loop

2023-06-07 Thread Daniel Henrique Barboza
On 6/7/23 06:26, Michael Tokarev wrote: 30.05.2023 16:12, Nicholas Piggin wrote: It is possible to store a very large value to the decrementer that it does not raise the decrementer exception so the timer is scheduled, but the next time value wraps and is treated as in the past. This can

Re: [PATCH v1 1/2] target/ppc: Fix decrementer time underflow and infinite timer loop

2023-06-07 Thread Michael Tokarev
30.05.2023 16:12, Nicholas Piggin wrote: It is possible to store a very large value to the decrementer that it does not raise the decrementer exception so the timer is scheduled, but the next time value wraps and is treated as in the past. This can occur if (u64)-1 is stored on a zero-triggered

Re: [PATCH v1 1/2] target/ppc: Fix decrementer time underflow and infinite timer loop

2023-06-05 Thread Daniel Henrique Barboza
On 5/30/23 10:12, Nicholas Piggin wrote: It is possible to store a very large value to the decrementer that it does not raise the decrementer exception so the timer is scheduled, but the next time value wraps and is treated as in the past. This can occur if (u64)-1 is stored on a

[PATCH v1 1/2] target/ppc: Fix decrementer time underflow and infinite timer loop

2023-05-30 Thread Nicholas Piggin
It is possible to store a very large value to the decrementer that it does not raise the decrementer exception so the timer is scheduled, but the next time value wraps and is treated as in the past. This can occur if (u64)-1 is stored on a zero-triggered exception, or (u64)-1 is stored twice on