On 3/26/2024 1:51 PM, Shuah Khan wrote:
In older kernels lacking AMX support [1], arch_prctl() returns EINVAL. With AMX support, the kernel will properly set 'features'.
show that there are bo backwards compatibility issues
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/