X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target%2Fs390x%2Fmmu_helper.c;h=fbb2f1b4d485ea702588d377ec75e16d10a8f103;hb=b0ef81062d2404ccef0289b1cc6e70244901c9be;hp=b04b57c235694abcc5422ababdadcab0ba48e71b;hpb=6da311a60d58dba27f5f790217d5ebba944e34ab;p=mirror_qemu.git diff --git a/target/s390x/mmu_helper.c b/target/s390x/mmu_helper.c index b04b57c235..fbb2f1b4d4 100644 --- a/target/s390x/mmu_helper.c +++ b/target/s390x/mmu_helper.c @@ -417,7 +417,7 @@ int mmu_translate(CPUS390XState *env, target_ulong vaddr, int rw, uint64_t asc, vaddr &= TARGET_PAGE_MASK; - if (!(env->psw.mask & PSW_MASK_DAT)) { + if (rw != MMU_S390_LRA && !(env->psw.mask & PSW_MASK_DAT)) { *raddr = vaddr; goto nodat; }