diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2023-07-03 22:03:01 +1000 |
|---|---|---|
| committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2023-07-07 04:49:14 -0300 |
| commit | 55a7fa34f8982f22497b2453787336acc7f79a7c (patch) | |
| tree | 23f077ee3fae4edb2abdffd2c9c533eaf5ace644 /target/ppc/cpu_init.c | |
| parent | e1a821d47167a46e4386e763cd7e7901c856c4b2 (diff) | |
| download | focaccia-qemu-55a7fa34f8982f22497b2453787336acc7f79a7c.tar.gz focaccia-qemu-55a7fa34f8982f22497b2453787336acc7f79a7c.zip | |
target/ppc: Machine check on invalid real address access on POWER9/10
ppc currently silently accepts invalid real address access. Catch these and turn them into machine checks on POWER9/10 machines. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-ID: <20230703120301.45313-1-npiggin@gmail.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target/ppc/cpu_init.c')
| -rw-r--r-- | target/ppc/cpu_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index 720aad9e05..6ac1765a8d 100644 --- a/target/ppc/cpu_init.c +++ b/target/ppc/cpu_init.c @@ -7335,6 +7335,7 @@ static const struct TCGCPUOps ppc_tcg_ops = { .cpu_exec_enter = ppc_cpu_exec_enter, .cpu_exec_exit = ppc_cpu_exec_exit, .do_unaligned_access = ppc_cpu_do_unaligned_access, + .do_transaction_failed = ppc_cpu_do_transaction_failed, #endif /* !CONFIG_USER_ONLY */ }; #endif /* CONFIG_TCG */ |