target/hppa: Adjust priv for B,GATE at runtime
commit804cd52d3a314799adfa7d931e00c85856c54206
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 14 Apr 2024 03:39:15 +0000 (13 20:39 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 15 May 2024 08:03:45 +0000 (15 10:03 +0200)
treeaec41cb006243655061ba2df2c2c918847fc9014
parent190d7fa5721dced9704717d64b247552a9152482
target/hppa: Adjust priv for B,GATE at runtime

Do not compile in the priv change based on the first translation;
look up the PTE at execution time.  This is required for CF_PCREL,
where a page may be mapped multiple times with different attributes.

Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/cpu.h
target/hppa/helper.h
target/hppa/mem_helper.c
target/hppa/translate.c