[PATCH 0/2] Couple of trivial fixes for LAM vs. SVA interaction

From: Kirill A. Shutemov
Date: Mon Apr 03 2023 - 07:11:15 EST


- Do not allow to set FORCE_TAGGED_SVA bit for other process;

- Use EINVAL instead of EINTR for LAM enabling failure due to SVA;

Kirill A. Shutemov (2):
x86/mm/iommu/sva: Fix error code for LAM enabling failure due to SVA
x86/mm/iommu/sva: Do not allow to set FORCE_TAGGED_SVA bit from
outside

arch/x86/kernel/process_64.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

--
2.39.2