From: Varun Sethi
Factor out PCI specific code in the PAMU driver.
Signed-off-by: Varun Sethi
Signed-off-by: Codrin Ciubotariu
---
drivers/iommu/fsl_pamu_domain.c | 77 ++---
1 file changed, 41 insertions(+), 36 deletions(-)
diff --git a/drivers/iommu
of a default DMA window corresponding
to the device and subsequently enabling the PAMU table entry. Before
we enable the entry, we ensure that the device's bus master capability
is disabled (device quiesced).
Signed-off-by: Varun Sethi
Signed-off-by: Codrin Ciubotariu
---
drivers/iommu/
support. The last two patches add support
for power management and compatible strings for new L3 controller
device-tree nodes.
Codrin Ciubotariu (2):
iommu/fsl: Fix most checkpatch warnings and typos
iommu/fsl: Work around erratum A-007907
Varun Sethi (5):
iommu/fsl: Enable OMT cache, before
From: Varun Sethi
Added cache controller compatible strings for T2080, B4420, T1040
and T1024. PAMU driver searches for a matching string while setting
up L3 cache stashing.
Signed-off-by: Varun Sethi
Signed-off-by: Codrin Ciubotariu
---
drivers/iommu/fsl_pamu.c | 10 ++
1 file
From: Varun Sethi
Enable OMT cache, before invalidating PAACT and SPAACT cache. This
is a PAMU hardware errata work around.
Signed-off-by: Varun Sethi
Signed-off-by: Codrin Ciubotariu
---
drivers/iommu/fsl_pamu.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/iommu
Signed-off-by: Codrin Ciubotariu
---
drivers/iommu/fsl_pamu.c| 92 +
drivers/iommu/fsl_pamu.h| 29 +++--
drivers/iommu/fsl_pamu_domain.c | 41 +++---
drivers/iommu/fsl_pamu_domain.h | 2 +-
4 files changed, 109
Erratum A-007907 can cause a core hang under certain circumstances.
Part of the workaround involves not stashing to L1 Cache. On affected
chips, stash to L2 when L1 is requested.
Signed-off-by: Scott Wood
Signed-off-by: Varun Sethi
Signed-off-by: Shengzhou Liu
Signed-off-by: Codrin Ciubotariu
From: Varun Sethi
PAMU driver suspend and resume support.
Signed-off-by: Varun Sethi
Signed-off-by: Codrin Ciubotariu
---
drivers/iommu/fsl_pamu.c | 155 +--
1 file changed, 123 insertions(+), 32 deletions(-)
diff --git a/drivers/iommu/fsl_pamu.c