diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-01-29 11:46:04 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-01-29 11:46:04 +0000 |
commit | f454a54f3bf95920d236ad893344141085db061a (patch) | |
tree | 041a9d9d82141804b74a61088960dfc37452a640 /ui/input-linux.c | |
parent | ea7a5330b79523540ba776c529b09dc8cf3fa0c5 (diff) | |
download | qemu-f454a54f3bf95920d236ad893344141085db061a.zip qemu-f454a54f3bf95920d236ad893344141085db061a.tar.gz qemu-f454a54f3bf95920d236ad893344141085db061a.tar.bz2 |
accel/tcg/user-exec: Don't parse aarch64 insns to test for read vs write
In cpu_signal_handler() for aarch64 hosts, currently we parse
the faulting instruction to see if it is a load or a store.
Since the 3.16 kernel (~2014), the kernel has provided us with
the syndrome register for a fault, which includes the WnR bit.
Use this instead if it is present, only falling back to
instruction parsing if not.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190108180014.32386-1-peter.maydell@linaro.org
Diffstat (limited to 'ui/input-linux.c')
0 files changed, 0 insertions, 0 deletions