On 1/6/26 05:15, Gabriel Brookman wrote:
--- a/tests/tcg/aarch64/mte.h +++ b/tests/tcg/aarch64/mte.h @@ -51,6 +51,18 @@ static void enable_mte(int tcf) } }+static void enable_mte_store_only(int tcf)+{ + int r = prctl(PR_SET_TAGGED_ADDR_CTRL, + PR_TAGGED_ADDR_ENABLE | PR_MTE_STORE_ONLY | tcf | + (0xfffe << PR_MTE_TAG_SHIFT), + 0, 0, 0);
Just rename the parameter for enable_mte() to 'flags' and use 'PR_MTE_TCF_SYNC | PR_MTE_STORE_ONLY' in the new test. With that, Reviewed-by: Richard Henderson <[email protected]> r~
