amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
authorFilippo Sironi <sironi@amazon.de>
Mon, 12 Nov 2018 12:26:30 +0000 (12:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:18:46 +0000 (09:18 +0100)
commit41cb057690134a335b689be7e8db6d46db54a8ed
tree143c5b21b181cce009e9d67796cd77cb2d1b01c7
parent2761d3237145412c1405b204f152b796bf9df4a2
amd/iommu: Fix Guest Virtual APIC Log Tail Address Register

[ Upstream commit ab99be4683d9db33b100497d463274ebd23bd67e ]

This register should have been programmed with the physical address
of the memory location containing the shadow tail pointer for
the guest virtual APIC log instead of the base address.

Fixes: 8bda0cfbdc1a  ('iommu/amd: Detect and initialize guest vAPIC log')
Signed-off-by: Filippo Sironi <sironi@amazon.de>
Signed-off-by: Wei Wang <wawei@amazon.de>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/amd_iommu_init.c