Home
last modified time | relevance | path

Searched hist:"703 d03a4aaf38f285555ef5422ba5ce075416fc4" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/s390x/tcg/
H A Dmem_helper.cdiff 703d03a4aaf38f285555ef5422ba5ce075416fc4 Thu Mar 16 16:07:50 CDT 2023 Ilya Leoshkevich <iii@linux.ibm.com> target/s390x: Fix EXECUTE of relative long instructions

The code uses the wrong base for relative addressing: it should use the
target instruction address and not the EXECUTE's address.

Fix by storing the target instruction address in the new CPUS390XState
member and loading it from the code generated by gen_ri2().

Reported-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230316210751.302423-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
H A Dtranslate.cdiff 703d03a4aaf38f285555ef5422ba5ce075416fc4 Thu Mar 16 16:07:50 CDT 2023 Ilya Leoshkevich <iii@linux.ibm.com> target/s390x: Fix EXECUTE of relative long instructions

The code uses the wrong base for relative addressing: it should use the
target instruction address and not the EXECUTE's address.

Fix by storing the target instruction address in the new CPUS390XState
member and loading it from the code generated by gen_ri2().

Reported-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230316210751.302423-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
/openbmc/qemu/target/s390x/
H A Dcpu.hdiff 703d03a4aaf38f285555ef5422ba5ce075416fc4 Thu Mar 16 16:07:50 CDT 2023 Ilya Leoshkevich <iii@linux.ibm.com> target/s390x: Fix EXECUTE of relative long instructions

The code uses the wrong base for relative addressing: it should use the
target instruction address and not the EXECUTE's address.

Fix by storing the target instruction address in the new CPUS390XState
member and loading it from the code generated by gen_ri2().

Reported-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20230316210751.302423-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>