usb: renesas_usbhs: add support for SUDMAC
Subsystems (4)
PATCH 2/2 usb: renesas_usbhs: add support for SUDMAC
The SUDMAC uses 8-bit width only. So, when the driver uses SUDMAC, we have to clear the MBW_32.
--- drivers/usb/renesas_usbhs/fifo.c | 6 +++++- include/linux/usb/renesas_usbhs.h | 1 + 2 files changed, 6 insertions(+), 1 deletions(-)
drivers/usb/renesas_usbhs/fifo.c +5 -1
@@ -23,6 +23,7 @@#define usbhsf_get_cfifo (p) (&((p)->fifo_info.cfifo))#define usbhsf_get_d0fifo (p) (&((p)->fifo_info.d0fifo))#define usbhsf_get_d1fifo (p) (&((p)->fifo_info.d1fifo)) +#define usbhsf_is_cfifo (p, f) (usbhsf_get_cfifo(p) = f)#define usbhsf_fifo_is_busy (f) ((f)->pipe)/* see usbhs_pipe_select_fifo */
@@ -304,7 +305,10 @@ static int usbhsf_fifo_select(struct usbhs_pipe *pipe, }/* "base" will be used below */ -usbhs_write (priv, fifo->sel, base |MBW_32 ); +if (usbhs_get_dparam (priv, has_sudmac) && !usbhsf_is_cfifo (priv, fifo)) +usbhs_write (priv, fifo->sel, base); +else +usbhs_write (priv, fifo->sel, base |MBW_32 );/* check ISEL and CURPIPE value */ while (timeout--) {
include/linux/usb/renesas_usbhs.h +1 -0
@@ -141,6 +141,7 @@ struct renesas_usbhs_driver_param {* option: */ u32 has_otg:1; /* for controlling PWEN/EXTLP */ + u32 has_sudmac:1; /* for SUDMAC */ };/*
Signature · 1 line
1.7.1
PATCH 2/2 usb: renesas_usbhs: add support for generic PHY
This patch adds support for the generic PHY. The generic PHY will be used in multiplatform environment.
--- drivers/usb/renesas_usbhs/common.h | 1 + drivers/usb/renesas_usbhs/rcar2.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+)
drivers/usb/renesas_usbhs/common.h +1 -0
@@ -270,6 +270,7 @@ struct usbhs_priv {struct usbhs_fifo_info fifo_info;struct usb_phy *usb_phy; +struct phy *phy; };/*
drivers/usb/renesas_usbhs/rcar2.c +29 -0
@@ -12,6 +12,7 @@#include <linux/gpio.h> #include <linux/of_gpio.h> +#include <linux/phy/phy.h> #include <linux/platform_data/gpio-rcar.h> #include <linux/usb/phy.h> #include "common.h"
@@ -21,6 +22,16 @@ static int usbhs_rcar2_hardware_init(struct platform_device *pdev) {struct usbhs_priv *priv =usbhs_pdev_to_priv (pdev); +if (IS_ENABLED (CONFIG_GENERIC_PHY )) { +struct phy *phy =phy_get (&pdev->dev,"usb" ); + +if (IS_ERR (phy)) +return PTR_ERR (phy); + + priv->phy = phy; +return 0 ; + } +if (IS_ENABLED (CONFIG_USB_PHY )) {struct usb_phy *usb_phy =usb_get_phy_dev (&pdev->dev,0 );
@@ -38,6 +49,11 @@ static int usbhs_rcar2_hardware_exit(struct platform_device *pdev) {struct usbhs_priv *priv =usbhs_pdev_to_priv (pdev); +if (priv->phy) { +phy_put (priv->phy); + priv->phy =NULL ; + } +if (priv->usb_phy) {usb_put_phy (priv->usb_phy); priv->usb_phy =NULL ;
@@ -52,6 +68,19 @@ static int usbhs_rcar2_power_ctrl(struct platform_device *pdev,struct usbhs_priv *priv =usbhs_pdev_to_priv (pdev);int retval = -ENODEV ; +if (priv->phy) { +if (enable) { + retval =phy_init (priv->phy); + +if (!retval) + retval =phy_power_on (priv->phy); + }else { +phy_power_off (priv->phy); +phy_exit (priv->phy); + retval =0 ; + } + } +if (priv->usb_phy) {if (enable) { retval =usb_phy_init (priv->usb_phy);
Signature · 1 line
1.7.9.5
PATCH 2/2 usb: renesas_usbhs: add support for requesting DT DMA
In reply to Shimoda, YoshihiroThis patch adds dma_request_slave_channel_reason() calling to request dma slave channels for multiplatform environment.
--- .../devicetree/bindings/usb/renesas_usbhs.txt | 2 ++ drivers/usb/renesas_usbhs/fifo.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/usb/renesas_usbhs.txt +2 -0
@@ -14,6 +14,8 @@ Optional properties: function should be enabled - phys: phandle + phy specifier pair - phy-names: must be "usb" + - dmas: Must contain a list of references to DMA specifiers. + - dma-names : Must contain a list of DMA names, "tx" or "rx". Example: usbhs: usb@e6590000 {
drivers/usb/renesas_usbhs/fifo.c +10 -1
@@ -1069,12 +1069,21 @@ static void usbhsf_dma_init_pdev(struct usbhs_fifo *fifo) &fifo->rx_slave); } +static void usbhsf_dma_init_dt (struct device *dev,struct usbhs_fifo *fifo) +{ + fifo->tx_chan =dma_request_slave_channel_reason (dev,"tx" ); + fifo->rx_chan =dma_request_slave_channel_reason (dev,"rx" ); +} +static void usbhsf_dma_init (struct usbhs_priv *priv,struct usbhs_fifo *fifo) {struct device *dev =usbhs_priv_to_dev (priv); -usbhsf_dma_init_pdev (fifo); +if (dev->of_node) +usbhsf_dma_init_dt (dev, fifo); +else +usbhsf_dma_init_pdev (fifo);if (fifo->tx_chan || fifo->rx_chan) dev_dbg(dev, "enable DMAEngine (%s%s%s)\n",
Signature · 1 line
1.7.9.5
Re: [PATCH 2/2] usb: renesas_usbhs: add support for requesting DT DMA
In reply to Shimoda, YoshihiroHi Shimoda-san,
Quoted 8 lines · Yoshihiro Shimoda
This patch adds
dma_request_slave_channel_reason()calling to request dma slave channels for multiplatform environment.Signed-off-by Yoshihiro Shimoda <[email protected]>--- .../devicetree/bindings/usb/renesas_usbhs.txt | 2 ++ drivers/usb/renesas_usbhs/fifo.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
I have observed what appears to be a regression caused by this patch when booting a kernel built using shmobile_defconfig on the koelsch and lager boards.
I noticed this problem while testing next-20150129.
I have provided boot logs at the end of this email.
Quoted 31 lines
Documentation/devicetree/bindings/usb/renesas_usbhs.txt +2
-0@@ -14,6 +14,8 @@ Optional properties: function should be enabled - phys: phandle + phy specifier pair - phy-names: must be "usb" + - dmas: Must contain a list of references to DMA specifiers. + - dma-names : Must contain a list of DMA names, "tx" or "rx". Example: usbhs: usb@e6590000 {drivers/usb/renesas_usbhs/fifo.c +6
-0@@ -1069,12 +1069,21 @@ static void usbhsf_dma_init_pdev(struct usbhs_fifo *fifo) &fifo->rx_slave); } +static void usbhsf_dma_init_dt (struct device *dev,struct usbhs_fifo *fifo) +{ + fifo->tx_chan =dma_request_slave_channel_reason (dev,"tx" ); + fifo->rx_chan =dma_request_slave_channel_reason (dev,"rx" ); +} +static void usbhsf_dma_init (struct usbhs_priv *priv,struct usbhs_fifo *fifo) {
drivers/usb/renesas_usbhs/fifo.c static void usbhsf_dma_init_pdev(struct usbhs_fifo *fifo) · line 1089
Quoted 10 lines
drivers/usb/renesas_usbhs/fifo.c +4
-1struct device *dev =usbhs_priv_to_dev (priv); -usbhsf_dma_init_pdev (fifo); +if (dev->of_node) +usbhsf_dma_init_dt (dev, fifo); +else +usbhsf_dma_init_pdev (fifo);if (fifo->tx_chan || fifo->rx_chan) dev_dbg(dev, "enable DMAEngine (%s%s%s)\n",
Koelsch
-------
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 3.19.0-rc5-00129-gabd2dbf ([email protected]) (gcc version 4.6.3 (GCC) ) #959 SMP Thu Jan 29 20:40:07 JST 2015
CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), crc5307d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine model: Koelsch
Ignoring memory block 0x200000000 - 0x240000000
debug: ignoring loglevel setting.
Memory policy: Data cache writealloc
On node 0 totalpages: 262144free_area_init_node: node 0, pgdat c0612a80, node_mem_map eeff9000
Normal zone: 1520 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 194560 pages, LIFO batch:31
HighMem zone: 67584 pages, LIFO batch:15
PERCPU: Embedded 7 pages/cpu @eefca000 s7552 r0 d21120 u32768
pcpu-alloc: s7552 r0 d21120 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
Kernel command line: ignore_loglevel rw root=/dev/nfs ip=dhcp
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1032964K/1048576K available (4524K kernel code, 264K rwdata, 1128K rodata, 268K init, 191K bss, 15612K reserved, 0K cma-reserved, 270336K highmem) Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
.text : 0xc0008000 - 0xc058e024 (5657 kB)
.init : 0xc058f000 - 0xc05d2000 ( 268 kB)
.data : 0xc05d2000 - 0xc06143a0 ( 265 kB)
.bss : 0xc06143a0 - 0xc064407c ( 192 kB)Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 10.00MHz (virt).sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 3435973836800ns Switching to timer-based delay loop, resolution 100ns
Console: colour dummy device 80x30
console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj0000)pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1024
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x40471350 - 0x404713a8
Unable to boot CPU1 when MD21 is set
CPU1: failed to boot: -524
Brought up 1 CPUs
SMP: Total of 1 processors activated (20.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocationsrenesas_irqc e61c0000.interrupt-controller: driving 10 irqs
sh-pfc e6060000.pfc: r8a77910_pfc support registered
No ATAGs?
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
platform regulator@0: Driver reg-fixed-voltage requests probe deferral
platform regulator@2: Driver reg-fixed-voltage requests probe deferral
platform regulator@4: Driver reg-fixed-voltage requests probe deferral gpio-regulator regulator@1: Could not obtain regulator setting GPIOs: -517
platform regulator@1: Driver gpio-regulator requests probe deferral
gpio-regulator regulator@3: Could not obtain regulator setting GPIOs: -517
platform regulator@3: Driver gpio-regulator requests probe deferral
gpio-regulator regulator@5: Could not obtain regulator setting GPIOs: -517
platform regulator@5: Driver gpio-regulator requests probe deferral
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-sh_mobile e60b0000.i2c: I2C adapter 6, bus speed 100000 Hz
media: Linux media interface: v0.10
Linux video capture interface: v2.00sh_cmt ffca0000.timer: ch0: used for clock eventssh_cmt ffca0000.timer: ch1: used as clock source
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
futex hash table entries: 512 (order: 3, 32768 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registerednfs4filelayout_init: NFSv4 File Layout Driver Registering...
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)gpio_rcar e6050000.gpio: driving 32 GPIOsgpio_rcar e6051000.gpio: driving 32 GPIOsgpio_rcar e6052000.gpio: driving 32 GPIOsgpio_rcar e6053000.gpio: driving 32 GPIOsgpio_rcar e6054000.gpio: driving 32 GPIOsgpio_rcar e6055000.gpio: driving 32 GPIOsgpio_rcar e6055400.gpio: driving 32 GPIOsgpio_rcar e6055800.gpio: driving 26 GPIOs
pci-rcar-gen2 ee090000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00pci_bus 0000:00: root bus resource [io 0xee080000-0xee0810ff]pci_bus 0000:00: root bus resource [mem 0xee080000-0xee0810ff]pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [1033:0000] type 00 class 0x060000
pci 0000:00:00.0: reg 0x10: [mem 0xee090800-0xee090bff]
pci 0000:00:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:00:01.0: [1033:0035] type 00 class 0x0c0310
pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0000:00:01.0: supports D1 D2
pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus0: Fast back to back transfers disabledpci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:00:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:00:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:01.0: BAR 0: assigned [mem 0xee080000-0xee080fff]
pci 0000:00:02.0: BAR 0: assigned [mem 0xee081000-0xee0810ff]
pci-rcar-gen2 ee0d0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0d0000.pci: PCI host bridge to bus 0000:01pci_bus 0000:01: root bus resource [io 0xee0c0000-0xee0c10ff]pci_bus 0000:01: root bus resource [mem 0xee0c0000-0xee0c10ff]pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
pci 0000:01:00.0: [1033:0000] type 00 class 0x060000
pci 0000:01:00.0: reg 0x10: [mem 0xee0d0800-0xee0d0bff]
pci 0000:01:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:01:01.0: [1033:0035] type 00 class 0x0c0310
pci 0000:01:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0000:01:01.0: supports D1 D2
pci 0000:01:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0000:01:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0000:01:02.0: supports D1 D2
pci 0000:01:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus1: Fast back to back transfers disabledpci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
pci 0000:01:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:01:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:01:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:01.0: BAR 0: assigned [mem 0xee0c0000-0xee0c0fff]
pci 0000:01:02.0: BAR 0: assigned [mem 0xee0c1000-0xee0c10ff]
rcar-pcie fe000000.pcie: PCIe link down
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
e6e60000.serial: ttySC6 at MMIO 0xe6e60000 (irq = 107, base_baud = 0) is a scif console [ttySC6] enabled
e6e68000.serial: ttySC7 at MMIO 0xe6e68000 (irq = 108, base_baud = 0) is a scif [drm] Initialized drm 1.1.0 20060810
rcar-du feb00000.display: Failed to initialize drm fb helper.
rcar-du feb00000.display: failed to initialize DRM/KMS
rcar-du: probe of feb00000.display failed with error -22
scsi host0: sata_rcar
ata1: SATA max UDMA/133 irq 110renesas_spi e6b10000.spi: dma_request_slave_channel_compat failedrenesas_spi e6b10000.spi: DMA not available, using PIO
m25p80 spi0.0: s25fl512s (65536 Kbytes)
3 ofpart partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000080000 : "loader"
0x000000080000-0x000000100000 : "bootenv"
0x000000100000-0x000004000000 : "data"renesas_spi e6b10000.spi: probedspi_sh_msiof e6e20000.spi: dma_request_slave_channel_compat failedspi_sh_msiof e6e20000.spi: DMA not available, using PIO
libphy: sh_mii: probed
sh-eth ee700000.ethernet eth0: Base address at 0xee700000, 2e:09:0a:00:6d:00, IRQ 109.ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:00:02.0: EHCI Host Controller
ehci-pci 0000:00:02.0: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:02.0: irq 120, io mem 0xee081000
ehci-pci 0000:00:02.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-pci 0000:01:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:01:02.0: EHCI Host Controller
ehci-pci 0000:01:02.0: new USB bus registered, assigned bus number 2
ehci-pci 0000:01:02.0: irq 121, io mem 0xee0c1000
ehci-pci 0000:01:02.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detectedohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:00:01.0: OHCI PCI host controller
ohci-pci 0000:00:01.0: new USB bus registered, assigned bus number 3
ohci-pci 0000:00:01.0: irq 120, io mem 0xee080000
ohci-pci 0000:00:01.0: init err (00002edf 0000)
ohci-pci 0000:00:01.0: can't start
ohci-pci 0000:00:01.0: startup error -75
ohci-pci 0000:00:01.0: USB bus 3 deregistered
ohci-pci 0000:00:01.0: init 0000:00:01.0 fail, -75
ohci-pci: probe of 0000:00:01.0 failed with error -75
ohci-pci 0000:01:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:01:01.0: OHCI PCI host controller
ohci-pci 0000:01:01.0: new USB bus registered, assigned bus number 3
ohci-pci 0000:01:01.0: irq 121, io mem 0xee0c0000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
sh-pfc e6060000.pfc: pin GP_7_23 already requested by ee090000.pci; cannot claim for e6590000.usb sh-pfc e6060000.pfc: pin-247 (e6590000.usb) status -22
sh-pfc e6060000.pfc: could not request pin 247 (GP_7_23) from group usb0 on device sh-pfc renesas_usbhs e6590000.usb: Error applying setting, reverse things back of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty renesas_usbhs e6590000.usb: gadget probedrenesas_usbhs e6590000.usb: platform init failed.
ata1: link resume succeeded after 1 retries
Unable to handle kernel NULL pointer dereference at virtual address 0000000d pgd = c0004000 [0000000d] *pgd 000000 Internal error: Oops: 5 [#1] SMP ARM CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.19.0-rc5-00129-gabd2dbf #959 Hardware name: Generic R8A7791 (Flattened Device Tree) task: ee84bb40 ti: ee84c000 task.ti: ee84c000 PC is at dma_release_channel+0x18/0xbc LR is at dma_release_channel+0x18/0xbc pc : [<c01e7fe8>] lr : [<c01e7fe8>] psr: 60000113
sp : ee84dd78 ip : ee84dd78 fp : ee84dd8c
r10: c058f5d4 r9 : c05ce67c r8 : 00000024
r7 : ee303010 r6 : 00000000 r5 : ee303100 r4 : ffffffed r3 : 00000003 r2 : ee84dd60 r1 : 0002e30a r0 : c05f8e90
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5307d Table: 4000406a DAC: 00000015 Process swapper/0 (pid: 1, stack limit = 0xee84c238)
Stack: (0xee84dd78 to 0xee84e000)
dd60: 00000000 ee303100
dd80: ee84ddb4 ee84dd90 c02d06c0 c01e7fdc 00000003 ee303010 ee949600 ffffffed
dda0: ee949610 00000000 ee84dde4 ee84ddb8 c02cd524 c02d069c ee949618 00000004
ddc0: ee949610 ffffffed ee949610 c0605bd0 c0605bd0 c05c4c78 ee84de04 ee84dde8
dde0: c024b54c c02cd1a8 c024b4fc ee949610 00000000 00000000 ee84de24 ee84de08
de00: c024a010 c024b508 ee949610 ee949644 c0605bd0 00000000 ee84de44 ee84de28
de20: c024a1c4 c0249f4c c024a15c c0605bd0 ee84de48 c024a15c ee84de6c ee84de48
de40: c024895c c024a168 ee82db5c ee8f3834 c0605bd0 eeb31a00 c0600d78 00000000
de60: ee84de7c ee84de70 c024a2e0 c024890c ee84dea4 ee84de80 c02490ec c024a2cc
de80: c056d039 ee84de90 c0605bd0 ee307300 00000000 c05c4c78 ee84debc ee84dea8
dea0: c024a9f0 c0249044 c05ab770 ee307300 ee84decc ee84dec0 c024bdb4 c024a958
dec0: ee84dedc ee84ded0 c05ab788 c024bd70 ee84df54 ee84dee0 c058fdc8 c05ab77c
dee0: 60000153 ef7fcce1 ee84df0c ee84def8 c058f500 c01a9c94 c058f5d4 c056e1da
df00: ee84df54 ee84df10 c003c47c c058f5e0 ef7fcce8 00000006 00000006 000000aa
df20: c058c0e8 00000000 ee84df54 00000006 00000006 c05c54d0 c05c54b0 c06143c0
df40: 000000aa c05ce67c ee84df94 ee84df58 c058ff84 c058fccc 00000006 00000006
df60: c058f5d4 78f7f1ef ffffffff 00000000 c0469290 00000000 00000000 00000000
df80: 00000000 00000000 ee84dfac ee84df98 c04692a0 c058fe84 ee84c000 00000000
dfa0: 00000000 ee84dfb0 c000ebf8 c046929c 00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 9d5cdd68 bead4f78
Backtrace: [<c01e7fd0>] (dma_release_channel) from [<c02d06c0>] (usbhs_fifo_remove+0x30/0x60) r5:ee303100 r4:00000000 [<c02d0690>] (usbhs_fifo_remove) from [<c02cd524>] (usbhs_probe+0x388/0x3f0) r8:00000000 r7:ee949610 r6:ffffffed r5:ee949600 r4:ee303010 r3:00000003 [<c02cd19c>] (usbhs_probe) from [<c024b54c>] (platform_drv_probe+0x50/0x98) r8:c05c4c78 r7:c0605bd0 r6:c0605bd0 r5:ee949610 r4:ffffffed [<c024b4fc>] (platform_drv_probe) from [<c024a010>] (driver_probe_device+0xd0/0x21c) r6:00000000 r5:00000000 r4:ee949610 r3:c024b4fc [<c0249f40>] (driver_probe_device) from [<c024a1c4>] (__driver_attach+0x68/0x8c) r7:00000000 r6:c0605bd0 r5:ee949644 r4:ee949610 [<c024a15c>] (__driver_attach) from [<c024895c>] (bus_for_each_dev+0x5c/0x94) r6:c024a15c r5:ee84de48 r4:c0605bd0 r3:c024a15c [<c0248900>] (bus_for_each_dev) from [<c024a2e0>] (driver_attach+0x20/0x28) r7:00000000 r6:c0600d78 r5:eeb31a00 r4:c0605bd0 [<c024a2c0>] (driver_attach) from [<c02490ec>] (bus_add_driver+0xb4/0x1bc) [<c0249038>] (bus_add_driver) from [<c024a9f0>] (driver_register+0xa4/0xe8) r7:c05c4c78 r6:00000000 r5:ee307300 r4:c0605bd0 [<c024a94c>] (driver_register) from [<c024bdb4>] (__platform_driver_register+0x50/0x64) r5:ee307300 r4:c05ab770 [<c024bd64>] (__platform_driver_register) from [<c05ab788>] (renesas_usbhs_driver_init+0x18/0x20) [<c05ab770>] (renesas_usbhs_driver_init) from [<c058fdc8>] (do_one_initcall+0x108/0x1b8) [<c058fcc0>] (do_one_initcall) from [<c058ff84>] (kernel_init_freeable+0x10c/0x1d8) r9:c05ce67c r8:000000aa r7:c06143c0 r6:c05c54b0 r5:c05c54d0 r4:00000006 [<c058fe78>] (kernel_init_freeable) from [<c04692a0>] (kernel_init+0x10/0xec) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0469290 r4:00000000 [<c0469290>] (kernel_init) from [<c000ebf8>] (ret_from_fork+0x14/0x3c) r4:00000000 r3:ee84c000 Code: e24cb004 e1a04000 e59f0094 eb0a1caa (e5943020) ---[ end trace c4f5636aa673cc02 ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
Lager
-----
Starting kernel ...
Booting Linux on physical CPU 0x0
Linux version 3.19.0-rc5-00129-gabd2dbf ([email protected]) (gcc version 4.6.3 (GCC) ) #961 SMP Thu Jan 29 20:46:17 JST 2015
CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), crc5307d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine model: Lager
Ignoring memory block 0x140000000 - 0x200000000
debug: ignoring loglevel setting.
Memory policy: Data cache writealloc
On node 0 totalpages: 262144free_area_init_node: node 0, pgdat c0612a80, node_mem_map eeff9000
Normal zone: 1520 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 194560 pages, LIFO batch:31
HighMem zone: 67584 pages, LIFO batch:15
PERCPU: Embedded 7 pages/cpu @eef9a000 s7552 r0 d21120 u32768
pcpu-alloc: s7552 r0 d21120 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
Kernel command line: console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1032784K/1048576K available (4524K kernel code, 264K rwdata, 1128K rodata, 268K init, 191K bss, 15792K reserved, 0K cma-reserved, 270336K highmem) Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
.text : 0xc0008000 - 0xc058e024 (5657 kB)
.init : 0xc058f000 - 0xc05d2000 ( 268 kB)
.data : 0xc05d2000 - 0xc06143a0 ( 265 kB)
.bss : 0xc06143a0 - 0xc064407c ( 192 kB)Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 10.00MHz (virt).sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 3435973836800ns Switching to timer-based delay loop, resolution 100ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj0000)pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1535
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x40471350 - 0x404713a8
CPU1: update cpu_capacity 1535
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: update cpu_capacity 1535
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: update cpu_capacity 1535
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
CPU4: failed to boot: -22
CPU5: failed to boot: -22
CPU6: failed to boot: -22
CPU7: failed to boot: -22
Brought up 4 CPUs
SMP: Total of 4 processors activated (80.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocationsrenesas_irqc e61c0000.interrupt-controller: driving 4 irqs
sh-pfc e6060000.pfc: r8a77900_pfc support registered
No ATAGs?
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
platform regulator@1: Driver reg-fixed-voltage requests probe deferral
platform regulator@3: Driver reg-fixed-voltage requests probe deferral gpio-regulator regulator@2: Could not obtain regulator setting GPIOs: -517
platform regulator@2: Driver gpio-regulator requests probe deferral
gpio-regulator regulator@4: Could not obtain regulator setting GPIOs: -517
platform regulator@4: Driver gpio-regulator requests probe deferral
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-sh_mobile e6500000.i2c: I2C adapter 4, bus speed 100000 Hz
i2c-sh_mobile e6510000.i2c: I2C adapter 5, bus speed 100000 Hz
i2c-sh_mobile e6520000.i2c: I2C adapter 6, bus speed 100000 Hz
i2c-sh_mobile e60b0000.i2c: I2C adapter 7, bus speed 100000 Hz
media: Linux media interface: v0.10
Linux video capture interface: v2.00sh_cmt ffca0000.timer: ch0: used for clock eventssh_cmt ffca0000.timer: ch1: used as clock source
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
futex hash table entries: 2048 (order: 5, 131072 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registerednfs4filelayout_init: NFSv4 File Layout Driver Registering...
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)gpio_rcar e6050000.gpio: driving 32 GPIOsgpio_rcar e6051000.gpio: driving 32 GPIOsgpio_rcar e6052000.gpio: driving 32 GPIOsgpio_rcar e6053000.gpio: driving 32 GPIOsgpio_rcar e6054000.gpio: driving 32 GPIOsgpio_rcar e6055000.gpio: driving 32 GPIOs
pci-rcar-gen2 ee090000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00pci_bus 0000:00: root bus resource [io 0xee080000-0xee0810ff]pci_bus 0000:00: root bus resource [mem 0xee080000-0xee0810ff]pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [1033:0000] type 00 class 0x060000
pci 0000:00:00.0: reg 0x10: [mem 0xee090800-0xee090bff]
pci 0000:00:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:00:01.0: [1033:0035] type 00 class 0x0c0310
pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0000:00:01.0: supports D1 D2
pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus0: Fast back to back transfers disabledpci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:00:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:00:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:01.0: BAR 0: assigned [mem 0xee080000-0xee080fff]
pci 0000:00:02.0: BAR 0: assigned [mem 0xee081000-0xee0810ff]
pci-rcar-gen2 ee0b0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0b0000.pci: PCI host bridge to bus 0000:01pci_bus 0000:01: root bus resource [io 0xee0a0000-0xee0a10ff]pci_bus 0000:01: root bus resource [mem 0xee0a0000-0xee0a10ff]pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
pci 0000:01:00.0: [1033:0000] type 00 class 0x060000
pci 0000:01:00.0: reg 0x10: [mem 0xee0b0800-0xee0b0bff]
pci 0000:01:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:01:01.0: [1033:0035] type 00 class 0x0c0310
pci 0000:01:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0000:01:01.0: supports D1 D2
pci 0000:01:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0000:01:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0000:01:02.0: supports D1 D2
pci 0000:01:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus1: Fast back to back transfers disabledpci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
pci 0000:01:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:01:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:01:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:01.0: BAR 0: assigned [mem 0xee0a0000-0xee0a0fff]
pci 0000:01:02.0: BAR 0: assigned [mem 0xee0a1000-0xee0a10ff]
pci-rcar-gen2 ee0d0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0d0000.pci: PCI host bridge to bus 0000:02pci_bus 0000:02: root bus resource [io 0xee0c0000-0xee0c10ff]pci_bus 0000:02: root bus resource [mem 0xee0c0000-0xee0c10ff]pci_bus 0000:02: No busn resource found for root bus, will use [bus 02-ff]
pci 0000:02:00.0: [1033:0000] type 00 class 0x060000
pci 0000:02:00.0: reg 0x10: [mem 0xee0d0800-0xee0d0bff]
pci 0000:02:00.0: reg 0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:02:01.0: [1033:0035] type 00 class 0x0c0310
pci 0000:02:01.0: reg 0x10: [mem 0x00000000-0x00000fff]
pci 0000:02:01.0: supports D1 D2
pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:02:02.0: [1033:00e0] type 00 class 0x0c0320
pci 0000:02:02.0: reg 0x10: [mem 0x00000000-0x000000ff]
pci 0000:02:02.0: supports D1 D2
pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus2: Fast back to back transfers disabledpci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
pci 0000:02:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:02:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:02:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:02:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:02:01.0: BAR 0: assigned [mem 0xee0c0000-0xee0c0fff]
pci 0000:02:02.0: BAR 0: assigned [mem 0xee0c1000-0xee0c10ff]
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
e6c40000.serial: ttySC6 at MMIO 0xe6c40000 (irq = 101, base_baud = 0) is a scifa console [ttySC6] enabled
e6c50000.serial: ttySC7 at MMIO 0xe6c50000 (irq = 102, base_baud = 0) is a scifa [drm] Initialized drm 1.1.0 20060810
rcar-du feb00000.display: fb0: frame buffer device
rcar-du feb00000.display: registered panic notifier
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
[drm] Initialized rcar-du 1.0.0 20130110 on minor 0
scsi host0: sata_rcar
ata1: SATA max UDMA/133 irq 104renesas_spi e6b10000.spi: dma_request_slave_channel_compat failedrenesas_spi e6b10000.spi: DMA not available, using PIO
m25p80 spi0.0: s25fl512s (65536 Kbytes)
3 ofpart partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "loader"
0x000000040000-0x000000440000 : "user"
0x000000440000-0x000004000000 : "flash"renesas_spi e6b10000.spi: probedspi_sh_msiof e6e10000.spi: dma_request_slave_channel_compat failedspi_sh_msiof e6e10000.spi: DMA not available, using PIO
libphy: sh_mii: probed
sh-eth ee700000.ethernet eth0: Base address at 0xee700000, 2e:09:0a:00:6e:71, IRQ 103.ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:00:02.0: EHCI Host Controller
ehci-pci 0000:00:02.0: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:02.0: irq 117, io mem 0xee081000
ehci-pci 0000:00:02.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-pci 0000:01:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:01:02.0: EHCI Host Controller
ehci-pci 0000:01:02.0: new USB bus registered, assigned bus number 2
ehci-pci 0000:01:02.0: irq 118, io mem 0xee0a1000
ehci-pci 0000:01:02.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-pci 0000:02:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:02:02.0: EHCI Host Controller
ehci-pci 0000:02:02.0: new USB bus registered, assigned bus number 3
ehci-pci 0000:02:02.0: irq 119, io mem 0xee0c1000
ehci-pci 0000:02:02.0: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detectedohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:00:01.0: OHCI PCI host controller
ohci-pci 0000:00:01.0: new USB bus registered, assigned bus number 4
ohci-pci 0000:00:01.0: irq 117, io mem 0xee080000
ohci-pci 0000:00:01.0: init err (00002edf 0000)
ohci-pci 0000:00:01.0: can't start
ohci-pci 0000:00:01.0: startup error -75
ohci-pci 0000:00:01.0: USB bus 4 deregistered
ohci-pci 0000:00:01.0: init 0000:00:01.0 fail, -75
ohci-pci: probe of 0000:00:01.0 failed with error -75
ohci-pci 0000:01:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:01:01.0: OHCI PCI host controller
ohci-pci 0000:01:01.0: new USB bus registered, assigned bus number 4
ohci-pci 0000:01:01.0: irq 118, io mem 0xee0a0000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
ohci-pci 0000:02:01.0: enabling device (0140 -> 0142)
ata1: link resume succeeded after 1 retries
ohci-pci 0000:02:01.0: OHCI PCI host controller
ohci-pci 0000:02:01.0: new USB bus registered, assigned bus number 5
ohci-pci 0000:02:01.0: irq 119, io mem 0xee0c0000
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
sh-pfc e6060000.pfc: pin GP_5_19 already requested by ee090000.pci; cannot claim for e6590000.usb
ata1: SATA link down (SStatus 0 SControl 300)
sh-pfc e6060000.pfc: pin-179 (e6590000.usb) status -22
sh-pfc e6060000.pfc: could not request pin 179 (GP_5_19) from group usb0_ovc_vbus on device sh-pfc renesas_usbhs e6590000.usb: Error applying setting, reverse things back of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty of_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or empty renesas_usbhs e6590000.usb: gadget probedrenesas_usbhs e6590000.usb: platform init failed.
Unable to handle kernel NULL pointer dereference at virtual address 0000000d pgd = c0004000 [0000000d] *pgd 000000 Internal error: Oops: 5 [#1] SMP ARM CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager task: ee84bb40 ti: ee84c000 task.ti: ee84c000 PC is at dma_release_channel+0x18/0xbc LR is at dma_release_channel+0x18/0xbc pc : [<c01e7fe8>] lr : [<c01e7fe8>] psr: 60000113
sp : ee84dd78 ip : ee84dd78 fp : ee84dd8c
r10: c058f5d4 r9 : c05ce67c r8 : 00000024
r7 : edfec010 r6 : 00000000 r5 : edfec100 r4 : ffffffed r3 : 00000003 r2 : ee84dd60 r1 : 0002dfe4 r0 : c05f8e90
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5307d Table: 4000406a DAC: 00000015 Process swapper/0 (pid: 1, stack limit = 0xee84c238)
Stack: (0xee84dd78 to 0xee84e000)
dd60: 00000000 edfec100
dd80: ee84ddb4 ee84dd90 c02d06c0 c01e7fdc 00000003 edfec010 eea78e00 ffffffed
dda0: eea78e10 00000000 ee84dde4 ee84ddb8 c02cd524 c02d069c eea78e18 00000004
ddc0: eea78e10 ffffffed eea78e10 c0605bd0 c0605bd0 c05c4c78 ee84de04 ee84dde8
dde0: c024b54c c02cd1a8 c024b4fc eea78e10 00000000 00000000 ee84de24 ee84de08
de00: c024a010 c024b508 eea78e10 eea78e44 c0605bd0 00000000 ee84de44 ee84de28
de20: c024a1c4 c0249f4c c024a15c c0605bd0 ee84de48 c024a15c ee84de6c ee84de48
de40: c024895c c024a168 ee82d15c eea37f34 c0605bd0 ee153f00 c0600d78 00000000
de60: ee84de7c ee84de70 c024a2e0 c024890c ee84dea4 ee84de80 c02490ec c024a2cc
de80: c056d039 ee84de90 c0605bd0 edfe9240 00000000 c05c4c78 ee84debc ee84dea8
dea0: c024a9f0 c0249044 c05ab770 edfe9240 ee84decc ee84dec0 c024bdb4 c024a958
dec0: ee84dedc ee84ded0 c05ab788 c024bd70 ee84df54 ee84dee0 c058fdc8 c05ab77c
dee0: 60000113 ef7fccf7 ee84df0c ee84def8 c058f500 c01a9c94 c058f5d4 c056e1da
df00: ee84df54 ee84df10 c003c47c c058f5e0 ef7fccfe 00000006 00000006 000000aa
df20: c058c0e8 00000000 ee84df54 00000006 00000006 c05c54d0 c05c54b0 c06143c0
df40: 000000aa c05ce67c ee84df94 ee84df58 c058ff84 c058fccc 00000006 00000006
df60: c058f5d4 00041164 ffffffff 00000000 c0469290 00000000 00000000 00000000
df80: 00000000 00000000 ee84dfac ee84df98 c04692a0 c058fe84 ee84c000 00000000
dfa0: 00000000 ee84dfb0 c000ebf8 c046929c 00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 5303c810 7110f809
Backtrace: [<c01e7fd0>] (dma_release_channel) from [<c02d06c0>] (usbhs_fifo_remove+0x30/0x60) r5:edfec100 r4:00000000 [<c02d0690>] (usbhs_fifo_remove) from [<c02cd524>] (usbhs_probe+0x388/0x3f0) r8:00000000 r7:eea78e10 r6:ffffffed r5:eea78e00 r4:edfec010 r3:00000003 [<c02cd19c>] (usbhs_probe) from [<c024b54c>] (platform_drv_probe+0x50/0x98) r8:c05c4c78 r7:c0605bd0 r6:c0605bd0 r5:eea78e10 r4:ffffffed [<c024b4fc>] (platform_drv_probe) from [<c024a010>] (driver_probe_device+0xd0/0x21c) r6:00000000 r5:00000000 r4:eea78e10 r3:c024b4fc [<c0249f40>] (driver_probe_device) from [<c024a1c4>] (__driver_attach+0x68/0x8c) r7:00000000 r6:c0605bd0 r5:eea78e44 r4:eea78e10 [<c024a15c>] (__driver_attach) from [<c024895c>] (bus_for_each_dev+0x5c/0x94) r6:c024a15c r5:ee84de48 r4:c0605bd0 r3:c024a15c [<c0248900>] (bus_for_each_dev) from [<c024a2e0>] (driver_attach+0x20/0x28) r7:00000000 r6:c0600d78 r5:ee153f00 r4:c0605bd0 [<c024a2c0>] (driver_attach) from [<c02490ec>] (bus_add_driver+0xb4/0x1bc) [<c0249038>] (bus_add_driver) from [<c024a9f0>] (driver_register+0xa4/0xe8) r7:c05c4c78 r6:00000000 r5:edfe9240 r4:c0605bd0 [<c024a94c>] (driver_register) from [<c024bdb4>] (__platform_driver_register+0x50/0x64) r5:edfe9240 r4:c05ab770 [<c024bd64>] (__platform_driver_register) from [<c05ab788>] (renesas_usbhs_driver_init+0x18/0x20) [<c05ab770>] (renesas_usbhs_driver_init) from [<c058fdc8>] (do_one_initcall+0x108/0x1b8) [<c058fcc0>] (do_one_initcall) from [<c058ff84>] (kernel_init_freeable+0x10c/0x1d8) r9:c05ce67c r8:000000aa r7:c06143c0 r6:c05c54b0 r5:c05c54d0 r4:00000006 [<c058fe78>] (kernel_init_freeable) from [<c04692a0>] (kernel_init+0x10/0xec) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0469290 r4:00000000 [<c0469290>] (kernel_init) from [<c000ebf8>] (ret_from_fork+0x14/0x3c) r4:00000000 r3:ee84c000 Code: e24cb004 e1a04000 e59f0094 eb0a1caa (e5943020) ---[ end trace 06a71daccda9eecb ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
CPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager Backtrace: [<c0011854>] (dump_backtrace) from [<c00119f4>] (show_stack+0x18/0x1c) r6:c05da90c r5:00000002 r4:00000000 r3:00200040 [<c00119dc>] (show_stack) from [<c046ca18>] (dump_stack+0x74/0x90) [<c046c9a4>] (dump_stack) from [<c0014244>] (handle_IPI+0xcc/0x164) r4:c06147ac r3:c05e830c [<c0014178>] (handle_IPI) from [<c00093a8>] (gic_handle_irq+0x5c/0x64) r5:ee86df78 r4:f0002000 [<c000934c>] (gic_handle_irq) from [<c00125c0>] (__irq_svc+0x40/0x54) Exception stack(0xee86df78 to 0xee86dfc0)
df60: 00000000 00000000
df80: ee86dfd0 c001d980 c06141f0 c05da4f0 c0474304 c06147d4 4000406a 413fc0f2
dfa0: 00000000 ee86dfcc ee86dfd0 ee86dfc0 c000f6d4 c000f6d8 60000113 ffffffff
r6:ffffffff r5:60000113 r4:c000f6d8 r3:c000f6d4
[<c000f6a4>] (arch_cpu_idle) from [<c005186c>] (cpu_startup_entry+0xf4/0x170) [<c0051778>] (cpu_startup_entry) from [<c0013efc>] (secondary_start_kernel+0x114/0x130) [<c0013de8>] (secondary_start_kernel) from [<40009444>] (0x40009444)
r4:6e85006a r3:c000942c
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager Backtrace: [<c0011854>] (dump_backtrace) from [<c00119f4>] (show_stack+0x18/0x1c) r6:c05da90c r5:00000000 r4:00000000 r3:00200000 [<c00119dc>] (show_stack) from [<c046ca18>] (dump_stack+0x74/0x90) [<c046c9a4>] (dump_stack) from [<c0014244>] (handle_IPI+0xcc/0x164) r4:c06147ac r3:c05e830c [<c0014178>] (handle_IPI) from [<c00093a8>] (gic_handle_irq+0x5c/0x64) r5:c05d3f40 r4:f0002000 [<c000934c>] (gic_handle_irq) from [<c00125c0>] (__irq_svc+0x40/0x54) Exception stack(0xc05d3f40 to 0xc05d3f88)
3f40: 00000000 00000000 c05d3f98 c001d980 c06141f0 c05da4f0 c0474304 c06143c0 3f60: c05c56a8 413fc0f2 ef7fcc80 c05d3f94 c05d3f98 c05d3f88 c000f6d4 c000f6d8 3f80: 60000113 ffffffff
r6:ffffffff r5:60000113 r4:c000f6d8 r3:c000f6d4
[<c000f6a4>] (arch_cpu_idle) from [<c005186c>] (cpu_startup_entry+0xf4/0x170) [<c0051778>] (cpu_startup_entry) from [<c0469278>] (rest_init+0x68/0x80) [<c0469210>] (rest_init) from [<c058fc54>] (start_kernel+0x34c/0x3b8) [<c058f908>] (start_kernel) from [<40008074>] (0x40008074)
r10:00000000 r8:4000406a r7:c05de5cc r6:c05c56a4 r5:c05da47c r4:c0614754
CPU3: stopping
CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager Backtrace: [<c0011854>] (dump_backtrace) from [<c00119f4>] (show_stack+0x18/0x1c) r6:c05da90c r5:00000003 r4:00000000 r3:00200040 [<c00119dc>] (show_stack) from [<c046ca18>] (dump_stack+0x74/0x90) [<c046c9a4>] (dump_stack) from [<c0014244>] (handle_IPI+0xcc/0x164) r4:c06147ac r3:c05e830c [<c0014178>] (handle_IPI) from [<c00093a8>] (gic_handle_irq+0x5c/0x64) r5:ee86ff78 r4:f0002000 [<c000934c>] (gic_handle_irq) from [<c00125c0>] (__irq_svc+0x40/0x54) Exception stack(0xee86ff78 to 0xee86ffc0)
ff60: 00000000 00000000
ff80: ee86ffd0 c001d980 c06141f0 c05da4f0 c0474304 c06147d4 4000406a 413fc0f2
ffa0: 00000000 ee86ffcc ee86ffd0 ee86ffc0 c000f6d4 c000f6d8 60000113 ffffffff
r6:ffffffff r5:60000113 r4:c000f6d8 r3:c000f6d4
[<c000f6a4>] (arch_cpu_idle) from [<c005186c>] (cpu_startup_entry+0xf4/0x170) [<c0051778>] (cpu_startup_entry) from [<c0013efc>] (secondary_start_kernel+0x114/0x130) [<c0013de8>] (secondary_start_kernel) from [<40009444>] (0x40009444)
r4:6e85006a r3:c000942cdrm_kms_helper: panic occurred, switching back to text console
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
RE: [PATCH 2/2] usb: renesas_usbhs: add support for requesting DT DMA
In reply to Shimoda, YoshihiroHi Simon-san,
Quoted 20 lines
-----Original Message-----
From: Simon Horman [mailto:[email protected]]
Sent: Thursday, January 29, 2015 9:19 PM
To: yoshihiro shimoda
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 2/2] usb:renesas_usbhs: add support for requesting DT DMAHi Shimoda-san,
Quoted 8 lines · Yoshihiro Shimoda
This patch adds
dma_request_slave_channel_reason()calling to request dma slave channels for multiplatform environment.Signed-off-by Yoshihiro Shimoda <[email protected]>--- .../devicetree/bindings/usb/renesas_usbhs.txt | 2 ++ drivers/usb/renesas_usbhs/fifo.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
Quoted 3 lines
I have observed what appears to be a regression caused by this patch when booting a kernel built using
shmobile_defconfigon the koelsch and lager boards.
Thank you for the point. I should have tested using shmobile_defconfig. So, I will submit a patch to fix this issue.
Detail:
- Since the defconfig doesn't enable CONFIG_GENERIC_PHY and CONFIG_PHY_RCAR_GEN2, the driver's probe failed.
- Since we don't have dmac for usb at the moment if we use the defconfig, dma_request_slave_channel_reason() will fail with ERR_PTR(-ENODEV).
- But, the current renesas_usbhs driver will keeps ERR_PTR(-ENODEV) in tx_chan and rx_chan. So, if the driver calls usbhs_dma_quit, the driver calls dma_release_channel() with wrong argument (ERR_PTR(-ENODEV)).
- So, I will write a patch to set tx_chan and rx_chan to NULL in the usbhsf_dma_init_dt() if these values are IS_ERR.
Best regards,
Yoshihiro Shimoda
Quoted 796 lines
I noticed this problem while testing next-20150129.
I have provided boot logs at the end of this email.
Review
Quoted 2 lines
(quoted diff) +0
-0
b/Documentation/devicetree/bindings/usb/renesas_usbhs.txtQuoted 29 lines
index b08c903..61b045b 100644
Documentation/devicetree/bindings/usb/renesas_usbhs.txt +2
-0@@ -14,6 +14,8 @@ Optional properties: function should be enabled - phys: phandle + phy specifier pair - phy-names: must be "usb" + - dmas: Must contain a list of references to DMA specifiers. + - dma-names : Must contain a list of DMA names, "tx" or "rx". Example: usbhs: usb@e6590000 {drivers/usb/renesas_usbhs/fifo.c +6
-0@@ -1069,12 +1069,21 @@ static void usbhsf_dma_init_pdev(struct usbhs_fifo *fifo) &fifo->rx_slave); } +static void usbhsf_dma_init_dt (struct device *dev,struct usbhs_fifo *fifo) +{ + fifo->tx_chan =dma_request_slave_channel_reason (dev,"tx" ); + fifo->rx_chan =dma_request_slave_channel_reason (dev,"rx" ); +} +static void usbhsf_dma_init (struct usbhs_priv *priv,struct usbhs_fifo *fifo) {drivers/usb/renesas_usbhs/fifo.c static void usbhsf_dma_init_pdev(struct usbhs_fifo *fifo) · line 1089
Quoted 10 lines
drivers/usb/renesas_usbhs/fifo.c +4
-1struct device *dev =usbhs_priv_to_dev (priv); -usbhsf_dma_init_pdev (fifo); +if (dev->of_node) +usbhsf_dma_init_dt (dev, fifo); +else +usbhsf_dma_init_pdev (fifo);if (fifo->tx_chan || fifo->rx_chan) dev_dbg(dev, "enable DMAEngine (%s%s%s)\n",Koelsch
-------Starting kernel ...
Booting Linux on physical CPU
0x0
Linux version 3.19.0-rc5-00129-gabd2dbf ([email protected]) (gcc version 4.6.3 (GCC) ) #959 SMP Thu Jan 29 20:40:07 JST 2015
CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), crc5307d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine model: Koelsch
Ignoring memory block0x200000000-0x240000000
debug: ignoring loglevel setting.
Memory policy: Data cache writealloc
On node 0 totalpages: 262144free_area_init_node: node 0, pgdatc0612a80,node_mem_mapeeff9000
Normal zone: 1520 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 194560 pages, LIFO batch:31
HighMem zone: 67584 pages, LIFO batch:15
PERCPU: Embedded 7 pages/cpu @eefca000 s7552 r0 d21120 u32768
pcpu-alloc: s7552 r0 d21120 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
Kernel command line:ignore_loglevelrw root=/dev/nfs ip=dhcp
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1032964K/1048576K available (4524K kernel code, 264K rwdata, 1128K rodata, 268K init, 191K bss, 15612K reserved, 0K cma-reserved, 270336K highmem)
Virtual kernel memory layout:vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) lowmem : 0xc0000000 - 0xef800000 ( 760 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) .text : 0xc0008000 - 0xc058e024 (5657 kB) .init : 0xc058f000 - 0xc05d2000 ( 268 kB) .data : 0xc05d2000 - 0xc06143a0 ( 265 kB) .bss : 0xc06143a0 - 0xc064407c ( 192 kB)Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 10.00MHz (virt).sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 3435973836800ns Switching to timer-based delay loop, resolution 100ns
Console: colour dummy device 80x30
console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj0000)pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: updatecpu_capacity1024
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for0x40471350-0x404713a8
Unable to boot CPU1 when MD21 is set
CPU1: failed to boot: -524
Brought up 1 CPUs
SMP: Total of 1 processors activated (20.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocationsrenesas_irqce61c0000.interrupt-controller: driving 10 irqs
sh-pfc e6060000.pfc:r8a77910_pfcsupport registered
No ATAGs?
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
platform regulator@0: Driver reg-fixed-voltage requests probe deferral
platform regulator@2: Driver reg-fixed-voltage requests probe deferral
platform regulator@4: Driver reg-fixed-voltage requests probe deferral gpio-regulator regulator@1: Could not obtain regulator setting GPIOs: -517
platform regulator@1: Driver gpio-regulator requests probe deferral
gpio-regulator regulator@3: Could not obtain regulator setting GPIOs: -517
platform regulator@3: Driver gpio-regulator requests probe deferral
gpio-regulator regulator@5: Could not obtain regulator setting GPIOs: -517
platform regulator@5: Driver gpio-regulator requests probe deferral
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-sh_mobile e60b0000.i2c: I2C adapter 6, bus speed 100000 Hz
media: Linux media interface: v0.10
Linux video capture interface: v2.00sh_cmtffca0000.timer: ch0: used for clock eventssh_cmtffca0000.timer: ch1: used as clock source
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksourcearch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
futex hash table entries: 512 (order: 3, 32768 bytes)
NFS: Registering theid_resolverkey type
Key typeid_resolverregistered
Key typeid_legacyregisterednfs4filelayout_init: NFSv4 File Layout Driver Registering...
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)gpio_rcare6050000.gpio: driving 32 GPIOsgpio_rcare6051000.gpio: driving 32 GPIOsgpio_rcare6052000.gpio: driving 32 GPIOsgpio_rcare6053000.gpio: driving 32 GPIOsgpio_rcare6054000.gpio: driving 32 GPIOsgpio_rcare6055000.gpio: driving 32 GPIOsgpio_rcare6055400.gpio: driving 32 GPIOsgpio_rcare6055800.gpio: driving 26 GPIOs
pci-rcar-gen2 ee090000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00pci_bus0000:00: root bus resource [io 0xee080000-0xee0810ff]pci_bus0000:00: root bus resource [mem 0xee080000-0xee0810ff]pci_bus0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [1033:0000] type 00 class0x060000
pci 0000:00:00.0: reg0x10: [mem 0xee090800-0xee090bff]
pci 0000:00:00.0: reg0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:00:01.0: [1033:0035] type 00 class0x0c0310
pci 0000:00:01.0: reg0x10: [mem 0x00000000-0x00000fff]
pci 0000:00:01.0: supports D1 D2
pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.0: [1033:00e0] type 00 class0x0c0320
pci 0000:00:02.0: reg0x10: [mem 0x00000000-0x000000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus0: Fast back to back transfers disabledpci_bus0000:00:busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:00:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:00:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:01.0: BAR 0: assigned [mem 0xee080000-0xee080fff]
pci 0000:00:02.0: BAR 0: assigned [mem 0xee081000-0xee0810ff]
pci-rcar-gen2 ee0d0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0d0000.pci: PCI host bridge to bus 0000:01pci_bus0000:01: root bus resource [io 0xee0c0000-0xee0c10ff]pci_bus0000:01: root bus resource [mem 0xee0c0000-0xee0c10ff]pci_bus0000:01: No busn resource found for root bus, will use [bus 01-ff]
pci 0000:01:00.0: [1033:0000] type 00 class0x060000
pci 0000:01:00.0: reg0x10: [mem 0xee0d0800-0xee0d0bff]
pci 0000:01:00.0: reg0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:01:01.0: [1033:0035] type 00 class0x0c0310
pci 0000:01:01.0: reg0x10: [mem 0x00000000-0x00000fff]
pci 0000:01:01.0: supports D1 D2
pci 0000:01:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:02.0: [1033:00e0] type 00 class0x0c0320
pci 0000:01:02.0: reg0x10: [mem 0x00000000-0x000000ff]
pci 0000:01:02.0: supports D1 D2
pci 0000:01:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus1: Fast back to back transfers disabledpci_bus0000:01:busn_res: [bus 01-ff] end is updated to 01
pci 0000:01:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:01:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:01:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:01.0: BAR 0: assigned [mem 0xee0c0000-0xee0c0fff]
pci 0000:01:02.0: BAR 0: assigned [mem 0xee0c1000-0xee0c10ff]
rcar-pcie fe000000.pcie: PCIe link down
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
e6e60000.serial: ttySC6 at MMIO0xe6e60000(irq = 107,base_baud= 0) is a scif console [ttySC6] enabled
e6e68000.serial: ttySC7 at MMIO0xe6e68000(irq = 108,base_baud= 0) is a scif [drm] Initialized drm 1.1.0 20060810
rcar-du feb00000.display: Failed to initialize drm fb helper.
rcar-du feb00000.display: failed to initialize DRM/KMS
rcar-du: probe of feb00000.display failed with error -22
scsi host0:sata_rcar
ata1: SATA max UDMA/133 irq 110renesas_spie6b10000.spi:dma_request_slave_channel_compatfailedrenesas_spie6b10000.spi: DMA not available, using PIO
m25p80 spi0.0: s25fl512s (65536 Kbytes)
3 ofpart partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000080000 : "loader"
0x000000080000-0x000000100000 : "bootenv"
0x000000100000-0x000004000000 : "data"renesas_spie6b10000.spi: probedspi_sh_msiofe6e20000.spi:dma_request_slave_channel_compatfailedspi_sh_msiofe6e20000.spi: DMA not available, using PIO
libphy:sh_mii: probed
sh-eth ee700000.ethernet eth0: Base address at0xee700000, 2e:09:0a:00:6d:00, IRQ 109.ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:00:02.0: EHCI Host Controller
ehci-pci 0000:00:02.0: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:02.0: irq 120, io mem0xee081000
ehci-pci 0000:00:02.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-pci 0000:01:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:01:02.0: EHCI Host Controller
ehci-pci 0000:01:02.0: new USB bus registered, assigned bus number 2
ehci-pci 0000:01:02.0: irq 121, io mem0xee0c1000
ehci-pci 0000:01:02.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detectedohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:00:01.0: OHCI PCI host controller
ohci-pci 0000:00:01.0: new USB bus registered, assigned bus number 3
ohci-pci 0000:00:01.0: irq 120, io mem0xee080000
ohci-pci 0000:00:01.0: init err (00002edf0000)
ohci-pci 0000:00:01.0: can't start
ohci-pci 0000:00:01.0: startup error -75
ohci-pci 0000:00:01.0: USB bus 3 deregistered
ohci-pci 0000:00:01.0: init 0000:00:01.0 fail, -75
ohci-pci: probe of 0000:00:01.0 failed with error -75
ohci-pci 0000:01:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:01:01.0: OHCI PCI host controller
ohci-pci 0000:01:01.0: new USB bus registered, assigned bus number 3
ohci-pci 0000:01:01.0: irq 121, io mem0xee0c0000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
sh-pfc e6060000.pfc: pinGP_7_23already requested by ee090000.pci; cannot claim for e6590000.usb sh-pfc e6060000.pfc: pin-247 (e6590000.usb) status -22
sh-pfc e6060000.pfc: could not request pin 247 (GP_7_23) from group usb0 on device sh-pfcrenesas_usbhse6590000.usb: Error applying setting, reverse things backof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyrenesas_usbhse6590000.usb: gadget probedrenesas_usbhse6590000.usb: platform init failed.
ata1: link resume succeeded after 1 retriesUnable to handle kernel NULL pointer dereference at virtual address 0000000d pgd = c0004000 [0000000d] *pgd 000000 Internal error: Oops: 5 [#1] SMP ARM CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.19.0-rc5-00129-gabd2dbf #959 Hardware name: Generic R8A7791 (Flattened Device Tree) task: ee84bb40 ti: ee84c000 task.ti: ee84c000 PC is at dma_release_channel+0x18/0xbc LR is at dma_release_channel+0x18/0xbc pc : [<c01e7fe8>] lr : [<c01e7fe8>] psr: 60000113sp :
ee84dd78ip :ee84dd78fp :ee84dd8c
r10:c058f5d4r9 :c05ce67cr8 : 00000024
r7 :ee303010r6 : 00000000 r5 :ee303100r4 : ffffffed r3 : 00000003 r2 :ee84dd60r1 :0002e30ar0 :c05f8e90
Flags: nZCv IRQs on FIQs on ModeSVC_32ISA ARM Segment kernel
Control:10c5307dTable:4000406aDAC: 00000015 Process swapper/0 (pid: 1, stack limit =0xee84c238)Stack: (0xee84dd78 to 0xee84e000)dd60: 00000000
ee303100
dd80:ee84ddb4ee84dd90c02d06c0c01e7fdc00000003ee303010ee949600ffffffed
dda0:ee94961000000000ee84dde4ee84ddb8c02cd524c02d069cee94961800000004
ddc0:ee949610ffffffedee949610c0605bd0c0605bd0c05c4c78ee84de04ee84dde8
dde0:c024b54cc02cd1a8c024b4fcee94961000000000 00000000ee84de24ee84de08
de00:c024a010c024b508ee949610ee949644c0605bd000000000ee84de44ee84de28
de20:c024a1c4c0249f4cc024a15cc0605bd0ee84de48c024a15cee84de6cee84de48
de40:c024895cc024a168ee82db5cee8f3834c0605bd0eeb31a00c0600d7800000000
de60:ee84de7cee84de70c024a2e0c024890cee84dea4ee84de80c02490ecc024a2cc
de80:c056d039ee84de90c0605bd0ee30730000000000c05c4c78ee84debcee84dea8
dea0:c024a9f0c0249044c05ab770ee307300ee84deccee84dec0c024bdb4c024a958
dec0:ee84dedcee84ded0c05ab788c024bd70ee84df54ee84dee0c058fdc8c05ab77c
dee0: 60000153ef7fcce1ee84df0cee84def8c058f500c01a9c94c058f5d4c056e1da
df00:ee84df54ee84df10c003c47cc058f5e0ef7fcce800000006 00000006000000aa
df20:c058c0e800000000ee84df5400000006 00000006c05c54d0c05c54b0c06143c0
df40:000000aac05ce67cee84df94ee84df58c058ff84c058fccc00000006 00000006
df60:c058f5d478f7f1efffffffff 00000000c046929000000000 00000000 00000000
df80: 00000000 00000000ee84dfacee84df98c04692a0c058fe84ee84c00000000000
dfa0: 00000000ee84dfb0c000ebf8c046929c00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 000000009d5cdd68bead4f78Backtrace: [<c01e7fd0>] (dma_release_channel) from [<c02d06c0>] (usbhs_fifo_remove+0x30/0x60) r5:ee303100 r4:00000000 [<c02d0690>] (usbhs_fifo_remove) from [<c02cd524>] (usbhs_probe+0x388/0x3f0) r8:00000000 r7:ee949610 r6:ffffffed r5:ee949600 r4:ee303010 r3:00000003 [<c02cd19c>] (usbhs_probe) from [<c024b54c>] (platform_drv_probe+0x50/0x98) r8:c05c4c78 r7:c0605bd0 r6:c0605bd0 r5:ee949610 r4:ffffffed [<c024b4fc>] (platform_drv_probe) from [<c024a010>] (driver_probe_device+0xd0/0x21c) r6:00000000 r5:00000000 r4:ee949610 r3:c024b4fc [<c0249f40>] (driver_probe_device) from [<c024a1c4>] (__driver_attach+0x68/0x8c) r7:00000000 r6:c0605bd0 r5:ee949644 r4:ee949610 [<c024a15c>] (__driver_attach) from [<c024895c>] (bus_for_each_dev+0x5c/0x94) r6:c024a15c r5:ee84de48 r4:c0605bd0 r3:c024a15c [<c0248900>] (bus_for_each_dev) from [<c024a2e0>] (driver_attach+0x20/0x28) r7:00000000 r6:c0600d78 r5:eeb31a00 r4:c0605bd0 [<c024a2c0>] (driver_attach) from [<c02490ec>] (bus_add_driver+0xb4/0x1bc) [<c0249038>] (bus_add_driver) from [<c024a9f0>] (driver_register+0xa4/0xe8) r7:c05c4c78 r6:00000000 r5:ee307300 r4:c0605bd0 [<c024a94c>] (driver_register) from [<c024bdb4>] (__platform_driver_register+0x50/0x64) r5:ee307300 r4:c05ab770 [<c024bd64>] (__platform_driver_register) from [<c05ab788>] (renesas_usbhs_driver_init+0x18/0x20) [<c05ab770>] (renesas_usbhs_driver_init) from [<c058fdc8>] (do_one_initcall+0x108/0x1b8) [<c058fcc0>] (do_one_initcall) from [<c058ff84>] (kernel_init_freeable+0x10c/0x1d8) r9:c05ce67c r8:000000aa r7:c06143c0 r6:c05c54b0 r5:c05c54d0 r4:00000006 [<c058fe78>] (kernel_init_freeable) from [<c04692a0>] (kernel_init+0x10/0xec) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0469290 r4:00000000 [<c0469290>] (kernel_init) from [<c000ebf8>] (ret_from_fork+0x14/0x3c) r4:00000000 r3:ee84c000 Code: e24cb004 e1a04000 e59f0094 eb0a1caa (e5943020) ---[ end trace c4f5636aa673cc02 ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000bLager
-----Starting kernel ...
Booting Linux on physical CPU
0x0
Linux version 3.19.0-rc5-00129-gabd2dbf ([email protected]) (gcc version 4.6.3 (GCC) ) #961 SMP Thu Jan 29 20:46:17 JST 2015
CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), crc5307d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine model: Lager
Ignoring memory block0x140000000-0x200000000
debug: ignoring loglevel setting.
Memory policy: Data cache writealloc
On node 0 totalpages: 262144free_area_init_node: node 0, pgdatc0612a80,node_mem_mapeeff9000
Normal zone: 1520 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 194560 pages, LIFO batch:31
HighMem zone: 67584 pages, LIFO batch:15
PERCPU: Embedded 7 pages/cpu @eef9a000 s7552 r0 d21120 u32768
pcpu-alloc: s7552 r0 d21120 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624
Kernel command line: console=ttySC6,115200ignore_loglevelrw root=/dev/nfs ip=dhcp
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1032784K/1048576K available (4524K kernel code, 264K rwdata, 1128K rodata, 268K init, 191K bss, 15792K reserved, 0K cma-reserved, 270336K highmem)
Virtual kernel memory layout:vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) lowmem : 0xc0000000 - 0xef800000 ( 760 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) .text : 0xc0008000 - 0xc058e024 (5657 kB) .init : 0xc058f000 - 0xc05d2000 ( 268 kB) .data : 0xc05d2000 - 0xc06143a0 ( 265 kB) .bss : 0xc06143a0 - 0xc064407c ( 192 kB)Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 10.00MHz (virt).sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 3435973836800ns Switching to timer-based delay loop, resolution 100ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj0000)pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: updatecpu_capacity1535
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for0x40471350-0x404713a8
CPU1: updatecpu_capacity1535
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: updatecpu_capacity1535
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: updatecpu_capacity1535
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
CPU4: failed to boot: -22
CPU5: failed to boot: -22
CPU6: failed to boot: -22
CPU7: failed to boot: -22
Brought up 4 CPUs
SMP: Total of 4 processors activated (80.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocationsrenesas_irqce61c0000.interrupt-controller: driving 4 irqs
sh-pfc e6060000.pfc:r8a77900_pfcsupport registered
No ATAGs?
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
platform regulator@1: Driver reg-fixed-voltage requests probe deferral
platform regulator@3: Driver reg-fixed-voltage requests probe deferral gpio-regulator regulator@2: Could not obtain regulator setting GPIOs: -517
platform regulator@2: Driver gpio-regulator requests probe deferral
gpio-regulator regulator@4: Could not obtain regulator setting GPIOs: -517
platform regulator@4: Driver gpio-regulator requests probe deferral
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-sh_mobile e6500000.i2c: I2C adapter 4, bus speed 100000 Hz
i2c-sh_mobile e6510000.i2c: I2C adapter 5, bus speed 100000 Hz
i2c-sh_mobile e6520000.i2c: I2C adapter 6, bus speed 100000 Hz
i2c-sh_mobile e60b0000.i2c: I2C adapter 7, bus speed 100000 Hz
media: Linux media interface: v0.10
Linux video capture interface: v2.00sh_cmtffca0000.timer: ch0: used for clock eventssh_cmtffca0000.timer: ch1: used as clock source
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksourcearch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
futex hash table entries: 2048 (order: 5, 131072 bytes)
NFS: Registering theid_resolverkey type
Key typeid_resolverregistered
Key typeid_legacyregisterednfs4filelayout_init: NFSv4 File Layout Driver Registering...
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)gpio_rcare6050000.gpio: driving 32 GPIOsgpio_rcare6051000.gpio: driving 32 GPIOsgpio_rcare6052000.gpio: driving 32 GPIOsgpio_rcare6053000.gpio: driving 32 GPIOsgpio_rcare6054000.gpio: driving 32 GPIOsgpio_rcare6055000.gpio: driving 32 GPIOs
pci-rcar-gen2 ee090000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee090000.pci: PCI host bridge to bus 0000:00pci_bus0000:00: root bus resource [io 0xee080000-0xee0810ff]pci_bus0000:00: root bus resource [mem 0xee080000-0xee0810ff]pci_bus0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [1033:0000] type 00 class0x060000
pci 0000:00:00.0: reg0x10: [mem 0xee090800-0xee090bff]
pci 0000:00:00.0: reg0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:00:01.0: [1033:0035] type 00 class0x0c0310
pci 0000:00:01.0: reg0x10: [mem 0x00000000-0x00000fff]
pci 0000:00:01.0: supports D1 D2
pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:02.0: [1033:00e0] type 00 class0x0c0320
pci 0000:00:02.0: reg0x10: [mem 0x00000000-0x000000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus0: Fast back to back transfers disabledpci_bus0000:00:busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:00:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:00:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:00:01.0: BAR 0: assigned [mem 0xee080000-0xee080fff]
pci 0000:00:02.0: BAR 0: assigned [mem 0xee081000-0xee0810ff]
pci-rcar-gen2 ee0b0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0b0000.pci: PCI host bridge to bus 0000:01pci_bus0000:01: root bus resource [io 0xee0a0000-0xee0a10ff]pci_bus0000:01: root bus resource [mem 0xee0a0000-0xee0a10ff]pci_bus0000:01: No busn resource found for root bus, will use [bus 01-ff]
pci 0000:01:00.0: [1033:0000] type 00 class0x060000
pci 0000:01:00.0: reg0x10: [mem 0xee0b0800-0xee0b0bff]
pci 0000:01:00.0: reg0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:01:01.0: [1033:0035] type 00 class0x0c0310
pci 0000:01:01.0: reg0x10: [mem 0x00000000-0x00000fff]
pci 0000:01:01.0: supports D1 D2
pci 0000:01:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:02.0: [1033:00e0] type 00 class0x0c0320
pci 0000:01:02.0: reg0x10: [mem 0x00000000-0x000000ff]
pci 0000:01:02.0: supports D1 D2
pci 0000:01:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus1: Fast back to back transfers disabledpci_bus0000:01:busn_res: [bus 01-ff] end is updated to 01
pci 0000:01:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:01:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:01:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:01:01.0: BAR 0: assigned [mem 0xee0a0000-0xee0a0fff]
pci 0000:01:02.0: BAR 0: assigned [mem 0xee0a1000-0xee0a10ff]
pci-rcar-gen2 ee0d0000.pci: PCI: bus0 revision 11
pci-rcar-gen2 ee0d0000.pci: PCI host bridge to bus 0000:02pci_bus0000:02: root bus resource [io 0xee0c0000-0xee0c10ff]pci_bus0000:02: root bus resource [mem 0xee0c0000-0xee0c10ff]pci_bus0000:02: No busn resource found for root bus, will use [bus 02-ff]
pci 0000:02:00.0: [1033:0000] type 00 class0x060000
pci 0000:02:00.0: reg0x10: [mem 0xee0d0800-0xee0d0bff]
pci 0000:02:00.0: reg0x14: [mem 0x40000000-0x7fffffff pref]
pci 0000:02:01.0: [1033:0035] type 00 class0x0c0310
pci 0000:02:01.0: reg0x10: [mem 0x00000000-0x00000fff]
pci 0000:02:01.0: supports D1 D2
pci 0000:02:01.0: PME# supported from D0 D1 D2 D3hot
pci 0000:02:02.0: [1033:00e0] type 00 class0x0c0320
pci 0000:02:02.0: reg0x10: [mem 0x00000000-0x000000ff]
pci 0000:02:02.0: supports D1 D2
pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot
PCI: bus2: Fast back to back transfers disabledpci_bus0000:02:busn_res: [bus 02-ff] end is updated to 02
pci 0000:02:01.0: can't enable device: BAR 0 [mem 0x00000000-0x00000fff] not claimed pci 0000:02:01.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:02:02.0: can't enable device: BAR 0 [mem 0x00000000-0x000000ff] not claimed pci 0000:02:02.0: Can't enable PCI device, BIOS handoff failed.
pci 0000:02:01.0: BAR 0: assigned [mem 0xee0c0000-0xee0c0fff]
pci 0000:02:02.0: BAR 0: assigned [mem 0xee0c1000-0xee0c10ff]
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
e6c40000.serial: ttySC6 at MMIO0xe6c40000(irq = 101,base_baud= 0) is a scifa console [ttySC6] enabled
e6c50000.serial: ttySC7 at MMIO0xe6c50000(irq = 102,base_baud= 0) is a scifa [drm] Initialized drm 1.1.0 20060810
rcar-du feb00000.display: fb0: frame buffer device
rcar-du feb00000.display: registered panic notifier
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
[drm] Initialized rcar-du 1.0.0 20130110 on minor 0
scsi host0:sata_rcar
ata1: SATA max UDMA/133 irq 104renesas_spie6b10000.spi:dma_request_slave_channel_compatfailedrenesas_spie6b10000.spi: DMA not available, using PIO
m25p80 spi0.0: s25fl512s (65536 Kbytes)
3 ofpart partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "loader"
0x000000040000-0x000000440000 : "user"
0x000000440000-0x000004000000 : "flash"renesas_spie6b10000.spi: probedspi_sh_msiofe6e10000.spi:dma_request_slave_channel_compatfailedspi_sh_msiofe6e10000.spi: DMA not available, using PIO
libphy:sh_mii: probed
sh-eth ee700000.ethernet eth0: Base address at0xee700000, 2e:09:0a:00:6e:71, IRQ 103.ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:00:02.0: EHCI Host Controller
ehci-pci 0000:00:02.0: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:02.0: irq 117, io mem0xee081000
ehci-pci 0000:00:02.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci-pci 0000:01:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:01:02.0: EHCI Host Controller
ehci-pci 0000:01:02.0: new USB bus registered, assigned bus number 2
ehci-pci 0000:01:02.0: irq 118, io mem0xee0a1000
ehci-pci 0000:01:02.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-pci 0000:02:02.0: enabling device (0140 -> 0142)
ehci-pci 0000:02:02.0: EHCI Host Controller
ehci-pci 0000:02:02.0: new USB bus registered, assigned bus number 3
ehci-pci 0000:02:02.0: irq 119, io mem0xee0c1000
ehci-pci 0000:02:02.0: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detectedohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-pci 0000:00:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:00:01.0: OHCI PCI host controller
ohci-pci 0000:00:01.0: new USB bus registered, assigned bus number 4
ohci-pci 0000:00:01.0: irq 117, io mem0xee080000
ohci-pci 0000:00:01.0: init err (00002edf0000)
ohci-pci 0000:00:01.0: can't start
ohci-pci 0000:00:01.0: startup error -75
ohci-pci 0000:00:01.0: USB bus 4 deregistered
ohci-pci 0000:00:01.0: init 0000:00:01.0 fail, -75
ohci-pci: probe of 0000:00:01.0 failed with error -75
ohci-pci 0000:01:01.0: enabling device (0140 -> 0142)
ohci-pci 0000:01:01.0: OHCI PCI host controller
ohci-pci 0000:01:01.0: new USB bus registered, assigned bus number 4
ohci-pci 0000:01:01.0: irq 118, io mem0xee0a0000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
ohci-pci 0000:02:01.0: enabling device (0140 -> 0142)
ata1: link resume succeeded after 1 retries
ohci-pci 0000:02:01.0: OHCI PCI host controller
ohci-pci 0000:02:01.0: new USB bus registered, assigned bus number 5
ohci-pci 0000:02:01.0: irq 119, io mem0xee0c0000
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
sh-pfc e6060000.pfc: pinGP_5_19already requested by ee090000.pci; cannot claim for e6590000.usb
ata1: SATA link down (SStatus 0 SControl 300)
sh-pfc e6060000.pfc: pin-179 (e6590000.usb) status -22
sh-pfc e6060000.pfc: could not request pin 179 (GP_5_19) from groupusb0_ovc_vbuson device sh-pfcrenesas_usbhse6590000.usb: Error applying setting, reverse things backof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyof_dma_request_slave_channel: dma-names property of node '/usb@e6590000' missing or emptyrenesas_usbhse6590000.usb: gadget probedrenesas_usbhse6590000.usb: platform init failed.Unable to handle kernel NULL pointer dereference at virtual address 0000000d pgd = c0004000 [0000000d] *pgd 000000 Internal error: Oops: 5 [#1] SMP ARM CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager task: ee84bb40 ti: ee84c000 task.ti: ee84c000 PC is at dma_release_channel+0x18/0xbc LR is at dma_release_channel+0x18/0xbc pc : [<c01e7fe8>] lr : [<c01e7fe8>] psr: 60000113sp :
ee84dd78ip :ee84dd78fp :ee84dd8c
r10:c058f5d4r9 :c05ce67cr8 : 00000024
r7 :edfec010r6 : 00000000 r5 :edfec100r4 : ffffffed r3 : 00000003 r2 :ee84dd60r1 :0002dfe4r0 :c05f8e90
Flags: nZCv IRQs on FIQs on ModeSVC_32ISA ARM Segment kernel
Control:10c5307dTable:4000406aDAC: 00000015 Process swapper/0 (pid: 1, stack limit =0xee84c238)Stack: (0xee84dd78 to 0xee84e000)dd60: 00000000
edfec100
dd80:ee84ddb4ee84dd90c02d06c0c01e7fdc00000003edfec010eea78e00ffffffed
dda0:eea78e1000000000ee84dde4ee84ddb8c02cd524c02d069ceea78e1800000004
ddc0:eea78e10ffffffedeea78e10c0605bd0c0605bd0c05c4c78ee84de04ee84dde8
dde0:c024b54cc02cd1a8c024b4fceea78e1000000000 00000000ee84de24ee84de08
de00:c024a010c024b508eea78e10eea78e44c0605bd000000000ee84de44ee84de28
de20:c024a1c4c0249f4cc024a15cc0605bd0ee84de48c024a15cee84de6cee84de48
de40:c024895cc024a168ee82d15ceea37f34c0605bd0ee153f00c0600d7800000000
de60:ee84de7cee84de70c024a2e0c024890cee84dea4ee84de80c02490ecc024a2cc
de80:c056d039ee84de90c0605bd0edfe924000000000c05c4c78ee84debcee84dea8
dea0:c024a9f0c0249044c05ab770edfe9240ee84deccee84dec0c024bdb4c024a958
dec0:ee84dedcee84ded0c05ab788c024bd70ee84df54ee84dee0c058fdc8c05ab77c
dee0: 60000113ef7fccf7ee84df0cee84def8c058f500c01a9c94c058f5d4c056e1da
df00:ee84df54ee84df10c003c47cc058f5e0ef7fccfe00000006 00000006000000aa
df20:c058c0e800000000ee84df5400000006 00000006c05c54d0c05c54b0c06143c0
df40:000000aac05ce67cee84df94ee84df58c058ff84c058fccc00000006 00000006
df60:c058f5d400041164 ffffffff 00000000c046929000000000 00000000 00000000
df80: 00000000 00000000ee84dfacee84df98c04692a0c058fe84ee84c00000000000
dfa0: 00000000ee84dfb0c000ebf8c046929c00000000 00000000 00000000 00000000
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 00000000 00000013 000000005303c8107110f809Backtrace: [<c01e7fd0>] (dma_release_channel) from [<c02d06c0>] (usbhs_fifo_remove+0x30/0x60) r5:edfec100 r4:00000000 [<c02d0690>] (usbhs_fifo_remove) from [<c02cd524>] (usbhs_probe+0x388/0x3f0) r8:00000000 r7:eea78e10 r6:ffffffed r5:eea78e00 r4:edfec010 r3:00000003 [<c02cd19c>] (usbhs_probe) from [<c024b54c>] (platform_drv_probe+0x50/0x98) r8:c05c4c78 r7:c0605bd0 r6:c0605bd0 r5:eea78e10 r4:ffffffed [<c024b4fc>] (platform_drv_probe) from [<c024a010>] (driver_probe_device+0xd0/0x21c) r6:00000000 r5:00000000 r4:eea78e10 r3:c024b4fc [<c0249f40>] (driver_probe_device) from [<c024a1c4>] (__driver_attach+0x68/0x8c) r7:00000000 r6:c0605bd0 r5:eea78e44 r4:eea78e10 [<c024a15c>] (__driver_attach) from [<c024895c>] (bus_for_each_dev+0x5c/0x94) r6:c024a15c r5:ee84de48 r4:c0605bd0 r3:c024a15c [<c0248900>] (bus_for_each_dev) from [<c024a2e0>] (driver_attach+0x20/0x28) r7:00000000 r6:c0600d78 r5:ee153f00 r4:c0605bd0 [<c024a2c0>] (driver_attach) from [<c02490ec>] (bus_add_driver+0xb4/0x1bc) [<c0249038>] (bus_add_driver) from [<c024a9f0>] (driver_register+0xa4/0xe8) r7:c05c4c78 r6:00000000 r5:edfe9240 r4:c0605bd0 [<c024a94c>] (driver_register) from [<c024bdb4>] (__platform_driver_register+0x50/0x64) r5:edfe9240 r4:c05ab770 [<c024bd64>] (__platform_driver_register) from [<c05ab788>] (renesas_usbhs_driver_init+0x18/0x20) [<c05ab770>] (renesas_usbhs_driver_init) from [<c058fdc8>] (do_one_initcall+0x108/0x1b8) [<c058fcc0>] (do_one_initcall) from [<c058ff84>] (kernel_init_freeable+0x10c/0x1d8) r9:c05ce67c r8:000000aa r7:c06143c0 r6:c05c54b0 r5:c05c54d0 r4:00000006 [<c058fe78>] (kernel_init_freeable) from [<c04692a0>] (kernel_init+0x10/0xec) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0469290 r4:00000000 [<c0469290>] (kernel_init) from [<c000ebf8>] (ret_from_fork+0x14/0x3c) r4:00000000 r3:ee84c000 Code: e24cb004 e1a04000 e59f0094 eb0a1caa (e5943020) ---[ end trace 06a71daccda9eecb ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000bCPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager Backtrace: [<c0011854>] (dump_backtrace) from [<c00119f4>] (show_stack+0x18/0x1c) r6:c05da90c r5:00000002 r4:00000000 r3:00200040 [<c00119dc>] (show_stack) from [<c046ca18>] (dump_stack+0x74/0x90) [<c046c9a4>] (dump_stack) from [<c0014244>] (handle_IPI+0xcc/0x164) r4:c06147ac r3:c05e830c [<c0014178>] (handle_IPI) from [<c00093a8>] (gic_handle_irq+0x5c/0x64) r5:ee86df78 r4:f0002000 [<c000934c>] (gic_handle_irq) from [<c00125c0>] (__irq_svc+0x40/0x54) Exception stack(0xee86df78 to 0xee86dfc0)df60: 00000000 00000000
df80:ee86dfd0c001d980c06141f0c05da4f0c0474304c06147d44000406a413fc0f2
dfa0: 00000000ee86dfccee86dfd0ee86dfc0c000f6d4c000f6d860000113 ffffffff
r6:ffffffff r5:60000113 r4:c000f6d8 r3:c000f6d4
[<c000f6a4>] (arch_cpu_idle) from [<c005186c>] (cpu_startup_entry+0xf4/0x170) [<c0051778>] (cpu_startup_entry) from [<c0013efc>] (secondary_start_kernel+0x114/0x130) [<c0013de8>] (secondary_start_kernel) from [<40009444>] (0x40009444)
r4:6e85006a r3:c000942c
CPU0: stoppingCPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager Backtrace: [<c0011854>] (dump_backtrace) from [<c00119f4>] (show_stack+0x18/0x1c) r6:c05da90c r5:00000000 r4:00000000 r3:00200000 [<c00119dc>] (show_stack) from [<c046ca18>] (dump_stack+0x74/0x90) [<c046c9a4>] (dump_stack) from [<c0014244>] (handle_IPI+0xcc/0x164) r4:c06147ac r3:c05e830c [<c0014178>] (handle_IPI) from [<c00093a8>] (gic_handle_irq+0x5c/0x64) r5:c05d3f40 r4:f0002000 [<c000934c>] (gic_handle_irq) from [<c00125c0>] (__irq_svc+0x40/0x54) Exception stack(0xc05d3f40 to 0xc05d3f88)3f40: 00000000 00000000
c05d3f98c001d980c06141f0c05da4f0c0474304c06143c03f60:c05c56a8413fc0f2ef7fcc80c05d3f94c05d3f98c05d3f88c000f6d4c000f6d83f80: 60000113 ffffffff
r6:ffffffff r5:60000113 r4:c000f6d8 r3:c000f6d4
[<c000f6a4>] (arch_cpu_idle) from [<c005186c>] (cpu_startup_entry+0xf4/0x170) [<c0051778>] (cpu_startup_entry) from [<c0469278>] (rest_init+0x68/0x80) [<c0469210>] (rest_init) from [<c058fc54>] (start_kernel+0x34c/0x3b8) [<c058f908>] (start_kernel) from [<40008074>] (0x40008074)
r10:00000000 r8:4000406a r7:c05de5cc r6:c05c56a4 r5:c05da47c r4:c0614754
CPU3: stoppingCPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 3.19.0-rc5-00129-gabd2dbf #961 Hardware name: lager Backtrace: [<c0011854>] (dump_backtrace) from [<c00119f4>] (show_stack+0x18/0x1c) r6:c05da90c r5:00000003 r4:00000000 r3:00200040 [<c00119dc>] (show_stack) from [<c046ca18>] (dump_stack+0x74/0x90) [<c046c9a4>] (dump_stack) from [<c0014244>] (handle_IPI+0xcc/0x164) r4:c06147ac r3:c05e830c [<c0014178>] (handle_IPI) from [<c00093a8>] (gic_handle_irq+0x5c/0x64) r5:ee86ff78 r4:f0002000 [<c000934c>] (gic_handle_irq) from [<c00125c0>] (__irq_svc+0x40/0x54) Exception stack(0xee86ff78 to 0xee86ffc0)ff60: 00000000 00000000
ff80:ee86ffd0c001d980c06141f0c05da4f0c0474304c06147d44000406a413fc0f2
ffa0: 00000000ee86ffccee86ffd0ee86ffc0c000f6d4c000f6d860000113 ffffffff
r6:ffffffff r5:60000113 r4:c000f6d8 r3:c000f6d4
[<c000f6a4>] (arch_cpu_idle) from [<c005186c>] (cpu_startup_entry+0xf4/0x170) [<c0051778>] (cpu_startup_entry) from [<c0013efc>] (secondary_start_kernel+0x114/0x130) [<c0013de8>] (secondary_start_kernel) from [<40009444>] (0x40009444)
r4:6e85006a r3:c000942cdrm_kms_helper: panic occurred, switching back to text console---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b