aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2023-04-03 11:10:19 +0000
committerDave Hansen <[email protected]>2023-04-06 20:44:58 +0000
commitfca1fdd2b0a6fcd491ec520afac80bc72b4c811e (patch)
treec312250ce3910a2dfdfc7e94893179a763368450 /fs/proc/array.c
parentselftests/x86/lam: Add test cases for LAM vs thread creation (diff)
downloadkernel-fca1fdd2b0a6fcd491ec520afac80bc72b4c811e.tar.gz
kernel-fca1fdd2b0a6fcd491ec520afac80bc72b4c811e.zip
x86/mm/iommu/sva: Fix error code for LAM enabling failure due to SVA
Normally, LAM and SVA are mutually exclusive. LAM enabling will fail if SVA is already in use. Correct error code for the failure. EINTR is nonsensical there. Fixes: 23e5d9ec2bab ("x86/mm/iommu/sva: Make LAM and SVA mutually exclusive") Reported-by: Dmitry Vyukov <[email protected]> Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: Dmitry Vyukov <[email protected]> Link: https://lore.kernel.org/all/CACT4Y+YfqSMsZArhh25TESmG-U4jO5Hjphz87wKSnTiaw2Wrfw@mail.gmail.com Link: https://lore.kernel.org/all/20230403111020.3136-2-kirill.shutemov%40linux.intel.com
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions