Re: [PATCH v2 for-8.0] target/s390x/tcg: Fix and improve the SACF instruction

2022-12-02 Thread Ilya Leoshkevich
On Thu, 2022-12-01 at 19:44 +0100, Thomas Huth wrote: > The SET ADDRESS SPACE CONTROL FAST instruction is not privileged, it > can be > used from problem space, too. Just the switching to the home address > space > is privileged and should still generate a privilege exception. This > bug is > e.g.

Re: [PATCH v2 for-8.0] target/s390x/tcg: Fix and improve the SACF instruction

2022-12-02 Thread David Hildenbrand
On 01.12.22 19:44, Thomas Huth wrote: The SET ADDRESS SPACE CONTROL FAST instruction is not privileged, it can be used from problem space, too. Just the switching to the home address space is privileged and should still generate a privilege exception. This bug is e.g. causing programs like Java

Re: [PATCH v2 for-8.0] target/s390x/tcg: Fix and improve the SACF instruction

2022-12-01 Thread Thomas Huth
On 01/12/2022 21.51, Richard Henderson wrote: On 12/1/22 10:44, Thomas Huth wrote: The SET ADDRESS SPACE CONTROL FAST instruction is not privileged, it can be used from problem space, too. Just the switching to the home address space is privileged and should still generate a privilege

Re: [PATCH v2 for-8.0] target/s390x/tcg: Fix and improve the SACF instruction

2022-12-01 Thread Richard Henderson
On 12/1/22 10:44, Thomas Huth wrote: The SET ADDRESS SPACE CONTROL FAST instruction is not privileged, it can be used from problem space, too. Just the switching to the home address space is privileged and should still generate a privilege exception. This bug is e.g. causing programs like Java

[PATCH v2 for-8.0] target/s390x/tcg: Fix and improve the SACF instruction

2022-12-01 Thread Thomas Huth
The SET ADDRESS SPACE CONTROL FAST instruction is not privileged, it can be used from problem space, too. Just the switching to the home address space is privileged and should still generate a privilege exception. This bug is e.g. causing programs like Java that use the "getcpu" vdso kernel