diff options
Diffstat (limited to 'gitlab/issues_text/target_arm/host_missing/accel_missing/1950')
| -rw-r--r-- | gitlab/issues_text/target_arm/host_missing/accel_missing/1950 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_arm/host_missing/accel_missing/1950 b/gitlab/issues_text/target_arm/host_missing/accel_missing/1950 new file mode 100644 index 000000000..288f81714 --- /dev/null +++ b/gitlab/issues_text/target_arm/host_missing/accel_missing/1950 @@ -0,0 +1,9 @@ +[AARCH64] GP bit (BTI) lost during two stages translation +Description of problem: +I noticed that the BTI faults were not reported. +That's because the GP (guarded page) information is lost during the two stages translation in get_phys_addr_twostage(). +The "guarded" information is correctly retrieved by the first call to get_phys_addr_nogpc() but overwritten by the the second call to get_phys_addr_nogpc(). +The call to combine_cacheattrs() copies cacheattrs1.guarded but this field is never modified. + +The attached patch fixes the issue for me. +[get_phys_addr_twostage_bti_gp_bit_lost_master.patch](/uploads/2fbe8090f92c43a63e39ee66ab2daf47/get_phys_addr_twostage_bti_gp_bit_lost_master.patch) |