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

Message ID 20230403111020.3136-1-kirill.shutemov@linux.intel.com
Headers
Series Couple of trivial fixes for LAM vs. SVA interaction |

Message

Kirill A. Shutemov April 3, 2023, 11:10 a.m. UTC
  - 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(-)