aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorJakub Jermář <jakub.jermar@kernkonzept.com>2019-05-17 14:35:33 +0200
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-05-26 17:33:24 +0200
commit7353113fa482e697a77575086a41f429a01f8dc0 (patch)
tree48c01b6c7d46e239ac8bf8b22a6a26c32d9c2da2 /linux-user
parentc1c9a10fb1f7a6782711817c167a2c20b000fc12 (diff)
mips: Decide to map PAGE_EXEC in map_address
This commit addresses QEMU Bug #1825311: mips_cpu_handle_mmu_fault renders all accessed pages executable It allows finer-grained control over whether the accessed page should be executable by moving the decision to the underlying map_address function, which has more information for this. As a result, pages that have the XI bit set in the TLB and are accessed for read/write, don't suddenly end up being executable. Fixes: https://bugs.launchpad.net/qemu/+bug/1825311 Fixes: 2fb58b73746e ('target-mips: add RI and XI fields to TLB entry') Signed-off-by: Jakub Jermář <jakub.jermar@kernkonzept.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190517123533.868479-1-jakub.jermar@kernkonzept.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions