Skip to contentSkip to conversation

ARM: shmobile: r8a7795 Salvator-X IPMMU test code

PATCH In review Magnus Damm 3 participants 5 messages Dec 15, 2015 – Dec 17, 2015 SuperH

lore
Share & tools
lore
#0 lore raw

cover ARM: shmobile: r8a7795 Salvator-X IPMMU test code

ARM: shmobile: r8a7795 Salvator-X IPMMU test code

[PATCH/RFC 01/03] ARM: shmobile: External Salvator-X SCIF3/HSCIF3 loop [PATCH/RFC 02/03] ARM: shmobile: r8a7795: Hack up SYS-DMAC0 support [PATCH/RFC 03/03] ARM: shmobile: r8a7795: Tie in IPMMU with SYS-DMAC0

Hook up the external SCIF3/HSCIF3 loop back adapter via DT and tie in SYS-DMAC0 and the IPMMU units for test purpose.

Not for upstream merge.

---

Developed on top of renesas-drivers-2015-12-08-v4.4-rc4 and [PATCH 00/06] iommu/ipmmu-vmsa: IPMMU multi-arch update [PATCH/RFC 00/10] iommu/ipmmu-vmsa: Experimental r8a7795 support

 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts |   28 ++++++++++
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           |   54 +++++++++++++++++++-
 2 files changed, 81 insertions(+), 1 deletion(-)
#1 lore raw

Hi Magnus,

Quoted 10 lines · Magnus Damm

ARM: shmobile: r8a7795 Salvator-X IPMMU test code

[PATCH/RFC 01/03] ARM: shmobile: External Salvator-X SCIF3/HSCIF3 loop [PATCH/RFC 02/03] ARM: shmobile: r8a7795: Hack up SYS-DMAC0 support [PATCH/RFC 03/03] ARM: shmobile: r8a7795: Tie in IPMMU with SYS-DMAC0

Hook up the external SCIF3/HSCIF3 loop back adapter via DT and tie in SYS-DMAC0 and the IPMMU units for test purpose.

Not for upstream merge.

Have you considered using DT overlays for this?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw
In reply to Magnus Damm

Hi Geert,

Quoted 9 lines · Geert Uytterhoeven

Hi Magnus,

Quoted 6 lines · Magnus Damm

ARM: shmobile: r8a7795 Salvator-X IPMMU test code

[PATCH/RFC 01/03] ARM: shmobile: External Salvator-X SCIF3/HSCIF3 loop [PATCH/RFC 02/03] ARM: shmobile: r8a7795: Hack up SYS-DMAC0 support [PATCH/RFC 03/03] ARM: shmobile: r8a7795: Tie in IPMMU with SYS-DMAC0

Quoted 6 lines
Quoted 4 lines

Hook up the external SCIF3/HSCIF3 loop back adapter via DT and tie in SYS-DMAC0 and the IPMMU units for test purpose.

Not for upstream merge.

Have you considered using DT overlays for this?

Yes, that is a very good idea! That is the next step for sure.

What is the current state of DT overlays in upstream? For the various loop back adapter designs For Renesas R-Car Gen2 and Gen3 it would be nice to be able to upstream the overlay code somehow.

Cheers,

/ magnus

#3 lore raw
In reply to Magnus Damm

Hi Magnus,

CC Pantelis

Quoted 14 lines · Magnus Damm
Quoted 12 lines · Geert Uytterhoeven
Quoted 10 lines · Magnus Damm

ARM: shmobile: r8a7795 Salvator-X IPMMU test code

[PATCH/RFC 01/03] ARM: shmobile: External Salvator-X SCIF3/HSCIF3 loop [PATCH/RFC 02/03] ARM: shmobile: r8a7795: Hack up SYS-DMAC0 support [PATCH/RFC 03/03] ARM: shmobile: r8a7795: Tie in IPMMU with SYS-DMAC0

Hook up the external SCIF3/HSCIF3 loop back adapter via DT and tie in SYS-DMAC0 and the IPMMU units for test purpose.

Not for upstream merge.

Quoted 7 lines
Quoted 1 line

Have you considered using DT overlays for this?

Yes, that is a very good idea! That is the next step for sure.

What is the current state of DT overlays in upstream? For the various loop back adapter designs For Renesas R-Car Gen2 and Gen3 it would be nice to be able to upstream the overlay code somehow.

Not yet upstream. Not much activity in the area lately. Pantelis?

Code-wise, I'm using:
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/overlays

The various overlays I use for testing (+ code depending on r8a7795, which is not yet upstream and thus not included in the branc above):
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/renesas-overlays

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#4 lore raw
In reply to Magnus Damm

Hi Geert,

Quoted 23 lines · Geert Uytterhoeven

Hi Magnus,

CC Pantelis

Quoted 16 lines · Magnus Damm
Quoted 13 lines · Geert Uytterhoeven
Quoted 10 lines · Magnus Damm

ARM: shmobile: r8a7795 Salvator-X IPMMU test code

[PATCH/RFC 01/03] ARM: shmobile: External Salvator-X SCIF3/HSCIF3 loop [PATCH/RFC 02/03] ARM: shmobile: r8a7795: Hack up SYS-DMAC0 support [PATCH/RFC 03/03] ARM: shmobile: r8a7795: Tie in IPMMU with SYS-DMAC0

Hook up the external SCIF3/HSCIF3 loop back adapter via DT and tie in SYS-DMAC0 and the IPMMU units for test purpose.

Not for upstream merge.

Have you considered using DT overlays for this?

Quoted 8 lines
Quoted 5 lines

Yes, that is a very good idea! That is the next step for sure.

What is the current state of DT overlays in upstream? For the various loop back adapter designs For Renesas R-Car Gen2 and Gen3 it would be nice to be able to upstream the overlay code somehow.

Not yet upstream. Not much activity in the area lately. Pantelis?

Not dropped. Just buried with $DAYTIME_WORK. We had a release out and things have been hectic. Pace will pick up again during the holiday break.

Quoted 8 lines

Code-wise, I'm using:
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/overlays

The various overlays I use for testing (+ code depending on r8a7795, which is not yet upstream and thus not included in the branc above):
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/renesas-overlays

Good, I’ll check this too and pick up things for my submission. Hang in there :)

Quoted 4 lines

Gr{oetje,eeting}s,

Geert

Regards

— Pantelis

Quoted 6 lines

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds