Commit 64d3811e authored by Chang S. Bae's avatar Chang S. Bae Committed by Lin Wang
Browse files

selftests/x86/amx: Add a ptrace test

mainline inclusion
from mainline-v6.3-rc4
commit 62faca1c
category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I73H0T
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=62faca1ca10cc84e99ae7f38aa28df2bc945369b



Intel-SIG: commit 62faca1c selftests/x86/amx: Add a ptrace test.

--------------------------------

Include a test case to validate the XTILEDATA injection to the target.

Also, it ensures the kernel's ability to copy states between different
XSAVE formats.

Refactor the memcmp() code to be usable for the state validation.

Signed-off-by: default avatarChang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: default avatarDave Hansen <dave.hansen@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/20230227210504.18520-3-chang.seok.bae%40intel.com


Signed-off-by: default avatarLin Wang <lin.x.wang@intel.com>
parent e9949bb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment