iommu/amd: X2apic mode: re-enable after resume
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 23 Nov 2021 16:10:35 +0000 (18:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:04:14 +0000 (11:04 +0100)
commit0210cbc1efa3939bf86a43949781b801c553afcb
tree10b4e266c0bc7a69e1b88717c4a152a7eab4aa08
parentfd77922c94e4dd16b4bcf1a0fcd52eb928bf75b9
iommu/amd: X2apic mode: re-enable after resume

[ Upstream commit 01b297a48a26bcb96769505ac948db4603b72bd1 ]

Otherwise it is guaranteed to not work after the resume...

Fixes: 66929812955bb ("iommu/amd: Add support for X2APIC IOMMU interrupts")

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20211123161038.48009-3-mlevitsk@redhat.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/amd/init.c