diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-04-12 12:50:31 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-04-12 12:59:45 +0200 |
commit | 3c677d206210f53a4be972211066c0f1cd47fe12 (patch) | |
tree | 0784753e89b9847d082df06b83e6a915b0644d5d /virt | |
parent | Linux 5.1-rc4 (diff) | |
download | linux-3c677d206210f53a4be972211066c0f1cd47fe12.tar.xz linux-3c677d206210f53a4be972211066c0f1cd47fe12.zip |
iommu/amd: Set exclusion range correctly
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions