Re: [PATCH] target/s390x: Fix PPNO execution with icount

2025-01-25 Thread Richard Henderson
On 1/23/25 04:37, Ilya Leoshkevich wrote: Executing PERFORM RANDOM NUMBER OPERATION makes QEMU exit with "Bad icount read" when using record/replay. This is caused by icount_get_raw_locked() if the current instruction is not the last one in the respective translation block. For the x86_64's rdra

[PATCH] target/s390x: Fix PPNO execution with icount

2025-01-23 Thread Ilya Leoshkevich
Executing PERFORM RANDOM NUMBER OPERATION makes QEMU exit with "Bad icount read" when using record/replay. This is caused by icount_get_raw_locked() if the current instruction is not the last one in the respective translation block. For the x86_64's rdrand this is resolved by calling translator_io