diff options
author | Weihong Zhang <[email protected]> | 2023-03-12 14:26:10 +0300 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2023-03-16 13:08:40 -0700 |
commit | 833c12ce0f4307675beb60b194833c6c7cb506d7 (patch) | |
tree | 5f3de37c556c9af65e1d40291225e90df9694d27 /drivers/usb/cdns3/cdns3-trace.h | |
parent | 72fd6d738c991225c1053ee5003dd45e9c04e0e6 (diff) |
selftests/x86/lam: Add inherit test cases for linear-address masking
LAM is enabled per-thread and gets inherited on fork(2)/clone(2). exec()
reverts LAM status to the default disabled state.
There are two test scenarios:
- Fork test cases:
These cases were used to test the inheritance of LAM for per-thread,
Child process generated by fork() should inherit LAM feature from
parent process, Child process can get the LAM mode same as parent
process.
- Execve test cases:
Processes generated by execve() are different from processes
generated by fork(), these processes revert LAM status to disabled
status.
Signed-off-by: Weihong Zhang <[email protected]>
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/all/20230312112612.31869-16-kirill.shutemov%40linux.intel.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions