linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 4/4] enable ipmmu for devcies connected to ipmmu_ds
@ 2016-01-08  8:23 Niklas Söderlund
  2016-01-08 17:49 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Niklas Söderlund @ 2016-01-08  8:23 UTC (permalink / raw)
  To: linux-sh

This commits shows how I test DMAC+IPMMU.
---
 arch/arm/boot/dts/r8a7790.dtsi      | 2 +-
 arch/arm/configs/shmobile_defconfig | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 23af349..c2402f2 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1818,7 +1818,7 @@
 		interrupts = <0 198 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 199 IRQ_TYPE_LEVEL_HIGH>;
 		#iommu-cells = <1>;
-		status = "disabled";
+		status = "okay";
 	};
 
 	ipmmu_mp: mmu@ec680000 {
diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig
index 3aef019..e9a1194 100644
--- a/arch/arm/configs/shmobile_defconfig
+++ b/arch/arm/configs/shmobile_defconfig
@@ -21,6 +21,7 @@ CONFIG_ARCH_R8A7791=y
 CONFIG_ARCH_R8A7793=y
 CONFIG_ARCH_R8A7794=y
 CONFIG_ARCH_SH73A0=y
+CONFIG_ARM_LPAE=y
 CONFIG_CPU_BPREDICT_DISABLE=y
 CONFIG_PL310_ERRATA_588369=y
 CONFIG_ARM_ERRATA_754322=y
@@ -180,7 +181,7 @@ CONFIG_RTC_DRV_RX8581=y
 CONFIG_DMADEVICES=y
 CONFIG_SH_DMAE=y
 CONFIG_RCAR_DMAC=y
-# CONFIG_IOMMU_SUPPORT is not set
+CONFIG_IPMMU_VMSA=y
 CONFIG_IIO=y
 CONFIG_AK8975=y
 CONFIG_PWM=y
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [RFC 4/4] enable ipmmu for devcies connected to ipmmu_ds
  2016-01-08  8:23 [RFC 4/4] enable ipmmu for devcies connected to ipmmu_ds Niklas Söderlund
@ 2016-01-08 17:49 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2016-01-08 17:49 UTC (permalink / raw)
  To: linux-sh

On 01/08/2016 11:23 AM, Niklas Söderlund wrote:

> This commits shows how I test DMAC+IPMMU.

    Typo in the subject: devcies.

MBR, Sergei


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-08 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-08  8:23 [RFC 4/4] enable ipmmu for devcies connected to ipmmu_ds Niklas Söderlund
2016-01-08 17:49 ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).