diff options
author | Yong Wu <yong.wu@mediatek.com> | 2018-12-13 17:19:48 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-12-17 10:19:10 +0100 |
commit | 2713fe37153efb90b7a8427a2f53fa49216faf5c (patch) | |
tree | 725ab7dd2c8e1918199a231f7fc4a4e14c191733 /arch/x86/xen/platform-pci-unplug.c | |
parent | 7566ec393f4161572ba6f11ad5171fd5d59b0fbd (diff) |
Revert "iommu/io-pgtable-arm: Check for v7s-incapable systems"
This reverts commit 82db33dc5e49fb625262d81125625d07a0d6184e.
After the commit 29859aeb8a6e ("iommu/io-pgtable-arm-v7s: Abort
allocation when table address overflows the PTE"), v7s will return fail
if the page table allocation isn't expected. this PHYS_OFFSET check
is unnecessary now.
And this check may lead to fail. For example, If CONFIG_RANDOMIZE_BASE
is enabled, the "memstart_addr" will be updated randomly, then the
PHYS_OFFSET may be random.
Reported-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/x86/xen/platform-pci-unplug.c')
0 files changed, 0 insertions, 0 deletions