diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2020-09-03 09:38:21 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-09 19:12:29 +0200 |
commit | e3d109c3484e2efe5de60df3935b6a2246391cd9 (patch) | |
tree | b083c06acab12255bcfbe9fcfca6aadabe0aaf8b /net/packet | |
parent | 7ce6bc1b549e157f72a260204ee78cfe8b144a69 (diff) |
iommu/amd: Restore IRTE.RemapEn bit after programming IRTE
[ Upstream commit 26e495f341075c09023ba16dee9a7f37a021e745 ]
Currently, the RemapEn (valid) bit is accidentally cleared when
programming IRTE w/ guestMode=0. It should be restored to
the prior state.
Fixes: b9fc6b56f478 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions