Searched hist:b5e85329026115b5a679849f45e7c19c2714e4fd (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/s390x/ |
H A D | helper.h | diff b5e85329026115b5a679849f45e7c19c2714e4fd Fri Jan 12 06:54:52 CST 2018 David Hildenbrand <david@redhat.com> s390x/tcg: fixup TEST PROTECTION
CC == 2 can only happen due to a protection exception, not if memory is not available (PGM_ADDRESSING). So all PGM_ADDRESSING exceptions have to be forwarded to the guest.
Since the initial definition of TEST PROTECTION, we now read globals (e.g. PSW mask), so we have to correctly mark the instruction (otherwise, e.g. booting fedora 27 fails).
Also, the architecture explicitly specifies which exceptions are forwarded to the guest, this makes the code a little nicer.
Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20180112125452.8569-1-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|
H A D | cpu.h | diff b5e85329026115b5a679849f45e7c19c2714e4fd Fri Jan 12 06:54:52 CST 2018 David Hildenbrand <david@redhat.com> s390x/tcg: fixup TEST PROTECTION
CC == 2 can only happen due to a protection exception, not if memory is not available (PGM_ADDRESSING). So all PGM_ADDRESSING exceptions have to be forwarded to the guest.
Since the initial definition of TEST PROTECTION, we now read globals (e.g. PSW mask), so we have to correctly mark the instruction (otherwise, e.g. booting fedora 27 fails).
Also, the architecture explicitly specifies which exceptions are forwarded to the guest, this makes the code a little nicer.
Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20180112125452.8569-1-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|