[PATCH rc v1 4/4] iommu/arm-smmu-v3-test: Add nested s1bypass coverage
Jason Gunthorpe
jgg at nvidia.com
Sat Dec 6 11:42:25 PST 2025
On Sat, Dec 06, 2025 at 08:34:09PM +0800, Shuai Xue wrote:
>
> + arm_smmu_test_make_s2_ste(&s2_ste, 0);
> + arm_smmu_v3_test_ste_expect_hitless_transition(test, &s1_ste, &s2_ste,
> + NUM_EXPECTED_SYNCS(3));
>
> With get_ignored(), a nested s1dssbypass STE to a nested s1bypass STE
> will be hitless, a.k.a, NUM_EXPECTED_SYNCS(1).
hitless is tested by the ste_expect_hitless in the function name. The
expected SYNCS have to do with how many updates are required to fix
the STE, 3 is still fine for a hitless update. One to set the unused
bits, one to set the critical qword, one to clear unused bits.
Jason
More information about the linux-arm-kernel
mailing list