lkml.org 
[lkml]   [2022]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 2/2] selftests/x86/amx: Update the ARCH_REQ_XCOMP_PERM test
From
On 3/23/2022 9:44 AM, Thomas Gleixner wrote:
>
> Running it on a machine which does not have AMX results in:
>
> amx_64: [FAIL] xstate cpuid: invalid tile data size/offset: 0/0: Success
>
> It's not a failure, really. Selftests are supposed to run on all
> machines and the proper thing to do if a hardware feature is not
> available is to SKIP the test and return 0.

Ah, right. The test should be just *skipped* on non-AMX or even
non-XSAVE systems.

Will follow up with a separate patch.

Thanks,
Chang

\
 
 \ /
  Last update: 2022-03-23 22:29    [W:0.046 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site