Re: [RFC PATCH] target/s390x: Check storage keys in the TPROT instruction

2022-05-02 Thread Janis Schoetterl-Glausch
On 5/2/22 12:17, Janis Schoetterl-Glausch wrote: > On 5/2/22 10:25, Thomas Huth wrote: >> TPROT allows to specify an access key that should be used for checking >> with the storage key of the destination page, to see whether an access >> is allowed or not. Honor this storage key checking now in the

Re: [RFC PATCH] target/s390x: Check storage keys in the TPROT instruction

2022-05-02 Thread Janis Schoetterl-Glausch
On 5/2/22 10:25, Thomas Huth wrote: > TPROT allows to specify an access key that should be used for checking > with the storage key of the destination page, to see whether an access > is allowed or not. Honor this storage key checking now in the emulated > TPROT instruction, too. > > Since we need

[RFC PATCH] target/s390x: Check storage keys in the TPROT instruction

2022-05-02 Thread Thomas Huth
TPROT allows to specify an access key that should be used for checking with the storage key of the destination page, to see whether an access is allowed or not. Honor this storage key checking now in the emulated TPROT instruction, too. Since we need the absolute address of the page (for getting t