On Tue, 13 Feb 2018 17:12:40 +0100 David Hildenbrand <da...@redhat.com> wrote:
> Currently, all memory accesses go via the MMU of the address space > (primary, secondary, ...). This is bad, because we don't flush the TLB > when disabling/enabling DAT. So we could add a tlb flush. However it > is easier to simply select the MMU we already have in place for real > memory access. > > All we have to do is point at the right MMU and allow to execute these > pages. > > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > > This is necessary to make the upcomming kvm-unit-tests with vmalloc support > pass under TCG. > > target/s390x/cpu.h | 7 ++++++- > target/s390x/mmu_helper.c | 2 +- > target/s390x/translate.c | 10 +++++++--- > 3 files changed, 14 insertions(+), 5 deletions(-) Thanks, applied (with tabs removed).