qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v1 3/5] s390x/mmu: Implement Instruction-Execution-Protection


From: Thomas Huth
Subject: Re: [PATCH v1 3/5] s390x/mmu: Implement Instruction-Execution-Protection Facility
Date: Tue, 1 Oct 2019 11:06:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 26/09/2019 12.16, David Hildenbrand wrote:
> IEP support in the mmu is fairly easy. Set the right permissions for TLB
> entries and properly report an exception.
> 
> Make sure to handle EDAT-2 by setting bit 56/60/61 of the TEID (TEC) to
> the right values.
> 
> Let's keep s390_cpu_get_phys_page_debug() working even if IEP is
> active. Switch MMU_DATA_LOAD - this has no other effects any more as the
> ASC to be used is now fully selected outside of mmu_translate().
> 
> Signed-off-by: David Hildenbrand <address@hidden>
> ---
>  target/s390x/cpu.h        |  1 +
>  target/s390x/helper.c     |  6 +++++-
>  target/s390x/mmu_helper.c | 21 +++++++++++++++++++++
>  3 files changed, 27 insertions(+), 1 deletion(-)

Reviewed-by: Thomas Huth <address@hidden>



reply via email to

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