qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qemu-s390x] [PATCH v1] s390x/tcg: fix disabling/enabling DAT


From: Cornelia Huck
Subject: Re: [qemu-s390x] [PATCH v1] s390x/tcg: fix disabling/enabling DAT
Date: Tue, 13 Feb 2018 18:57:45 +0100

On Tue, 13 Feb 2018 17:12:40 +0100
David Hildenbrand <address@hidden> 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 <address@hidden>
> ---
> 
> 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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]