[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 for-2.12 07/15] s390x: handle exceptions duri
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH v1 for-2.12 07/15] s390x: handle exceptions during s390_cpu_virt_mem_rw() correctly (TCG) |
Date: |
Wed, 29 Nov 2017 16:59:17 +0100 |
On Wed, 29 Nov 2017 16:54:30 +0100
David Hildenbrand <address@hidden> wrote:
> >> diff --git a/target/s390x/mmu_helper.c b/target/s390x/mmu_helper.c
> >> index 31e3f3f415..39da9aeef4 100644
> >> --- a/target/s390x/mmu_helper.c
> >> +++ b/target/s390x/mmu_helper.c
> >> @@ -22,6 +22,7 @@
> >> #include "internal.h"
> >> #include "kvm_s390x.h"
> >> #include "sysemu/kvm.h"
> >> +#include "exec/exec-all.h"
> >> #include "trace.h"
> >> #include "hw/s390x/storage-keys.h"
> >>
> >> @@ -458,7 +459,7 @@ static int translate_pages(S390CPU *cpu, vaddr addr,
> >> int nr_pages,
> >> }
> >> if (!address_space_access_valid(&address_space_memory, pages[i],
> >> TARGET_PAGE_SIZE, is_write)) {
> >> - program_interrupt(env, PGM_ADDRESSING, ILEN_AUTO);
> >> + trigger_pgm_exception(env, PGM_ADDRESSING, ILEN_AUTO);
> >
> > Why did you change this?
>
> "For TCG, there was one case where a cpu loop exit was triggered. Fix
> that up."
>
> Wasn't worth a separate patch :)
Well, maybe it is, to avoid dumb questions :)
>
> >
> >> return -EFAULT;
> >> }
> >> addr += TARGET_PAGE_SIZE;
- Re: [Qemu-devel] [PATCH v1 for-2.12 04/15] s390x/ioinst: pass the retaddr to all IO instructions, (continued)
Re: [Qemu-devel] [PATCH v1 for-2.12 04/15] s390x/ioinst: pass the retaddr to all IO instructions, Richard Henderson, 2017/11/29
[Qemu-devel] [PATCH v1 for-2.12 06/15] s390x/diag: pass the retaddr into handle_diag_308(), David Hildenbrand, 2017/11/28
[Qemu-devel] [PATCH v1 for-2.12 07/15] s390x: handle exceptions during s390_cpu_virt_mem_rw() correctly (TCG), David Hildenbrand, 2017/11/28
Re: [Qemu-devel] [PATCH v1 for-2.12 07/15] s390x: handle exceptions during s390_cpu_virt_mem_rw() correctly (TCG), Richard Henderson, 2017/11/29
[Qemu-devel] [PATCH v1 for-2.12 09/15] s390x/tcg: use program_interrupt_ra() in SCLP Service Call, David Hildenbrand, 2017/11/28
[Qemu-devel] [PATCH v1 for-2.12 08/15] s390x/tcg: io instructions don't need potential_page_fault(), David Hildenbrand, 2017/11/28
[Qemu-devel] [PATCH v1 for-2.12 10/15] s390x/tcg: use program_interrupt_ra() in DIAG, David Hildenbrand, 2017/11/28
[Qemu-devel] [PATCH v1 for-2.12 11/15] s390x/tcg: use program_interrupt_ra() in per_check_exception(), David Hildenbrand, 2017/11/28