Re: [PATCH v4 22/24] target/ppc: fix timebase register reset state

2024-03-12 Thread Nicholas Piggin
On Tue Mar 12, 2024 at 11:24 PM AEST, Alex Bennée wrote: > Nicholas Piggin writes: > > > (H)DEC and PURR get reset before icount does, which causes them to be > > skewed and not match the init state. This can cause replay to not > > match the recorded trace exactly. For DEC and HDEC this is usuall

Re: [PATCH v4 22/24] target/ppc: fix timebase register reset state

2024-03-12 Thread Alex Bennée
Nicholas Piggin writes: > (H)DEC and PURR get reset before icount does, which causes them to be > skewed and not match the init state. This can cause replay to not > match the recorded trace exactly. For DEC and HDEC this is usually not > noticable since they tend to get programmed before affecti

[PATCH v4 22/24] target/ppc: fix timebase register reset state

2024-03-11 Thread Nicholas Piggin
(H)DEC and PURR get reset before icount does, which causes them to be skewed and not match the init state. This can cause replay to not match the recorded trace exactly. For DEC and HDEC this is usually not noticable since they tend to get programmed before affecting the target machine. PURR has be