mirror_qemu/accel
Peter Maydell 55df6fcf54 tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE
Add support for MMU protection regions that are smaller than
TARGET_PAGE_SIZE. We do this by marking the TLB entry for those
pages with a flag TLB_RECHECK. This flag causes us to always
take the slow-path for accesses. In the slow path we can then
special case them to always call tlb_fill() again, so we have
the correct information for the exact address being accessed.

This change allows us to handle reading and writing from small
regions; we cannot deal with execution from the small region.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180620130619.11362-2-peter.maydell@linaro.org
2018-06-26 17:50:41 +01:00
..
kvm kvm: introduce memory encryption APIs 2018-03-13 12:04:03 +01:00
stubs tcg: fix --disable-tcg build breakage 2018-06-22 18:55:24 +01:00
tcg tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE 2018-06-26 17:50:41 +01:00
Makefile.objs kvm: add memory encryption context 2018-03-13 12:04:03 +01:00
accel.c accel: use g_strsplit for parsing accelerator names 2018-05-09 00:13:38 +02:00