On Wed, Feb 09, 2022 at 03:22:40PM +0000, Joey Gouly wrote: > Instead of hard coding a small amount of tests, generate a wider > range of tests to try catch any corner cases that could show up. > > These new tests test different MTE tag lengths and offsets, which > previously would have caused infinite loops in the kernel. This was > fixed by 295cf156231c ("arm64: Avoid premature usercopy failure"), > so these are regressions tests for that corner case. > > Signed-off-by: Joey Gouly <joey.gouly@xxxxxxx> > Cc: Catalin Marinas <catalin.marinas@xxxxxxx> > Cc: Will Deacon <will@xxxxxxxxxx> > Cc: Mark Brown <broonie@xxxxxxxxxx> > Cc: Shuah Khan <shuah@xxxxxxxxxx> > Reviewed-by: Mark Brown <broonie@xxxxxxxxxx> > Tested-by: Mark Brown <broonie@xxxxxxxxxx> > Reviewed-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>