target/ppc: Fix move-to timebase SPR access permissions
commitf6940474fa0db83e1e56a8d0ab955750815e2ccb
authorNicholas Piggin <npiggin@gmail.com>
Sat, 29 Jul 2023 04:31:36 +0000 (29 14:31 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Fri, 23 Feb 2024 13:24:43 +0000 (23 23:24 +1000)
treee7ca60d53ad62b09caa9e67b6d3137c4005d3d65
parent80e28a41479723ad3d5fb092048b7564995f79ef
target/ppc: Fix move-to timebase SPR access permissions

The move-to timebase registers TBU and TBL can not be read, and they
can not be written in supervisor mode on hypervisor-capable CPUs.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/helper_regs.c