Re: [PATCH 2/2] selftests/x86/amx: Fix the test to avoid failure when AMX is unavailable

From: Shuah Khan
Date: Fri Jun 17 2022 - 18:29:43 EST


On 6/17/22 4:21 PM, Chang S. Bae wrote:
On 6/16/2022 3:54 PM, Shuah Khan wrote:
On 4/1/22 4:10 PM, Chang S. Bae wrote:



This should KSFT_SKIP for this to be reported as a skip. Returning 0
will be reported as a Pass.

I think that's a good point, thanks.

Now, along with the on-going documentation [1], this test code can be simplified like the below changes, instead of having those cpuid functions:


Simplifying is always good. Send me v2 and I will review it.

thanks,
-- Shuah