Renesas ARM Based SoC DT Updates for v4.2
Subsystems (4)
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these Renesas ARM based SoC DT updates for v4.2.
The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031:
Linux 4.1-rc1 (2015-04-26 17:59:10 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt-for-v4.2
for you to fetch changes up to 7706993e2deb75022dbcfc3043890aa1a0020189:
ARM: shmobile: r8a7791: Enable DMA for HSUSB (2015-05-12 08:55:16 +0900)
----------------------------------------------------------------
Renesas ARM Based SoC DT Updates for v4.2
* Enable DMA for HSUSB on r8a7790 and r8a7791 SoCs
* Configure the HOME key as wake-up source on kzm9g board
* Use generic names for device nodes on SH Mobile SoCs and boards
* Add "nor-jedec" compatible value to SH Mobile boards
* Add IRQC clock to r8a73a4, r8a779* SoCs
* Remove MSIOF address from r8a7790 and r8a7791 SoCs
----------------------------------------------------------------
Geert Uytterhoeven (25):
ARM: shmobile: r8a7740 dtsi: Fix SCIFB naming
ARM: shmobile: sh73a0 dtsi: Fix SCIFB naming
ARM: shmobile: r8a73a4: Add IRQC clock to device tree
ARM: shmobile: r8a7790: Add IRQC clock to device tree
ARM: shmobile: r8a7791: Add IRQC clock to device tree
ARM: shmobile: r8a7794: Add IRQC clock to device tree
ARM: shmobile: r8a7740 dtsi: Use generic names for device nodes
ARM: shmobile: r8a7778 dtsi: Use generic names for device nodes
ARM: shmobile: r8a7779 dtsi: Use generic names for device nodes
ARM: shmobile: r8a7790 dtsi: Use generic names for device nodes
ARM: shmobile: r8a7791 dtsi: Use generic names for device nodes
ARM: shmobile: sh73a0 dtsi: Use generic names for device nodes
ARM: shmobile: ape6evm dts: Use generic names for device nodes
ARM: shmobile: kzm9d dts: Use generic names for device nodes
ARM: shmobile: marzen dts: Use generic names for device nodes
ARM: shmobile: armadillo800eva dts: Use generic names for device nodes
ARM: shmobile: henninger dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw-reference dts: Add "nor-jedec" compatible value
ARM: shmobile: lager dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw dts: Add "nor-jedec" compatible value
ARM: shmobile: koelsch dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw dts: Use generic names for device nodes
ARM: shmobile: lager dts: Use generic names for device nodes
ARM: shmobile: koelsch dts: Use generic names for device nodes
ARM: shmobile: kzm9g dts: Configure the HOME key as wake-up source
Ryo Kataoka (2):
ARM: shmobile: r8a7790: Remove MSIOF address from device tree
ARM: shmobile: r8a7791: Remove MSIOF address from device tree
Yoshihiro Shimoda (4):
ARM: shmobile: r8a7790: add USB-DMAC device nodes
ARM: shmobile: r8a7790: Enable DMA for HSUSB
ARM: shmobile: r8a7791: add USB-DMAC device nodes
ARM: shmobile: r8a7791: Enable DMA for HSUSB
Documentation/devicetree/bindings/spi/sh-msiof.txt | 2 +- arch/arm/boot/dts/emev2-kzm9d.dts | 4 +- arch/arm/boot/dts/r8a73a4-ape6evm.dts | 2 +- arch/arm/boot/dts/r8a73a4.dtsi | 11 ++++-- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +- arch/arm/boot/dts/r8a7740.dtsi | 10 ++--- arch/arm/boot/dts/r8a7778-bockw-reference.dts | 2 +- arch/arm/boot/dts/r8a7778-bockw.dts | 4 +- arch/arm/boot/dts/r8a7778.dtsi | 2 +- arch/arm/boot/dts/r8a7779-marzen.dts | 6 +-- arch/arm/boot/dts/r8a7779.dtsi | 2 +- arch/arm/boot/dts/r8a7790-lager.dts | 4 +- arch/arm/boot/dts/r8a7790.dtsi | 44 +++++++++++++++++++--- arch/arm/boot/dts/r8a7791-henninger.dts | 2 +- arch/arm/boot/dts/r8a7791-koelsch.dts | 4 +- arch/arm/boot/dts/r8a7791.dtsi | 42 +++++++++++++++++++-- arch/arm/boot/dts/r8a7794.dtsi | 9 +++++ arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 + arch/arm/boot/dts/sh73a0.dtsi | 10 ++--- include/dt-bindings/clock/r8a73a4-clock.h | 1 + include/dt-bindings/clock/r8a7790-clock.h | 3 ++ include/dt-bindings/clock/r8a7791-clock.h | 3 ++ include/dt-bindings/clock/r8a7794-clock.h | 3 ++ 23 files changed, 132 insertions(+), 41 deletions(-)
PATCH 1/31 ARM: shmobile: r8a7790: Remove MSIOF address from device tree
From: Ryo Kataoka <[email protected]>
MSIOF Base Address H'E6xx can be accessed by CPU and DMAC. MSIOF Base Address H'E7xx for DMAC was removed from H/W manual.
--- arch/arm/boot/dts/r8a7790.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/r8a7790.dtsi +4 -4
@@ -1273,7 +1273,7 @@ msiof0: spi at e6e20000 { compatible = "renesas,msiof-r8a7790"; - reg = <0 0xe6e20000 0 0x0064>, <0 0xe7e20000 0 0x0064>; + reg = <0 0xe6e20000 0 0x0064>; interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>; dmas = <&dmac0 0x51>, <&dmac0 0x52>;
@@ -1285,7 +1285,7 @@ msiof1: spi at e6e10000 { compatible = "renesas,msiof-r8a7790"; - reg = <0 0xe6e10000 0 0x0064>, <0 0xe7e10000 0 0x0064>; + reg = <0 0xe6e10000 0 0x0064>; interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>; dmas = <&dmac0 0x55>, <&dmac0 0x56>;
@@ -1297,7 +1297,7 @@ msiof2: spi at e6e00000 { compatible = "renesas,msiof-r8a7790"; - reg = <0 0xe6e00000 0 0x0064>, <0 0xe7e00000 0 0x0064>; + reg = <0 0xe6e00000 0 0x0064>; interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>; dmas = <&dmac0 0x41>, <&dmac0 0x42>;
@@ -1309,7 +1309,7 @@ msiof3: spi at e6c90000 { compatible = "renesas,msiof-r8a7790"; - reg = <0 0xe6c90000 0 0x0064>, <0 0xe7c90000 0 0x0064>; + reg = <0 0xe6c90000 0 0x0064>; interrupts = <0 159 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>; dmas = <&dmac0 0x45>, <&dmac0 0x46>;
Signature · 1 line
2.1.4
PATCH 2/31 ARM: shmobile: r8a7791: Remove MSIOF address from device tree
In reply to Simon HormanFrom: Ryo Kataoka <[email protected]>
MSIOF Base Address H'E6xx can be accessed by CPU and DMAC. MSIOF Base Address H'E7xx for DMAC was removed from H/W manual.
--- Documentation/devicetree/bindings/spi/sh-msiof.txt | 2 +- arch/arm/boot/dts/r8a7791.dtsi | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/spi/sh-msiof.txt +1 -1
@@ -60,7 +60,7 @@ Example: msiof0: spi at e6e20000 { compatible = "renesas,msiof-r8a7791"; - reg = <0 0xe6e20000 0 0x0064>, <0 0xe7e20000 0 0x0064>; + reg = <0 0xe6e20000 0 0x0064>; interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; dmas = <&dmac0 0x51>, <&dmac0 0x52>;
arch/arm/boot/dts/r8a7791.dtsi +3 -3
@@ -1288,7 +1288,7 @@ msiof0: spi at e6e20000 { compatible = "renesas,msiof-r8a7791"; - reg = <0 0xe6e20000 0 0x0064>, <0 0xe7e20000 0 0x0064>; + reg = <0 0xe6e20000 0 0x0064>; interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; dmas = <&dmac0 0x51>, <&dmac0 0x52>;
@@ -1300,7 +1300,7 @@ msiof1: spi at e6e10000 { compatible = "renesas,msiof-r8a7791"; - reg = <0 0xe6e10000 0 0x0064>, <0 0xe7e10000 0 0x0064>; + reg = <0 0xe6e10000 0 0x0064>; interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp2_clks R8A7791_CLK_MSIOF1>; dmas = <&dmac0 0x55>, <&dmac0 0x56>;
@@ -1312,7 +1312,7 @@ msiof2: spi at e6e00000 { compatible = "renesas,msiof-r8a7791"; - reg = <0 0xe6e00000 0 0x0064>, <0 0xe7e00000 0 0x0064>; + reg = <0 0xe6e00000 0 0x0064>; interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp2_clks R8A7791_CLK_MSIOF2>; dmas = <&dmac0 0x41>, <&dmac0 0x42>;
Signature · 1 line
2.1.4
PATCH 3/31 ARM: shmobile: r8a7740 dtsi: Fix SCIFB naming
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
The single SCIFB on R-Mobile A1 is called "scifb", not "scifb8".
--- arch/arm/boot/dts/r8a7740.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7740.dtsi +1 -1
@@ -275,7 +275,7 @@ status = "disabled"; }; - scifb8: serial at e6c30000 { + scifb: serial at e6c30000 { compatible = "renesas,scifb-r8a7740", "renesas,scifb"; reg = <0xe6c30000 0x100>; interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.1.4
PATCH 4/31 ARM: shmobile: sh73a0 dtsi: Fix SCIFB naming
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
The single SCIFB on SH-Mobile AG5 is called "scifb", not "scifb8".
--- arch/arm/boot/dts/sh73a0.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sh73a0.dtsi +1 -1
@@ -376,7 +376,7 @@ status = "disabled"; }; - scifb8: serial at e6c30000 { + scifb: serial at e6c30000 { compatible = "renesas,scifb-sh73a0", "renesas,scifb"; reg = <0xe6c30000 0x100>; interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.1.4
PATCH 5/31 ARM: shmobile: r8a73a4: Add IRQC clock to device tree
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Link the external IRQ controllers irqc0 and irqc1 to the IRQC module clock, so they can be power managed using that clock.
--- arch/arm/boot/dts/r8a73a4.dtsi | 11 +++++++---- include/dt-bindings/clock/r8a73a4-clock.h | 1 + 2 files changed, 8 insertions(+), 4 deletions(-)
arch/arm/boot/dts/r8a73a4.dtsi +7 -4
@@ -163,6 +163,7 @@ <0 29 IRQ_TYPE_LEVEL_HIGH>, <0 30 IRQ_TYPE_LEVEL_HIGH>, <0 31 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp4_clks R8A73A4_CLK_IRQC>; power-domains = <&pd_c4>; };
@@ -197,6 +198,7 @@ <0 55 IRQ_TYPE_LEVEL_HIGH>, <0 56 IRQ_TYPE_LEVEL_HIGH>, <0 57 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp4_clks R8A73A4_CLK_IRQC>; power-domains = <&pd_c4>; };
@@ -724,15 +726,16 @@ mstp4_clks: mstp4_clks at e6150140 { compatible = "renesas,r8a73a4-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>; - clocks = <&main_div2_clk>, <&cpg_clocks R8A73A4_CLK_HP>, + clocks = <&main_div2_clk>, <&main_div2_clk>, + <&cpg_clocks R8A73A4_CLK_HP>, <&cpg_clocks R8A73A4_CLK_HP>; #clock-cells = <1>; clock-indices = < - R8A73A4_CLK_IIC5 R8A73A4_CLK_IIC4 - R8A73A4_CLK_IIC3 + R8A73A4_CLK_IRQC R8A73A4_CLK_IIC5 + R8A73A4_CLK_IIC4 R8A73A4_CLK_IIC3 >; clock-output-names = - "iic5", "iic4", "iic3"; + "irqc", "iic5", "iic4", "iic3"; }; mstp5_clks: mstp5_clks at e6150144 { compatible = "renesas,r8a73a4-mstp-clocks", "renesas,cpg-mstp-clocks";
include/dt-bindings/clock/r8a73a4-clock.h +1 -0
@@ -54,6 +54,7 @@#define R8A73A4_CLK_IIC3 11#define R8A73A4_CLK_IIC4 10#define R8A73A4_CLK_IIC5 9 +#define R8A73A4_CLK_IRQC 7/* MSTP5 */ #define R8A73A4_CLK_THERMAL 22
Signature · 1 line
2.1.4
PATCH 6/31 ARM: shmobile: r8a7790: Add IRQC clock to device tree
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Link the external IRQ controller irqc0 to the IRQC module clock, so it can be power managed using that clock.
--- arch/arm/boot/dts/r8a7790.dtsi | 9 +++++++++ include/dt-bindings/clock/r8a7790-clock.h | 3 +++ 2 files changed, 12 insertions(+)
arch/arm/boot/dts/r8a7790.dtsi +9 -0
@@ -252,6 +252,7 @@ <0 1 IRQ_TYPE_LEVEL_HIGH>, <0 2 IRQ_TYPE_LEVEL_HIGH>, <0 3 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp4_clks R8A7790_CLK_IRQC>; }; dmac0: dma-controller at e6700000 {
@@ -1158,6 +1159,14 @@ "iic0", "pciec", "iic1", "ssusb", "cmt1", "usbdmac0", "usbdmac1"; }; + mstp4_clks: mstp4_clks at e6150140 { + compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>; + clocks = <&cp_clk>; + #clock-cells = <1>; + clock-indices = <R8A7790_CLK_IRQC>; + clock-output-names = "irqc"; + }; mstp5_clks: mstp5_clks at e6150144 { compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
include/dt-bindings/clock/r8a7790-clock.h +3 -0
@@ -79,6 +79,9 @@#define R8A7790_CLK_USBDMAC0 30#define R8A7790_CLK_USBDMAC1 31 +/* MSTP4 */ +#define R8A7790_CLK_IRQC 7 +/* MSTP5 */ #define R8A7790_CLK_AUDIO_DMAC1 1#define R8A7790_CLK_AUDIO_DMAC0 2
Signature · 1 line
2.1.4
PATCH 7/31 ARM: shmobile: r8a7791: Add IRQC clock to device tree
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Link the external IRQ controller irqc0 to the IRQC module clock, so it can be power managed using that clock.
--- arch/arm/boot/dts/r8a7791.dtsi | 9 +++++++++ include/dt-bindings/clock/r8a7791-clock.h | 3 +++ 2 files changed, 12 insertions(+)
arch/arm/boot/dts/r8a7791.dtsi +9 -0
@@ -239,6 +239,7 @@ <0 15 IRQ_TYPE_LEVEL_HIGH>, <0 16 IRQ_TYPE_LEVEL_HIGH>, <0 17 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp4_clks R8A7791_CLK_IRQC>; }; dmac0: dma-controller at e6700000 {
@@ -1160,6 +1161,14 @@ "mmcif0", "i2c7", "pciec", "i2c8", "ssusb", "cmt1", "usbdmac0", "usbdmac1"; }; + mstp4_clks: mstp4_clks at e6150140 { + compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>; + clocks = <&cp_clk>; + #clock-cells = <1>; + clock-indices = <R8A7791_CLK_IRQC>; + clock-output-names = "irqc"; + }; mstp5_clks: mstp5_clks at e6150144 { compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
include/dt-bindings/clock/r8a7791-clock.h +3 -0
@@ -70,6 +70,9 @@#define R8A7791_CLK_USBDMAC0 30#define R8A7791_CLK_USBDMAC1 31 +/* MSTP4 */ +#define R8A7791_CLK_IRQC 7 +/* MSTP5 */ #define R8A7791_CLK_AUDIO_DMAC1 1#define R8A7791_CLK_AUDIO_DMAC0 2
Signature · 1 line
2.1.4
PATCH 8/31 ARM: shmobile: r8a7794: Add IRQC clock to device tree
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Link the external IRQ controller irqc0 to the IRQC module clock, so it can be power managed using that clock.
--- arch/arm/boot/dts/r8a7794.dtsi | 9 +++++++++ include/dt-bindings/clock/r8a7794-clock.h | 3 +++ 2 files changed, 12 insertions(+)
arch/arm/boot/dts/r8a7794.dtsi +9 -0
@@ -105,6 +105,7 @@ <0 15 IRQ_TYPE_LEVEL_HIGH>, <0 16 IRQ_TYPE_LEVEL_HIGH>, <0 17 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp4_clks R8A7794_CLK_IRQC>; }; dmac0: dma-controller at e6700000 {
@@ -625,6 +626,14 @@ "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1", "usbdmac0", "usbdmac1"; }; + mstp4_clks: mstp4_clks at e6150140 { + compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>; + clocks = <&cp_clk>; + #clock-cells = <1>; + clock-indices = <R8A7794_CLK_IRQC>; + clock-output-names = "irqc"; + }; mstp7_clks: mstp7_clks at e615014c { compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
include/dt-bindings/clock/r8a7794-clock.h +3 -0
@@ -60,6 +60,9 @@#define R8A7794_CLK_USBDMAC0 30#define R8A7794_CLK_USBDMAC1 31 +/* MSTP4 */ +#define R8A7794_CLK_IRQC 7 +/* MSTP5 */ #define R8A7794_CLK_THERMAL 22#define R8A7794_CLK_PWM 23
Signature · 1 line
2.1.4
PATCH 9/31 ARM: shmobile: r8a7740 dtsi: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
irqpin -> interrupt-controller
--- arch/arm/boot/dts/r8a7740.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/r8a7740.dtsi +4 -4
@@ -67,7 +67,7 @@ }; /* irqpin0: IRQ0 - IRQ7 */ - irqpin0: irqpin at e6900000 { + irqpin0: interrupt-controller at e6900000 { compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
@@ -89,7 +89,7 @@ }; /* irqpin1: IRQ8 - IRQ15 */ - irqpin1: irqpin at e6900004 { + irqpin1: interrupt-controller at e6900004 { compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
@@ -111,7 +111,7 @@ }; /* irqpin2: IRQ16 - IRQ23 */ - irqpin2: irqpin at e6900008 { + irqpin2: interrupt-controller at e6900008 { compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
@@ -133,7 +133,7 @@ }; /* irqpin3: IRQ24 - IRQ31 */ - irqpin3: irqpin at e690000c { + irqpin3: interrupt-controller at e690000c { compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
Signature · 1 line
2.1.4
PATCH 10/31 ARM: shmobile: r8a7778 dtsi: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
irqpin -> interrupt-controller
--- arch/arm/boot/dts/r8a7778.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7778.dtsi +1 -1
@@ -68,7 +68,7 @@ }; /* irqpin: IRQ0 - IRQ3 */ - irqpin: irqpin at fe78001c { + irqpin: interrupt-controller at fe78001c { compatible = "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
Signature · 1 line
2.1.4
PATCH 11/31 ARM: shmobile: r8a7779 dtsi: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
irqpin -> interrupt-controller
--- arch/arm/boot/dts/r8a7779.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7779.dtsi +1 -1
@@ -148,7 +148,7 @@ interrupt-controller; }; - irqpin0: irqpin at fe780010 { + irqpin0: interrupt-controller at fe780010 { compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; #interrupt-cells = <2>; status = "disabled";
Signature · 1 line
2.1.4
PATCH 12/31 ARM: shmobile: r8a7790 dtsi: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
rcar_sound -> sound
--- arch/arm/boot/dts/r8a7790.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790.dtsi +1 -1
@@ -1451,7 +1451,7 @@ status = "disabled"; }; - rcar_sound: rcar_sound at ec500000 { + rcar_sound: sound at ec500000 { /* * #sound-dai-cells is required *
Signature · 1 line
2.1.4
PATCH 13/31 ARM: shmobile: r8a7791 dtsi: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
rcar_sound -> sound
--- arch/arm/boot/dts/r8a7791.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791.dtsi +1 -1
@@ -1494,7 +1494,7 @@ status = "disabled"; }; - rcar_sound: rcar_sound at ec500000 { + rcar_sound: sound at ec500000 { /* * #sound-dai-cells is required *
Signature · 1 line
2.1.4
PATCH 14/31 ARM: shmobile: sh73a0 dtsi: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
irqpin -> interrupt-controller
--- arch/arm/boot/dts/sh73a0.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/sh73a0.dtsi +4 -4
@@ -90,7 +90,7 @@ status = "disabled"; }; - irqpin0: irqpin at e6900000 { + irqpin0: interrupt-controller at e6900000 { compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
@@ -112,7 +112,7 @@ control-parent; }; - irqpin1: irqpin at e6900004 { + irqpin1: interrupt-controller at e6900004 { compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
@@ -134,7 +134,7 @@ control-parent; }; - irqpin2: irqpin at e6900008 { + irqpin2: interrupt-controller at e6900008 { compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
@@ -156,7 +156,7 @@ control-parent; }; - irqpin3: irqpin at e690000c { + irqpin3: interrupt-controller at e690000c { compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin"; #interrupt-cells = <2>; interrupt-controller;
Signature · 1 line
2.1.4
PATCH 15/31 ARM: shmobile: ape6evm dts: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
max8973 -> regulator
--- arch/arm/boot/dts/r8a73a4-ape6evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a73a4-ape6evm.dts +1 -1
@@ -147,7 +147,7 @@ &i2c5 { status = "okay"; - vdd_dvfs: max8973 at 1b { + vdd_dvfs: regulator at 1b { compatible = "maxim,max8973"; reg = <0x1b>;
Signature · 1 line
2.1.4
PATCH 16/31 ARM: shmobile: kzm9d dts: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
lan9220 -> ethernet
uart -> serial
--- arch/arm/boot/dts/emev2-kzm9d.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/emev2-kzm9d.dts +2 -2
@@ -81,7 +81,7 @@ regulator-boot-on; }; - lan9220 at 20000000 { + ethernet at 20000000 { compatible = "smsc,lan9220", "smsc,lan9115"; reg = <0x20000000 0x10000>; phy-mode = "mii";
@@ -96,7 +96,7 @@ }; &pfc { - uart1_pins: uart at e1030000 { + uart1_pins: serial at e1030000 { renesas,groups = "uart1_ctrl", "uart1_data"; renesas,function = "uart1"; };
Signature · 1 line
2.1.4
PATCH 17/31 ARM: shmobile: marzen dts: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
lan0 -> ethernet
--- arch/arm/boot/dts/r8a7779-marzen.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7779-marzen.dts +3 -3
@@ -42,10 +42,10 @@ regulator-always-on; }; - lan0 at 18000000 { + ethernet at 18000000 { compatible = "smsc,lan9220", "smsc,lan9115"; reg = <0x18000000 0x100>; - pinctrl-0 = <&lan0_pins>; + pinctrl-0 = <ðernet_pins>; pinctrl-names = "default"; phy-mode = "mii";
@@ -176,7 +176,7 @@ }; }; - lan0_pins: lan0 { + ethernet_pins: ethernet { intc { renesas,groups = "intc_irq1_b"; renesas,function = "intc";
Signature · 1 line
2.1.4
PATCH 18/31 ARM: shmobile: armadillo800eva dts: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
wm8978 -> codec
--- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7740-armadillo800eva.dts +1 -1
@@ -208,7 +208,7 @@ gpios = <&pfc 166 GPIO_ACTIVE_LOW>; }; - wm8978: wm8978 at 1a { + wm8978: codec at 1a { #sound-dai-cells = <0>; compatible = "wlf,wm8978"; reg = <0x1a>;
Signature · 1 line
2.1.4
PATCH 19/31 ARM: shmobile: henninger dts: Add "nor-jedec" compatible value
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Spansion s25fl512s is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").
--- arch/arm/boot/dts/r8a7791-henninger.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791-henninger.dts +1 -1
@@ -226,7 +226,7 @@ flash at 0 { #address-cells = <1>; #size-cells = <1>; - compatible = "spansion,s25fl512s"; + compatible = "spansion,s25fl512s", "nor-jedec"; reg = <0>; spi-max-frequency = <30000000>; spi-tx-bus-width = <4>;
Signature · 1 line
2.1.4
PATCH 20/31 ARM: shmobile: bockw-reference dts: Add "nor-jedec" compatible value
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Spansion s25fl008k is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").
--- arch/arm/boot/dts/r8a7778-bockw-reference.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7778-bockw-reference.dts +1 -1
@@ -119,7 +119,7 @@ flash: flash at 0 { #address-cells = <1>; #size-cells = <1>; - compatible = "spansion,s25fl008k"; + compatible = "spansion,s25fl008k", "nor-jedec"; reg = <0>; spi-max-frequency = <104000000>; m25p,fast-read;
Signature · 1 line
2.1.4
PATCH 21/31 ARM: shmobile: lager dts: Add "nor-jedec" compatible value
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Spansion s25fl512s is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").
--- arch/arm/boot/dts/r8a7790-lager.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790-lager.dts +1 -1
@@ -429,7 +429,7 @@ flash: flash at 0 { #address-cells = <1>; #size-cells = <1>; - compatible = "spansion,s25fl512s"; + compatible = "spansion,s25fl512s", "nor-jedec"; reg = <0>; spi-max-frequency = <30000000>; spi-tx-bus-width = <4>;
Signature · 1 line
2.1.4
PATCH 22/31 ARM: shmobile: bockw dts: Add "nor-jedec" compatible value
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Spansion s25fl008k is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").
--- arch/arm/boot/dts/r8a7778-bockw.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7778-bockw.dts +1 -1
@@ -186,7 +186,7 @@ flash: flash at 0 { #address-cells = <1>; #size-cells = <1>; - compatible = "spansion,s25fl008k"; + compatible = "spansion,s25fl008k", "nor-jedec"; reg = <0>; spi-max-frequency = <104000000>; m25p,fast-read;
Signature · 1 line
2.1.4
PATCH 23/31 ARM: shmobile: koelsch dts: Add "nor-jedec" compatible value
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Spansion s25fl512s is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").
--- arch/arm/boot/dts/r8a7791-koelsch.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791-koelsch.dts +1 -1
@@ -474,7 +474,7 @@ flash: flash at 0 { #address-cells = <1>; #size-cells = <1>; - compatible = "spansion,s25fl512s"; + compatible = "spansion,s25fl512s", "nor-jedec"; reg = <0>; spi-max-frequency = <30000000>; spi-tx-bus-width = <4>;
Signature · 1 line
2.1.4
PATCH 24/31 ARM: shmobile: bockw dts: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
sound-codec -> codec
--- arch/arm/boot/dts/r8a7778-bockw.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7778-bockw.dts +1 -1
@@ -85,7 +85,7 @@ &i2c0 { status = "okay"; - ak4643: sound-codec at 12 { + ak4643: codec at 12 { compatible = "asahi-kasei,ak4643"; #sound-dai-cells = <0>; reg = <0x12>;
Signature · 1 line
2.1.4
PATCH 25/31 ARM: shmobile: lager dts: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
sound-codec -> codec
--- arch/arm/boot/dts/r8a7790-lager.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790-lager.dts +1 -1
@@ -525,7 +525,7 @@ clock-frequency = <100000>; - ak4643: sound-codec at 12 { + ak4643: codec at 12 { compatible = "asahi-kasei,ak4643"; #sound-dai-cells = <0>; reg = <0x12>;
Signature · 1 line
2.1.4
PATCH 26/31 ARM: shmobile: koelsch dts: Use generic names for device nodes
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
sound-codec -> codec
--- arch/arm/boot/dts/r8a7791-koelsch.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791-koelsch.dts +1 -1
@@ -522,7 +522,7 @@ status = "okay"; clock-frequency = <100000>; - ak4643: sound-codec at 12 { + ak4643: codec at 12 { compatible = "asahi-kasei,ak4643"; #sound-dai-cells = <0>; reg = <0x12>;
Signature · 1 line
2.1.4
PATCH 27/31 ARM: shmobile: kzm9g dts: Configure the HOME key as wake-up source
In reply to Simon HormanFrom: Geert Uytterhoeven <[email protected]>
Note that from now on any of the pfc8575 gpio keys will wake up the system, as the pfc8575 cannot mask individual interrupts.
--- arch/arm/boot/dts/sh73a0-kzm9g.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sh73a0-kzm9g.dts +1 -0
@@ -147,6 +147,7 @@ gpios = <&pcf8575 14 GPIO_ACTIVE_LOW>; linux,code = <KEY_HOME>; label = "SW1"; + gpio-key,wakeup; }; };
Signature · 1 line
2.1.4
PATCH 28/31 ARM: shmobile: r8a7790: add USB-DMAC device nodes
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
--- arch/arm/boot/dts/r8a7790.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
arch/arm/boot/dts/r8a7790.dtsi +22 -0
@@ -371,6 +371,28 @@ dma-channels = <13>; }; + usb_dmac0: dma-controller at e65a0000 { + compatible = "renesas,usb-dmac"; + reg = <0 0xe65a0000 0 0x100>; + interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH + 0 109 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac1: dma-controller at e65b0000 { + compatible = "renesas,usb-dmac"; + reg = <0 0xe65b0000 0 0x100>; + interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH + 0 110 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>; + #dma-cells = <1>; + dma-channels = <2>; + }; + i2c0: i2c at e6508000 { #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.1.4
PATCH 29/31 ARM: shmobile: r8a7790: Enable DMA for HSUSB
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
This patch adds DMA properties to the HSUSB node.
--- arch/arm/boot/dts/r8a7790.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/boot/dts/r8a7790.dtsi +3 -0
@@ -673,6 +673,9 @@ renesas,buswait = <4>; phys = <&usb0 1>; phy-names = "usb"; + dmas = <&usb_dmac0 0>, <&usb_dmac0 1>, + <&usb_dmac1 0>, <&usb_dmac1 1>; + dma-names = "ch0", "ch1", "ch2", "ch3"; status = "disabled"; };
Signature · 1 line
2.1.4
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
--- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
arch/arm/boot/dts/r8a7791.dtsi +22 -0
@@ -358,6 +358,28 @@ dma-channels = <13>; }; + usb_dmac0: dma-controller at e65a0000 { + compatible = "renesas,usb-dmac"; + reg = <0 0xe65a0000 0 0x100>; + interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH + 0 109 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&mstp3_clks R8A7791_CLK_USBDMAC0>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac1: dma-controller at e65b0000 { + compatible = "renesas,usb-dmac"; + reg = <0 0xe65b0000 0 0x100>; + interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH + 0 110 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&mstp3_clks R8A7791_CLK_USBDMAC1>; + #dma-cells = <1>; + dma-channels = <2>; + }; + /* The memory map in the User's Manual maps the cores to bus numbers */ i2c0: i2c at e6508000 { #address-cells = <1>;
Signature · 1 line
2.1.4
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
Hello!
Quoted 8 lines · Simon Horman
From: Yoshihiro Shimoda <[email protected]>
Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
When the USB-DMAC driver is enabled, this causes kernel oops on at least
the R8A7791 Henninger/Porter boards (haven't checked the others yet) with renesas-devel-20150928-v4.3-rc3 and even earlier tag. The oops can only be seen with the earlyprintk=serial kernel parameter, otherwise the kernel just hangs with a blank console.
Unable to handle kernel NULL pointer dereference at virtual address 00000014
SuperH (H)SCI(F) driver initialized
e6e60000.serial: ttySC0 at MMIO 0xe6e60000 (irq = 105, base_baud = 0) is a scif pgd = c0004000
[00000014] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 47 Comm: kworker/0:1 Not tainted 4.3.0-rc3-dirty #936 Hardware name: Generic R8A7791 (Flattened Device Tree) Workqueue: pm pm_runtime_work task: ee933100 ti: ee998000 task.ti: ee998000 PC is at usb_dmac_chan_halt+0x14/0xd0 LR is at usb_dmac_runtime_suspend+0x2c/0x40 pc : [<c027f0e0>] lr : [<c027f1c8>] psr: 80000113
sp : ee999da8 ip : ee999dc0 fp : ee999dbc
r10: ee802400 r9 : c02dcb18 r8 : ee93d810
r7 : 6bd8a034 r6 : 00000090 r5 : eebd1210 r4 : 00000001 r3 : 00000000 r2 : 6bd8a034 r1 : 0000012e r0 : eebd1210
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c5387d Table: 4000406a DAC: 00000051 Process kworker/0:1 (pid: 47, stack limit = 0xee998210)
Stack: (0xee999da8 to 0xee99a000)
9da0: 00000001 eebdaf50 ee999ddc ee999dc0 c027f1c8 c027f0d8
9dc0: c027f19c ee93d810 c02ddfc4 00000000 ee999dec ee999de0 c02d60e0 c027f1a8 9de0: ee999dfc ee999df0 c02dcba0 c02d60b8 ee999e34 ee999e00 c02de040 c02dcb24 9e00: 6bd8a034 00000000 00000000 ee93d810 c02ddfc4 00000000 0000000a 00000000 9e20: 00000003 00000008 ee999e4c ee999e38 c02d78cc c02ddfd0 ee93d810 c02ddfc4 9e40: ee999e64 ee999e50 c02d7964 c02d78a0 ee93d810 c02ddfc4 ee999eb4 ee999e68 9e60: c02d7ee4 c02d7900 ee999e84 ee999e80 c0531e44 c0045518 ee999eb4 ee999e88 9e80: c005a1d8 c0531e20 00000000 ee93d810 00000000 00000002 c0726100 eefc9700 9ea0: 00000000 00000000 ee999ed4 ee999eb8 c02d813c c02d7cd0 00000000 ee93d8b8 9ec0: ee93d874 eefc3700 ee999eec ee999ed8 c02d8c84 c02d80d0 ee938000 ee93d8b8 9ee0: ee999f2c ee999ef0 c003c13c c02d8c28 ee999f14 ee999f00 c004827c c0048174 9f00: 00000000 ee938000 eefc3700 eefc3714 c0726100 ee938018 00000008 00000000 9f20: ee999f5c ee999f30 c003c554 c003bf90 ee933100 ee9065c0 00000000 ee938000 9f40: c003c2c0 00000000 00000000 00000000 ee999fac ee999f60 c0040e24 c003c2cc 9f60: fffefffa 00000000 febbfffa ee938000 00000000 00000000 ee999f78 ee999f78 9f80: 00000000 00000000 ee999f88 ee999f88 ee9065c0 c0040d34 00000000 00000000 9fa0: 00000000 ee999fb0 c00105d8 c0040d40 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ddffddfa dff45ff7
Backtrace:
[<c027f0cc>] (usb_dmac_chan_halt) from [<c027f1c8>] (usb_dmac_runtime_suspend+0)
r5:eebdaf50 r4:00000001
[<c027f19c>] (usb_dmac_runtime_suspend) from [<c02d60e0>] (pm_generic_runtime_s)
r6:00000000 r5:c02ddfc4 r4:ee93d810 r3:c027f19c
[<c02d60ac>] (pm_generic_runtime_suspend) from [<c02dcba0>] (pm_genpd_default_s) [<c02dcb18>] (pm_genpd_default_save_state) from [<c02de040>] (pm_genpd_runtime_) [<c02ddfc4>] (pm_genpd_runtime_suspend) from [<c02d78cc>] (__rpm_callback+0x38/)
r10:00000008 r9:00000003 r8:00000000 r7:0000000a r6:00000000 r5:c02ddfc4 r4:ee93d810
[<c02d7894>] (__rpm_callback) from [<c02d7964>] (rpm_callback+0x70/0x88)
r5:c02ddfc4 r4:ee93d810
[<c02d78f4>] (rpm_callback) from [<c02d7ee4>] (rpm_suspend+0x220/0x38c)
r5:c02ddfc4 r4:ee93d810
[<c02d7cc4>] (rpm_suspend) from [<c02d813c>] (rpm_idle+0x78/0x128)
r10:00000000 r9:00000000 r8:eefc9700 r7:c0726100 r6:00000002 r5:00000000 r4:ee93d810
[<c02d80c4>] (rpm_idle) from [<c02d8c84>] (pm_runtime_work+0x68/0x94)
r6:eefc3700 r5:ee93d874 r4:ee93d8b8 r3:00000000
[<c02d8c1c>] (pm_runtime_work) from [<c003c13c>] (process_one_work+0x1b8/0x308)
r5:ee93d8b8 r4:ee938000
[<c003bf84>] (process_one_work) from [<c003c554>] (worker_thread+0x294/0x408)
r10:00000000 r9:00000008 r8:ee938018 r7:c0726100 r6:eefc3714 r5:eefc3700 r4:ee938000
[<c003c2c0>] (worker_thread) from [<c0040e24>] (kthread+0xf0/0x104)
r10:00000000 r9:00000000 r8:00000000 r7:c003c2c0 r6:ee938000 r5:00000000 r4:ee9065c0 r3:ee933100
[<c0040d34>] (kthread) from [<c00105d8>] (ret_from_fork+0x14/0x3c)
r7:00000000 r6:00000000 r5:c0040d34 r4:ee9065c0
Code: e92dd830 e24cb004 e590306c e1a05000 (e5934014)
console [ttySC0] enabled
console [ttySC0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
[drm] Initialized drm 1.1.0 20060810
---[ end trace ef953a249b09c4af ]--- Unable to handle kernel paging request at virtual address ffffffec pgd = c0004000 [ffffffec] *pgd=6f7fd861, *pte=00000000, *ppte=00000000 Internal error: Oops: 37 [#2] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 47 Comm: kworker/0:1 Tainted: G D 4.3.0-rc3-dirty #936 Hardware name: Generic R8A7791 (Flattened Device Tree) task: ee933100 ti: ee998000 task.ti: ee998000 PC is at kthread_data+0x10/0x18 LR is at wq_worker_sleeping+0x14/0xd8 pc : [<c0041438>] lr : [<c003cbb4>] psr: 00000193
sp : ee999b08 ip : ee999b18 fp : ee999b14
r10: ee933320 r9 : c0650b95 r8 : c052ea2c
r7 : ee9333a8 r6 : 00000000 r5 : eefc3b80 r4 : 00000000 r3 : 00000000 r2 : ac9a9d49 r1 : 00000000 r0 : ee933100
Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c5387d Table: 4000406a DAC: 00000051 Process kworker/0:1 (pid: 47, stack limit = 0xee998210)
Stack: (0xee999b08 to 0xee99a000)
9b00: ee999b2c ee999b18 c003cbb4 c0041434 0420806c ee933100
9b20: ee999b6c ee999b30 c052e428 c003cbac c001296c c001353c 00000000 c0013ed4 9b40: ee999b64 ee933100 ee999b88 ee99994c c027f0e0 00000001 c0650b95 ee933320 9b60: ee999b7c ee999b70 c052ea2c c052e350 ee999ba4 ee999b80 c0029a48 c052e998 9b80: ee999bf2 c027f0e0 ee999b88 ee999b88 c0026f30 c027f0e0 ee999c24 ee999ba8 9ba0: c0013ed4 c002921c ee998210 0000000b ee999bd4 c0650b8d 60000113 00000000 9bc0: 65650dcb 64643239 20303338 63343265 34303062 39356520 36303330 31652063 9be0: 30353061 28203030 33393565 34313034 c0002029 c009c594 c0650dcb 00000014 9c00: 00000005 00000000 ee999d58 00000000 c02dcb18 00000005 ee999c3c ee999c28 9c20: c00212b0 c0013b24 ee999d58 ee933100 ee999c8c ee999c40 c001cd58 c0021260 9c40: c065a8e2 ef5cf060 ee999c84 ee999c58 c001296c c001353c 00000000 c00a42a8 9c60: ee999c84 00000005 00000014 c0729fa4 00000005 ee93d810 c02dcb18 ee802400 9c80: ee999cac ee999c90 c001ce7c c001cab0 00000005 00000014 c0729fa4 ee999d58 9ca0: ee999d54 ee999cb0 c000a2bc c001ce64 ee999d3c ee999cc0 c00a42bc c001f4c0 9cc0: 00000141 fec334d1 effd3bb9 d17b5fc0 00000000 ee8333fc ee999cfc ee999ce8 9ce0: ee999cfc fffffffa 00000001 c07246ae ee999d1c ee999d00 c0013554 c0012904 9d00: c0012928 00000000 ee999da8 00000000 ee999d4c ee999d20 c001296c c001353c 9d20: 00000000 c052adc8 ee999d4c ee999d38 c004817c c005d66c c027f0e0 80000113 9d40: ffffffff ee999d8c ee999dbc ee999d58 c0014620 c000a28c eebd1210 0000012e 9d60: 6bd8a034 00000000 00000001 eebd1210 00000090 6bd8a034 ee93d810 c02dcb18 9d80: ee802400 ee999dbc ee999dc0 ee999da8 c027f1c8 c027f0e0 80000113 ffffffff 9da0: 00000051 c052b038 00000001 eebdaf50 ee999ddc ee999dc0 c027f1c8 c027f0d8 9dc0: c027f19c ee93d810 c02ddfc4 00000000 ee999dec ee999de0 c02d60e0 c027f1a8 9de0: ee999dfc ee999df0 c02dcba0 c02d60b8 ee999e34 ee999e00 c02de040 c02dcb24 9e00: 6bd8a034 00000000 00000000 ee93d810 c02ddfc4 00000000 0000000a 00000000 9e20: 00000003 00000008 ee999e4c ee999e38 c02d78cc c02ddfd0 ee93d810 c02ddfc4 9e40: ee999e64 ee999e50 c02d7964 c02d78a0 ee93d810 c02ddfc4 ee999eb4 ee999e68 9e60: c02d7ee4 c02d7900 ee999e84 ee999e80 c0531e44 c0045518 ee999eb4 ee999e88 9e80: c005a1d8 c0531e20 00000000 ee93d810 00000000 00000002 c0726100 eefc9700 9ea0: 00000000 00000000 ee999ed4 ee999eb8 c02d813c c02d7cd0 00000000 ee93d8b8 9ec0: ee93d874 eefc3700 ee999eec ee999ed8 c02d8c84 c02d80d0 ee938000 ee93d8b8 9ee0: ee999f2c ee999ef0 c003c13c c02d8c28 ee999f14 ee999f00 c004827c c0048174 9f00: 00000000 ee938000 eefc3700 eefc3714 c0726100 ee938018 00000008 00000000 9f20: ee999f5c ee999f30 c003c554 c003bf90 ee933100 ee9065c0 00000000 ee938000 9f40: c003c2c0 00000000 00000000 00000000 ee999fac ee999f60 c0040e24 c003c2cc 9f60: fffefffa 00000000 febbfffa ee938000 00000000 00000000 ee999f78 ee999f78 9f80: 00000001 00010001 ee999f88 ee999f88 ee9065c0 c0040d34 00000000 00000000 9fa0: 00000000 ee999fb0 c00105d8 c0040d40 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ddffddfa dff45ff7
Backtrace: [<c0041428>] (kthread_data) from [<c003cbb4>] (wq_worker_sleeping+0x14/0xd8) [<c003cba0>] (wq_worker_sleeping) from [<c052e428>] (__schedule+0xe4/0x4b0) r4:ee933100 r3:0420806c [<c052e344>] (__schedule) from [<c052ea2c>] (schedule+0xa0/0xc4) r10:ee933320 r9:c0650b95 r8:00000001 r7:c027f0e0 r6:ee99994c r5:ee999b88 r4:ee933100 [<c052e98c>] (schedule) from [<c0029a48>] (do_exit+0x838/0x880) [<c0029210>] (do_exit) from [<c0013ed4>] (die+0x3bc/0x438) r7:c027f0e0 [<c0013b18>] (die) from [<c00212b0>] (__do_kernel_fault.part.0+0x5c/0xdac) r10:00000005 r9:c02dcb18 r8:00000000 r7:ee999d58 r6:00000000 r5:00000005 r4:00000014 [<c0021254>] (__do_kernel_fault.part.0) from [<c001cd58>] (do_page_fault+0x2b4/) r7:ee933100 r3:ee999d58 [<c001caa4>] (do_page_fault) from [<c001ce7c>] (do_translation_fault+0x24/0xb4) r10:ee802400 r9:c02dcb18 r8:ee93d810 r7:00000005 r6:c0729fa4 r5:00000014 r4:00000005 [<c001ce58>] (do_translation_fault) from [<c000a2bc>] (do_DataAbort+0x3c/0xbc) r7:ee999d58 r6:c0729fa4 r5:00000014 r4:00000005 [<c000a280>] (do_DataAbort) from [<c0014620>] (__dabt_svc+0x40/0x60) Exception stack(0xee999d58 to 0xee999da0)
9d40: eebd1210 0000012e
9d60: 6bd8a034 00000000 00000001 eebd1210 00000090 6bd8a034 ee93d810 c02dcb18 9d80: ee802400 ee999dbc ee999dc0 ee999da8 c027f1c8 c027f0e0 80000113 ffffffff
r7:ee999d8c r6:ffffffff r5:80000113 r4:c027f0e0
[<c027f0cc>] (usb_dmac_chan_halt) from [<c027f1c8>] (usb_dmac_runtime_suspend+0)
r5:eebdaf50 r4:00000001
[<c027f19c>] (usb_dmac_runtime_suspend) from [<c02d60e0>] (pm_generic_runtime_s)
r6:00000000 r5:c02ddfc4 r4:ee93d810 r3:c027f19c
[<c02d60ac>] (pm_generic_runtime_suspend) from [<c02dcba0>] (pm_genpd_default_s) [<c02dcb18>] (pm_genpd_default_save_state) from [<c02de040>] (pm_genpd_runtime_) [<c02ddfc4>] (pm_genpd_runtime_suspend) from [<c02d78cc>] (__rpm_callback+0x38/)
r10:00000008 r9:00000003 r8:00000000 r7:0000000a r6:00000000 r5:c02ddfc4 r4:ee93d810
[<c02d7894>] (__rpm_callback) from [<c02d7964>] (rpm_callback+0x70/0x88)
r5:c02ddfc4 r4:ee93d810
[<c02d78f4>] (rpm_callback) from [<c02d7ee4>] (rpm_suspend+0x220/0x38c)
r5:c02ddfc4 r4:ee93d810
[<c02d7cc4>] (rpm_suspend) from [<c02d813c>] (rpm_idle+0x78/0x128)
r10:00000000 r9:00000000 r8:eefc9700 r7:c0726100 r6:00000002 r5:00000000 r4:ee93d810
[<c02d80c4>] (rpm_idle) from [<c02d8c84>] (pm_runtime_work+0x68/0x94)
r6:eefc3700 r5:ee93d874 r4:ee93d8b8 r3:00000000
[<c02d8c1c>] (pm_runtime_work) from [<c003c13c>] (process_one_work+0x1b8/0x308)
r5:ee93d8b8 r4:ee938000
[<c003bf84>] (process_one_work) from [<c003c554>] (worker_thread+0x294/0x408)
r10:00000000 r9:00000008 r8:ee938018 r7:c0726100 r6:eefc3714 r5:eefc3700 r4:ee938000
[<c003c2c0>] (worker_thread) from [<c0040e24>] (kthread+0xf0/0x104)
r10:00000000 r9:00000000 r8:00000000 r7:c003c2c0 r6:ee938000 r5:00000000 r4:ee9065c0 r3:ee933100
[<c0040d34>] (kthread) from [<c00105d8>] (ret_from_fork+0x14/0x3c)
r7:00000000 r6:00000000 r5:c0040d34 r4:ee9065c0
Code: e1a0c00d e92dd800 e24cb004 e5903278 (e5130014) ---[ end trace ef953a249b09c4b0 ]---
Fixing recursive fault but reboot is needed!
MBR, Sergei
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
Hi Sergei,
Quoted 12 lines · Sergei Shtylyov
Quoted 8 lines · Simon Horman
From: Yoshihiro Shimoda <[email protected]>
Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Quoted 5 lines
When the USB-DMAC driver is enabled, this causes kernel oops on at least
the R8A7791 Henninger/Porter boards (haven't checked the others yet) with renesas-devel-20150928-v4.3-rc3 and even earlier tag. The oops can only be seen with the earlyprintk=serial kernel parameter, otherwise the kernel just hangs with a blank console.
My current kernel on r8a7791/koelsch has CONFIG_RENESAS_USB_DMAC=y and boots fine.
renesas-devel-20150928-v4.3-rc3 with shmobile_defconfig + CONFIG_RENESAS_USB_DMAC=y also boots fine.
Do I need to enable/disable config options to trigger this?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
Quoted 15 lines · Geert Uytterhoeven
Quoted 9 lines
Quoted 8 lines
From: Yoshihiro Shimoda <[email protected]>
Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)Quoted 5 lines
When the USB-DMAC driver is enabled, this causes kernel oops on at least
the R8A7791 Henninger/Porter boards (haven't checked the others yet) with renesas-devel-20150928-v4.3-rc3 and even earlier tag. The oops can only be seen with the earlyprintk=serial kernel parameter, otherwise the kernel just hangs with a blank console.
Quoted 5 lines
My current kernel on r8a7791/koelsch has
CONFIG_RENESAS_USB_DMAC=yand boots fine.renesas-devel-20150928-v4.3-rc3 with
shmobile_defconfig+CONFIG_RENESAS_USB_DMAC=yalso boots fine.
Indeed, I was able to boot it all the way on Henninger.
Quoted 1 line
Do I need to enable/disable config options to trigger this?
It appears so. I just don't know what -- the diff between my .config andshmobile_defconfig is 150+ hunks. :-(
Quoted 3 lines
Gr{oetje,eeting}s,
Geert
MBR, Sergei
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
Hi Sergei,
Quoted 26 lines · Sergei Shtylyov
Quoted 18 lines · Geert Uytterhoeven
Quoted 9 lines
Quoted 8 lines
From: Yoshihiro Shimoda <[email protected]>
Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)Quoted 8 lines
When the USB-DMAC driver is enabled, this causes kernel oops on at
least
the R8A7791 Henninger/Porter boards (haven't checked the others yet) with renesas-devel-20150928-v4.3-rc3 and even earlier tag. The oops can only be
seen with the earlyprintk=serial kernel parameter, otherwise the kernel just
hangs with a blank console.Quoted 6 lines
My current kernel on r8a7791/koelsch has
CONFIG_RENESAS_USB_DMAC=yand boots
fine.renesas-devel-20150928-v4.3-rc3 with
shmobile_defconfig+CONFIG_RENESAS_USB_DMAC=yalso boots fine.
Quoted 6 lines
Indeed, I was able to boot it all the way on Henninger.
Quoted 1 line
Do I need to enable/disable config options to trigger this?
It appears so. I just don't know what -- the diff between my .config and
shmobile_defconfigis 150+ hunks. :-(
Can you please send me your .config by private email?
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
Quoted 25 lines · Geert Uytterhoeven
Quoted 25 lines
Quoted 24 lines
Quoted 9 lines
Quoted 8 lines
From: Yoshihiro Shimoda <[email protected]>
Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)Quoted 8 lines
When the USB-DMAC driver is enabled, this causes kernel oops on at
least
the R8A7791 Henninger/Porter boards (haven't checked the others yet) with renesas-devel-20150928-v4.3-rc3 and even earlier tag. The oops can only be
seen with the earlyprintk=serial kernel parameter, otherwise the kernel just
hangs with a blank console.My current kernel on r8a7791/koelsch has
CONFIG_RENESAS_USB_DMAC=yand boots
fine.renesas-devel-20150928-v4.3-rc3 with
shmobile_defconfig+CONFIG_RENESAS_USB_DMAC=yalso boots fine.
Quoted 6 lines
Quoted 6 lines
Indeed, I was able to boot it all the way on Henninger.
Quoted 1 line
Do I need to enable/disable config options to trigger this?
It appears so. I just don't know what -- the diff between my .config and
shmobile_defconfigis 150+ hunks. :-(
OK, my shot in the dark proved helpful: it's the kernel preemption mode --shmobile_defconfig has CONFIG_PREEMPT_NONE, my .config has CONFIG_PREEMPT!
Quoted 1 line
Can you please send me your .config by private email?
OK.
Quoted 3 lines
Thanks!
Gr{oetje,eeting}s,
MBR, Sergei
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
In reply to Sergei ShtylyovHello!
Quoted 63 lines
Sent: Wednesday, September 30, 2015 7:35 AM
Hello!
Quoted 8 lines · Simon Horman
From: Yoshihiro Shimoda <[email protected]>
Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Simon Horman <[email protected]>--- arch/arm/boot/dts/r8a7791.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)When the USB-DMAC driver is enabled, this causes kernel oops on at least
the R8A7791 Henninger/Porter boards (haven't checked the others yet) with renesas-devel-20150928-v4.3-rc3 and even earlier tag. The oops can only be seen with the earlyprintk=serial kernel parameter, otherwise the kernel just hangs with a blank console.Unable to handle kernel NULL pointer dereference at virtual address 00000014SuperH (H)SCI(F) driver initialized
e6e60000.serial: ttySC0 at MMIO0xe6e60000(irq = 105,base_baud= 0) is a scif pgd =c0004000
[00000014] *pgd=00000000Internal error: Oops: 5 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 47 Comm: kworker/0:1 Not tainted 4.3.0-rc3-dirty #936 Hardware name: Generic R8A7791 (Flattened Device Tree) Workqueue: pm pm_runtime_work task: ee933100 ti: ee998000 task.ti: ee998000 PC is at usb_dmac_chan_halt+0x14/0xd0 LR is at usb_dmac_runtime_suspend+0x2c/0x40 pc : [<c027f0e0>] lr : [<c027f1c8>] psr: 80000113sp :
ee999da8ip :ee999dc0fp :ee999dbc
r10:ee802400r9 :c02dcb18r8 :ee93d810
r7 :6bd8a034r6 : 00000090 r5 :eebd1210r4 : 00000001 r3 : 00000000 r2 :6bd8a034r1 :0000012er0 :eebd1210
Flags: Nzcv IRQs on FIQs on ModeSVC_32ISA ARM Segment none
Control:10c5387dTable:4000406aDAC: 00000051 Process kworker/0:1 (pid: 47, stack limit =0xee998210)Stack: (0xee999da8 to 0xee99a000)9da0: 00000001
eebdaf50ee999ddcee999dc0c027f1c8c027f0d8
9dc0:c027f19cee93d810c02ddfc400000000ee999decee999de0c02d60e0c027f1a89de0:ee999dfcee999df0c02dcba0c02d60b8ee999e34ee999e00c02de040c02dcb249e00:6bd8a03400000000 00000000ee93d810c02ddfc4000000000000000a00000000 9e20: 00000003 00000008ee999e4cee999e38c02d78ccc02ddfd0ee93d810c02ddfc49e40:ee999e64ee999e50c02d7964c02d78a0ee93d810c02ddfc4ee999eb4ee999e689e60:c02d7ee4c02d7900ee999e84ee999e80c0531e44c0045518ee999eb4ee999e889e80:c005a1d8c0531e2000000000ee93d81000000000 00000002c0726100eefc97009ea0: 00000000 00000000ee999ed4ee999eb8c02d813cc02d7cd000000000ee93d8b89ec0:ee93d874eefc3700ee999eecee999ed8c02d8c84c02d80d0ee938000ee93d8b89ee0:ee999f2cee999ef0c003c13cc02d8c28ee999f14ee999f00c004827cc00481749f00: 00000000ee938000eefc3700eefc3714c0726100ee93801800000008 00000000 9f20:ee999f5cee999f30c003c554c003bf90ee933100ee9065c000000000ee9380009f40:c003c2c000000000 00000000 00000000ee999facee999f60c0040e24c003c2cc9f60: fffefffa 00000000 febbfffaee93800000000000 00000000ee999f78ee999f789f80: 00000000 00000000ee999f88ee999f88ee9065c0c0040d3400000000 00000000 9fa0: 00000000ee999fb0c00105d8c0040d4000000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ddffddfadff45ff7Backtrace:
Quoted 16 lines
[<
c027f0cc>] (usb_dmac_chan_halt) from [<c027f1c8>] (usb_dmac_runtime_suspend+0)
r5:eebdaf50 r4:00000001
[<c027f19c>] (usb_dmac_runtime_suspend) from [<c02d60e0>] (pm_generic_runtime_s)
r6:00000000 r5:c02ddfc4 r4:ee93d810 r3:c027f19c
[<c02d60ac>] (pm_generic_runtime_suspend) from [<c02dcba0>] (pm_genpd_default_s) [<c02dcb18>] (pm_genpd_default_save_state) from [<c02de040>] (pm_genpd_runtime_) [<c02ddfc4>] (pm_genpd_runtime_suspend) from [<c02d78cc>] (__rpm_callback+0x38/)
r10:00000008 r9:00000003 r8:00000000 r7:0000000a r6:00000000 r5:c02ddfc4 r4:ee93d810
[<c02d7894>] (__rpm_callback) from [<c02d7964>] (rpm_callback+0x70/0x88)
r5:c02ddfc4 r4:ee93d810
[<c02d78f4>] (rpm_callback) from [<c02d7ee4>] (rpm_suspend+0x220/0x38c)
r5:c02ddfc4 r4:ee93d810
[<c02d7cc4>] (rpm_suspend) from [<c02d813c>] (rpm_idle+0x78/0x128)
r10:00000000 r9:00000000 r8:eefc9700 r7:c0726100 r6:00000002 r5:00000000 r4:ee93d810
I'm not sure but I am guessing this issue related runtime PM? (suspend)
I checked the usb-dmac driver roughly, and if the usb_dmac_runtime_suspend() is called before usb_dmac_chan_probe() runs, it might happen because dmac->iomem is NULL.
What do you think?
Best regards,
Yoshihiro Shimoda
Quoted 140 lines
[<
c02d80c4>] (rpm_idle) from [<c02d8c84>] (pm_runtime_work+0x68/0x94)
r6:eefc3700 r5:ee93d874 r4:ee93d8b8 r3:00000000
[<c02d8c1c>] (pm_runtime_work) from [<c003c13c>] (process_one_work+0x1b8/0x308)
r5:ee93d8b8 r4:ee938000[<
c003bf84>] (process_one_work) from [<c003c554>] (worker_thread+0x294/0x408)
r10:00000000 r9:00000008 r8:ee938018 r7:c0726100 r6:eefc3714 r5:eefc3700 r4:ee938000
[<c003c2c0>] (worker_thread) from [<c0040e24>] (kthread+0xf0/0x104)
r10:00000000 r9:00000000 r8:00000000 r7:c003c2c0 r6:ee938000 r5:00000000 r4:ee9065c0 r3:ee933100
[<c0040d34>] (kthread) from [<c00105d8>] (ret_from_fork+0x14/0x3c)
r7:00000000 r6:00000000 r5:c0040d34 r4:ee9065c0Code: e92dd830 e24cb004 e590306c e1a05000 (e5934014)console [ttySC0] enabled
console [ttySC0] enabled
bootconsole [earlycon0] disabled
bootconsole [earlycon0] disabled
[drm] Initialized drm 1.1.0 20060810---[ end trace ef953a249b09c4af ]--- Unable to handle kernel paging request at virtual address ffffffec pgd = c0004000 [ffffffec] *pgd=6f7fd861, *pte=00000000, *ppte=00000000 Internal error: Oops: 37 [#2] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 47 Comm: kworker/0:1 Tainted: G D 4.3.0-rc3-dirty #936 Hardware name: Generic R8A7791 (Flattened Device Tree) task: ee933100 ti: ee998000 task.ti: ee998000 PC is at kthread_data+0x10/0x18 LR is at wq_worker_sleeping+0x14/0xd8 pc : [<c0041438>] lr : [<c003cbb4>] psr: 00000193sp :
ee999b08ip :ee999b18fp :ee999b14
r10:ee933320r9 :c0650b95r8 :c052ea2c
r7 :ee9333a8r6 : 00000000 r5 :eefc3b80r4 : 00000000 r3 : 00000000 r2 :ac9a9d49r1 : 00000000 r0 :ee933100
Flags: nzcv IRQs off FIQs on ModeSVC_32ISA ARM Segment none
Control:10c5387dTable:4000406aDAC: 00000051 Process kworker/0:1 (pid: 47, stack limit =0xee998210)Stack: (0xee999b08 to 0xee99a000)9b00:
ee999b2cee999b18c003cbb4c00414340420806cee933100
9b20:ee999b6cee999b30c052e428c003cbacc001296cc001353c00000000c0013ed49b40:ee999b64ee933100ee999b88ee99994cc027f0e000000001c0650b95ee9333209b60:ee999b7cee999b70c052ea2cc052e350ee999ba4ee999b80c0029a48c052e9989b80:ee999bf2c027f0e0ee999b88ee999b88c0026f30c027f0e0ee999c24ee999ba89ba0:c0013ed4c002921cee9982100000000bee999bd4c0650b8d60000113 00000000 9bc0:65650dcb64643239 20303338 63343265 34303062 39356520 36303330 31652063 9be0: 30353061 28203030 33393565 34313034c0002029c009c594c0650dcb00000014 9c00: 00000005 00000000ee999d5800000000c02dcb1800000005ee999c3cee999c289c20:c00212b0c0013b24ee999d58ee933100ee999c8cee999c40c001cd58c00212609c40:c065a8e2ef5cf060ee999c84ee999c58c001296cc001353c00000000c00a42a89c60:ee999c8400000005 00000014c0729fa400000005ee93d810c02dcb18ee8024009c80:ee999cacee999c90c001ce7cc001cab000000005 00000014c0729fa4ee999d589ca0:ee999d54ee999cb0c000a2bcc001ce64ee999d3cee999cc0c00a42bcc001f4c09cc0: 00000141fec334d1effd3bb9d17b5fc000000000ee8333fcee999cfcee999ce89ce0:ee999cfcfffffffa 00000001c07246aeee999d1cee999d00c0013554c00129049d00:c001292800000000ee999da800000000ee999d4cee999d20c001296cc001353c9d20: 00000000c052adc8ee999d4cee999d38c004817cc005d66cc027f0e080000113 9d40: ffffffffee999d8cee999dbcee999d58c0014620c000a28ceebd12100000012e9d60:6bd8a03400000000 00000001eebd1210000000906bd8a034ee93d810c02dcb189d80:ee802400ee999dbcee999dc0ee999da8c027f1c8c027f0e080000113 ffffffff 9da0: 00000051c052b03800000001eebdaf50ee999ddcee999dc0c027f1c8c027f0d89dc0:c027f19cee93d810c02ddfc400000000ee999decee999de0c02d60e0c027f1a89de0:ee999dfcee999df0c02dcba0c02d60b8ee999e34ee999e00c02de040c02dcb249e00:6bd8a03400000000 00000000ee93d810c02ddfc4000000000000000a00000000 9e20: 00000003 00000008ee999e4cee999e38c02d78ccc02ddfd0ee93d810c02ddfc49e40:ee999e64ee999e50c02d7964c02d78a0ee93d810c02ddfc4ee999eb4ee999e689e60:c02d7ee4c02d7900ee999e84ee999e80c0531e44c0045518ee999eb4ee999e889e80:c005a1d8c0531e2000000000ee93d81000000000 00000002c0726100eefc97009ea0: 00000000 00000000ee999ed4ee999eb8c02d813cc02d7cd000000000ee93d8b89ec0:ee93d874eefc3700ee999eecee999ed8c02d8c84c02d80d0ee938000ee93d8b89ee0:ee999f2cee999ef0c003c13cc02d8c28ee999f14ee999f00c004827cc00481749f00: 00000000ee938000eefc3700eefc3714c0726100ee93801800000008 00000000 9f20:ee999f5cee999f30c003c554c003bf90ee933100ee9065c000000000ee9380009f40:c003c2c000000000 00000000 00000000ee999facee999f60c0040e24c003c2cc9f60: fffefffa 00000000 febbfffaee93800000000000 00000000ee999f78ee999f789f80: 00000001 00010001ee999f88ee999f88ee9065c0c0040d3400000000 00000000 9fa0: 00000000ee999fb0c00105d8c0040d4000000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ddffddfadff45ff7Backtrace: [<c0041428>] (kthread_data) from [<c003cbb4>] (wq_worker_sleeping+0x14/0xd8) [<c003cba0>] (wq_worker_sleeping) from [<c052e428>] (__schedule+0xe4/0x4b0) r4:ee933100 r3:0420806c [<c052e344>] (__schedule) from [<c052ea2c>] (schedule+0xa0/0xc4) r10:ee933320 r9:c0650b95 r8:00000001 r7:c027f0e0 r6:ee99994c r5:ee999b88 r4:ee933100 [<c052e98c>] (schedule) from [<c0029a48>] (do_exit+0x838/0x880) [<c0029210>] (do_exit) from [<c0013ed4>] (die+0x3bc/0x438) r7:c027f0e0 [<c0013b18>] (die) from [<c00212b0>] (__do_kernel_fault.part.0+0x5c/0xdac) r10:00000005 r9:c02dcb18 r8:00000000 r7:ee999d58 r6:00000000 r5:00000005 r4:00000014 [<c0021254>] (__do_kernel_fault.part.0) from [<c001cd58>] (do_page_fault+0x2b4/) r7:ee933100 r3:ee999d58 [<c001caa4>] (do_page_fault) from [<c001ce7c>] (do_translation_fault+0x24/0xb4) r10:ee802400 r9:c02dcb18 r8:ee93d810 r7:00000005 r6:c0729fa4 r5:00000014 r4:00000005 [<c001ce58>] (do_translation_fault) from [<c000a2bc>] (do_DataAbort+0x3c/0xbc) r7:ee999d58 r6:c0729fa4 r5:00000014 r4:00000005 [<c000a280>] (do_DataAbort) from [<c0014620>] (__dabt_svc+0x40/0x60) Exception stack(0xee999d58 to 0xee999da0)9d40:
eebd12100000012e
9d60:6bd8a03400000000 00000001eebd1210000000906bd8a034ee93d810c02dcb189d80:ee802400ee999dbcee999dc0ee999da8c027f1c8c027f0e080000113 ffffffff
r7:ee999d8c r6:ffffffff r5:80000113 r4:c027f0e0
[<c027f0cc>] (usb_dmac_chan_halt) from [<c027f1c8>] (usb_dmac_runtime_suspend+0)
r5:eebdaf50 r4:00000001
[<c027f19c>] (usb_dmac_runtime_suspend) from [<c02d60e0>] (pm_generic_runtime_s)
r6:00000000 r5:c02ddfc4 r4:ee93d810 r3:c027f19c
[<c02d60ac>] (pm_generic_runtime_suspend) from [<c02dcba0>] (pm_genpd_default_s) [<c02dcb18>] (pm_genpd_default_save_state) from [<c02de040>] (pm_genpd_runtime_) [<c02ddfc4>] (pm_genpd_runtime_suspend) from [<c02d78cc>] (__rpm_callback+0x38/)
r10:00000008 r9:00000003 r8:00000000 r7:0000000a r6:00000000 r5:c02ddfc4 r4:ee93d810
[<c02d7894>] (__rpm_callback) from [<c02d7964>] (rpm_callback+0x70/0x88)
r5:c02ddfc4 r4:ee93d810
[<c02d78f4>] (rpm_callback) from [<c02d7ee4>] (rpm_suspend+0x220/0x38c)
r5:c02ddfc4 r4:ee93d810
[<c02d7cc4>] (rpm_suspend) from [<c02d813c>] (rpm_idle+0x78/0x128)
r10:00000000 r9:00000000 r8:eefc9700 r7:c0726100 r6:00000002 r5:00000000 r4:ee93d810
[<c02d80c4>] (rpm_idle) from [<c02d8c84>] (pm_runtime_work+0x68/0x94)
r6:eefc3700 r5:ee93d874 r4:ee93d8b8 r3:00000000
[<c02d8c1c>] (pm_runtime_work) from [<c003c13c>] (process_one_work+0x1b8/0x308)
r5:ee93d8b8 r4:ee938000
[<c003bf84>] (process_one_work) from [<c003c554>] (worker_thread+0x294/0x408)
r10:00000000 r9:00000008 r8:ee938018 r7:c0726100 r6:eefc3714 r5:eefc3700 r4:ee938000
[<c003c2c0>] (worker_thread) from [<c0040e24>] (kthread+0xf0/0x104)
r10:00000000 r9:00000000 r8:00000000 r7:c003c2c0 r6:ee938000 r5:00000000 r4:ee9065c0 r3:ee933100
[<c0040d34>] (kthread) from [<c00105d8>] (ret_from_fork+0x14/0x3c)
r7:00000000 r6:00000000 r5:c0040d34 r4:ee9065c0Code: e1a0c00d e92dd800 e24cb004 e5903278 (e5130014) ---[ end trace ef953a249b09c4b0 ]---Fixing recursive fault but reboot is needed!
MBR, Sergei
PATCH 30/31 ARM: shmobile: r8a7791: add USB-DMAC device nodes
Hi Shimoda-san,
Quoted 9 lines · Yoshihiro Shimoda
Quoted 8 lines
Sent: Wednesday, September 30, 2015 7:35 AM
When the USB-DMAC driver is enabled, this causes kernel oops on at least
the R8A7791 Henninger/Porter boards (haven't checked the others yet) with renesas-devel-20150928-v4.3-rc3 and even earlier tag. The oops can only be seen with the earlyprintk=serial kernel parameter, otherwise the kernel just hangs with a blank console.Unable to handle kernel NULL pointer dereference at virtual address 00000014
Quoted 8 lines
Quoted 4 lines
[<
c027f0cc>] (usb_dmac_chan_halt) from [<c027f1c8>] (usb_dmac_runtime_suspend+0)
r5:eebdaf50 r4:00000001
[<c027f19c>] (usb_dmac_runtime_suspend) from [<c02d60e0>] (pm_generic_runtime_s)
r6:00000000 r5:c02ddfc4 r4:ee93d810 r3:c027f19cI'm not sure but I am guessing this issue related runtime PM? (suspend)
I checked the usb-dmac driver roughly, and if theusb_dmac_runtime_suspend()is called beforeusb_dmac_chan_probe()runs, it might happen becausedmac->iomemis NULL.
That's exactly what's happening. Reproduced with CONFIG_PREEMPT=y (thanks Sergei), and patch sent.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
PATCH 31/31 ARM: shmobile: r8a7791: Enable DMA for HSUSB
In reply to Simon HormanFrom: Yoshihiro Shimoda <[email protected]>
This patch adds DMA properties to the HSUSB node.
--- arch/arm/boot/dts/r8a7791.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/boot/dts/r8a7791.dtsi +3 -0
@@ -723,6 +723,9 @@ renesas,buswait = <4>; phys = <&usb0 1>; phy-names = "usb"; + dmas = <&usb_dmac0 0>, <&usb_dmac0 1>, + <&usb_dmac1 0>, <&usb_dmac1 1>; + dma-names = "ch0", "ch1", "ch2", "ch3"; status = "disabled"; };
Signature · 1 line
2.1.4
Quoted 17 lines · Simon Horman
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these Renesas ARM based SoC DT updates for v4.2.
The following changes since commit
b787f68c36d49bb1d9236f403813641efa74a031:Linux 4.1-rc1 (2015-04-26 17:59:10 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.gittags/renesas-dt-for-v4.2for you to fetch changes up to
7706993e2deb75022dbcfc3043890aa1a0020189:ARM: shmobile: r8a7791: Enable DMA for HSUSB (2015-05-12 08:55:16 +0900)
Quoted 7 lines
----------------------------------------------------------------
Renesas ARM Based SoC DT Updates for v4.2* Enable DMA for HSUSB on r8a7790 and r8a7791 SoCs
* Configure the HOME key as wake-up source on kzm9g board
* Use generic names for device nodes on SH Mobile SoCs and boards
* Add "nor-jedec" compatible value to SH Mobile boards
Please note Brian is reconsidering this compatible value.
If the binding will be changed (which has to happen before v4.1 is released), the above must be changed, too.
Quoted 11 lines
* Add IRQC clock to r8a73a4, r8a779* SoCs
* Remove MSIOF address from r8a7790 and r8a7791 SoCs----------------------------------------------------------------
Geert Uytterhoeven (25):ARM: shmobile: henninger dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw-reference dts: Add "nor-jedec" compatible value
ARM: shmobile: lager dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw dts: Add "nor-jedec" compatible value
ARM: shmobile: koelsch dts: Add "nor-jedec" compatible value
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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 TorvaldsQuoted 22 lines · Geert Uytterhoeven
Quoted 20 lines · Simon Horman
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these Renesas ARM based SoC DT updates for v4.2.
The following changes since commit
b787f68c36d49bb1d9236f403813641efa74a031:Linux 4.1-rc1 (2015-04-26 17:59:10 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.gittags/renesas-dt-for-v4.2for you to fetch changes up to
7706993e2deb75022dbcfc3043890aa1a0020189:ARM: shmobile: r8a7791: Enable DMA for HSUSB (2015-05-12 08:55:16 +0900)
----------------------------------------------------------------
Renesas ARM Based SoC DT Updates for v4.2
Quoted 8 lines
Quoted 4 lines
* Enable DMA for HSUSB on r8a7790 and r8a7791 SoCs
* Configure the HOME key as wake-up source on kzm9g board
* Use generic names for device nodes on SH Mobile SoCs and boards
* Add "nor-jedec" compatible value to SH Mobile boardsPlease note Brian is reconsidering this compatible value.
If the binding will be changed (which has to happen before v4.1 is released), the above must be changed, too.
Noted. I believe we can leave this pull-request as is and follow up with any changes as needed.
Quoted 31 lines
Quoted 11 lines
* Add IRQC clock to r8a73a4, r8a779* SoCs
* Remove MSIOF address from r8a7790 and r8a7791 SoCs----------------------------------------------------------------
Geert Uytterhoeven (25):ARM: shmobile: henninger dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw-reference dts: Add "nor-jedec" compatible value
ARM: shmobile: lager dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw dts: Add "nor-jedec" compatible value
ARM: shmobile: koelsch dts: Add "nor-jedec" compatible valueSignature · 14 lines
Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Simon Horman
Quoted 5 lines
Quoted 1 line
* Add "nor-jedec" compatible value to SH Mobile boards
Please note Brian is reconsidering this compatible value.
If the binding will be changed (which has to happen before v4.1 is released), the above must be changed, too.Noted. I believe we can leave this pull-request as is and follow up with any changes as needed.
Yes we can.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
Quoted 8 lines · On Thursday 14 May 2015 10:06:56 Simon Horman wrote:
Renesas ARM Based SoC DT Updates for v4.2
* Enable DMA for HSUSB on r8a7790 and r8a7791 SoCs
* Configure the HOME key as wake-up source on kzm9g board
* Use generic names for device nodes on SH Mobile SoCs and boards
* Add "nor-jedec" compatible value to SH Mobile boards
* Add IRQC clock to r8a73a4, r8a779* SoCs
* Remove MSIOF address from r8a7790 and r8a7791 SoCs
Pulled into next/dt, thanks!
Please follow-up with a change for the nor-jedec property once that discussion has concluded.
Arnd
Quoted 10 lines · Arnd Bergmann
Quoted 8 lines · On Thursday 14 May 2015 10:06:56 Simon Horman wrote:
Renesas ARM Based SoC DT Updates for v4.2
* Enable DMA for HSUSB on r8a7790 and r8a7791 SoCs
* Configure the HOME key as wake-up source on kzm9g board
* Use generic names for device nodes on SH Mobile SoCs and boards
* Add "nor-jedec" compatible value to SH Mobile boards
* Add IRQC clock to r8a73a4, r8a779* SoCs
* Remove MSIOF address from r8a7790 and r8a7791 SoCs
Quoted 4 lines
Pulled into next/dt, thanks!
Please follow-up with a change for the nor-jedec property once that discussion has concluded.
Thanks Arnd, will do.