Re: [PATCH 1/3] iommu/tegra-smmu: Use non-secure register for flushing

2019-10-18 Thread Joerg Roedel
On Wed, Oct 16, 2019 at 01:50:24PM +0200, Thierry Reding wrote: > From: Navneet Kumar > > Use PTB_ASID instead of SMMU_CONFIG to flush smmu. > PTB_ASID can be accessed from non-secure mode, SMMU_CONFIG cannot be. > Using SMMU_CONFIG could pose a problem when kernel doesn't have secure > mode acce

[PATCH 1/3] iommu/tegra-smmu: Use non-secure register for flushing

2019-10-16 Thread Thierry Reding
From: Navneet Kumar Use PTB_ASID instead of SMMU_CONFIG to flush smmu. PTB_ASID can be accessed from non-secure mode, SMMU_CONFIG cannot be. Using SMMU_CONFIG could pose a problem when kernel doesn't have secure mode access enabled from boot. Signed-off-by: Navneet Kumar Reviewed-by: Dmitry Osi