Re: [PATCH v2] selftests: x86: skip the tests if prerequisites aren't fulfilled

From: Shuah Khan
Date: Wed Mar 27 2024 - 12:18:46 EST


On 3/26/24 15:20, Chang S. Bae wrote:
On 3/26/2024 1:51 PM, Shuah Khan wrote:

show that there are bo backwards compatibility issues
In older kernels lacking AMX support [1], arch_prctl() returns EINVAL. With AMX support, the kernel will properly set 'features'.

It is also worth noting that this simplification was previously acknowledged [2], albeit some time ago.

Thanks,
Chang

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=db8268df0983adc2bb1fb48c9e5f7bfbb5f617f3
[2] https://lore.kernel.org/lkml/de61ffdb-638a-ca84-31b5-55f6a8616597@xxxxxxxxxxxxxxxxxxx/



Thanks. This can be included in the change log so it is
clear.

thanks,
-- Shuah