Home
last modified time | relevance | path

Searched hist:f26852aa31d49bf83a8defd65538137a2f9da82c (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/s390x/
H A Dmmu_helper.cdiff f26852aa31d49bf83a8defd65538137a2f9da82c Tue Feb 13 10:12:40 CST 2018 David Hildenbrand <david@redhat.com> s390x/tcg: fix disabling/enabling DAT

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 <david@redhat.com>
Message-Id: <20180213161240.19891-1-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[CH: get rid of tabs]
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
H A Dcpu.hdiff f26852aa31d49bf83a8defd65538137a2f9da82c Tue Feb 13 10:12:40 CST 2018 David Hildenbrand <david@redhat.com> s390x/tcg: fix disabling/enabling DAT

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 <david@redhat.com>
Message-Id: <20180213161240.19891-1-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[CH: get rid of tabs]
Signed-off-by: Cornelia Huck <cohuck@redhat.com>