[PATCH] target/arm: Fix bug in memory translation for executable Realm memory pages

2023-08-22 Thread Matti Schulze
This patch fixes a bug in the memory translation for target/arm. If in realm space, e.g., R-EL2 executing code from an executable memory page currently results in a level 3 permission fault. As we cannot access secure memory from an insecure space, QEMU checks on each memory translation if the i

Re: [PATCH] target/arm: Fix bug in memory translation for executable Realm memory pages

2023-08-22 Thread Peter Maydell
On Tue, 22 Aug 2023 at 17:18, Matti Schulze wrote: > > This patch fixes a bug in the memory translation for target/arm. > If in realm space, e.g., R-EL2 executing code from an executable > memory page currently results in a level 3 permission fault. > As we cannot access secure memory from an inse