diff options
author | Greg Kurz <groug@kaod.org> | 2020-05-14 00:57:19 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-05-27 15:29:36 +1000 |
commit | e606a5580131855ce79f1f585e91ac0b6dd805ae (patch) | |
tree | 62d7f88e79b1e3c4cfa25f2cc7f19ca8d1fc855a /device_tree.c | |
parent | 31efae9958a8a085d248a74a9448048bac5d6e68 (diff) |
target/ppc: Don't update radix PTE R/C bits with gdbstub
gdbstub shouldn't silently change guest visible state when doing address
translation. Since the R/C bits can only be updated when handling a MMU
fault, let's reuse the cause_excp flag and rename it to guest_visible.
While here drop a not very useful comment.
This was found while reading the code. I could verify that this affects
both powernv and pseries, but I failed to observe any actual bug.
Fixes: d04ea940c597 "target/ppc: Add support for Radix partition-scoped translation"
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <158941063899.240484.2778628492106387793.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions