Extended the SMMU_BYPASS_DEV to support SMMU default bypass for some CPU SoCs
which the SMMU is not functional well in address translation mode.
This patch set based on openEuler kernel LTS 1.0
Guo Hui, could you please test this patch set? as it's based on openEuler
kernel LTS 1.0, you can apply patches 2~4/4 for 4.19 kernel.
Thanks!
Cc: Guo Hui <guohui(a)uniontech.com>
Cc: Cheng Jian <cj.chengjian(a)huawei.com>
Cc: Zhen Lei <thunder.leizhen(a)huawei.com>
Cc: Xiuqi Xie <xiexiuqi(a)huawei.com>
Guo Hui (1):
arm64: Add MIDR encoding for PHYTIUM CPUs
Hanjun Guo (3):
arm64: phytium: using MIDR_PHYTIUM_FT2000PLUS instead of
ARM_CPU_IMP_PHYTIUM
iommu: dev_bypass: cleanup dev bypass code
iommu: smmuv2: Using the SMMU_BYPASS_DEV to bypass SMMU for some SoCs
arch/arm64/include/asm/cputype.h | 5 +++++
arch/arm64/kernel/topology.c | 6 +++---
drivers/iommu/Kconfig | 14 +++++++++++---
drivers/iommu/arm-smmu-v3.c | 2 +-
drivers/iommu/arm-smmu.c | 28 ++++++++++++++++++++++++++++
drivers/iommu/iommu.c | 13 ++++---------
drivers/usb/host/xhci-pci.c | 4 +++-
7 files changed, 55 insertions(+), 17 deletions(-)
--
1.7.12.4