SMMU initialization, required stream IDs setup and checker functions have been added for SoCFPGA devices. A potential FPGA reconfiguration issue involving Secure Device Manager (SDM) when end address exceeds 512 MB is also handled.
All the patches have been tested on SoCFPGA devies successfully. Changes in v2: - Restructured commits to avoid duplication of code Naresh Kumar Ravulapalli (3): arch: arm: socfpga: Add SMMU initialization and setup arch: arm: socfpga: Add SMMU checking functions drivers: fpga: Check bitstream address doesn't exceed 512MB arch/arm/mach-socfpga/Makefile | 3 + arch/arm/mach-socfpga/include/mach/smmu_s10.h | 73 ++++++++++ .../include/mach/system_manager_soc64.h | 3 + arch/arm/mach-socfpga/smmu_s10.c | 125 ++++++++++++++++++ arch/arm/mach-socfpga/spl_soc64.c | 6 + drivers/fpga/intel_sdm_mb.c | 13 ++ 6 files changed, 223 insertions(+) create mode 100644 arch/arm/mach-socfpga/include/mach/smmu_s10.h create mode 100644 arch/arm/mach-socfpga/smmu_s10.c -- 2.35.3