summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2019-04-12 12:50:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 09:17:21 +0200
commit17f93dcb6222d9116ed4713050e0e40e856a8ea4 (patch)
treecd82c0840a5e96ddeb8e4dad281605f0157df6e0 /net/ipv4
parent47ebd4007edc562723695b93d310bd295b0c652f (diff)
downloadlinux-stable-17f93dcb6222d9116ed4713050e0e40e856a8ea4.tar.gz
linux-stable-17f93dcb6222d9116ed4713050e0e40e856a8ea4.tar.bz2
linux-stable-17f93dcb6222d9116ed4713050e0e40e856a8ea4.zip
iommu/amd: Set exclusion range correctly
[ Upstream commit 3c677d206210f53a4be972211066c0f1cd47fe12 ] The exlcusion range limit register needs to contain the base-address of the last page that is part of the range, as bits 0-11 of this register are treated as 0xfff by the hardware for comparisons. So correctly set the exclusion range in the hardware to the last page which is _in_ the range. Fixes: b2026aa2dce44 ('x86, AMD IOMMU: add functions for programming IOMMU MMIO space') Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions