linux-stable/drivers/iommu/amd
Suravee Suthikulpanit 26e495f341 iommu/amd: Restore IRTE.RemapEn bit after programming IRTE
Currently, the RemapEn (valid) bit is accidentally cleared when
programming IRTE w/ guestMode=0. It should be restored to
the prior state.

Fixes: b9fc6b56f4 ("iommu/amd: Implements irq_set_vcpu_affinity() hook to setup vapic mode for pass-through devices")
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Link: https://lore.kernel.org/r/20200903093822.52012-2-suravee.suthikulpanit@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2020-09-04 11:53:10 +02:00
..
amd_iommu.h iommu/amd: Make amd_iommu_apply_ivrs_quirks() static inline 2020-06-30 14:47:42 +02:00
amd_iommu_types.h
debugfs.c
init.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
iommu.c iommu/amd: Restore IRTE.RemapEn bit after programming IRTE 2020-09-04 11:53:10 +02:00
iommu_v2.c mm: do page fault accounting in handle_mm_fault 2020-08-12 10:58:02 -07:00
Kconfig iommu/amd: Move Kconfig and Makefile bits down into amd directory 2020-07-29 14:15:36 +02:00
Makefile iommu/amd: Move Kconfig and Makefile bits down into amd directory 2020-07-29 14:15:36 +02:00
quirks.c