On 1/30/25 10:23, Peter Maydell wrote:
There are no longer any uses of CP_ACCESS_TRAP in access functions, because we have converted them all to use either CP_ACCESS_TRAP_EL1 or CP_ACCESS_TRAP_UNCATEGORIZED, as appropriate. Remove the handling of bare CP_ACCESS_TRAP from the access_check_cp_reg() helper, so that it now asserts if an access function returns it.
Wording from an in-development patch? How can an access function return CP_ACCESS_TRAP when it has been removed?
That said, the code is correct. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~