LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* RE: known working sata_sil24.c setup on powerpc platforms?
From: Kushwaha Prabhakar-B32579 @ 2011-04-08  9:41 UTC (permalink / raw)
  To: Leon Woestenberg
  Cc: Tejun Heo, Jeff Garzik, Linux PPC, linux-ide@vger.kernel.org,
	Moffett, Kyle D, Gupta Maneesh-B18878
In-Reply-To: <BANLkTim-KV=hfx3kN9vXDFcK_zjm3iOGxg@mail.gmail.com>

Hi Leon,=20
=20
 interrupt-map-mask is missing for pcie@ffe0a000 node. Please see my commen=
t there...=20
pcie@ffe0a000 node deals with mini-PCIe.=20

one more thing, can you please tell P1020Si version. It will be there on u-=
boot log.

--Prabhakar

> -----Original Message-----
> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
> Sent: Friday, April 08, 2011 2:43 PM
> To: Kushwaha Prabhakar-B32579
> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff Garzik;
> Linux PPC; Gupta Maneesh-B18878
> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
>=20
> Hello Prabhakar,
>=20
> On Fri, Apr 8, 2011 at 10:31 AM, Kushwaha Prabhakar-B32579
> <B32579@freescale.com> wrote:
> > Hi Leon,
> >
> >
> >> -----Original Message-----
> >> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
> >> Sent: Friday, April 08, 2011 1:55 PM
> >> To: Kushwaha Prabhakar-B32579
> >> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff
> >> Garzik; Linux PPC; Gupta Maneesh-B18878
> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
> >>
> >> Hello Prabhakar,
> >>
> >> On Fri, Apr 8, 2011 at 5:44 AM, Kushwaha Prabhakar-B32579
> >> <B32579@freescale.com> wrote:
> >> >> -----Original Message-----
> >> >> From: linux-ide-owner@vger.kernel.org [mailto:linux-ide-
> >> >> owner@vger.kernel.org] On Behalf Of Leon Woestenberg
> >> >> Sent: Thursday, April 07, 2011 10:23 PM
> >> >> To: Kushwaha Prabhakar-B32579
> >> >> Cc: Moffett, Kyle D; Linux PPC; linux-ide@vger.kernel.org; Tejun
> >> >> Heo; Jeff Garzik
> >> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
> >> >>
> >> >> On Thu, Apr 7, 2011 at 6:48 AM, Kushwaha Prabhakar-B32579
> >> >> <B32579@freescale.com> wrote:
> >> >> > Can you please check p2020rdb.dts for IDSEL entries for pci0/1
> node?
> >> >> >
> >> >> > In order to work in legacy mode, IDSEL entries are required.
> >> >> >
> >> >> No, the p1020rdb and p2020rdb do not have the IDSEL entries:
> >> >> What would the correct IDSEL entries be?
> >> >
> >> > For legacy interrupt to work IDSEL values are required.. please
> >> > find
> >> the correct IDSEL values for pci0/1.
> >> >
> >> > =A0 =A0 =A0 =A0pci0: pcie@ffe09000 {
> >> > ...
> >> > Please try with this.. I am in process of pushing these IDSEL
> >> > values to
> >> upstream.
> >> >
> >>
> >> Do you have these for P1020RDB =A0as well? I found a P1020RDB board
> >> that has the CE10 errata fixed, so IRQ0 is properly pulled up.
> >>
> >
> > =A0Same IDSEL values are valid for P1020RDB also.
> >
> I compiled the new device tree binary, the dump is below(*) and booted
> the P1020RDB from that.
>=20
> I verified using an oscilloscope that IRQ0 indeed remains high.
>=20
> However, no interrupt seems to come in from the sata_sil24 driver, see
> boot log (**).
>=20
> (*) dtb dump:
> $ dtc -I dtb -O dts /tftpboot/p1020rdb/uImage.dtb
>=20
> 	pcie@ffe09000 {
> 		compatible =3D "fsl,mpc8548-pcie";
> 		device_type =3D "pci";
> 		#interrupt-cells =3D <0x1>;
> 		#size-cells =3D <0x2>;
> 		#address-cells =3D <0x3>;
> 		reg =3D <0x0 0xffe09000 0x0 0x1000>;
> 		bus-range =3D <0x0 0xff>;
> 		ranges =3D <0x2000000 0x0 0xa0000000 0x0 0xa0000000 0x0
> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc30000 0x0 0x10000>;
> 		clock-frequency =3D <0x1fca055>;
> 		interrupt-parent =3D <0x2>;
> 		interrupts =3D <0x10 0x2>;
> 		interrupt-map-mask =3D <0xf800 0x0 0x0 0x7>;
> 		interrupt-map =3D <0x0 0x0 0x0 0x1 0x2 0x4 0x1 0x0 0x0 0x0 0x2
> 0x2 0x5
> 0x1 0x0 0x0 0x0 0x3 0x2 0x6 0x1 0x0 0x0 0x0 0x4 0x2 0x7 0x1>;
>=20
> 		pcie@0 {
> 			reg =3D <0x0 0x0 0x0 0x0 0x0>;
> 			#size-cells =3D <0x2>;
> 			#address-cells =3D <0x3>;
> 			device_type =3D "pci";
> 			ranges =3D <0x2000000 0x0 0xa0000000 0x2000000 0x0
> 0xa0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
> 0x100000>;
> 		};
> 	};
>=20
> 	pcie@ffe0a000 {
> 		compatible =3D "fsl,mpc8548-pcie";
> 		device_type =3D "pci";
> 		#interrupt-cells =3D <0x1>;
> 		#size-cells =3D <0x2>;
> 		#address-cells =3D <0x3>;
> 		reg =3D <0x0 0xffe0a000 0x0 0x1000>;
> 		bus-range =3D <0x0 0xff>;
> 		ranges =3D <0x2000000 0x0 0xc0000000 0x0 0xc0000000 0x0
> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc20000 0x0 0x10000>;
> 		clock-frequency =3D <0x1fca055>;
> 		interrupt-parent =3D <0x2>;
> 		interrupts =3D <0x10 0x2>;

interrupt-map-mask is missing here.. can you please check dts again.=20


> 		interrupt-map =3D <0x0 0x0 0x0 0x1 0x2 0x0 0x1 0x0 0x0 0x0 0x2
> 0x2 0x1
> 0x1 0x0 0x0 0x0 0x3 0x2 0x2 0x1 0x0 0x0 0x0 0x4 0x2 0x3 0x1>;
>=20
> 		pcie@0 {
> 			reg =3D <0x0 0x0 0x0 0x0 0x0>;
> 			#size-cells =3D <0x2>;
> 			#address-cells =3D <0x3>;
> 			device_type =3D "pci";
> 			ranges =3D <0x2000000 0x0 0xc0000000 0x2000000 0x0
> 0xc0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
> 0x100000>;
> 		};
> 	};
> };
>=20
> (**) boot log
>=20
> [    0.000000] Using P1020 RDB machine description
> [    0.000000] Memory CAM mapping: 256/256 Mb, residual: 0Mb
> [    0.000000] Linux version 2.6.38 (leon@lunar) (gcc version 4.3.3
> (GCC) ) #6 Fri Apr 8 11:00:10 CEST 2011
> [    0.000000] Found legacy serial port 0 for /soc@ffe00000/serial@4500
> [    0.000000]   mem=3Dffe04500, taddr=3Dffe04500, irq=3D0, clk=3D3999999=
96,
> speed=3D0
> [    0.000000] Found legacy serial port 1 for /soc@ffe00000/serial@4600
> [    0.000000]   mem=3Dffe04600, taddr=3Dffe04600, irq=3D0, clk=3D3999999=
96,
> speed=3D0
> [    0.000000] bootconsole [udbg0] enabled
> [    0.000000] Found FSL PCI host bridge at 0x00000000ffe09000.
> Firmware bus number: 0->255
> [    0.000000] PCI host bridge /pcie@ffe09000  ranges:
> [    0.000000]  MEM 0x00000000a0000000..0x00000000bfffffff ->
> 0x00000000a0000000
> [    0.000000]   IO 0x00000000ffc30000..0x00000000ffc3ffff ->
> 0x0000000000000000
> [    0.000000] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
> [    0.000000] Found FSL PCI host bridge at 0x00000000ffe0a000.
> Firmware bus number: 0->0
> [    0.000000] PCI host bridge /pcie@ffe0a000  ranges:
> [    0.000000]  MEM 0x00000000c0000000..0x00000000dfffffff ->
> 0x00000000c0000000
> [    0.000000]   IO 0x00000000ffc20000..0x00000000ffc2ffff ->
> 0x0000000000000000
> [    0.000000] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
> [    0.000000] MPC85xx RDB board from Freescale Semiconductor
> [    0.000000] Top of RAM: 0x20000000, Total RAM: 0x20000000
> [    0.000000] Memory hole size: 0MB
> [    0.000000] Zone PFN ranges:
> [    0.000000]   DMA      0x00000000 -> 0x00020000
> [    0.000000]   Normal   empty
> [    0.000000]   HighMem  empty
> [    0.000000] Movable zone start PFN for each node
> [    0.000000] early_node_map[1] active PFN ranges
> [    0.000000]     0: 0x00000000 -> 0x00020000
> [    0.000000] On node 0 totalpages: 131072
> [    0.000000] free_area_init_node: node 0, pgdat c062d9bc,
> node_mem_map c07e1000
> [    0.000000]   DMA zone: 1024 pages used for memmap
> [    0.000000]   DMA zone: 0 pages reserved
> [    0.000000]   DMA zone: 130048 pages, LIFO batch:31
> [    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
> [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=3D1*32768
> [    0.000000] pcpu-alloc: [0] 0
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> Total pages: 130048
> [    0.000000] Kernel command line: root=3D/dev/nfs rw
> nfsroot=3D192.168.0.7:/nfsroot/p1020rdb
> ip=3D192.168.0.20:192.168.0.7:::P1020RDB:eth0:off console=3DttyS0,115200
> ramdisk_size=3D200000 cache-sram-size=3D0x10000
> [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144
> bytes)
> [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
> bytes)
> [    0.000000] High memory: 0k
> [    0.000000] Memory: 511604k/524288k available (6112k kernel code,
> 12684k reserved, 256k data, 1686k bss, 220k init)
> [    0.000000] Kernel virtual memory layout:
> [    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
> [    0.000000]   * 0xff800000..0xffc00000  : highmem PTEs
> [    0.000000]   * 0xff7da000..0xff800000  : early ioremap
> [    0.000000]   * 0xe1000000..0xff7da000  : vmalloc & ioremap
> [    0.000000] SLUB: Genslabs=3D15, HWalign=3D32, Order=3D0-3, MinObjects=
=3D0,
> CPUs=3D1, Nodes=3D1
> [    0.000000] NR_IRQS:512
> [    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at
> ffe40000, max 2 CPUs
> [    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
> [    0.000000] mpic: Initializing for 256 sources
> [    0.000000] time_init: decrementer frequency =3D 50.000000 MHz
> [    0.000000] time_init: processor frequency   =3D 799.999992 MHz
> [    0.000000] clocksource: timebase mult[5000000] shift[22] registered
> [    0.000000] clockevent: decrementer mult[ccccccc] shift[32] cpu[0]
> [    0.000000] Console: colour dummy device 80x25
> [    0.010728] pid_max: default: 32768 minimum: 301
> [    0.015483] Mount-cache hash table entries: 512
> [    0.021404] devtmpfs: initialized
> [    0.025042] NET: Registered protocol family 16
> [    0.031180] irq: irq 47 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 47
> [    0.031507] PCI: Probing PCI hardware
> [    0.035144] pci_bus 0000:00: scanning bus
> [    0.035167] pci 0000:00:00.0: [1957:0100] type 1 class 0x000b20
> [    0.035188] pci 0000:00:00.0: calling quirk_mmio_always_on+0x0/0x24
> [    0.035197] pci 0000:00:00.0: ignoring class b20 (doesn't match
> header type 01)
> [    0.042429] pci 0000:00:00.0: calling
> fixup_hide_host_resource_fsl+0x0/0x54
> [    0.042440] pci 0000:00:00.0: calling
> pcibios_fixup_resources+0x0/0x110
> [    0.042456] pci 0000:00:00.0: calling quirk_fsl_pcie_header+0x0/0x50
> [    0.042473] pci 0000:00:00.0: calling
> quirk_resource_alignment+0x0/0x19c
> [    0.042488] pci 0000:00:00.0: supports D1 D2
> [    0.042496] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
> D3cold
> [    0.042505] pci 0000:00:00.0: PME# disabled
> [    0.042525] pci_bus 0000:00: fixups for bus
> [    0.042539] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass
> 0
> [    0.042546] pci 0000:00:00.0: bus configuration invalid, reconfiguring
> [    0.042556] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass
> 1
> [    0.042577] pci_bus 0000:01: scanning bus
> [    0.042584] pci_bus 0000:01: fixups for bus
> [    0.042591] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
> [    0.047728] pci 0000:00:00.0:   bridge window [io  0x0000-0x0000]
> (disabled)
> [    0.047738] pci 0000:00:00.0:   bridge window [mem
> 0x00000000-0x000fffff] (disabled)
> [    0.047748] pci 0000:00:00.0:   bridge window [mem
> 0x00000000-0x000fffff pref] (disabled)
> [    0.047760] pci_bus 0000:01: bus scan returning with max=3D01
> [    0.047769] pci_bus 0000:00: bus scan returning with max=3D01
> [    0.047902] pci_bus 0001:02: scanning bus
> [    0.047920] pci 0001:02:00.0: [1957:0100] type 1 class 0x000b20
> [    0.047932] pci 0001:02:00.0: calling quirk_mmio_always_on+0x0/0x24
> [    0.047941] pci 0001:02:00.0: ignoring class b20 (doesn't match
> header type 01)
> [    0.055166] pci 0001:02:00.0: calling
> fixup_hide_host_resource_fsl+0x0/0x54
> [    0.055177] pci 0001:02:00.0: calling
> pcibios_fixup_resources+0x0/0x110
> [    0.055188] pci 0001:02:00.0: calling quirk_fsl_pcie_header+0x0/0x50
> [    0.055202] pci 0001:02:00.0: calling
> quirk_resource_alignment+0x0/0x19c
> [    0.055215] pci 0001:02:00.0: supports D1 D2
> [    0.055222] pci 0001:02:00.0: PME# supported from D0 D1 D2 D3hot
> D3cold
> [    0.055230] pci 0001:02:00.0: PME# disabled
> [    0.055254] pci_bus 0001:02: fixups for bus
> [    0.055265] pci 0001:02:00.0: scanning [bus 01-01] behind bridge, pass
> 0
> [    0.055272] pci 0001:02:00.0: bus configuration invalid, reconfiguring
> [    0.055282] pci 0001:02:00.0: scanning [bus 00-00] behind bridge, pass
> 1
> [    0.055302] pci_bus 0001:03: scanning bus
> [    0.055334] pci 0001:03:00.0: [1095:3132] type 0 class 0x000104
> [    0.055346] pci 0001:03:00.0: calling quirk_mmio_always_on+0x0/0x24
> [    0.055376] pci 0001:03:00.0: reg 10: [mem 0xc0000000-0xc000007f
> 64bit]
> [    0.055401] pci 0001:03:00.0: reg 18: [mem 0xc0004000-0xc0007fff
> 64bit]
> [    0.055420] pci 0001:03:00.0: reg 20: [io  0x1000-0x107f]
> [    0.055448] pci 0001:03:00.0: reg 30: [mem 0x00000000-0x0007ffff pref]
> [    0.055461] pci 0001:03:00.0: calling
> pcibios_fixup_resources+0x0/0x110
> [    0.055473] pci 0001:03:00.0: calling
> quirk_resource_alignment+0x0/0x19c
> [    0.055513] pci 0001:03:00.0: supports D1 D2
> [    0.055537] pci 0001:03:00.0: disabling ASPM on pre-1.1 PCIe
> device.  You can enable it with 'pcie_aspm=3Dforce'
> [    0.065457] pci_bus 0001:03: fixups for bus
> [    0.065464] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
> [    0.070655] pci 0001:02:00.0:   bridge window [io  0x0000-0x0000]
> (disabled)
> [    0.070664] pci 0001:02:00.0:   bridge window [mem 0xc0000000-
> 0xc00fffff]
> [    0.070674] pci 0001:02:00.0:   bridge window [mem
> 0x10000000-0x000fffff pref] (disabled)
> [    0.070707] pci_bus 0001:03: bus scan returning with max=3D03
> [    0.070716] pci_bus 0001:02: bus scan returning with max=3D03
> [    0.070891] PCI 0000:00 Cannot reserve Legacy IO [io  0xff7ed000-
> 0xff7edfff]
> [    0.070900] PCI 0001:02 Cannot reserve Legacy IO [io  0xff7db000-
> 0xff7dbfff]
> [    0.070922] pci 0000:00:00.0: PCI bridge to [bus 01-01]
> [    0.076063] pci 0000:00:00.0:   bridge window [io  0xff7ed000-
> 0xff7fcfff]
> [    0.082827] pci 0000:00:00.0:   bridge window [mem 0xa0000000-
> 0xbfffffff]
> [    0.089596] pci 0000:00:00.0:   bridge window [mem pref disabled]
> [    0.095676] pci 0000:00:00.0: enabling device (0106 -> 0107)
> [    0.101321] pci 0001:02:00.0: BAR 9: can't assign mem pref (size
> 0x100000)
> [    0.108175] pci 0001:03:00.0: BAR 6: assigned [mem
> 0xc0080000-0xc00fffff pref]
> [    0.115377] pci 0001:02:00.0: PCI bridge to [bus 03-03]
> [    0.120584] pci 0001:02:00.0:   bridge window [io  0xff7db000-
> 0xff7eafff]
> [    0.127355] pci 0001:02:00.0:   bridge window [mem 0xc0000000-
> 0xdfffffff]
> [    0.134124] pci 0001:02:00.0:   bridge window [mem pref disabled]
> [    0.140203] pci 0001:02:00.0: enabling device (0106 -> 0107)
> [    0.145845] pci_bus 0000:00: resource 0 [io  0xff7ed000-0xff7fcfff]
> [    0.145854] pci_bus 0000:00: resource 1 [mem 0xa0000000-0xbfffffff]
> [    0.145863] pci_bus 0000:01: resource 0 [io  0xff7ed000-0xff7fcfff]
> [    0.145872] pci_bus 0000:01: resource 1 [mem 0xa0000000-0xbfffffff]
> [    0.145880] pci_bus 0001:02: resource 0 [io  0xff7db000-0xff7eafff]
> [    0.145889] pci_bus 0001:02: resource 1 [mem 0xc0000000-0xdfffffff]
> [    0.145897] pci_bus 0001:03: resource 0 [io  0xff7db000-0xff7eafff]
> [    0.145906] pci_bus 0001:03: resource 1 [mem 0xc0000000-0xdfffffff]
> [    0.145942] Registering qe_ic with sysfs...
> [    0.149031] bio: create slab <bio-0> at 0
> [    0.153197] vgaarb: loaded
> [    0.156055] SCSI subsystem initialized
> [    0.159772] libata version 3.00 loaded.
> [    0.159905] usbcore: registered new interface driver usbfs
> [    0.165357] usbcore: registered new interface driver hub
> [    0.170666] usbcore: registered new device driver usb
> [    0.175707] Freescale Elo / Elo Plus DMA driver
> [    0.180293] Advanced Linux Sound Architecture Driver Version 1.0.23.
> [    0.186845] Switching to clocksource timebase
> [    0.194746] NET: Registered protocol family 2
> [    0.199032] Switched to NOHz mode on CPU #0
> [    0.203314] IP route cache hash table entries: 4096 (order: 2, 16384
> bytes)
> [    0.210610] TCP established hash table entries: 16384 (order: 5,
> 131072 bytes)
> [    0.218015] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
> [    0.224585] TCP: Hash tables configured (established 16384 bind 16384)
> [    0.231022] TCP reno registered
> [    0.234149] UDP hash table entries: 256 (order: 0, 4096 bytes)
> [    0.239974] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> [    0.246527] NET: Registered protocol family 1
> [    0.251004] RPC: Registered udp transport module.
> [    0.255632] RPC: Registered tcp transport module.
> [    0.260308] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [    0.266758] pci 0000:00:00.0: calling quirk_cardbus_legacy+0x0/0x50
> [    0.266778] pci 0000:00:00.0: calling
> quirk_usb_early_handoff+0x0/0x724
> [    0.266794] pci 0001:02:00.0: calling quirk_cardbus_legacy+0x0/0x50
> [    0.266804] pci 0001:02:00.0: calling
> quirk_usb_early_handoff+0x0/0x724
> [    0.266818] pci 0001:03:00.0: calling quirk_cardbus_legacy+0x0/0x50
> [    0.266829] pci 0001:03:00.0: calling
> quirk_usb_early_handoff+0x0/0x724
> [    0.266839] PCI: CLS 32 bytes, default 32
> [    0.267012] irq: irq 42 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 42
> [    0.267213] irq: irq 19 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 19
> [    0.267604] irq: irq 16 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 16
> [    0.267761] irq: irq 43 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 43
> [    0.268030] irq: irq 59 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 59
> [    0.268323] irq: irq 20 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 20
> [    0.268335] of:fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-channel),
> irq 20
> [    0.275419] irq: irq 21 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 21
> [    0.275430] of:fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-channel),
> irq 21
> [    0.282530] irq: irq 22 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 22
> [    0.282540] of:fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-channel),
> irq 22
> [    0.289648] irq: irq 23 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 23
> [    0.289659] of:fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-channel),
> irq 23
> [    0.297270] irq: irq 28 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 28
> [    0.297360] irq: irq 72 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 72
> [    0.297450] irq: irq 45 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 45
> [    0.297469] irq: irq 58 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 58
> [    0.297630] irq: irq 224 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 224
> [    0.297649] irq: irq 225 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 225
> [    0.297668] irq: irq 226 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 226
> [    0.297686] irq: irq 227 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 227
> [    0.297705] irq: irq 228 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 228
> [    0.297723] irq: irq 229 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 229
> [    0.297742] irq: irq 230 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 230
> [    0.297760] irq: irq 231 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 231
> [    0.297849] Setting up Freescale MSI support
> [    0.298123] audit: initializing netlink socket (disabled)
> [    0.303462] type=3D2000 audit(0.236:1): initialized
> [    0.314074] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.320368] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
> [    0.326841] NTFS driver 2.1.30 [Flags: R/O].
> [    0.331296] JFFS2 version 2.2. (NAND) =A9 2001-2006 Red Hat, Inc.
> [    0.337596] msgmni has been set to 1001
> [    0.341965] Block layer SCSI generic (bsg) driver version 0.4
> loaded (major 253)
> [    0.349288] io scheduler noop registered (default)
> [    0.431003] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
> [    0.438061] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq =3D 42) is a
> 16550A
> [    0.444791] console [ttyS0] enabled, bootconsole disabled
> [    0.456105] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq =3D 42) is a
> 16550A
> [    0.463482] Generic non-volatile memory driver v1.1
> [    0.470831] brd: module loaded
> [    0.475184] loop: module loaded
> [    0.478439] nbd: registered device at major 43
> [    0.485462] st: Version 20101219, fixed bufsize 32768, s/g segs 256
> [    0.492145] sata_sil24 0001:03:00.0: version 1.1 built on Apr  8
> 2011 11:00:08
> [    0.492182] ata_host_alloc: ENTER
> [    0.495504] ata_port_alloc: ENTER
> [    0.498821] ata_port_alloc: ENTER
> [    0.502525] __ata_port_freeze: ata4294967295 port frozen
> [    0.508187] __ata_port_freeze: ata4294967295 port frozen
> [    0.513580] ------------[ cut here ]------------
> [    0.518188] WARNING: at drivers/ata/libata-core.c:6082
> [    0.523316] Modules linked in:
> [    0.526364] NIP: c02876b0 LR: c0287690 CTR: c0248934
> [    0.531323] REGS: df837d00 TRAP: 0700   Not tainted  (2.6.38)
> [    0.537058] MSR: 00029000 <EE,ME,CE>  CR: 20424022  XER: 20000000
> [    0.543158] TASK =3D df838000[1] 'swapper' THREAD: df836000
> [    0.548373] GPR00: 00000001 df837db0 df838000 00000000 00003cb6
> ffffffff c0249690 00080000
> [    0.556736] GPR08: c073b9bc ffffffff 0007ffff 00003cb6 20424022
> 66013a2a 1ff91d00 c056c170
> [    0.565097] GPR16: c0546e94 00000001 00002040 00000400 00000008
> 0000020c e109e040 df807060
> [    0.573459] GPR24: dfa58490 c06160d8 00000080 c029fc0c 00000000
> c07d4a58 dfa58490 00000000
> [    0.582013] NIP [c02876b0] ata_host_activate+0x48/0x11c
> [    0.587232] LR [c0287690] ata_host_activate+0x28/0x11c
> [    0.592360] Call Trace:
> [    0.594801] [df837db0] [c0287690] ata_host_activate+0x28/0x11c
> (unreliable)
> [    0.601771] [df837de0] [c029faf8] sil24_init_one+0x420/0x534
> [    0.607428] [df837e60] [c021d73c] local_pci_probe+0x24/0x34
> [    0.612997] [df837e70] [c021d984] pci_device_probe+0x84/0xa8
> [    0.618652] [df837ea0] [c0258a44] driver_probe_device+0xa8/0x1c8
> [    0.624653] [df837ec0] [c0258c20] __driver_attach+0xbc/0xc0
> [    0.630231] [df837ee0] [c02580ec] bus_for_each_dev+0x70/0xac
> [    0.635885] [df837f10] [c0258844] driver_attach+0x24/0x34
> [    0.641281] [df837f20] [c0257864] bus_add_driver+0xc4/0x294
> [    0.646849] [df837f50] [c0258f98] driver_register+0x84/0x178
> [    0.652504] [df837f70] [c021dc08] __pci_register_driver+0x4c/0xdc
> [    0.658597] [df837f90] [c05ddfe4] sil24_init+0x24/0x34
> [    0.663733] [df837fa0] [c0001dc0] do_one_initcall+0x34/0x1c8
> [    0.669388] [df837fd0] [c05c11ec] kernel_init+0xcc/0x174
> [    0.674696] [df837ff0] [c000cf98] kernel_thread+0x4c/0x68
> [    0.680086] Instruction dump:
> [    0.683045] 7cda3378 7cf93b78 7c7e1b78 4bfffc91 7c7f1b79 408200d8
> 2f9c0000 409e0034
> [    0.690798] 7f69fe70 7d20da78 7c004850 54000ffe <0f000000> 80010034
> 7fc3f378 7f24cb78
> [    0.698738] ---[ end trace ab638653f78364ad ]---
> [    0.703813] scsi0 : sata_sil24
> [    0.707083] scsi1 : sata_sil24
> [    0.710242] ata1: SATA max UDMA/100 host m128@0xc0000000 port
> 0xc0004000
> [    0.716951] ata2: SATA max UDMA/100 host m128@0xc0000000 port
> 0xc0006000
> [    0.724592] ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit
> bank. Manufacturer ID 0x000001 Chip ID 0x002101
> [    0.734612] Amd/Fujitsu Extended Query Table at 0x0040
> [    0.739787]   Amd/Fujitsu Extended Query version 1.3.
> [    0.744839] number of CFI chips: 1
> [    0.748325] ata_port_schedule_eh: port EH scheduled
> [    0.753217] ata_scsi_error: ENTER
> [    0.756539] ata_eh_link_autopsy: ENTER
> [    0.760286] ata_eh_recover: ENTER
> [    0.763606] __ata_port_freeze: ata1 port frozen
> [    0.768317] RedBoot partition parsing not available
> [    0.773212] Creating 5 MTD partitions on "ef000000.nor":
> [    0.778526] 0x000000000000-0x000000040000 : "NOR (RO) Vitesse-7385
> Firmware"
> [    0.786280] 0x000000040000-0x000000080000 : "NOR (RO) DTB Image"
> [    0.792876] 0x000000080000-0x000000400000 : "NOR (RO) Linux Kernel
> Image"
> [    0.800257] 0x000000400000-0x000000f00000 : "NOR (RW) JFFS2 Root File
> System"
> [    0.808001] 0x000000f00000-0x000001000000 : "NOR (RO) U-Boot Image"
> [    0.815110] fsl-lbc ffe05000.localbus: read_byte beyond end of buffer
> [    0.821564] fsl-lbc ffe05000.localbus: read_byte beyond end of buffer
> [    0.828002] fsl-lbc ffe05000.localbus: read_byte beyond end of buffer
> [    0.834443] NAND device: Manufacturer ID: 0xec, Chip ID: 0x75
> (Samsung NAND 32MiB 3,3V 8-bit)
> [    0.843174] Bad block table found at page 65504, version 0x01
> [    0.843513] Bad block table found at page 65472, version 0x01
> [    0.843876] RedBoot partition parsing not available
> [    0.848772] Creating 6 MTD partitions on "ffa00000.flash":
> [    0.854259] 0x000000000000-0x000000100000 : "NAND (RO) U-Boot Image"
> [    0.861299] 0x000000100000-0x000000200000 : "NAND (RO) DTB Image"
> [    0.868010] 0x000000200000-0x000000600000 : "NAND (RO) Linux Kernel
> Image"
> [    0.875530] 0x000000600000-0x000000a00000 : "NAND (RO) Compressed RFS
> Image"
> [    0.883216] 0x000000a00000-0x000001100000 : "NAND (RW) JFFS2 Root
> File System"
> [    0.891042] 0x000001100000-0x000002000000 : "NAND (RW) Writable User
> area"
> [    0.898571] eLBC NAND device at 0xffa00000, bank 1
> [    0.904384] Fixed MDIO Bus: probed
> [    0.907964] irq: irq 29 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 29
> [    0.907986] irq: irq 30 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 30
> [    0.908005] irq: irq 34 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 34
> [    0.908035] irq: irq 17 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 17
> [    0.908054] irq: irq 18 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 18
> [    0.908074] irq: irq 24 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 24
> [    0.908588] eth0: Gianfar Ethernet Controller Version 1.2,
> 00:04:9f:01:1f:49
> [    0.915646] eth0: Running with NAPI enabled
> [    0.919826] eth0: RX BD ring size for Q[0]: 256
> [    0.924353] eth0: RX BD ring size for Q[1]: 256
> [    0.928879] eth0: RX BD ring size for Q[2]: 256
> [    0.933406] eth0: RX BD ring size for Q[3]: 256
> [    0.937932] eth0: RX BD ring size for Q[4]: 256
> [    0.942458] eth0: RX BD ring size for Q[5]: 256
> [    0.946984] eth0: RX BD ring size for Q[6]: 256
> [    0.951512] eth0: RX BD ring size for Q[7]: 256
> [    0.956037] eth0: TX BD ring size for Q[0]: 256
> [    0.960564] eth0: TX BD ring size for Q[1]: 256
> [    0.965090] eth0: TX BD ring size for Q[2]: 256
> [    0.969616] eth0: TX BD ring size for Q[3]: 256
> [    0.974143] eth0: TX BD ring size for Q[4]: 256
> [    0.978668] eth0: TX BD ring size for Q[5]: 256
> [    0.983197] eth0: TX BD ring size for Q[6]: 256
> [    0.987725] eth0: TX BD ring size for Q[7]: 256
> [    0.992327] irq: irq 35 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 35
> [    0.992348] irq: irq 36 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 36
> [    0.992367] irq: irq 40 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 40
> [    0.992397] irq: irq 51 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 51
> [    0.992417] irq: irq 52 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 52
> [    0.992436] irq: irq 67 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 67
> [    0.992938] eth1: Gianfar Ethernet Controller Version 1.2,
> 00:04:9f:01:1f:4a
> [    0.999992] eth1: Running with NAPI enabled
> [    1.004172] eth1: RX BD ring size for Q[0]: 256
> [    1.008699] eth1: RX BD ring size for Q[1]: 256
> [    1.013226] eth1: RX BD ring size for Q[2]: 256
> [    1.017753] eth1: RX BD ring size for Q[3]: 256
> [    1.022280] eth1: RX BD ring size for Q[4]: 256
> [    1.026806] eth1: RX BD ring size for Q[5]: 256
> [    1.031333] eth1: RX BD ring size for Q[6]: 256
> [    1.035860] eth1: RX BD ring size for Q[7]: 256
> [    1.040387] eth1: TX BD ring size for Q[0]: 256
> [    1.044914] eth1: TX BD ring size for Q[1]: 256
> [    1.049441] eth1: TX BD ring size for Q[2]: 256
> [    1.053967] eth1: TX BD ring size for Q[3]: 256
> [    1.058495] eth1: TX BD ring size for Q[4]: 256
> [    1.063022] eth1: TX BD ring size for Q[5]: 256
> [    1.067552] eth1: TX BD ring size for Q[6]: 256
> [    1.072079] eth1: TX BD ring size for Q[7]: 256
> [    1.076679] irq: irq 31 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 31
> [    1.076700] irq: irq 32 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 32
> [    1.076719] irq: irq 33 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 33
> [    1.076748] irq: irq 25 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 25
> [    1.076768] irq: irq 26 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 26
> [    1.076787] irq: irq 27 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 27
> [    1.077315] eth2: Gianfar Ethernet Controller Version 1.2,
> 00:04:9f:01:1f:4b
> [    1.084370] eth2: Running with NAPI enabled
> [    1.088551] eth2: RX BD ring size for Q[0]: 256
> [    1.093077] eth2: RX BD ring size for Q[1]: 256
> [    1.097604] eth2: RX BD ring size for Q[2]: 256
> [    1.102130] eth2: RX BD ring size for Q[3]: 256
> [    1.106657] eth2: RX BD ring size for Q[4]: 256
> [    1.111184] eth2: RX BD ring size for Q[5]: 256
> [    1.115712] eth2: RX BD ring size for Q[6]: 256
> [    1.120238] eth2: RX BD ring size for Q[7]: 256
> [    1.124765] eth2: TX BD ring size for Q[0]: 256
> [    1.129291] eth2: TX BD ring size for Q[1]: 256
> [    1.133818] eth2: TX BD ring size for Q[2]: 256
> [    1.138344] eth2: TX BD ring size for Q[3]: 256
> [    1.142871] eth2: TX BD ring size for Q[4]: 256
> [    1.147398] eth2: TX BD ring size for Q[5]: 256
> [    1.151925] eth2: TX BD ring size for Q[6]: 256
> [    1.156452] eth2: TX BD ring size for Q[7]: 256
> [    1.161023] ucc_geth: QE UCC Gigabit Ethernet Controller
> [    1.166721] Freescale PowerQUICC MII Bus: probed
> [    1.171369] irq: irq 3 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 37
> [    1.171760] irq: irq 2 on host /soc@ffe00000/pic@40000 mapped to
> virtual irq 38
> [    1.172142] Freescale PowerQUICC MII Bus: probed
> [    1.178127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    1.184817] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    1.191162] /soc@ffe00000/usb@22000: Invalid 'dr_mode' property,
> fallback to host mode
> [    1.199169] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host
> Controller
> [    1.205996] fsl-ehci fsl-ehci.0: new USB bus registered, assigned
> bus number 1
> [    1.235156] fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000
> [    1.251134] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
> [    1.257090] hub 1-0:1.0: USB hub found
> [    1.260860] hub 1-0:1.0: 1 port detected
> [    1.264959] Initializing USB Mass Storage driver...
> [    1.269918] usbcore: registered new interface driver usb-storage
> [    1.275929] USB Mass Storage support registered.
> [    1.280797] of:mpc-i2c ffe03000.i2c: timeout 1000000 us
> [    1.286321] of:mpc-i2c ffe03100.i2c: timeout 1000000 us
> [    1.291698] EDAC MC: Ver: 2.1.0 Apr  8 2011
> [    1.295999] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista
> Software
> [    1.303043] mpc85xx_mc_err_probe: No ECC DIMMs discovered
> [    1.308913] EDAC DEVICE0: Giving out device to module
> 'MPC85xx_edac' controller 'mpc85xx_l2_err': DEV 'mpc85xx_l2_err'
> (INTERRUPT)
> [    1.320684] MPC85xx_edac acquired irq 16 for L2 Err
> [    1.325561] MPC85xx_edac L2 err registered
> [    1.329874] sdhci: Secure Digital Host Controller Interface driver
> [    1.336056] sdhci: Copyright(c) Pierre Ossman
> [    1.340590] mmc0: SDHCI controller on ffe2e000.sdhci
> [ffe2e000.sdhci] using DMA
> [    1.348286] of:talitos ffe30000.crypto: hwrng
> [    1.352766] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-aes-
> talitos
> [    1.359618] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-3des-
> talitos
> [    1.366583] of:talitos ffe30000.crypto: authenc-hmac-sha256-cbc-aes-
> talitos
> [    1.473638] of:talitos ffe30000.crypto: authenc-hmac-sha256-cbc-3des-
> talitos
> [    1.480747] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-aes-
> talitos
> [    1.487513] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-3des-
> talitos
> [    1.494358] of:talitos ffe30000.crypto: cbc-aes-talitos
> [    1.499643] of:talitos ffe30000.crypto: cbc-3des-talitos
> [    1.505015] of:talitos ffe30000.crypto: md5-talitos
> [    1.509952] of:talitos ffe30000.crypto: sha1-talitos
> [    1.514976] of:talitos ffe30000.crypto: sha224-talitos
> [    1.520174] of:talitos ffe30000.crypto: sha256-talitos
> [    1.525372] of:talitos ffe30000.crypto: sha384-talitos
> [    1.530573] of:talitos ffe30000.crypto: sha512-talitos
> [    1.536275] usbcore: registered new interface driver usbhid
> [    1.541850] usbhid: USB HID core driver
> [    1.545983] ALSA device list:
> [    1.548958]   No soundcards found.
> [    1.553108] IPv4 over IPv4 tunneling driver
> [    1.557922] TCP cubic registered
> [    1.561155] Initializing XFRM netlink socket
> [    1.565847] NET: Registered protocol family 10
> [    1.574266] IPv6 over IPv4 tunneling driver
> [    1.579967] NET: Registered protocol family 17
> [    1.584454] Registering the dns_resolver key type
> [    1.590372] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> [    2.102073] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [    2.939140] sil24_softreset: ENTER
> [    2.955143] ata_dev_classify: found ATA device by sig
> [    2.960194] sil24_softreset: EXIT, class=3D1
> [    2.964295] ata_eh_thaw_port: ata1 port thawed
> [    2.968734] ata_std_postreset: ENTER
> [    2.972314] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
> [    2.978315] ata_std_postreset: EXIT
> [    2.981804] ata_eh_revalidate_and_attach: ENTER
> [    2.986333] ata1.00: ata_dev_read_id: ENTER
> [    2.986342] ata_sg_setup: ENTER, ata1
> [    2.989996] ata_sg_setup: 1 sg elements mapped
> [    2.994431] max_sge now 1
> [    2.997041] max_sge now 1
> [    3.147167] IP-Config: Guessing netmask 255.255.255.0
> [    3.152315] IP-Config: Complete:
> [    3.155546]      device=3Deth0, addr=3D192.168.0.20,
> mask=3D255.255.255.0, gw=3D255.255.255.255,
> [    3.163391]      host=3DP1020RDB, domain=3D, nis-domain=3D(none),
> [    3.168962]      bootserver=3D192.168.0.7, rootserver=3D192.168.0.7,
> rootpath=3D
> [    4.147148] PHY: 0:01 - Link is Up - 1000/Full
> [    4.151702] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [    7.999132] __ata_port_freeze: ata1 port frozen
> [    8.003672] ata_sg_clean: unmapping 1 sg elements
> [    8.008369] ata1.00: qc timeout (cmd 0xec)
> [    8.012474] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0x4)
> [    8.018566] ata_eh_revalidate_and_attach: EXIT rc=3D-5
> [    8.023534] __ata_port_freeze: ata1 port frozen
> [   10.167138] sil24_softreset: ENTER
> [   10.183147] ata_dev_classify: found ATA device by sig
> [   10.188197] sil24_softreset: EXIT, class=3D1
> [   10.192298] ata_eh_thaw_port: ata1 port thawed
> [   10.196737] ata_std_postreset: ENTER
> [   10.200316] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
> [   10.206318] ata_std_postreset: EXIT
> [   10.209806] ata_eh_revalidate_and_attach: ENTER
> [   10.214335] ata1.00: ata_dev_read_id: ENTER
> [   10.214344] ata_sg_setup: ENTER, ata1
> [   10.217998] ata_sg_setup: 1 sg elements mapped
> [   14.539135] eth0: no IPv6 routers present
> [   20.219208] __ata_port_freeze: ata1 port frozen
> [   20.223743] ata_sg_clean: unmapping 1 sg elements
> [   20.228439] ata1.00: qc timeout (cmd 0xec)
> [   20.232540] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0x4)
> [   20.238631] ata_eh_revalidate_and_attach: EXIT rc=3D-5
> [   20.243600] ata1: limiting SATA link speed to 1.5 Gbps
> [   20.248739] __ata_port_freeze: ata1 port frozen
> [   22.447139] sil24_softreset: ENTER
> [   22.463149] ata_dev_classify: found ATA device by sig
> [   22.468199] sil24_softreset: EXIT, class=3D1
> [   22.472300] ata_eh_thaw_port: ata1 port thawed
> [   22.476739] ata_std_postreset: ENTER
> [   22.480318] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
> [   22.486406] ata_std_postreset: EXIT
> [   22.489893] ata_eh_revalidate_and_attach: ENTER
> [   22.494421] ata1.00: ata_dev_read_id: ENTER
> [   22.494428] ata_sg_setup: ENTER, ata1
> [   22.498080] ata_sg_setup: 1 sg elements mapped
> [   52.499142] __ata_port_freeze: ata1 port frozen
> [   52.503678] ata_sg_clean: unmapping 1 sg elements
> [   52.508374] ata1.00: qc timeout (cmd 0xec)
> [   52.512477] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0x4)
> [   52.518570] ata_eh_revalidate_and_attach: EXIT rc=3D-5
> [   52.523536] __ata_port_freeze: ata1 port frozen
> [   54.739148] sil24_softreset: ENTER
> [   54.755149] ata_dev_classify: found ATA device by sig
> [   54.760209] sil24_softreset: EXIT, class=3D1
> [   54.764312] ata_eh_thaw_port: ata1 port thawed
> [   54.768751] ata_std_postreset: ENTER
> [   54.772330] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
> [   54.778419] ata_std_postreset: EXIT
> [   54.781906] ata_eh_revalidate_and_attach: ENTER
> [   54.786435] ata_eh_recover: EXIT, rc=3D0
> [   54.790184] ata_scsi_error: EXIT
> [   54.793440] ata_port_schedule_eh: port EH scheduled
> [   54.798330] ata_scsi_error: ENTER
> [   54.801651] ata_eh_link_autopsy: ENTER
> [   54.805398] ata_eh_recover: ENTER
> [   54.808717] __ata_port_freeze: ata2 port frozen
> [   56.883149] ata_eh_thaw_port: ata2 port thawed
> [   56.887593] ata_std_postreset: ENTER
> [   56.891171] ata2: SATA link down (SStatus 0 SControl 0)
> [   56.896392] ata_std_postreset: EXIT
> [   56.899880] ata_eh_revalidate_and_attach: ENTER
> [   56.904409] ata_eh_recover: EXIT, rc=3D0
> [   56.908157] ata_scsi_error: EXIT
> [   56.931100] VFS: Mounted root (nfs filesystem) on device 0:15.
> [   56.937349] devtmpfs: mounted
> [   56.940365] Freeing unused kernel memory: 220k init
>=20
>=20
> [    0.518188] WARNING: at drivers/ata/libata-core.c:6082
>=20
> which means that pdev->irq is 0
>=20
> lspci -vvvn:
>=20
> root@p1020rdb:~# lspci -nvv
> 0000:00:00.0 0604: 1957:0100 (rev 10)
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx-
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Latency: 0
> 	Region 0: Memory at <ignored> (32-bit, non-prefetchable)
> 	Bus: primary=3D00, secondary=3D01, subordinate=3D01, sec-latency=3D0
> 	I/O behind bridge: 00000000-00000fff
> 	Memory behind bridge: a0000000-bfffffff
> 	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=3Dfast >TAbort-
> <TAbort- <MAbort- <SERR- <PERR-
> 	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
> 		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
> 	Capabilities: [44] Power Management version 2
> 		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D0mA
> PME(D0+,D1+,D2+,D3hot+,D3cold+)
> 		Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME-
> 	Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
> 		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s
> <64ns, L1 <1us
> 			ExtTag- RBE- FLReset-
> 		DevCtl:	Report errors: Correctable- Non-Fatal+ Fatal+
> Unsupported+
> 			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
> 			MaxPayload 128 bytes, MaxReadReq 512 bytes
> 		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> TransPend-
> 		LnkCap:	Port #0, Speed 2.5GT/s, Width x4, ASPM L0s,
> Latency L0 <2us,
> L1 unlimited
> 			ClockPM- Surprise- LLActRep- BwNot-
> 		LnkCtl:	ASPM Disabled; RCB 128 bytes Disabled- Retrain-
> CommClk-
> 			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> 		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk-
> DLActive-
> BWMgmt- ABWMgmt-
> 		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna-
> CRSVisible-
> 		RootCap: CRSVisible-
> 		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
> 	Capabilities: [100] Advanced Error Reporting
> 		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF+
> MalfTLP+ ECRC- UnsupReq- ACSViol-
> 		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> ChkEn-
> 	Kernel driver in use: pcieport
>=20
> 0001:02:00.0 0604: 1957:0100 (rev 10)
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx-
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Latency: 0, Cache Line Size: 32 bytes
> 	Region 0: Memory at <ignored> (32-bit, non-prefetchable)
> 	Bus: primary=3D00, secondary=3D03, subordinate=3D03, sec-latency=3D0
> 	I/O behind bridge: 00000000-00000fff
> 	Memory behind bridge: c0000000-dfffffff
> 	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=3Dfast >TAbort-
> <TAbort- <MAbort- <SERR- <PERR-
> 	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
> 		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
> 	Capabilities: [44] Power Management version 2
> 		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D0mA
> PME(D0+,D1+,D2+,D3hot+,D3cold+)
> 		Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME-
> 	Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
> 		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s
> <64ns, L1 <1us
> 			ExtTag- RBE- FLReset-
> 		DevCtl:	Report errors: Correctable- Non-Fatal+ Fatal+
> Unsupported+
> 			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
> 			MaxPayload 128 bytes, MaxReadReq 512 bytes
> 		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> TransPend-
> 		LnkCap:	Port #0, Speed 2.5GT/s, Width x4, ASPM L0s,
> Latency L0 <2us,
> L1 unlimited
> 			ClockPM- Surprise- LLActRep- BwNot-
> 		LnkCtl:	ASPM Disabled; RCB 128 bytes Disabled- Retrain-
> CommClk-
> 			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> 		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk-
> DLActive-
> BWMgmt- ABWMgmt-
> 		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna-
> CRSVisible-
> 		RootCap: CRSVisible-
> 		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
> 	Capabilities: [100] Advanced Error Reporting
> 		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF+
> MalfTLP+ ECRC- UnsupReq- ACSViol-
> 		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> ChkEn-
> 	Kernel driver in use: pcieport
>=20
> 0001:03:00.0 0104: 1095:3132 (rev 01)
> 	Subsystem: 1095:7132
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Latency: 0, Cache Line Size: 32 bytes
> 	Interrupt: pin A routed to IRQ 0
> 	Region 0: Memory at c0000000 (64-bit, non-prefetchable) [size=3D128]
> 	Region 2: Memory at c0004000 (64-bit, non-prefetchable) [size=3D16K]
> 	Region 4: I/O ports at 1000 [size=3D128]
> 	[virtual] Expansion ROM at c0080000 [disabled] [size=3D512K]
> 	Capabilities: [54] Power Management version 2
> 		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=3D0mA PME(D0-,D1-,D2-
> ,D3hot-,D3cold-)
> 		Status: D0 PME-Enable- DSel=3D0 DScale=3D1 PME-
> 	Capabilities: [5c] MSI: Mask- 64bit+ Count=3D1/1 Enable-
> 		Address: 0000000000000000  Data: 0000
> 	Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
> 		DevCap:	MaxPayload 1024 bytes, PhantFunc 0, Latency L0s
> <64ns, L1 <1us
> 			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
> 		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
> 			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
> 			MaxPayload 128 bytes, MaxReadReq 1024 bytes
> 		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> TransPend-
> 		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s,
> Latency L0
> unlimited, L1 unlimited
> 			ClockPM- Surprise- LLActRep- BwNot-
> 		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain-
> CommClk-
> 			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> 		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
> DLActive-
> BWMgmt- ABWMgmt-
> 	Capabilities: [100] Advanced Error Reporting
> 		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF+
> MalfTLP+ ECRC- UnsupReq- ACSViol-
> 		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> ChkEn-
> 	Kernel driver in use: sata_sil24
>=20
> root@p1020rdb:~#
>=20
> 		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=3D0mA PME(D0-,D1-,D2-
> ,D3hot-,D3cold-)
> 		Status: D0 PME-Enable- DSel=3D0 DScale=3D1 PME-
> 	Capabilities: [5c] MSI: Mask- 64bit+ Count=3D1/1 Enable-
> 		Address: 0000000000000000  Data: 0000
> 	Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
> 		DevCap:	MaxPayload 1024 bytes, PhantFunc 0, Latency L0s
> <64ns, L1 <1us
> 			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
> 		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
> 			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
> 			MaxPayload 128 bytes, MaxReadReq 1024 bytes
> 		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> TransPend-
> 		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s,
> Latency L0
> unlimited, L1 unlimited
> 			ClockPM- Surprise- LLActRep- BwNot-
> 		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain-
> CommClk-
> 			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> 		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
> DLActive-
> BWMgmt- ABWMgmt-
> 	Capabilities: [100] Advanced Error Reporting
> 		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF-
> MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> UnxCmplt- RxOF+
> MalfTLP+ ECRC- UnsupReq- ACSViol-
> 		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> NonFatalErr-
> 		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> ChkEn-
> 	Kernel driver in use: sata_sil24
> 	Kernel modules: sata_sil24
>=20
>=20
> --
> Leon

^ permalink raw reply

* Re: [PATCH] powerpc/book3e: Fix extlb size
From: Kumar Gala @ 2011-04-08  9:42 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev
In-Reply-To: <46db3f277b05346f7d50d31907ebcb6b11696c6d.1302247340.git.michael@ellerman.id.au>


On Apr 8, 2011, at 2:22 AM, Michael Ellerman wrote:

> The calculation of the size for the exception save area of the TLB
> miss handler is wrong, luckily it's too big not too small.
> 
> Rework it to make it a bit clearer, and also correct. We want 3 save
> areas, each EX_TLB_SIZE _bytes_.
> 
> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
> ---
> arch/powerpc/include/asm/paca.h |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)

Acked-by: Kumar Gala <galak@kernel.crashing.org>

- k

^ permalink raw reply

* Re: Where is CONFIG_BOOT_LOAD ?
From: Florian Vögel @ 2011-04-08  9:42 UTC (permalink / raw)
  To: Guillaume Dargaud; +Cc: linuxppc-dev
In-Reply-To: <201104081128.37906.dargaud@lpsc.in2p3.fr>


On Fri, 2011-04-08 at 11:28 +0200, Guillaume Dargaud wrote:
> Hello all,
> I don't see this option in the .config and in the menuconfig / Advanced Setup I don't see a [Set the boot link/load 
> address]:
> 
> [*] Prompt for advanced kernel configuration options
> [ ]   Set maximum low memory
> [ ]   Set custom page offset address
> [ ]   Set custom kernel base address
> [ ] Set custom user task size
> [ ] Set custom consistent memory pool size

Isn't that blackfin specific?

linux-next # find -name Kconfig -exec grep -H "BOOT_LOAD" \{\} \;
./arch/blackfin/Kconfig:config BOOT_LOAD

linux-next # find -exec grep -H "CONFIG_BOOT_LOAD" \{\} \;
./arch/blackfin/boot/Makefile:UIMAGE_OPTS-$(CONFIG_RAMKERNEL) += -a
$(CONFIG_BOOT_LOAD)
./arch/blackfin/kernel/vmlinux.lds.S:   . = CONFIG_BOOT_LOAD;
./arch/blackfin/kernel/vmlinux.lds.S:   . = CONFIG_BOOT_LOAD;
./arch/blackfin/kernel/trace.c: } else if (address < CONFIG_BOOT_LOAD) {
./arch/blackfin/kernel/setup.c: _rambase = CONFIG_BOOT_LOAD;
./arch/blackfin/configs/SRV1_defconfig:CONFIG_BOOT_LOAD=0x400000
./arch/blackfin/configs/BF527-TLL6527M_defconfig:CONFIG_BOOT_LOAD=0x400000
./arch/blackfin/mach-common/arch_checks.c:#if CONFIG_BOOT_LOAD <
FIXED_CODE_END
./arch/blackfin/mach-common/arch_checks.c:#if (CONFIG_BOOT_LOAD & 0x3)
./arch/blackfin/mach-common/arch_checks.c:#if ((0xffffffff -
L1_CODE_START + 1) + CONFIG_BOOT_LOAD) > 0x1000000

-Florian

^ permalink raw reply

* [PATCH] powerpc: Fix xmon ml/mz commands to work with 64-bit values
From: Josh Boyer @ 2011-04-08 12:18 UTC (permalink / raw)
  To: benh; +Cc: linuxppc-dev

The ml and and mz commands in xmon currently only work on 32-bit values.
This leads to odd issues when trying to use them on a ppc64 machine.  If
one specified 64-bit addresses to mz, it would loop on the same output
indefinitely.  The ml command would fail to find any 64-bit values in a
memory range, even though one could clearly see them present with the d
command.

This adds a small function that mimics GETWORD, but works for 64-bit
values.  The data types involved in these commands are also changed to
'unsigned long' instead of just 'unsigned'.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>

---
 arch/powerpc/xmon/xmon.c |   47 ++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 38 insertions(+), 9 deletions(-)

Index: linux-2.6/arch/powerpc/xmon/xmon.c
===================================================================
--- linux-2.6.orig/arch/powerpc/xmon/xmon.c
+++ linux-2.6/arch/powerpc/xmon/xmon.c
@@ -2257,14 +2257,40 @@ memdiffs(unsigned char *p1, unsigned cha
 		printf("Total of %d differences\n", prt);
 }
 
-static unsigned mend;
-static unsigned mask;
+static unsigned long mend;
+static unsigned long mask;
+
+/* This is mimics GETWORD but works for 64-bit values. */
+static inline unsigned long xmon_getval(unsigned char *val)
+{
+	unsigned long word1 = 0, word2 = 0;
+	unsigned long size = sizeof(unsigned long);
+	int i;
+	int bits = 24;
+
+	for (i = 0; i < 4; i++) {
+		word1 += val[i] << bits;
+		bits -= 8;
+	}
+	if (size > 4) {
+		bits = 24;
+		for (i = 4; i < 8; i++) {
+			word2 += val[i] << bits;
+			bits -= 8;
+		}
+		word1 = word1 << 32;
+		word2 = word2 & 0x00000000ffffffff;
+		word1 = word1 | word2;
+	}
+	return word1;
+}
 
 static void
 memlocate(void)
 {
-	unsigned a, n;
-	unsigned char val[4];
+	unsigned long a, n;
+	unsigned char val[sizeof(unsigned long)];
+	int size = sizeof(unsigned long);
 
 	last_cmd = "ml";
 	scanhex((void *)&mdest);
@@ -2280,10 +2306,10 @@ memlocate(void)
 		}
 	}
 	n = 0;
-	for (a = mdest; a < mend; a += 4) {
-		if (mread(a, val, 4) == 4
-			&& ((GETWORD(val) ^ mval) & mask) == 0) {
-			printf("%.16x:  %.16x\n", a, GETWORD(val));
+	for (a = mdest; a < mend; a += size) {
+		if (mread(a, val, size) == size
+			&& ((xmon_getval(val) ^ mval) & mask) == 0) {
+			printf("%.16lx:  %.16lx\n", a, xmon_getval(val));
 			if (++n >= 10)
 				break;
 		}
@@ -2297,7 +2323,7 @@ static void
 memzcan(void)
 {
 	unsigned char v;
-	unsigned a;
+	unsigned long a;
 	int ok, ook;
 
 	scanhex(&mdest);

^ permalink raw reply

* Re: known working sata_sil24.c setup on powerpc platforms?
From: Leon Woestenberg @ 2011-04-08 12:19 UTC (permalink / raw)
  To: Kushwaha Prabhakar-B32579
  Cc: Tejun Heo, Jeff Garzik, Linux PPC, linux-ide@vger.kernel.org,
	Moffett, Kyle D, Gupta Maneesh-B18878
In-Reply-To: <071A08F2C6A57E4E94D980ECA553F87416DA14@039-SN1MPN1-004.039d.mgd.msft.net>

Hello Prabhakar,

I have P1020E 1.0 silicon (0x80ec0010) on my P1020RDB.

With the addition of the interrupt-map-mask (thanks, miscopied that) I
get interrupt #16.

However, it keeps continously firing (*). I have verified that the
Sil3132 device itself has no interrupt pending (the interrupt status
register reads zero).

root@p1020rdb:~# lspci -vvvn
...
0001:03:00.0 0104: 1095:3132 (rev 01)
	Subsystem: 1095:7132
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 16
...

(*)
[    2.877714] irq 16: nobody cared (try booting with the "irqpoll" option)
[    2.884406] Call Trace:
[    2.886856] [dffeff50] [c000763c] show_stack+0x4c/0x178 (unreliable)
[    2.893216] [dffeff90] [c007819c] __report_bad_irq+0x38/0xd0
[    2.898871] [dffeffb0] [c0078400] note_interrupt+0x1cc/0x22c
[    2.904528] [dffeffe0] [c0079320] handle_fasteoi_irq+0xd0/0x118
[    2.910444] [dffefff0] [c000cbb4] call_handle_irq+0x18/0x28
[    2.916012] [dfff1ec0] [c0004e0c] do_IRQ+0xa4/0x140
[    2.920888] [dfff1ef0] [c000e63c] ret_from_except+0x0/0x18
[    2.926376] --- Exception: 501 at __do_softirq+0x5c/0x158
[    2.926380]     LR =3D call_do_softirq+0x14/0x24
[    2.936201] [dfff1fb0] [c00436d4] __do_softirq+0xc0/0x158 (unreliable)
[    2.942727] [dfff1ff0] [c000cb8c] call_do_softirq+0x14/0x24
[    2.948294] [c0633e70] [c0004c58] do_softirq+0x74/0x80
[    2.953429] [c0633e90] [c00434a0] irq_exit+0x7c/0x9c
[    2.958388] [c0633ea0] [c0004e38] do_IRQ+0xd0/0x140
[    2.963261] [c0633ed0] [c000e63c] ret_from_except+0x0/0x18
[    2.968746] --- Exception: 501 at cpu_idle+0xcc/0xdc
[    2.968749]     LR =3D cpu_idle+0xcc/0xdc
[    2.977527] [c0633f90] [c0008744] cpu_idle+0x58/0xdc (unreliable)
[    2.983618] [c0633fb0] [c0002494] rest_init+0x64/0x78
[    2.988667] [c0633fc0] [c05c17ec] start_kernel+0x278/0x2dc
[    2.994147] [c0633ff0] [c00003a0] skpinv+0x2b8/0x2f4
[    2.999102] handlers:
[    3.001365] [<c029fc38>] (sil24_interrupt+0x0/0x8)
[    3.006162] Disabling IRQ #16

Even after this, the interrupt handler keeps firing (verified by
printing the Sil3132 interrupt status register, which reads 0, no
interrupts pending).

root@p1020rdb:~# cat /proc/interrupts
           CPU0
 16:     200001    OpenPIC         Level        sata_sil24
 17:          0    OpenPIC         Level        [EDAC] L2 err
 18:       5218    OpenPIC         Level        eth0_g1_tx
 19:          8    OpenPIC         Level        fsl-lbc
 20:          0    OpenPIC         Level        fsldma-chan
 21:          0    OpenPIC         Level        fsldma-chan
 22:          0    OpenPIC         Level        fsldma-chan
 23:          0    OpenPIC         Level        fsldma-chan
 24:          0    OpenPIC         Level        eth0_g1_rx
 25:          0    OpenPIC         Level        eth0_g1_er
 28:          0    OpenPIC         Level        ehci_hcd:usb1
 29:         65    OpenPIC         Level        eth0_g0_tx
 30:       7203    OpenPIC         Level        eth0_g0_rx
 34:          0    OpenPIC         Level        eth0_g0_er
 42:       2988    OpenPIC         Level        serial
 43:          0    OpenPIC         Level        i2c-mpc, i2c-mpc
 45:          0    OpenPIC         Level        of:talitos
 72:      12883    OpenPIC         Level        mmc0
LOC:      16816   Local timer interrupts
SPU:      27343   Spurious interrupts
CNT:          0   Performance monitoring interrupts
MCE:          0   Machine check exceptions


EIVPR0 register:

root@p1020rdb:~# devmem2 0xffe50000
/dev/mem opened.
Memory mapped at address 0x48021000.
Value at address 0xFFE50000 (0x48021000): 0x80480000

This means level sensitive, active low.


The external IRQ0 is pulled high, verified by scope.


Regards,

Leon.


(*)The sata_sil24 interrupt handler keeps firing.

[    6.929867] irq 16: nobody cared (try booting with the "irqpoll" option)
[    6.936566] Call Trace:
[    6.939018] [dffeff50] [c000763c] show_stack+0x4c/0x178 (unreliable)
[    6.945377] [dffeff90] [c007819c] __report_bad_irq+0x38/0xd0
[    6.951034] [dffeffb0] [c0078400] note_interrupt+0x1cc/0x22c
[    6.956690] [dffeffe0] [c0079320] handle_fasteoi_irq+0xd0/0x118
[    6.962606] [dffefff0] [c000cbb4] call_handle_irq+0x18/0x28
[    6.968174] [deee7e00] [c0004e0c] do_IRQ+0xa4/0x140
[    6.973051] [deee7e30] [c000e63c] ret_from_except+0x0/0x18
[    6.978545] --- Exception: 501 at find_next_zero_bit+0x8c/0xe0
[    6.978549]     LR =3D alloc_fd+0x64/0x130
[    6.988283] [deee7ef0] [c00b9950] getname+0x28/0xf4 (unreliable)
[    6.994297] [deee7f10] [c00ab890] do_sys_open+0x5c/0x11c
[    6.999604] [deee7f40] [c000dfe8] ret_from_syscall+0x0/0x3c
[    7.005172] --- Exception: c01 at 0x48017a04
[    7.005175]     LR =3D 0x48006a18
[    7.012560] handlers:
[    7.014823] [<c029fc38>] (sil24_interrupt+0x0/0x4fc)
[    7.019795] Disabling IRQ #16


On Fri, Apr 8, 2011 at 11:41 AM, Kushwaha Prabhakar-B32579
<B32579@freescale.com> wrote:
> Hi Leon,
>
> =A0interrupt-map-mask is missing for pcie@ffe0a000 node. Please see my co=
mment there...
> pcie@ffe0a000 node deals with mini-PCIe.
>
> one more thing, can you please tell P1020Si version. It will be there on =
u-boot log.
>
> --Prabhakar
>
>> -----Original Message-----
>> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
>> Sent: Friday, April 08, 2011 2:43 PM
>> To: Kushwaha Prabhakar-B32579
>> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff Garzik;
>> Linux PPC; Gupta Maneesh-B18878
>> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
>>
>> Hello Prabhakar,
>>
>> On Fri, Apr 8, 2011 at 10:31 AM, Kushwaha Prabhakar-B32579
>> <B32579@freescale.com> wrote:
>> > Hi Leon,
>> >
>> >
>> >> -----Original Message-----
>> >> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
>> >> Sent: Friday, April 08, 2011 1:55 PM
>> >> To: Kushwaha Prabhakar-B32579
>> >> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff
>> >> Garzik; Linux PPC; Gupta Maneesh-B18878
>> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
>> >>
>> >> Hello Prabhakar,
>> >>
>> >> On Fri, Apr 8, 2011 at 5:44 AM, Kushwaha Prabhakar-B32579
>> >> <B32579@freescale.com> wrote:
>> >> >> -----Original Message-----
>> >> >> From: linux-ide-owner@vger.kernel.org [mailto:linux-ide-
>> >> >> owner@vger.kernel.org] On Behalf Of Leon Woestenberg
>> >> >> Sent: Thursday, April 07, 2011 10:23 PM
>> >> >> To: Kushwaha Prabhakar-B32579
>> >> >> Cc: Moffett, Kyle D; Linux PPC; linux-ide@vger.kernel.org; Tejun
>> >> >> Heo; Jeff Garzik
>> >> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms=
?
>> >> >>
>> >> >> On Thu, Apr 7, 2011 at 6:48 AM, Kushwaha Prabhakar-B32579
>> >> >> <B32579@freescale.com> wrote:
>> >> >> > Can you please check p2020rdb.dts for IDSEL entries for pci0/1
>> node?
>> >> >> >
>> >> >> > In order to work in legacy mode, IDSEL entries are required.
>> >> >> >
>> >> >> No, the p1020rdb and p2020rdb do not have the IDSEL entries:
>> >> >> What would the correct IDSEL entries be?
>> >> >
>> >> > For legacy interrupt to work IDSEL values are required.. please
>> >> > find
>> >> the correct IDSEL values for pci0/1.
>> >> >
>> >> > =A0 =A0 =A0 =A0pci0: pcie@ffe09000 {
>> >> > ...
>> >> > Please try with this.. I am in process of pushing these IDSEL
>> >> > values to
>> >> upstream.
>> >> >
>> >>
>> >> Do you have these for P1020RDB =A0as well? I found a P1020RDB board
>> >> that has the CE10 errata fixed, so IRQ0 is properly pulled up.
>> >>
>> >
>> > =A0Same IDSEL values are valid for P1020RDB also.
>> >
>> I compiled the new device tree binary, the dump is below(*) and booted
>> the P1020RDB from that.
>>
>> I verified using an oscilloscope that IRQ0 indeed remains high.
>>
>> However, no interrupt seems to come in from the sata_sil24 driver, see
>> boot log (**).
>>
>> (*) dtb dump:
>> $ dtc -I dtb -O dts /tftpboot/p1020rdb/uImage.dtb
>>
>> =A0 =A0 =A0 pcie@ffe09000 {
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 compatible =3D "fsl,mpc8548-pcie";
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #interrupt-cells =3D <0x1>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0xffe09000 0x0 0x1000>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 bus-range =3D <0x0 0xff>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0 0xa0000000 0x0 0xa=
0000000 0x0
>> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc30000 0x0 0x10000>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 clock-frequency =3D <0x1fca055>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-parent =3D <0x2>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupts =3D <0x10 0x2>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-map-mask =3D <0xf800 0x0 0x0 0x7>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-map =3D <0x0 0x0 0x0 0x1 0x2 0x4 0=
x1 0x0 0x0 0x0 0x2
>> 0x2 0x5
>> 0x1 0x0 0x0 0x0 0x3 0x2 0x6 0x1 0x0 0x0 0x0 0x4 0x2 0x7 0x1>;
>>
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 pcie@0 {
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0x0 0x0 0x0 0x0=
>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0 0x=
a0000000 0x2000000 0x0
>> 0xa0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
>> 0x100000>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 };
>> =A0 =A0 =A0 };
>>
>> =A0 =A0 =A0 pcie@ffe0a000 {
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 compatible =3D "fsl,mpc8548-pcie";
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #interrupt-cells =3D <0x1>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0xffe0a000 0x0 0x1000>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 bus-range =3D <0x0 0xff>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0 0xc0000000 0x0 0xc=
0000000 0x0
>> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc20000 0x0 0x10000>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 clock-frequency =3D <0x1fca055>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-parent =3D <0x2>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupts =3D <0x10 0x2>;
>
> interrupt-map-mask is missing here.. can you please check dts again.
>
>
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-map =3D <0x0 0x0 0x0 0x1 0x2 0x0 0=
x1 0x0 0x0 0x0 0x2
>> 0x2 0x1
>> 0x1 0x0 0x0 0x0 0x3 0x2 0x2 0x1 0x0 0x0 0x0 0x4 0x2 0x3 0x1>;
>>
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 pcie@0 {
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0x0 0x0 0x0 0x0=
>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0 0x=
c0000000 0x2000000 0x0
>> 0xc0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
>> 0x100000>;
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 };
>> =A0 =A0 =A0 };
>> };
>>
>> (**) boot log
>>
>> [ =A0 =A00.000000] Using P1020 RDB machine description
>> [ =A0 =A00.000000] Memory CAM mapping: 256/256 Mb, residual: 0Mb
>> [ =A0 =A00.000000] Linux version 2.6.38 (leon@lunar) (gcc version 4.3.3
>> (GCC) ) #6 Fri Apr 8 11:00:10 CEST 2011
>> [ =A0 =A00.000000] Found legacy serial port 0 for /soc@ffe00000/serial@4=
500
>> [ =A0 =A00.000000] =A0 mem=3Dffe04500, taddr=3Dffe04500, irq=3D0, clk=3D=
399999996,
>> speed=3D0
>> [ =A0 =A00.000000] Found legacy serial port 1 for /soc@ffe00000/serial@4=
600
>> [ =A0 =A00.000000] =A0 mem=3Dffe04600, taddr=3Dffe04600, irq=3D0, clk=3D=
399999996,
>> speed=3D0
>> [ =A0 =A00.000000] bootconsole [udbg0] enabled
>> [ =A0 =A00.000000] Found FSL PCI host bridge at 0x00000000ffe09000.
>> Firmware bus number: 0->255
>> [ =A0 =A00.000000] PCI host bridge /pcie@ffe09000 =A0ranges:
>> [ =A0 =A00.000000] =A0MEM 0x00000000a0000000..0x00000000bfffffff ->
>> 0x00000000a0000000
>> [ =A0 =A00.000000] =A0 IO 0x00000000ffc30000..0x00000000ffc3ffff ->
>> 0x0000000000000000
>> [ =A0 =A00.000000] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
>> [ =A0 =A00.000000] Found FSL PCI host bridge at 0x00000000ffe0a000.
>> Firmware bus number: 0->0
>> [ =A0 =A00.000000] PCI host bridge /pcie@ffe0a000 =A0ranges:
>> [ =A0 =A00.000000] =A0MEM 0x00000000c0000000..0x00000000dfffffff ->
>> 0x00000000c0000000
>> [ =A0 =A00.000000] =A0 IO 0x00000000ffc20000..0x00000000ffc2ffff ->
>> 0x0000000000000000
>> [ =A0 =A00.000000] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
>> [ =A0 =A00.000000] MPC85xx RDB board from Freescale Semiconductor
>> [ =A0 =A00.000000] Top of RAM: 0x20000000, Total RAM: 0x20000000
>> [ =A0 =A00.000000] Memory hole size: 0MB
>> [ =A0 =A00.000000] Zone PFN ranges:
>> [ =A0 =A00.000000] =A0 DMA =A0 =A0 =A00x00000000 -> 0x00020000
>> [ =A0 =A00.000000] =A0 Normal =A0 empty
>> [ =A0 =A00.000000] =A0 HighMem =A0empty
>> [ =A0 =A00.000000] Movable zone start PFN for each node
>> [ =A0 =A00.000000] early_node_map[1] active PFN ranges
>> [ =A0 =A00.000000] =A0 =A0 0: 0x00000000 -> 0x00020000
>> [ =A0 =A00.000000] On node 0 totalpages: 131072
>> [ =A0 =A00.000000] free_area_init_node: node 0, pgdat c062d9bc,
>> node_mem_map c07e1000
>> [ =A0 =A00.000000] =A0 DMA zone: 1024 pages used for memmap
>> [ =A0 =A00.000000] =A0 DMA zone: 0 pages reserved
>> [ =A0 =A00.000000] =A0 DMA zone: 130048 pages, LIFO batch:31
>> [ =A0 =A00.000000] MMU: Allocated 1088 bytes of context maps for 255 con=
texts
>> [ =A0 =A00.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=3D1*32768
>> [ =A0 =A00.000000] pcpu-alloc: [0] 0
>> [ =A0 =A00.000000] Built 1 zonelists in Zone order, mobility grouping on=
.
>> Total pages: 130048
>> [ =A0 =A00.000000] Kernel command line: root=3D/dev/nfs rw
>> nfsroot=3D192.168.0.7:/nfsroot/p1020rdb
>> ip=3D192.168.0.20:192.168.0.7:::P1020RDB:eth0:off console=3DttyS0,115200
>> ramdisk_size=3D200000 cache-sram-size=3D0x10000
>> [ =A0 =A00.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
>> [ =A0 =A00.000000] Dentry cache hash table entries: 65536 (order: 6, 262=
144
>> bytes)
>> [ =A0 =A00.000000] Inode-cache hash table entries: 32768 (order: 5, 1310=
72
>> bytes)
>> [ =A0 =A00.000000] High memory: 0k
>> [ =A0 =A00.000000] Memory: 511604k/524288k available (6112k kernel code,
>> 12684k reserved, 256k data, 1686k bss, 220k init)
>> [ =A0 =A00.000000] Kernel virtual memory layout:
>> [ =A0 =A00.000000] =A0 * 0xfffcf000..0xfffff000 =A0: fixmap
>> [ =A0 =A00.000000] =A0 * 0xff800000..0xffc00000 =A0: highmem PTEs
>> [ =A0 =A00.000000] =A0 * 0xff7da000..0xff800000 =A0: early ioremap
>> [ =A0 =A00.000000] =A0 * 0xe1000000..0xff7da000 =A0: vmalloc & ioremap
>> [ =A0 =A00.000000] SLUB: Genslabs=3D15, HWalign=3D32, Order=3D0-3, MinOb=
jects=3D0,
>> CPUs=3D1, Nodes=3D1
>> [ =A0 =A00.000000] NR_IRQS:512
>> [ =A0 =A00.000000] mpic: Setting up MPIC " OpenPIC =A0" version 1.2 at
>> ffe40000, max 2 CPUs
>> [ =A0 =A00.000000] mpic: ISU size: 256, shift: 8, mask: ff
>> [ =A0 =A00.000000] mpic: Initializing for 256 sources
>> [ =A0 =A00.000000] time_init: decrementer frequency =3D 50.000000 MHz
>> [ =A0 =A00.000000] time_init: processor frequency =A0 =3D 799.999992 MHz
>> [ =A0 =A00.000000] clocksource: timebase mult[5000000] shift[22] registe=
red
>> [ =A0 =A00.000000] clockevent: decrementer mult[ccccccc] shift[32] cpu[0=
]
>> [ =A0 =A00.000000] Console: colour dummy device 80x25
>> [ =A0 =A00.010728] pid_max: default: 32768 minimum: 301
>> [ =A0 =A00.015483] Mount-cache hash table entries: 512
>> [ =A0 =A00.021404] devtmpfs: initialized
>> [ =A0 =A00.025042] NET: Registered protocol family 16
>> [ =A0 =A00.031180] irq: irq 47 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 47
>> [ =A0 =A00.031507] PCI: Probing PCI hardware
>> [ =A0 =A00.035144] pci_bus 0000:00: scanning bus
>> [ =A0 =A00.035167] pci 0000:00:00.0: [1957:0100] type 1 class 0x000b20
>> [ =A0 =A00.035188] pci 0000:00:00.0: calling quirk_mmio_always_on+0x0/0x=
24
>> [ =A0 =A00.035197] pci 0000:00:00.0: ignoring class b20 (doesn't match
>> header type 01)
>> [ =A0 =A00.042429] pci 0000:00:00.0: calling
>> fixup_hide_host_resource_fsl+0x0/0x54
>> [ =A0 =A00.042440] pci 0000:00:00.0: calling
>> pcibios_fixup_resources+0x0/0x110
>> [ =A0 =A00.042456] pci 0000:00:00.0: calling quirk_fsl_pcie_header+0x0/0=
x50
>> [ =A0 =A00.042473] pci 0000:00:00.0: calling
>> quirk_resource_alignment+0x0/0x19c
>> [ =A0 =A00.042488] pci 0000:00:00.0: supports D1 D2
>> [ =A0 =A00.042496] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
>> D3cold
>> [ =A0 =A00.042505] pci 0000:00:00.0: PME# disabled
>> [ =A0 =A00.042525] pci_bus 0000:00: fixups for bus
>> [ =A0 =A00.042539] pci 0000:00:00.0: scanning [bus 00-00] behind bridge,=
 pass
>> 0
>> [ =A0 =A00.042546] pci 0000:00:00.0: bus configuration invalid, reconfig=
uring
>> [ =A0 =A00.042556] pci 0000:00:00.0: scanning [bus 00-00] behind bridge,=
 pass
>> 1
>> [ =A0 =A00.042577] pci_bus 0000:01: scanning bus
>> [ =A0 =A00.042584] pci_bus 0000:01: fixups for bus
>> [ =A0 =A00.042591] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
>> [ =A0 =A00.047728] pci 0000:00:00.0: =A0 bridge window [io =A00x0000-0x0=
000]
>> (disabled)
>> [ =A0 =A00.047738] pci 0000:00:00.0: =A0 bridge window [mem
>> 0x00000000-0x000fffff] (disabled)
>> [ =A0 =A00.047748] pci 0000:00:00.0: =A0 bridge window [mem
>> 0x00000000-0x000fffff pref] (disabled)
>> [ =A0 =A00.047760] pci_bus 0000:01: bus scan returning with max=3D01
>> [ =A0 =A00.047769] pci_bus 0000:00: bus scan returning with max=3D01
>> [ =A0 =A00.047902] pci_bus 0001:02: scanning bus
>> [ =A0 =A00.047920] pci 0001:02:00.0: [1957:0100] type 1 class 0x000b20
>> [ =A0 =A00.047932] pci 0001:02:00.0: calling quirk_mmio_always_on+0x0/0x=
24
>> [ =A0 =A00.047941] pci 0001:02:00.0: ignoring class b20 (doesn't match
>> header type 01)
>> [ =A0 =A00.055166] pci 0001:02:00.0: calling
>> fixup_hide_host_resource_fsl+0x0/0x54
>> [ =A0 =A00.055177] pci 0001:02:00.0: calling
>> pcibios_fixup_resources+0x0/0x110
>> [ =A0 =A00.055188] pci 0001:02:00.0: calling quirk_fsl_pcie_header+0x0/0=
x50
>> [ =A0 =A00.055202] pci 0001:02:00.0: calling
>> quirk_resource_alignment+0x0/0x19c
>> [ =A0 =A00.055215] pci 0001:02:00.0: supports D1 D2
>> [ =A0 =A00.055222] pci 0001:02:00.0: PME# supported from D0 D1 D2 D3hot
>> D3cold
>> [ =A0 =A00.055230] pci 0001:02:00.0: PME# disabled
>> [ =A0 =A00.055254] pci_bus 0001:02: fixups for bus
>> [ =A0 =A00.055265] pci 0001:02:00.0: scanning [bus 01-01] behind bridge,=
 pass
>> 0
>> [ =A0 =A00.055272] pci 0001:02:00.0: bus configuration invalid, reconfig=
uring
>> [ =A0 =A00.055282] pci 0001:02:00.0: scanning [bus 00-00] behind bridge,=
 pass
>> 1
>> [ =A0 =A00.055302] pci_bus 0001:03: scanning bus
>> [ =A0 =A00.055334] pci 0001:03:00.0: [1095:3132] type 0 class 0x000104
>> [ =A0 =A00.055346] pci 0001:03:00.0: calling quirk_mmio_always_on+0x0/0x=
24
>> [ =A0 =A00.055376] pci 0001:03:00.0: reg 10: [mem 0xc0000000-0xc000007f
>> 64bit]
>> [ =A0 =A00.055401] pci 0001:03:00.0: reg 18: [mem 0xc0004000-0xc0007fff
>> 64bit]
>> [ =A0 =A00.055420] pci 0001:03:00.0: reg 20: [io =A00x1000-0x107f]
>> [ =A0 =A00.055448] pci 0001:03:00.0: reg 30: [mem 0x00000000-0x0007ffff =
pref]
>> [ =A0 =A00.055461] pci 0001:03:00.0: calling
>> pcibios_fixup_resources+0x0/0x110
>> [ =A0 =A00.055473] pci 0001:03:00.0: calling
>> quirk_resource_alignment+0x0/0x19c
>> [ =A0 =A00.055513] pci 0001:03:00.0: supports D1 D2
>> [ =A0 =A00.055537] pci 0001:03:00.0: disabling ASPM on pre-1.1 PCIe
>> device. =A0You can enable it with 'pcie_aspm=3Dforce'
>> [ =A0 =A00.065457] pci_bus 0001:03: fixups for bus
>> [ =A0 =A00.065464] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
>> [ =A0 =A00.070655] pci 0001:02:00.0: =A0 bridge window [io =A00x0000-0x0=
000]
>> (disabled)
>> [ =A0 =A00.070664] pci 0001:02:00.0: =A0 bridge window [mem 0xc0000000-
>> 0xc00fffff]
>> [ =A0 =A00.070674] pci 0001:02:00.0: =A0 bridge window [mem
>> 0x10000000-0x000fffff pref] (disabled)
>> [ =A0 =A00.070707] pci_bus 0001:03: bus scan returning with max=3D03
>> [ =A0 =A00.070716] pci_bus 0001:02: bus scan returning with max=3D03
>> [ =A0 =A00.070891] PCI 0000:00 Cannot reserve Legacy IO [io =A00xff7ed00=
0-
>> 0xff7edfff]
>> [ =A0 =A00.070900] PCI 0001:02 Cannot reserve Legacy IO [io =A00xff7db00=
0-
>> 0xff7dbfff]
>> [ =A0 =A00.070922] pci 0000:00:00.0: PCI bridge to [bus 01-01]
>> [ =A0 =A00.076063] pci 0000:00:00.0: =A0 bridge window [io =A00xff7ed000=
-
>> 0xff7fcfff]
>> [ =A0 =A00.082827] pci 0000:00:00.0: =A0 bridge window [mem 0xa0000000-
>> 0xbfffffff]
>> [ =A0 =A00.089596] pci 0000:00:00.0: =A0 bridge window [mem pref disable=
d]
>> [ =A0 =A00.095676] pci 0000:00:00.0: enabling device (0106 -> 0107)
>> [ =A0 =A00.101321] pci 0001:02:00.0: BAR 9: can't assign mem pref (size
>> 0x100000)
>> [ =A0 =A00.108175] pci 0001:03:00.0: BAR 6: assigned [mem
>> 0xc0080000-0xc00fffff pref]
>> [ =A0 =A00.115377] pci 0001:02:00.0: PCI bridge to [bus 03-03]
>> [ =A0 =A00.120584] pci 0001:02:00.0: =A0 bridge window [io =A00xff7db000=
-
>> 0xff7eafff]
>> [ =A0 =A00.127355] pci 0001:02:00.0: =A0 bridge window [mem 0xc0000000-
>> 0xdfffffff]
>> [ =A0 =A00.134124] pci 0001:02:00.0: =A0 bridge window [mem pref disable=
d]
>> [ =A0 =A00.140203] pci 0001:02:00.0: enabling device (0106 -> 0107)
>> [ =A0 =A00.145845] pci_bus 0000:00: resource 0 [io =A00xff7ed000-0xff7fc=
fff]
>> [ =A0 =A00.145854] pci_bus 0000:00: resource 1 [mem 0xa0000000-0xbffffff=
f]
>> [ =A0 =A00.145863] pci_bus 0000:01: resource 0 [io =A00xff7ed000-0xff7fc=
fff]
>> [ =A0 =A00.145872] pci_bus 0000:01: resource 1 [mem 0xa0000000-0xbffffff=
f]
>> [ =A0 =A00.145880] pci_bus 0001:02: resource 0 [io =A00xff7db000-0xff7ea=
fff]
>> [ =A0 =A00.145889] pci_bus 0001:02: resource 1 [mem 0xc0000000-0xdffffff=
f]
>> [ =A0 =A00.145897] pci_bus 0001:03: resource 0 [io =A00xff7db000-0xff7ea=
fff]
>> [ =A0 =A00.145906] pci_bus 0001:03: resource 1 [mem 0xc0000000-0xdffffff=
f]
>> [ =A0 =A00.145942] Registering qe_ic with sysfs...
>> [ =A0 =A00.149031] bio: create slab <bio-0> at 0
>> [ =A0 =A00.153197] vgaarb: loaded
>> [ =A0 =A00.156055] SCSI subsystem initialized
>> [ =A0 =A00.159772] libata version 3.00 loaded.
>> [ =A0 =A00.159905] usbcore: registered new interface driver usbfs
>> [ =A0 =A00.165357] usbcore: registered new interface driver hub
>> [ =A0 =A00.170666] usbcore: registered new device driver usb
>> [ =A0 =A00.175707] Freescale Elo / Elo Plus DMA driver
>> [ =A0 =A00.180293] Advanced Linux Sound Architecture Driver Version 1.0.=
23.
>> [ =A0 =A00.186845] Switching to clocksource timebase
>> [ =A0 =A00.194746] NET: Registered protocol family 2
>> [ =A0 =A00.199032] Switched to NOHz mode on CPU #0
>> [ =A0 =A00.203314] IP route cache hash table entries: 4096 (order: 2, 16=
384
>> bytes)
>> [ =A0 =A00.210610] TCP established hash table entries: 16384 (order: 5,
>> 131072 bytes)
>> [ =A0 =A00.218015] TCP bind hash table entries: 16384 (order: 4, 65536 b=
ytes)
>> [ =A0 =A00.224585] TCP: Hash tables configured (established 16384 bind 1=
6384)
>> [ =A0 =A00.231022] TCP reno registered
>> [ =A0 =A00.234149] UDP hash table entries: 256 (order: 0, 4096 bytes)
>> [ =A0 =A00.239974] UDP-Lite hash table entries: 256 (order: 0, 4096 byte=
s)
>> [ =A0 =A00.246527] NET: Registered protocol family 1
>> [ =A0 =A00.251004] RPC: Registered udp transport module.
>> [ =A0 =A00.255632] RPC: Registered tcp transport module.
>> [ =A0 =A00.260308] RPC: Registered tcp NFSv4.1 backchannel transport mod=
ule.
>> [ =A0 =A00.266758] pci 0000:00:00.0: calling quirk_cardbus_legacy+0x0/0x=
50
>> [ =A0 =A00.266778] pci 0000:00:00.0: calling
>> quirk_usb_early_handoff+0x0/0x724
>> [ =A0 =A00.266794] pci 0001:02:00.0: calling quirk_cardbus_legacy+0x0/0x=
50
>> [ =A0 =A00.266804] pci 0001:02:00.0: calling
>> quirk_usb_early_handoff+0x0/0x724
>> [ =A0 =A00.266818] pci 0001:03:00.0: calling quirk_cardbus_legacy+0x0/0x=
50
>> [ =A0 =A00.266829] pci 0001:03:00.0: calling
>> quirk_usb_early_handoff+0x0/0x724
>> [ =A0 =A00.266839] PCI: CLS 32 bytes, default 32
>> [ =A0 =A00.267012] irq: irq 42 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 42
>> [ =A0 =A00.267213] irq: irq 19 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 19
>> [ =A0 =A00.267604] irq: irq 16 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 16
>> [ =A0 =A00.267761] irq: irq 43 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 43
>> [ =A0 =A00.268030] irq: irq 59 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 59
>> [ =A0 =A00.268323] irq: irq 20 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 20
>> [ =A0 =A00.268335] of:fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-chan=
nel),
>> irq 20
>> [ =A0 =A00.275419] irq: irq 21 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 21
>> [ =A0 =A00.275430] of:fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-chan=
nel),
>> irq 21
>> [ =A0 =A00.282530] irq: irq 22 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 22
>> [ =A0 =A00.282540] of:fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-chan=
nel),
>> irq 22
>> [ =A0 =A00.289648] irq: irq 23 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 23
>> [ =A0 =A00.289659] of:fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-chan=
nel),
>> irq 23
>> [ =A0 =A00.297270] irq: irq 28 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 28
>> [ =A0 =A00.297360] irq: irq 72 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 72
>> [ =A0 =A00.297450] irq: irq 45 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 45
>> [ =A0 =A00.297469] irq: irq 58 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 58
>> [ =A0 =A00.297630] irq: irq 224 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 224
>> [ =A0 =A00.297649] irq: irq 225 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 225
>> [ =A0 =A00.297668] irq: irq 226 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 226
>> [ =A0 =A00.297686] irq: irq 227 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 227
>> [ =A0 =A00.297705] irq: irq 228 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 228
>> [ =A0 =A00.297723] irq: irq 229 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 229
>> [ =A0 =A00.297742] irq: irq 230 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 230
>> [ =A0 =A00.297760] irq: irq 231 on host /soc@ffe00000/pic@40000 mapped t=
o
>> virtual irq 231
>> [ =A0 =A00.297849] Setting up Freescale MSI support
>> [ =A0 =A00.298123] audit: initializing netlink socket (disabled)
>> [ =A0 =A00.303462] type=3D2000 audit(0.236:1): initialized
>> [ =A0 =A00.314074] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>> [ =A0 =A00.320368] Installing knfsd (copyright (C) 1996 okir@monad.swb.d=
e).
>> [ =A0 =A00.326841] NTFS driver 2.1.30 [Flags: R/O].
>> [ =A0 =A00.331296] JFFS2 version 2.2. (NAND) =A9 2001-2006 Red Hat, Inc.
>> [ =A0 =A00.337596] msgmni has been set to 1001
>> [ =A0 =A00.341965] Block layer SCSI generic (bsg) driver version 0.4
>> loaded (major 253)
>> [ =A0 =A00.349288] io scheduler noop registered (default)
>> [ =A0 =A00.431003] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabl=
ed
>> [ =A0 =A00.438061] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq =3D 42) i=
s a
>> 16550A
>> [ =A0 =A00.444791] console [ttyS0] enabled, bootconsole disabled
>> [ =A0 =A00.456105] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq =3D 42) i=
s a
>> 16550A
>> [ =A0 =A00.463482] Generic non-volatile memory driver v1.1
>> [ =A0 =A00.470831] brd: module loaded
>> [ =A0 =A00.475184] loop: module loaded
>> [ =A0 =A00.478439] nbd: registered device at major 43
>> [ =A0 =A00.485462] st: Version 20101219, fixed bufsize 32768, s/g segs 2=
56
>> [ =A0 =A00.492145] sata_sil24 0001:03:00.0: version 1.1 built on Apr =A0=
8
>> 2011 11:00:08
>> [ =A0 =A00.492182] ata_host_alloc: ENTER
>> [ =A0 =A00.495504] ata_port_alloc: ENTER
>> [ =A0 =A00.498821] ata_port_alloc: ENTER
>> [ =A0 =A00.502525] __ata_port_freeze: ata4294967295 port frozen
>> [ =A0 =A00.508187] __ata_port_freeze: ata4294967295 port frozen
>> [ =A0 =A00.513580] ------------[ cut here ]------------
>> [ =A0 =A00.518188] WARNING: at drivers/ata/libata-core.c:6082
>> [ =A0 =A00.523316] Modules linked in:
>> [ =A0 =A00.526364] NIP: c02876b0 LR: c0287690 CTR: c0248934
>> [ =A0 =A00.531323] REGS: df837d00 TRAP: 0700 =A0 Not tainted =A0(2.6.38)
>> [ =A0 =A00.537058] MSR: 00029000 <EE,ME,CE> =A0CR: 20424022 =A0XER: 2000=
0000
>> [ =A0 =A00.543158] TASK =3D df838000[1] 'swapper' THREAD: df836000
>> [ =A0 =A00.548373] GPR00: 00000001 df837db0 df838000 00000000 00003cb6
>> ffffffff c0249690 00080000
>> [ =A0 =A00.556736] GPR08: c073b9bc ffffffff 0007ffff 00003cb6 20424022
>> 66013a2a 1ff91d00 c056c170
>> [ =A0 =A00.565097] GPR16: c0546e94 00000001 00002040 00000400 00000008
>> 0000020c e109e040 df807060
>> [ =A0 =A00.573459] GPR24: dfa58490 c06160d8 00000080 c029fc0c 00000000
>> c07d4a58 dfa58490 00000000
>> [ =A0 =A00.582013] NIP [c02876b0] ata_host_activate+0x48/0x11c
>> [ =A0 =A00.587232] LR [c0287690] ata_host_activate+0x28/0x11c
>> [ =A0 =A00.592360] Call Trace:
>> [ =A0 =A00.594801] [df837db0] [c0287690] ata_host_activate+0x28/0x11c
>> (unreliable)
>> [ =A0 =A00.601771] [df837de0] [c029faf8] sil24_init_one+0x420/0x534
>> [ =A0 =A00.607428] [df837e60] [c021d73c] local_pci_probe+0x24/0x34
>> [ =A0 =A00.612997] [df837e70] [c021d984] pci_device_probe+0x84/0xa8
>> [ =A0 =A00.618652] [df837ea0] [c0258a44] driver_probe_device+0xa8/0x1c8
>> [ =A0 =A00.624653] [df837ec0] [c0258c20] __driver_attach+0xbc/0xc0
>> [ =A0 =A00.630231] [df837ee0] [c02580ec] bus_for_each_dev+0x70/0xac
>> [ =A0 =A00.635885] [df837f10] [c0258844] driver_attach+0x24/0x34
>> [ =A0 =A00.641281] [df837f20] [c0257864] bus_add_driver+0xc4/0x294
>> [ =A0 =A00.646849] [df837f50] [c0258f98] driver_register+0x84/0x178
>> [ =A0 =A00.652504] [df837f70] [c021dc08] __pci_register_driver+0x4c/0xdc
>> [ =A0 =A00.658597] [df837f90] [c05ddfe4] sil24_init+0x24/0x34
>> [ =A0 =A00.663733] [df837fa0] [c0001dc0] do_one_initcall+0x34/0x1c8
>> [ =A0 =A00.669388] [df837fd0] [c05c11ec] kernel_init+0xcc/0x174
>> [ =A0 =A00.674696] [df837ff0] [c000cf98] kernel_thread+0x4c/0x68
>> [ =A0 =A00.680086] Instruction dump:
>> [ =A0 =A00.683045] 7cda3378 7cf93b78 7c7e1b78 4bfffc91 7c7f1b79 408200d8
>> 2f9c0000 409e0034
>> [ =A0 =A00.690798] 7f69fe70 7d20da78 7c004850 54000ffe <0f000000> 800100=
34
>> 7fc3f378 7f24cb78
>> [ =A0 =A00.698738] ---[ end trace ab638653f78364ad ]---
>> [ =A0 =A00.703813] scsi0 : sata_sil24
>> [ =A0 =A00.707083] scsi1 : sata_sil24
>> [ =A0 =A00.710242] ata1: SATA max UDMA/100 host m128@0xc0000000 port
>> 0xc0004000
>> [ =A0 =A00.716951] ata2: SATA max UDMA/100 host m128@0xc0000000 port
>> 0xc0006000
>> [ =A0 =A00.724592] ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit
>> bank. Manufacturer ID 0x000001 Chip ID 0x002101
>> [ =A0 =A00.734612] Amd/Fujitsu Extended Query Table at 0x0040
>> [ =A0 =A00.739787] =A0 Amd/Fujitsu Extended Query version 1.3.
>> [ =A0 =A00.744839] number of CFI chips: 1
>> [ =A0 =A00.748325] ata_port_schedule_eh: port EH scheduled
>> [ =A0 =A00.753217] ata_scsi_error: ENTER
>> [ =A0 =A00.756539] ata_eh_link_autopsy: ENTER
>> [ =A0 =A00.760286] ata_eh_recover: ENTER
>> [ =A0 =A00.763606] __ata_port_freeze: ata1 port frozen
>> [ =A0 =A00.768317] RedBoot partition parsing not available
>> [ =A0 =A00.773212] Creating 5 MTD partitions on "ef000000.nor":
>> [ =A0 =A00.778526] 0x000000000000-0x000000040000 : "NOR (RO) Vitesse-738=
5
>> Firmware"
>> [ =A0 =A00.786280] 0x000000040000-0x000000080000 : "NOR (RO) DTB Image"
>> [ =A0 =A00.792876] 0x000000080000-0x000000400000 : "NOR (RO) Linux Kerne=
l
>> Image"
>> [ =A0 =A00.800257] 0x000000400000-0x000000f00000 : "NOR (RW) JFFS2 Root =
File
>> System"
>> [ =A0 =A00.808001] 0x000000f00000-0x000001000000 : "NOR (RO) U-Boot Imag=
e"
>> [ =A0 =A00.815110] fsl-lbc ffe05000.localbus: read_byte beyond end of bu=
ffer
>> [ =A0 =A00.821564] fsl-lbc ffe05000.localbus: read_byte beyond end of bu=
ffer
>> [ =A0 =A00.828002] fsl-lbc ffe05000.localbus: read_byte beyond end of bu=
ffer
>> [ =A0 =A00.834443] NAND device: Manufacturer ID: 0xec, Chip ID: 0x75
>> (Samsung NAND 32MiB 3,3V 8-bit)
>> [ =A0 =A00.843174] Bad block table found at page 65504, version 0x01
>> [ =A0 =A00.843513] Bad block table found at page 65472, version 0x01
>> [ =A0 =A00.843876] RedBoot partition parsing not available
>> [ =A0 =A00.848772] Creating 6 MTD partitions on "ffa00000.flash":
>> [ =A0 =A00.854259] 0x000000000000-0x000000100000 : "NAND (RO) U-Boot Ima=
ge"
>> [ =A0 =A00.861299] 0x000000100000-0x000000200000 : "NAND (RO) DTB Image"
>> [ =A0 =A00.868010] 0x000000200000-0x000000600000 : "NAND (RO) Linux Kern=
el
>> Image"
>> [ =A0 =A00.875530] 0x000000600000-0x000000a00000 : "NAND (RO) Compressed=
 RFS
>> Image"
>> [ =A0 =A00.883216] 0x000000a00000-0x000001100000 : "NAND (RW) JFFS2 Root
>> File System"
>> [ =A0 =A00.891042] 0x000001100000-0x000002000000 : "NAND (RW) Writable U=
ser
>> area"
>> [ =A0 =A00.898571] eLBC NAND device at 0xffa00000, bank 1
>> [ =A0 =A00.904384] Fixed MDIO Bus: probed
>> [ =A0 =A00.907964] irq: irq 29 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 29
>> [ =A0 =A00.907986] irq: irq 30 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 30
>> [ =A0 =A00.908005] irq: irq 34 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 34
>> [ =A0 =A00.908035] irq: irq 17 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 17
>> [ =A0 =A00.908054] irq: irq 18 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 18
>> [ =A0 =A00.908074] irq: irq 24 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 24
>> [ =A0 =A00.908588] eth0: Gianfar Ethernet Controller Version 1.2,
>> 00:04:9f:01:1f:49
>> [ =A0 =A00.915646] eth0: Running with NAPI enabled
>> [ =A0 =A00.919826] eth0: RX BD ring size for Q[0]: 256
>> [ =A0 =A00.924353] eth0: RX BD ring size for Q[1]: 256
>> [ =A0 =A00.928879] eth0: RX BD ring size for Q[2]: 256
>> [ =A0 =A00.933406] eth0: RX BD ring size for Q[3]: 256
>> [ =A0 =A00.937932] eth0: RX BD ring size for Q[4]: 256
>> [ =A0 =A00.942458] eth0: RX BD ring size for Q[5]: 256
>> [ =A0 =A00.946984] eth0: RX BD ring size for Q[6]: 256
>> [ =A0 =A00.951512] eth0: RX BD ring size for Q[7]: 256
>> [ =A0 =A00.956037] eth0: TX BD ring size for Q[0]: 256
>> [ =A0 =A00.960564] eth0: TX BD ring size for Q[1]: 256
>> [ =A0 =A00.965090] eth0: TX BD ring size for Q[2]: 256
>> [ =A0 =A00.969616] eth0: TX BD ring size for Q[3]: 256
>> [ =A0 =A00.974143] eth0: TX BD ring size for Q[4]: 256
>> [ =A0 =A00.978668] eth0: TX BD ring size for Q[5]: 256
>> [ =A0 =A00.983197] eth0: TX BD ring size for Q[6]: 256
>> [ =A0 =A00.987725] eth0: TX BD ring size for Q[7]: 256
>> [ =A0 =A00.992327] irq: irq 35 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 35
>> [ =A0 =A00.992348] irq: irq 36 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 36
>> [ =A0 =A00.992367] irq: irq 40 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 40
>> [ =A0 =A00.992397] irq: irq 51 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 51
>> [ =A0 =A00.992417] irq: irq 52 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 52
>> [ =A0 =A00.992436] irq: irq 67 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 67
>> [ =A0 =A00.992938] eth1: Gianfar Ethernet Controller Version 1.2,
>> 00:04:9f:01:1f:4a
>> [ =A0 =A00.999992] eth1: Running with NAPI enabled
>> [ =A0 =A01.004172] eth1: RX BD ring size for Q[0]: 256
>> [ =A0 =A01.008699] eth1: RX BD ring size for Q[1]: 256
>> [ =A0 =A01.013226] eth1: RX BD ring size for Q[2]: 256
>> [ =A0 =A01.017753] eth1: RX BD ring size for Q[3]: 256
>> [ =A0 =A01.022280] eth1: RX BD ring size for Q[4]: 256
>> [ =A0 =A01.026806] eth1: RX BD ring size for Q[5]: 256
>> [ =A0 =A01.031333] eth1: RX BD ring size for Q[6]: 256
>> [ =A0 =A01.035860] eth1: RX BD ring size for Q[7]: 256
>> [ =A0 =A01.040387] eth1: TX BD ring size for Q[0]: 256
>> [ =A0 =A01.044914] eth1: TX BD ring size for Q[1]: 256
>> [ =A0 =A01.049441] eth1: TX BD ring size for Q[2]: 256
>> [ =A0 =A01.053967] eth1: TX BD ring size for Q[3]: 256
>> [ =A0 =A01.058495] eth1: TX BD ring size for Q[4]: 256
>> [ =A0 =A01.063022] eth1: TX BD ring size for Q[5]: 256
>> [ =A0 =A01.067552] eth1: TX BD ring size for Q[6]: 256
>> [ =A0 =A01.072079] eth1: TX BD ring size for Q[7]: 256
>> [ =A0 =A01.076679] irq: irq 31 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 31
>> [ =A0 =A01.076700] irq: irq 32 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 32
>> [ =A0 =A01.076719] irq: irq 33 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 33
>> [ =A0 =A01.076748] irq: irq 25 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 25
>> [ =A0 =A01.076768] irq: irq 26 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 26
>> [ =A0 =A01.076787] irq: irq 27 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 27
>> [ =A0 =A01.077315] eth2: Gianfar Ethernet Controller Version 1.2,
>> 00:04:9f:01:1f:4b
>> [ =A0 =A01.084370] eth2: Running with NAPI enabled
>> [ =A0 =A01.088551] eth2: RX BD ring size for Q[0]: 256
>> [ =A0 =A01.093077] eth2: RX BD ring size for Q[1]: 256
>> [ =A0 =A01.097604] eth2: RX BD ring size for Q[2]: 256
>> [ =A0 =A01.102130] eth2: RX BD ring size for Q[3]: 256
>> [ =A0 =A01.106657] eth2: RX BD ring size for Q[4]: 256
>> [ =A0 =A01.111184] eth2: RX BD ring size for Q[5]: 256
>> [ =A0 =A01.115712] eth2: RX BD ring size for Q[6]: 256
>> [ =A0 =A01.120238] eth2: RX BD ring size for Q[7]: 256
>> [ =A0 =A01.124765] eth2: TX BD ring size for Q[0]: 256
>> [ =A0 =A01.129291] eth2: TX BD ring size for Q[1]: 256
>> [ =A0 =A01.133818] eth2: TX BD ring size for Q[2]: 256
>> [ =A0 =A01.138344] eth2: TX BD ring size for Q[3]: 256
>> [ =A0 =A01.142871] eth2: TX BD ring size for Q[4]: 256
>> [ =A0 =A01.147398] eth2: TX BD ring size for Q[5]: 256
>> [ =A0 =A01.151925] eth2: TX BD ring size for Q[6]: 256
>> [ =A0 =A01.156452] eth2: TX BD ring size for Q[7]: 256
>> [ =A0 =A01.161023] ucc_geth: QE UCC Gigabit Ethernet Controller
>> [ =A0 =A01.166721] Freescale PowerQUICC MII Bus: probed
>> [ =A0 =A01.171369] irq: irq 3 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 37
>> [ =A0 =A01.171760] irq: irq 2 on host /soc@ffe00000/pic@40000 mapped to
>> virtual irq 38
>> [ =A0 =A01.172142] Freescale PowerQUICC MII Bus: probed
>> [ =A0 =A01.178127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) D=
river
>> [ =A0 =A01.184817] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Drive=
r
>> [ =A0 =A01.191162] /soc@ffe00000/usb@22000: Invalid 'dr_mode' property,
>> fallback to host mode
>> [ =A0 =A01.199169] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host
>> Controller
>> [ =A0 =A01.205996] fsl-ehci fsl-ehci.0: new USB bus registered, assigned
>> bus number 1
>> [ =A0 =A01.235156] fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000
>> [ =A0 =A01.251134] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
>> [ =A0 =A01.257090] hub 1-0:1.0: USB hub found
>> [ =A0 =A01.260860] hub 1-0:1.0: 1 port detected
>> [ =A0 =A01.264959] Initializing USB Mass Storage driver...
>> [ =A0 =A01.269918] usbcore: registered new interface driver usb-storage
>> [ =A0 =A01.275929] USB Mass Storage support registered.
>> [ =A0 =A01.280797] of:mpc-i2c ffe03000.i2c: timeout 1000000 us
>> [ =A0 =A01.286321] of:mpc-i2c ffe03100.i2c: timeout 1000000 us
>> [ =A0 =A01.291698] EDAC MC: Ver: 2.1.0 Apr =A08 2011
>> [ =A0 =A01.295999] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista
>> Software
>> [ =A0 =A01.303043] mpc85xx_mc_err_probe: No ECC DIMMs discovered
>> [ =A0 =A01.308913] EDAC DEVICE0: Giving out device to module
>> 'MPC85xx_edac' controller 'mpc85xx_l2_err': DEV 'mpc85xx_l2_err'
>> (INTERRUPT)
>> [ =A0 =A01.320684] MPC85xx_edac acquired irq 16 for L2 Err
>> [ =A0 =A01.325561] MPC85xx_edac L2 err registered
>> [ =A0 =A01.329874] sdhci: Secure Digital Host Controller Interface drive=
r
>> [ =A0 =A01.336056] sdhci: Copyright(c) Pierre Ossman
>> [ =A0 =A01.340590] mmc0: SDHCI controller on ffe2e000.sdhci
>> [ffe2e000.sdhci] using DMA
>> [ =A0 =A01.348286] of:talitos ffe30000.crypto: hwrng
>> [ =A0 =A01.352766] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-aes=
-
>> talitos
>> [ =A0 =A01.359618] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-3de=
s-
>> talitos
>> [ =A0 =A01.366583] of:talitos ffe30000.crypto: authenc-hmac-sha256-cbc-a=
es-
>> talitos
>> [ =A0 =A01.473638] of:talitos ffe30000.crypto: authenc-hmac-sha256-cbc-3=
des-
>> talitos
>> [ =A0 =A01.480747] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-aes-
>> talitos
>> [ =A0 =A01.487513] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-3des=
-
>> talitos
>> [ =A0 =A01.494358] of:talitos ffe30000.crypto: cbc-aes-talitos
>> [ =A0 =A01.499643] of:talitos ffe30000.crypto: cbc-3des-talitos
>> [ =A0 =A01.505015] of:talitos ffe30000.crypto: md5-talitos
>> [ =A0 =A01.509952] of:talitos ffe30000.crypto: sha1-talitos
>> [ =A0 =A01.514976] of:talitos ffe30000.crypto: sha224-talitos
>> [ =A0 =A01.520174] of:talitos ffe30000.crypto: sha256-talitos
>> [ =A0 =A01.525372] of:talitos ffe30000.crypto: sha384-talitos
>> [ =A0 =A01.530573] of:talitos ffe30000.crypto: sha512-talitos
>> [ =A0 =A01.536275] usbcore: registered new interface driver usbhid
>> [ =A0 =A01.541850] usbhid: USB HID core driver
>> [ =A0 =A01.545983] ALSA device list:
>> [ =A0 =A01.548958] =A0 No soundcards found.
>> [ =A0 =A01.553108] IPv4 over IPv4 tunneling driver
>> [ =A0 =A01.557922] TCP cubic registered
>> [ =A0 =A01.561155] Initializing XFRM netlink socket
>> [ =A0 =A01.565847] NET: Registered protocol family 10
>> [ =A0 =A01.574266] IPv6 over IPv4 tunneling driver
>> [ =A0 =A01.579967] NET: Registered protocol family 17
>> [ =A0 =A01.584454] Registering the dns_resolver key type
>> [ =A0 =A01.590372] drivers/rtc/hctosys.c: unable to open rtc device (rtc=
0)
>> [ =A0 =A02.102073] ADDRCONF(NETDEV_UP): eth0: link is not ready
>> [ =A0 =A02.939140] sil24_softreset: ENTER
>> [ =A0 =A02.955143] ata_dev_classify: found ATA device by sig
>> [ =A0 =A02.960194] sil24_softreset: EXIT, class=3D1
>> [ =A0 =A02.964295] ata_eh_thaw_port: ata1 port thawed
>> [ =A0 =A02.968734] ata_std_postreset: ENTER
>> [ =A0 =A02.972314] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
>> [ =A0 =A02.978315] ata_std_postreset: EXIT
>> [ =A0 =A02.981804] ata_eh_revalidate_and_attach: ENTER
>> [ =A0 =A02.986333] ata1.00: ata_dev_read_id: ENTER
>> [ =A0 =A02.986342] ata_sg_setup: ENTER, ata1
>> [ =A0 =A02.989996] ata_sg_setup: 1 sg elements mapped
>> [ =A0 =A02.994431] max_sge now 1
>> [ =A0 =A02.997041] max_sge now 1
>> [ =A0 =A03.147167] IP-Config: Guessing netmask 255.255.255.0
>> [ =A0 =A03.152315] IP-Config: Complete:
>> [ =A0 =A03.155546] =A0 =A0 =A0device=3Deth0, addr=3D192.168.0.20,
>> mask=3D255.255.255.0, gw=3D255.255.255.255,
>> [ =A0 =A03.163391] =A0 =A0 =A0host=3DP1020RDB, domain=3D, nis-domain=3D(=
none),
>> [ =A0 =A03.168962] =A0 =A0 =A0bootserver=3D192.168.0.7, rootserver=3D192=
.168.0.7,
>> rootpath=3D
>> [ =A0 =A04.147148] PHY: 0:01 - Link is Up - 1000/Full
>> [ =A0 =A04.151702] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>> [ =A0 =A07.999132] __ata_port_freeze: ata1 port frozen
>> [ =A0 =A08.003672] ata_sg_clean: unmapping 1 sg elements
>> [ =A0 =A08.008369] ata1.00: qc timeout (cmd 0xec)
>> [ =A0 =A08.012474] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0x=
4)
>> [ =A0 =A08.018566] ata_eh_revalidate_and_attach: EXIT rc=3D-5
>> [ =A0 =A08.023534] __ata_port_freeze: ata1 port frozen
>> [ =A0 10.167138] sil24_softreset: ENTER
>> [ =A0 10.183147] ata_dev_classify: found ATA device by sig
>> [ =A0 10.188197] sil24_softreset: EXIT, class=3D1
>> [ =A0 10.192298] ata_eh_thaw_port: ata1 port thawed
>> [ =A0 10.196737] ata_std_postreset: ENTER
>> [ =A0 10.200316] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
>> [ =A0 10.206318] ata_std_postreset: EXIT
>> [ =A0 10.209806] ata_eh_revalidate_and_attach: ENTER
>> [ =A0 10.214335] ata1.00: ata_dev_read_id: ENTER
>> [ =A0 10.214344] ata_sg_setup: ENTER, ata1
>> [ =A0 10.217998] ata_sg_setup: 1 sg elements mapped
>> [ =A0 14.539135] eth0: no IPv6 routers present
>> [ =A0 20.219208] __ata_port_freeze: ata1 port frozen
>> [ =A0 20.223743] ata_sg_clean: unmapping 1 sg elements
>> [ =A0 20.228439] ata1.00: qc timeout (cmd 0xec)
>> [ =A0 20.232540] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0x4)
>> [ =A0 20.238631] ata_eh_revalidate_and_attach: EXIT rc=3D-5
>> [ =A0 20.243600] ata1: limiting SATA link speed to 1.5 Gbps
>> [ =A0 20.248739] __ata_port_freeze: ata1 port frozen
>> [ =A0 22.447139] sil24_softreset: ENTER
>> [ =A0 22.463149] ata_dev_classify: found ATA device by sig
>> [ =A0 22.468199] sil24_softreset: EXIT, class=3D1
>> [ =A0 22.472300] ata_eh_thaw_port: ata1 port thawed
>> [ =A0 22.476739] ata_std_postreset: ENTER
>> [ =A0 22.480318] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
>> [ =A0 22.486406] ata_std_postreset: EXIT
>> [ =A0 22.489893] ata_eh_revalidate_and_attach: ENTER
>> [ =A0 22.494421] ata1.00: ata_dev_read_id: ENTER
>> [ =A0 22.494428] ata_sg_setup: ENTER, ata1
>> [ =A0 22.498080] ata_sg_setup: 1 sg elements mapped
>> [ =A0 52.499142] __ata_port_freeze: ata1 port frozen
>> [ =A0 52.503678] ata_sg_clean: unmapping 1 sg elements
>> [ =A0 52.508374] ata1.00: qc timeout (cmd 0xec)
>> [ =A0 52.512477] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0x4)
>> [ =A0 52.518570] ata_eh_revalidate_and_attach: EXIT rc=3D-5
>> [ =A0 52.523536] __ata_port_freeze: ata1 port frozen
>> [ =A0 54.739148] sil24_softreset: ENTER
>> [ =A0 54.755149] ata_dev_classify: found ATA device by sig
>> [ =A0 54.760209] sil24_softreset: EXIT, class=3D1
>> [ =A0 54.764312] ata_eh_thaw_port: ata1 port thawed
>> [ =A0 54.768751] ata_std_postreset: ENTER
>> [ =A0 54.772330] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
>> [ =A0 54.778419] ata_std_postreset: EXIT
>> [ =A0 54.781906] ata_eh_revalidate_and_attach: ENTER
>> [ =A0 54.786435] ata_eh_recover: EXIT, rc=3D0
>> [ =A0 54.790184] ata_scsi_error: EXIT
>> [ =A0 54.793440] ata_port_schedule_eh: port EH scheduled
>> [ =A0 54.798330] ata_scsi_error: ENTER
>> [ =A0 54.801651] ata_eh_link_autopsy: ENTER
>> [ =A0 54.805398] ata_eh_recover: ENTER
>> [ =A0 54.808717] __ata_port_freeze: ata2 port frozen
>> [ =A0 56.883149] ata_eh_thaw_port: ata2 port thawed
>> [ =A0 56.887593] ata_std_postreset: ENTER
>> [ =A0 56.891171] ata2: SATA link down (SStatus 0 SControl 0)
>> [ =A0 56.896392] ata_std_postreset: EXIT
>> [ =A0 56.899880] ata_eh_revalidate_and_attach: ENTER
>> [ =A0 56.904409] ata_eh_recover: EXIT, rc=3D0
>> [ =A0 56.908157] ata_scsi_error: EXIT
>> [ =A0 56.931100] VFS: Mounted root (nfs filesystem) on device 0:15.
>> [ =A0 56.937349] devtmpfs: mounted
>> [ =A0 56.940365] Freeing unused kernel memory: 220k init
>>
>>
>> [ =A0 =A00.518188] WARNING: at drivers/ata/libata-core.c:6082
>>
>> which means that pdev->irq is 0
>>
>> lspci -vvvn:
>>
>> root@p1020rdb:~# lspci -nvv
>> 0000:00:00.0 0604: 1957:0100 (rev 10)
>> =A0 =A0 =A0 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- =
ParErr-
>> Stepping- SERR+ FastB2B- DisINTx-
>> =A0 =A0 =A0 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAb=
ort-
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> =A0 =A0 =A0 Latency: 0
>> =A0 =A0 =A0 Region 0: Memory at <ignored> (32-bit, non-prefetchable)
>> =A0 =A0 =A0 Bus: primary=3D00, secondary=3D01, subordinate=3D01, sec-lat=
ency=3D0
>> =A0 =A0 =A0 I/O behind bridge: 00000000-00000fff
>> =A0 =A0 =A0 Memory behind bridge: a0000000-bfffffff
>> =A0 =A0 =A0 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=3Dfast >TAb=
ort-
>> <TAbort- <MAbort- <SERR- <PERR-
>> =A0 =A0 =A0 BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B=
-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmr=
SERREn-
>> =A0 =A0 =A0 Capabilities: [44] Power Management version 2
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D0mA
>> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D0 P=
ME-
>> =A0 =A0 =A0 Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 256 bytes, PhantFunc 0, L=
atency L0s
>> <64ns, L1 <1us
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- RBE- FLReset-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-Fata=
l+ Fatal+
>> Unsupported+
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd+ ExtTag- PhantFunc- =
AuxPwr- NoSnoop+
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, MaxRea=
dReq 512 bytes
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Unsupp=
Req- AuxPwr-
>> TransPend-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x4, AS=
PM L0s,
>> Latency L0 <2us,
>> L1 unlimited
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActRep-=
 BwNot-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 128 bytes Disable=
d- Retrain-
>> CommClk-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWidDis=
- BWInt- AutBWInt-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Trai=
n- SlotClk-
>> DLActive-
>> BWMgmt- ABWMgmt-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFa=
tal- PMEIntEna-
>> CRSVisible-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCap: CRSVisible-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootSta: PME ReqID 0000, PMEStatus- PMEPendi=
ng-
>> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltA=
brt-
>> UnxCmplt- RxOF+
>> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ CGe=
nEn- ChkCap+
>> ChkEn-
>> =A0 =A0 =A0 Kernel driver in use: pcieport
>>
>> 0001:02:00.0 0604: 1957:0100 (rev 10)
>> =A0 =A0 =A0 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- =
ParErr-
>> Stepping- SERR+ FastB2B- DisINTx-
>> =A0 =A0 =A0 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAb=
ort-
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> =A0 =A0 =A0 Latency: 0, Cache Line Size: 32 bytes
>> =A0 =A0 =A0 Region 0: Memory at <ignored> (32-bit, non-prefetchable)
>> =A0 =A0 =A0 Bus: primary=3D00, secondary=3D03, subordinate=3D03, sec-lat=
ency=3D0
>> =A0 =A0 =A0 I/O behind bridge: 00000000-00000fff
>> =A0 =A0 =A0 Memory behind bridge: c0000000-dfffffff
>> =A0 =A0 =A0 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=3Dfast >TAb=
ort-
>> <TAbort- <MAbort- <SERR- <PERR-
>> =A0 =A0 =A0 BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B=
-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmr=
SERREn-
>> =A0 =A0 =A0 Capabilities: [44] Power Management version 2
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D0mA
>> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D0 P=
ME-
>> =A0 =A0 =A0 Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 256 bytes, PhantFunc 0, L=
atency L0s
>> <64ns, L1 <1us
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- RBE- FLReset-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-Fata=
l+ Fatal+
>> Unsupported+
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd+ ExtTag- PhantFunc- =
AuxPwr- NoSnoop+
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, MaxRea=
dReq 512 bytes
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Unsupp=
Req- AuxPwr-
>> TransPend-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x4, AS=
PM L0s,
>> Latency L0 <2us,
>> L1 unlimited
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActRep-=
 BwNot-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 128 bytes Disable=
d- Retrain-
>> CommClk-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWidDis=
- BWInt- AutBWInt-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Trai=
n- SlotClk-
>> DLActive-
>> BWMgmt- ABWMgmt-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFa=
tal- PMEIntEna-
>> CRSVisible-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCap: CRSVisible-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootSta: PME ReqID 0000, PMEStatus- PMEPendi=
ng-
>> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltA=
brt-
>> UnxCmplt- RxOF+
>> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ CGe=
nEn- ChkCap+
>> ChkEn-
>> =A0 =A0 =A0 Kernel driver in use: pcieport
>>
>> 0001:03:00.0 0104: 1095:3132 (rev 01)
>> =A0 =A0 =A0 Subsystem: 1095:7132
>> =A0 =A0 =A0 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- =
ParErr-
>> Stepping- SERR- FastB2B- DisINTx-
>> =A0 =A0 =A0 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAb=
ort-
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> =A0 =A0 =A0 Latency: 0, Cache Line Size: 32 bytes
>> =A0 =A0 =A0 Interrupt: pin A routed to IRQ 0
>> =A0 =A0 =A0 Region 0: Memory at c0000000 (64-bit, non-prefetchable) [siz=
e=3D128]
>> =A0 =A0 =A0 Region 2: Memory at c0004000 (64-bit, non-prefetchable) [siz=
e=3D16K]
>> =A0 =A0 =A0 Region 4: I/O ports at 1000 [size=3D128]
>> =A0 =A0 =A0 [virtual] Expansion ROM at c0080000 [disabled] [size=3D512K]
>> =A0 =A0 =A0 Capabilities: [54] Power Management version 2
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=3D0mA=
 PME(D0-,D1-,D2-
>> ,D3hot-,D3cold-)
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D1 P=
ME-
>> =A0 =A0 =A0 Capabilities: [5c] MSI: Mask- 64bit+ Count=3D1/1 Enable-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Address: 0000000000000000 =A0Data: 0000
>> =A0 =A0 =A0 Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 1024 bytes, PhantFunc 0, =
Latency L0s
>> <64ns, L1 <1us
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- AttnBtn- AttnInd- Pw=
rInd- RBE- FLReset-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-Fata=
l- Fatal-
>> Unsupported-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd- ExtTag- PhantFunc- =
AuxPwr- NoSnoop-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, MaxRea=
dReq 1024 bytes
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Unsupp=
Req- AuxPwr-
>> TransPend-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x1, AS=
PM L0s,
>> Latency L0
>> unlimited, L1 unlimited
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActRep-=
 BwNot-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 64 bytes Disabled=
- Retrain-
>> CommClk-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWidDis=
- BWInt- AutBWInt-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Trai=
n- SlotClk+
>> DLActive-
>> BWMgmt- ABWMgmt-
>> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltA=
brt-
>> UnxCmplt- RxOF+
>> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ CGe=
nEn- ChkCap+
>> ChkEn-
>> =A0 =A0 =A0 Kernel driver in use: sata_sil24
>>
>> root@p1020rdb:~#
>>
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=3D0mA=
 PME(D0-,D1-,D2-
>> ,D3hot-,D3cold-)
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D1 P=
ME-
>> =A0 =A0 =A0 Capabilities: [5c] MSI: Mask- 64bit+ Count=3D1/1 Enable-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Address: 0000000000000000 =A0Data: 0000
>> =A0 =A0 =A0 Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 1024 bytes, PhantFunc 0, =
Latency L0s
>> <64ns, L1 <1us
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- AttnBtn- AttnInd- Pw=
rInd- RBE- FLReset-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-Fata=
l- Fatal-
>> Unsupported-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd- ExtTag- PhantFunc- =
AuxPwr- NoSnoop-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, MaxRea=
dReq 1024 bytes
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Unsupp=
Req- AuxPwr-
>> TransPend-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x1, AS=
PM L0s,
>> Latency L0
>> unlimited, L1 unlimited
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActRep-=
 BwNot-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 64 bytes Disabled=
- Retrain-
>> CommClk-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWidDis=
- BWInt- AutBWInt-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Trai=
n- SlotClk+
>> DLActive-
>> BWMgmt- ABWMgmt-
>> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- Cmpl=
tAbrt-
>> UnxCmplt- RxOF-
>> MalfTLP- ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltA=
brt-
>> UnxCmplt- RxOF+
>> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollover- =
Timeout-
>> NonFatalErr-
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ CGe=
nEn- ChkCap+
>> ChkEn-
>> =A0 =A0 =A0 Kernel driver in use: sata_sil24
>> =A0 =A0 =A0 Kernel modules: sata_sil24
>>
>>
>> --
>> Leon
>
>
>



--=20
Leon

^ permalink raw reply

* [PATCH] powerpc/85xx: P2020 DTS: re-organize dts files
From: Prabhakar Kushwaha @ 2011-04-08 12:27 UTC (permalink / raw)
  To: linuxppc-dev, devicetree-discuss; +Cc: meet2prabhu, Prabhakar Kushwaha

Creates P2020si.dtsi, containing information for P2020 SoC. Modifies dts files
for P2020 based systems to use dtsi file.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---
 Based upon git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git(branch master)

 Please see mpc5200b.dtsi for reference.
 
 Tested on P2020RDB and P2020DS

 arch/powerpc/boot/dts/p2020ds.dts             |  374 ++----------------------
 arch/powerpc/boot/dts/p2020rdb.dts            |  362 ++---------------------
 arch/powerpc/boot/dts/p2020rdb_camp_core0.dts |  237 +++-------------
 arch/powerpc/boot/dts/p2020rdb_camp_core1.dts |  142 ++++++----
 arch/powerpc/boot/dts/p2020si.dtsi            |  382 +++++++++++++++++++++++++
 5 files changed, 564 insertions(+), 933 deletions(-)
 create mode 100644 arch/powerpc/boot/dts/p2020si.dtsi

diff --git a/arch/powerpc/boot/dts/p2020ds.dts b/arch/powerpc/boot/dts/p2020ds.dts
index 1101914..2bcf368 100644
--- a/arch/powerpc/boot/dts/p2020ds.dts
+++ b/arch/powerpc/boot/dts/p2020ds.dts
@@ -1,7 +1,7 @@
 /*
  * P2020 DS Device Tree Source
  *
- * Copyright 2009 Freescale Semiconductor Inc.
+ * Copyright 2009-2011 Freescale Semiconductor Inc.
  *
  * This program is free software; you can redistribute  it and/or modify it
  * under  the terms of  the GNU General  Public License as published by the
@@ -9,12 +9,11 @@
  * option) any later version.
  */
 
-/dts-v1/;
+/include/ "p2020si.dtsi"
+
 / {
-	model = "fsl,P2020";
+	model = "fsl,P2020DS";
 	compatible = "fsl,P2020DS";
-	#address-cells = <2>;
-	#size-cells = <2>;
 
 	aliases {
 		ethernet0 = &enet0;
@@ -27,35 +26,13 @@
 		pci2 = &pci2;
 	};
 
-	cpus {
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		PowerPC,P2020@0 {
-			device_type = "cpu";
-			reg = <0x0>;
-			next-level-cache = <&L2>;
-		};
-
-		PowerPC,P2020@1 {
-			device_type = "cpu";
-			reg = <0x1>;
-			next-level-cache = <&L2>;
-		};
-	};
 
 	memory {
 		device_type = "memory";
 	};
 
 	localbus@ffe05000 {
-		#address-cells = <2>;
-		#size-cells = <1>;
 		compatible = "fsl,elbc", "simple-bus";
-		reg = <0 0xffe05000 0 0x1000>;
-		interrupts = <19 2>;
-		interrupt-parent = <&mpic>;
-
 		ranges = <0x0 0x0 0x0 0xe8000000 0x08000000
 			  0x1 0x0 0x0 0xe0000000 0x08000000
 			  0x2 0x0 0x0 0xffa00000 0x00040000
@@ -158,352 +135,77 @@
 	};
 
 	soc@ffe00000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		device_type = "soc";
-		compatible = "fsl,p2020-immr", "simple-bus";
-		ranges = <0x0 0 0xffe00000 0x100000>;
-		bus-frequency = <0>;		// Filled out by uboot.
-
-		ecm-law@0 {
-			compatible = "fsl,ecm-law";
-			reg = <0x0 0x1000>;
-			fsl,num-laws = <12>;
-		};
-
-		ecm@1000 {
-			compatible = "fsl,p2020-ecm", "fsl,ecm";
-			reg = <0x1000 0x1000>;
-			interrupts = <17 2>;
-			interrupt-parent = <&mpic>;
-		};
-
-		memory-controller@2000 {
-			compatible = "fsl,p2020-memory-controller";
-			reg = <0x2000 0x1000>;
-			interrupt-parent = <&mpic>;
-			interrupts = <18 2>;
-		};
-
-		i2c@3000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			cell-index = <0>;
-			compatible = "fsl-i2c";
-			reg = <0x3000 0x100>;
-			interrupts = <43 2>;
-			interrupt-parent = <&mpic>;
-			dfsrr;
-		};
-
-		i2c@3100 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			cell-index = <1>;
-			compatible = "fsl-i2c";
-			reg = <0x3100 0x100>;
-			interrupts = <43 2>;
-			interrupt-parent = <&mpic>;
-			dfsrr;
-		};
 
-		serial0: serial@4500 {
-			cell-index = <0>;
-			device_type = "serial";
-			compatible = "ns16550";
-			reg = <0x4500 0x100>;
-			clock-frequency = <0>;
-			interrupts = <42 2>;
-			interrupt-parent = <&mpic>;
-		};
-
-		serial1: serial@4600 {
-			cell-index = <1>;
-			device_type = "serial";
-			compatible = "ns16550";
-			reg = <0x4600 0x100>;
-			clock-frequency = <0>;
-			interrupts = <42 2>;
-			interrupt-parent = <&mpic>;
-		};
-
-		spi@7000 {
-			compatible = "fsl,espi";
-			reg = <0x7000 0x1000>;
-			interrupts = <59 0x2>;
-			interrupt-parent = <&mpic>;
+		usb@22000 {
+			phy_type = "ulpi";
 		};
 
-		dma@c300 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			compatible = "fsl,eloplus-dma";
-			reg = <0xc300 0x4>;
-			ranges = <0x0 0xc100 0x200>;
-			cell-index = <1>;
-			dma-channel@0 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x0 0x80>;
-				cell-index = <0>;
+		mdio@24520 {
+			phy0: ethernet-phy@0 {
 				interrupt-parent = <&mpic>;
-				interrupts = <76 2>;
+				interrupts = <3 1>;
+				reg = <0x0>;
 			};
-			dma-channel@80 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x80 0x80>;
-				cell-index = <1>;
+			phy1: ethernet-phy@1 {
 				interrupt-parent = <&mpic>;
-				interrupts = <77 2>;
+				interrupts = <3 1>;
+				reg = <0x1>;
 			};
-			dma-channel@100 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x100 0x80>;
-				cell-index = <2>;
+			phy2: ethernet-phy@2 {
 				interrupt-parent = <&mpic>;
-				interrupts = <78 2>;
+				interrupts = <3 1>;
+				reg = <0x2>;
 			};
-			dma-channel@180 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x180 0x80>;
-				cell-index = <3>;
-				interrupt-parent = <&mpic>;
-				interrupts = <79 2>;
+			tbi0: tbi-phy@11 {
+				reg = <0x11>;
+				device_type = "tbi-phy";
 			};
-		};
 
-		gpio: gpio-controller@f000 {
-			#gpio-cells = <2>;
-			compatible = "fsl,mpc8572-gpio";
-			reg = <0xf000 0x100>;
-			interrupts = <47 0x2>;
-			interrupt-parent = <&mpic>;
-			gpio-controller;
 		};
 
-		L2: l2-cache-controller@20000 {
-			compatible = "fsl,p2020-l2-cache-controller";
-			reg = <0x20000 0x1000>;
-			cache-line-size = <32>;	// 32 bytes
-			cache-size = <0x80000>; // L2, 512k
-			interrupt-parent = <&mpic>;
-			interrupts = <16 2>;
+		mdio@25520 {
+			tbi1: tbi-phy@11 {
+				reg = <0x11>;
+				device_type = "tbi-phy";
+			};
 		};
 
-		dma@21300 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			compatible = "fsl,eloplus-dma";
-			reg = <0x21300 0x4>;
-			ranges = <0x0 0x21100 0x200>;
-			cell-index = <0>;
-			dma-channel@0 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x0 0x80>;
-				cell-index = <0>;
-				interrupt-parent = <&mpic>;
-				interrupts = <20 2>;
-			};
-			dma-channel@80 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x80 0x80>;
-				cell-index = <1>;
-				interrupt-parent = <&mpic>;
-				interrupts = <21 2>;
+		mdio@26520 {
+			tbi2: tbi-phy@11 {
+				reg = <0x11>;
+				device_type = "tbi-phy";
 			};
-			dma-channel@100 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x100 0x80>;
-				cell-index = <2>;
-				interrupt-parent = <&mpic>;
-				interrupts = <22 2>;
-			};
-			dma-channel@180 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x180 0x80>;
-				cell-index = <3>;
-				interrupt-parent = <&mpic>;
-				interrupts = <23 2>;
-			};
-		};
 
-		usb@22000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "fsl-usb2-dr";
-			reg = <0x22000 0x1000>;
-			interrupt-parent = <&mpic>;
-			interrupts = <28 0x2>;
-			phy_type = "ulpi";
 		};
 
 		enet0: ethernet@24000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <0>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x24000 0x1000>;
-			ranges = <0x0 0x24000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <29 2 30 2 34 2>;
-			interrupt-parent = <&mpic>;
 			tbi-handle = <&tbi0>;
 			phy-handle = <&phy0>;
 			phy-connection-type = "rgmii-id";
-
-			mdio@520 {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				compatible = "fsl,gianfar-mdio";
-				reg = <0x520 0x20>;
-
-				phy0: ethernet-phy@0 {
-					interrupt-parent = <&mpic>;
-					interrupts = <3 1>;
-					reg = <0x0>;
-				};
-				phy1: ethernet-phy@1 {
-					interrupt-parent = <&mpic>;
-					interrupts = <3 1>;
-					reg = <0x1>;
-				};
-				phy2: ethernet-phy@2 {
-					interrupt-parent = <&mpic>;
-					interrupts = <3 1>;
-					reg = <0x2>;
-				};
-				tbi0: tbi-phy@11 {
-					reg = <0x11>;
-					device_type = "tbi-phy";
-				};
-			};
 		};
 
 		enet1: ethernet@25000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <1>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x25000 0x1000>;
-			ranges = <0x0 0x25000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <35 2 36 2 40 2>;
-			interrupt-parent = <&mpic>;
 			tbi-handle = <&tbi1>;
 			phy-handle = <&phy1>;
 			phy-connection-type = "rgmii-id";
 
-			mdio@520 {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				compatible = "fsl,gianfar-tbi";
-				reg = <0x520 0x20>;
-
-				tbi1: tbi-phy@11 {
-					reg = <0x11>;
-					device_type = "tbi-phy";
-				};
-			};
 		};
 
 		enet2: ethernet@26000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <2>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x26000 0x1000>;
-			ranges = <0x0 0x26000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <31 2 32 2 33 2>;
-			interrupt-parent = <&mpic>;
 			tbi-handle = <&tbi2>;
 			phy-handle = <&phy2>;
 			phy-connection-type = "rgmii-id";
-
-			mdio@520 {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				compatible = "fsl,gianfar-tbi";
-				reg = <0x520 0x20>;
-
-				tbi2: tbi-phy@11 {
-					reg = <0x11>;
-					device_type = "tbi-phy";
-				};
-			};
-		};
-
-		sdhci@2e000 {
-			compatible = "fsl,p2020-esdhc", "fsl,esdhc";
-			reg = <0x2e000 0x1000>;
-			interrupts = <72 0x2>;
-			interrupt-parent = <&mpic>;
-			/* Filled in by U-Boot */
-			clock-frequency = <0>;
-		};
-
-		crypto@30000 {
-			compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
-				     "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
-			reg = <0x30000 0x10000>;
-			interrupts = <45 2 58 2>;
-			interrupt-parent = <&mpic>;
-			fsl,num-channels = <4>;
-			fsl,channel-fifo-len = <24>;
-			fsl,exec-units-mask = <0xbfe>;
-			fsl,descriptor-types-mask = <0x3ab0ebf>;
 		};
 
-		mpic: pic@40000 {
-			interrupt-controller;
-			#address-cells = <0>;
-			#interrupt-cells = <2>;
-			reg = <0x40000 0x40000>;
-			compatible = "chrp,open-pic";
-			device_type = "open-pic";
-		};
 
 		msi@41600 {
 			compatible = "fsl,mpic-msi";
-			reg = <0x41600 0x80>;
-			msi-available-ranges = <0 0x100>;
-			interrupts = <
-				0xe0 0
-				0xe1 0
-				0xe2 0
-				0xe3 0
-				0xe4 0
-				0xe5 0
-				0xe6 0
-				0xe7 0>;
-			interrupt-parent = <&mpic>;
-		};
-
-		global-utilities@e0000 {	//global utilities block
-			compatible = "fsl,p2020-guts";
-			reg = <0xe0000 0x1000>;
-			fsl,has-rstcr;
 		};
 	};
 
 	pci0: pcie@ffe08000 {
-		compatible = "fsl,mpc8548-pcie";
-		device_type = "pci";
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
-		#address-cells = <3>;
-		reg = <0 0xffe08000 0 0x1000>;
-		bus-range = <0 255>;
 		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
 			  0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
-		clock-frequency = <33333333>;
-		interrupt-parent = <&mpic>;
-		interrupts = <24 2>;
 		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
 		interrupt-map = <
 			/* IDSEL 0x0 */
@@ -528,18 +230,8 @@
 	};
 
 	pci1: pcie@ffe09000 {
-		compatible = "fsl,mpc8548-pcie";
-		device_type = "pci";
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
-		#address-cells = <3>;
-		reg = <0 0xffe09000 0 0x1000>;
-		bus-range = <0 255>;
 		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
 			  0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
-		clock-frequency = <33333333>;
-		interrupt-parent = <&mpic>;
-		interrupts = <25 2>;
 		interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
 		interrupt-map = <
 
@@ -667,18 +359,8 @@
 	};
 
 	pci2: pcie@ffe0a000 {
-		compatible = "fsl,mpc8548-pcie";
-		device_type = "pci";
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
-		#address-cells = <3>;
-		reg = <0 0xffe0a000 0 0x1000>;
-		bus-range = <0 255>;
 		ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
 			  0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
-		clock-frequency = <33333333>;
-		interrupt-parent = <&mpic>;
-		interrupts = <26 2>;
 		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
 		interrupt-map = <
 			/* IDSEL 0x0 */
diff --git a/arch/powerpc/boot/dts/p2020rdb.dts b/arch/powerpc/boot/dts/p2020rdb.dts
index e2d48fd..60a0a8c 100644
--- a/arch/powerpc/boot/dts/p2020rdb.dts
+++ b/arch/powerpc/boot/dts/p2020rdb.dts
@@ -9,12 +9,11 @@
  * option) any later version.
  */
 
-/dts-v1/;
+/include/ "p2020si.dtsi"
+
 / {
-	model = "fsl,P2020";
+	model = "fsl,P2020RDB";
 	compatible = "fsl,P2020RDB";
-	#address-cells = <2>;
-	#size-cells = <2>;
 
 	aliases {
 		ethernet0 = &enet0;
@@ -26,34 +25,11 @@
 		pci1 = &pci1;
 	};
 
-	cpus {
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		PowerPC,P2020@0 {
-			device_type = "cpu";
-			reg = <0x0>;
-			next-level-cache = <&L2>;
-		};
-
-		PowerPC,P2020@1 {
-			device_type = "cpu";
-			reg = <0x1>;
-			next-level-cache = <&L2>;
-		};
-	};
-
 	memory {
 		device_type = "memory";
 	};
 
 	localbus@ffe05000 {
-		#address-cells = <2>;
-		#size-cells = <1>;
-		compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus";
-		reg = <0 0xffe05000 0 0x1000>;
-		interrupts = <19 2>;
-		interrupt-parent = <&mpic>;
 
 		/* NOR and NAND Flashes */
 		ranges = <0x0 0x0 0x0 0xef000000 0x01000000
@@ -165,90 +141,16 @@
 	};
 
 	soc@ffe00000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		device_type = "soc";
-		compatible = "fsl,p2020-immr", "simple-bus";
-		ranges = <0x0  0x0 0xffe00000 0x100000>;
-		bus-frequency = <0>;		// Filled out by uboot.
-
-		ecm-law@0 {
-			compatible = "fsl,ecm-law";
-			reg = <0x0 0x1000>;
-			fsl,num-laws = <12>;
-		};
-
-		ecm@1000 {
-			compatible = "fsl,p2020-ecm", "fsl,ecm";
-			reg = <0x1000 0x1000>;
-			interrupts = <17 2>;
-			interrupt-parent = <&mpic>;
-		};
-
-		memory-controller@2000 {
-			compatible = "fsl,p2020-memory-controller";
-			reg = <0x2000 0x1000>;
-			interrupt-parent = <&mpic>;
-			interrupts = <18 2>;
-		};
-
 		i2c@3000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			cell-index = <0>;
-			compatible = "fsl-i2c";
-			reg = <0x3000 0x100>;
-			interrupts = <43 2>;
-			interrupt-parent = <&mpic>;
-			dfsrr;
 			rtc@68 {
 				compatible = "dallas,ds1339";
 				reg = <0x68>;
 			};
 		};
 
-		i2c@3100 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			cell-index = <1>;
-			compatible = "fsl-i2c";
-			reg = <0x3100 0x100>;
-			interrupts = <43 2>;
-			interrupt-parent = <&mpic>;
-			dfsrr;
-		};
-
-		serial0: serial@4500 {
-			cell-index = <0>;
-			device_type = "serial";
-			compatible = "ns16550";
-			reg = <0x4500 0x100>;
-			clock-frequency = <0>;
-			interrupts = <42 2>;
-			interrupt-parent = <&mpic>;
-		};
-
-		serial1: serial@4600 {
-			cell-index = <1>;
-			device_type = "serial";
-			compatible = "ns16550";
-			reg = <0x4600 0x100>;
-			clock-frequency = <0>;
-			interrupts = <42 2>;
-			interrupt-parent = <&mpic>;
-		};
+	spi@7000 {
 
-		spi@7000 {
-			cell-index = <0>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "fsl,espi";
-			reg = <0x7000 0x1000>;
-			interrupts = <59 0x2>;
-			interrupt-parent = <&mpic>;
-			mode = "cpu";
-
-			fsl_m25p80@0 {
+		fsl_m25p80@0 {
 				#address-cells = <1>;
 				#size-cells = <1>;
 				compatible = "fsl,espi-flash";
@@ -294,254 +196,60 @@
 			};
 		};
 
-		dma@c300 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			compatible = "fsl,eloplus-dma";
-			reg = <0xc300 0x4>;
-			ranges = <0x0 0xc100 0x200>;
-			cell-index = <1>;
-			dma-channel@0 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x0 0x80>;
-				cell-index = <0>;
-				interrupt-parent = <&mpic>;
-				interrupts = <76 2>;
-			};
-			dma-channel@80 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x80 0x80>;
-				cell-index = <1>;
-				interrupt-parent = <&mpic>;
-				interrupts = <77 2>;
-			};
-			dma-channel@100 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x100 0x80>;
-				cell-index = <2>;
-				interrupt-parent = <&mpic>;
-				interrupts = <78 2>;
-			};
-			dma-channel@180 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x180 0x80>;
-				cell-index = <3>;
-				interrupt-parent = <&mpic>;
-				interrupts = <79 2>;
-			};
-		};
-
-		gpio: gpio-controller@f000 {
-			#gpio-cells = <2>;
-			compatible = "fsl,mpc8572-gpio";
-			reg = <0xf000 0x100>;
-			interrupts = <47 0x2>;
-			interrupt-parent = <&mpic>;
-			gpio-controller;
-		};
-
-		L2: l2-cache-controller@20000 {
-			compatible = "fsl,p2020-l2-cache-controller";
-			reg = <0x20000 0x1000>;
-			cache-line-size = <32>;	// 32 bytes
-			cache-size = <0x80000>; // L2,512K
-			interrupt-parent = <&mpic>;
-			interrupts = <16 2>;
+		usb@22000 {
+			phy_type = "ulpi";
 		};
 
-		dma@21300 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			compatible = "fsl,eloplus-dma";
-			reg = <0x21300 0x4>;
-			ranges = <0x0 0x21100 0x200>;
-			cell-index = <0>;
-			dma-channel@0 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x0 0x80>;
-				cell-index = <0>;
+		mdio@24520 {
+			phy0: ethernet-phy@0 {
 				interrupt-parent = <&mpic>;
-				interrupts = <20 2>;
-			};
-			dma-channel@80 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x80 0x80>;
-				cell-index = <1>;
-				interrupt-parent = <&mpic>;
-				interrupts = <21 2>;
-			};
-			dma-channel@100 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x100 0x80>;
-				cell-index = <2>;
-				interrupt-parent = <&mpic>;
-				interrupts = <22 2>;
-			};
-			dma-channel@180 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x180 0x80>;
-				cell-index = <3>;
+				interrupts = <3 1>;
+				reg = <0x0>;
+				};
+			phy1: ethernet-phy@1 {
 				interrupt-parent = <&mpic>;
-				interrupts = <23 2>;
+				interrupts = <3 1>;
+				reg = <0x1>;
+				};
+		};
+
+		mdio@25520 {
+			tbi0: tbi-phy@11 {
+				reg = <0x11>;
+				device_type = "tbi-phy";
 			};
 		};
 
-		usb@22000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "fsl-usb2-dr";
-			reg = <0x22000 0x1000>;
-			interrupt-parent = <&mpic>;
-			interrupts = <28 0x2>;
-			phy_type = "ulpi";
+		mdio@26520 {
+			status = "disabled";
 		};
 
 		enet0: ethernet@24000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <0>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x24000 0x1000>;
-			ranges = <0x0 0x24000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <29 2 30 2 34 2>;
-			interrupt-parent = <&mpic>;
 			fixed-link = <1 1 1000 0 0>;
 			phy-connection-type = "rgmii-id";
-
-			mdio@520 {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				compatible = "fsl,gianfar-mdio";
-				reg = <0x520 0x20>;
-
-				phy0: ethernet-phy@0 {
-					interrupt-parent = <&mpic>;
-					interrupts = <3 1>;
-					reg = <0x0>;
-				};
-				phy1: ethernet-phy@1 {
-					interrupt-parent = <&mpic>;
-					interrupts = <3 1>;
-					reg = <0x1>;
-				};
-			};
 		};
 
 		enet1: ethernet@25000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <1>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x25000 0x1000>;
-			ranges = <0x0 0x25000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <35 2 36 2 40 2>;
-			interrupt-parent = <&mpic>;
 			tbi-handle = <&tbi0>;
 			phy-handle = <&phy0>;
 			phy-connection-type = "sgmii";
-
-			mdio@520 {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				compatible = "fsl,gianfar-tbi";
-				reg = <0x520 0x20>;
-
-				tbi0: tbi-phy@11 {
-					reg = <0x11>;
-					device_type = "tbi-phy";
-				};
-			};
 		};
 
 		enet2: ethernet@26000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <2>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x26000 0x1000>;
-			ranges = <0x0 0x26000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <31 2 32 2 33 2>;
-			interrupt-parent = <&mpic>;
 			phy-handle = <&phy1>;
 			phy-connection-type = "rgmii-id";
 		};
 
-		sdhci@2e000 {
-			compatible = "fsl,p2020-esdhc", "fsl,esdhc";
-			reg = <0x2e000 0x1000>;
-			interrupts = <72 0x2>;
-			interrupt-parent = <&mpic>;
-			/* Filled in by U-Boot */
-			clock-frequency = <0>;
-		};
-
-		crypto@30000 {
-			compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
-				     "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
-			reg = <0x30000 0x10000>;
-			interrupts = <45 2 58 2>;
-			interrupt-parent = <&mpic>;
-			fsl,num-channels = <4>;
-			fsl,channel-fifo-len = <24>;
-			fsl,exec-units-mask = <0xbfe>;
-			fsl,descriptor-types-mask = <0x3ab0ebf>;
-		};
-
-		mpic: pic@40000 {
-			interrupt-controller;
-			#address-cells = <0>;
-			#interrupt-cells = <2>;
-			reg = <0x40000 0x40000>;
-			compatible = "chrp,open-pic";
-			device_type = "open-pic";
-		};
-
-		msi@41600 {
-			compatible = "fsl,p2020-msi", "fsl,mpic-msi";
-			reg = <0x41600 0x80>;
-			msi-available-ranges = <0 0x100>;
-			interrupts = <
-				0xe0 0
-				0xe1 0
-				0xe2 0
-				0xe3 0
-				0xe4 0
-				0xe5 0
-				0xe6 0
-				0xe7 0>;
-			interrupt-parent = <&mpic>;
-		};
+	};
 
-		global-utilities@e0000 {	//global utilities block
-			compatible = "fsl,p2020-guts";
-			reg = <0xe0000 0x1000>;
-			fsl,has-rstcr;
-		};
+	pci0: pcie@ffe08000 {
+		status = "disabled";
 	};
 
-	pci0: pcie@ffe09000 {
-		compatible = "fsl,mpc8548-pcie";
-		device_type = "pci";
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
-		#address-cells = <3>;
-		reg = <0 0xffe09000 0 0x1000>;
-		bus-range = <0 255>;
+	pci1: pcie@ffe09000 {
 		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
 			  0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
-		clock-frequency = <33333333>;
-		interrupt-parent = <&mpic>;
-		interrupts = <25 2>;
-		pcie@0 {
+			pcie@0 {
 			reg = <0x0 0x0 0x0 0x0 0x0>;
 			#size-cells = <2>;
 			#address-cells = <3>;
@@ -556,19 +264,9 @@
 		};
 	};
 
-	pci1: pcie@ffe0a000 {
-		compatible = "fsl,mpc8548-pcie";
-		device_type = "pci";
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
-		#address-cells = <3>;
-		reg = <0 0xffe0a000 0 0x1000>;
-		bus-range = <0 255>;
+	pci2: pcie@ffe0a000 {
 		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
 			  0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
-		clock-frequency = <33333333>;
-		interrupt-parent = <&mpic>;
-		interrupts = <26 2>;
 		pcie@0 {
 			reg = <0x0 0x0 0x0 0x0 0x0>;
 			#size-cells = <2>;
diff --git a/arch/powerpc/boot/dts/p2020rdb_camp_core0.dts b/arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
index b69c3a5..72c912f 100644
--- a/arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
+++ b/arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
@@ -14,12 +14,11 @@
  * option) any later version.
  */
 
-/dts-v1/;
+/include/ "p2020si.dtsi"
+
 / {
-	model = "fsl,P2020";
+	model = "fsl,P2020RDB";
 	compatible = "fsl,P2020RDB", "fsl,MPC85XXRDB-CAMP";
-	#address-cells = <2>;
-	#size-cells = <2>;
 
 	aliases {
 		ethernet1 = &enet1;
@@ -29,91 +28,33 @@
 	};
 
 	cpus {
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		PowerPC,P2020@0 {
-			device_type = "cpu";
-			reg = <0x0>;
-			next-level-cache = <&L2>;
+		PowerPC,P2020@1 {
+		status = "disabled";
 		};
+
 	};
 
 	memory {
 		device_type = "memory";
 	};
 
-	soc@ffe00000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		device_type = "soc";
-		compatible = "fsl,p2020-immr", "simple-bus";
-		ranges = <0x0  0x0 0xffe00000 0x100000>;
-		bus-frequency = <0>;		// Filled out by uboot.
-
-		ecm-law@0 {
-			compatible = "fsl,ecm-law";
-			reg = <0x0 0x1000>;
-			fsl,num-laws = <12>;
-		};
-
-		ecm@1000 {
-			compatible = "fsl,p2020-ecm", "fsl,ecm";
-			reg = <0x1000 0x1000>;
-			interrupts = <17 2>;
-			interrupt-parent = <&mpic>;
-		};
-
-		memory-controller@2000 {
-			compatible = "fsl,p2020-memory-controller";
-			reg = <0x2000 0x1000>;
-			interrupt-parent = <&mpic>;
-			interrupts = <18 2>;
-		};
+	localbus@ffe05000 {
+		status = "disabled";
+	};
 
+	soc@ffe00000 {
 		i2c@3000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			cell-index = <0>;
-			compatible = "fsl-i2c";
-			reg = <0x3000 0x100>;
-			interrupts = <43 2>;
-			interrupt-parent = <&mpic>;
-			dfsrr;
 			rtc@68 {
 				compatible = "dallas,ds1339";
 				reg = <0x68>;
 			};
 		};
 
-		i2c@3100 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			cell-index = <1>;
-			compatible = "fsl-i2c";
-			reg = <0x3100 0x100>;
-			interrupts = <43 2>;
-			interrupt-parent = <&mpic>;
-			dfsrr;
-		};
-
-		serial0: serial@4500 {
-			cell-index = <0>;
-			device_type = "serial";
-			compatible = "ns16550";
-			reg = <0x4500 0x100>;
-			clock-frequency = <0>;
+		serial1: serial@4600 {
+			status = "disabled";
 		};
 
 		spi@7000 {
-			cell-index = <0>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "fsl,espi";
-			reg = <0x7000 0x1000>;
-			interrupts = <59 0x2>;
-			interrupt-parent = <&mpic>;
-			mode = "cpu";
 
 			fsl_m25p80@0 {
 				#address-cells = <1>;
@@ -161,76 +102,15 @@
 			};
 		};
 
-		gpio: gpio-controller@f000 {
-			#gpio-cells = <2>;
-			compatible = "fsl,mpc8572-gpio";
-			reg = <0xf000 0x100>;
-			interrupts = <47 0x2>;
-			interrupt-parent = <&mpic>;
-			gpio-controller;
-		};
-
-		L2: l2-cache-controller@20000 {
-			compatible = "fsl,p2020-l2-cache-controller";
-			reg = <0x20000 0x1000>;
-			cache-line-size = <32>;	// 32 bytes
-			cache-size = <0x80000>; // L2,512K
-			interrupt-parent = <&mpic>;
-			interrupts = <16 2>;
-		};
-
-		dma@21300 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			compatible = "fsl,eloplus-dma";
-			reg = <0x21300 0x4>;
-			ranges = <0x0 0x21100 0x200>;
-			cell-index = <0>;
-			dma-channel@0 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x0 0x80>;
-				cell-index = <0>;
-				interrupt-parent = <&mpic>;
-				interrupts = <20 2>;
-			};
-			dma-channel@80 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x80 0x80>;
-				cell-index = <1>;
-				interrupt-parent = <&mpic>;
-				interrupts = <21 2>;
-			};
-			dma-channel@100 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x100 0x80>;
-				cell-index = <2>;
-				interrupt-parent = <&mpic>;
-				interrupts = <22 2>;
-			};
-			dma-channel@180 {
-				compatible = "fsl,eloplus-dma-channel";
-				reg = <0x180 0x80>;
-				cell-index = <3>;
-				interrupt-parent = <&mpic>;
-				interrupts = <23 2>;
-			};
+		dma@c300 {
+			status = "disabled";
 		};
 
 		usb@22000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "fsl-usb2-dr";
-			reg = <0x22000 0x1000>;
-			interrupt-parent = <&mpic>;
-			interrupts = <28 0x2>;
 			phy_type = "ulpi";
 		};
 
 		mdio@24520 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "fsl,gianfar-mdio";
-			reg = <0x24520 0x20>;
 
 			phy0: ethernet-phy@0 {
 				interrupt-parent = <&mpic>;
@@ -245,29 +125,21 @@
 		};
 
 		mdio@25520 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "fsl,gianfar-tbi";
-			reg = <0x26520 0x20>;
-
 			tbi0: tbi-phy@11 {
 				reg = <0x11>;
 				device_type = "tbi-phy";
 			};
 		};
 
+		mdio@26520 {
+			status = "disabled";
+		};
+
+		enet0: ethernet@24000 {
+			status = "disabled";
+		};
+
 		enet1: ethernet@25000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <1>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x25000 0x1000>;
-			ranges = <0x0 0x25000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <35 2 36 2 40 2>;
-			interrupt-parent = <&mpic>;
 			tbi-handle = <&tbi0>;
 			phy-handle = <&phy0>;
 			phy-connection-type = "sgmii";
@@ -275,49 +147,12 @@
 		};
 
 		enet2: ethernet@26000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <2>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x26000 0x1000>;
-			ranges = <0x0 0x26000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <31 2 32 2 33 2>;
-			interrupt-parent = <&mpic>;
 			phy-handle = <&phy1>;
 			phy-connection-type = "rgmii-id";
 		};
 
-		sdhci@2e000 {
-			compatible = "fsl,p2020-esdhc", "fsl,esdhc";
-			reg = <0x2e000 0x1000>;
-			interrupts = <72 0x2>;
-			interrupt-parent = <&mpic>;
-			/* Filled in by U-Boot */
-			clock-frequency = <0>;
-		};
-
-		crypto@30000 {
-			compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
-				     "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
-			reg = <0x30000 0x10000>;
-			interrupts = <45 2 58 2>;
-			interrupt-parent = <&mpic>;
-			fsl,num-channels = <4>;
-			fsl,channel-fifo-len = <24>;
-			fsl,exec-units-mask = <0xbfe>;
-			fsl,descriptor-types-mask = <0x3ab0ebf>;
-		};
 
 		mpic: pic@40000 {
-			interrupt-controller;
-			#address-cells = <0>;
-			#interrupt-cells = <2>;
-			reg = <0x40000 0x40000>;
-			compatible = "chrp,open-pic";
-			device_type = "open-pic";
 			protected-sources = <
 			42 76 77 78 79 /* serial1 , dma2 */
 			29 30 34 26 /* enet0, pci1 */
@@ -326,26 +161,20 @@
 			>;
 		};
 
-		global-utilities@e0000 {
-			compatible = "fsl,p2020-guts";
-			reg = <0xe0000 0x1000>;
-			fsl,has-rstcr;
+		msi@41600 {
+			status = "disabled";
 		};
+
+
 	};
 
-	pci0: pcie@ffe09000 {
-		compatible = "fsl,mpc8548-pcie";
-		device_type = "pci";
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
-		#address-cells = <3>;
-		reg = <0 0xffe09000 0 0x1000>;
-		bus-range = <0 255>;
+	pci0: pcie@ffe08000 {
+		status = "disabled";
+	};
+
+	pci1: pcie@ffe09000 {
 		ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
 			  0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
-		clock-frequency = <33333333>;
-		interrupt-parent = <&mpic>;
-		interrupts = <25 2>;
 		pcie@0 {
 			reg = <0x0 0x0 0x0 0x0 0x0>;
 			#size-cells = <2>;
@@ -360,4 +189,8 @@
 				  0x0 0x100000>;
 		};
 	};
+
+	pci2: pcie@ffe0a000 {
+		status = "disabled";
+	};
 };
diff --git a/arch/powerpc/boot/dts/p2020rdb_camp_core1.dts b/arch/powerpc/boot/dts/p2020rdb_camp_core1.dts
index 7a31d46c..eb572cc 100644
--- a/arch/powerpc/boot/dts/p2020rdb_camp_core1.dts
+++ b/arch/powerpc/boot/dts/p2020rdb_camp_core1.dts
@@ -15,27 +15,21 @@
  * option) any later version.
  */
 
-/dts-v1/;
+/include/ "p2020si.dtsi"
+
 / {
-	model = "fsl,P2020";
+	model = "fsl,P2020RDB";
 	compatible = "fsl,P2020RDB", "fsl,MPC85XXRDB-CAMP";
-	#address-cells = <2>;
-	#size-cells = <2>;
 
 	aliases {
 		ethernet0 = &enet0;
-		serial0 = &serial0;
+		serial0 = &serial1;
 		pci1 = &pci1;
 	};
 
 	cpus {
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		PowerPC,P2020@1 {
-			device_type = "cpu";
-			reg = <0x1>;
-			next-level-cache = <&L2>;
+		PowerPC,P2020@0 {
+		status = "disabled";
 		};
 	};
 
@@ -43,20 +37,37 @@
 		device_type = "memory";
 	};
 
+	localbus@ffe05000 {
+		status = "disabled";
+	};
+
 	soc@ffe00000 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		device_type = "soc";
-		compatible = "fsl,p2020-immr", "simple-bus";
-		ranges = <0x0  0x0 0xffe00000 0x100000>;
-		bus-frequency = <0>;		// Filled out by uboot.
-
-		serial0: serial@4600 {
-			cell-index = <1>;
-			device_type = "serial";
-			compatible = "ns16550";
-			reg = <0x4600 0x100>;
-			clock-frequency = <0>;
+		ecm-law@0 {
+			status = "disabled";
+		};
+
+		ecm@1000 {
+			status = "disabled";
+		};
+
+		memory-controller@2000 {
+			status = "disabled";
+		};
+
+		i2c@3000 {
+			status = "disabled";
+		};
+
+		i2c@3100 {
+			status = "disabled";
+		};
+
+		serial0: serial@4500 {
+			status = "disabled";
+		};
+
+		spi@7000 {
+			status = "disabled";
 		};
 
 		dma@c300 {
@@ -96,6 +107,10 @@
 			};
 		};
 
+		gpio: gpio-controller@f000 {
+			status = "disabled";
+		};
+
 		L2: l2-cache-controller@20000 {
 			compatible = "fsl,p2020-l2-cache-controller";
 			reg = <0x20000 0x1000>;
@@ -104,31 +119,49 @@
 			interrupt-parent = <&mpic>;
 		};
 
+		dma@21300 {
+			status = "disabled";
+		};
+
+		usb@22000 {
+			status = "disabled";
+		};
+
+		mdio@24520 {
+			status = "disabled";
+		};
+
+		mdio@25520 {
+			status = "disabled";
+		};
+
+		mdio@26520 {
+			status = "disabled";
+		};
 
 		enet0: ethernet@24000 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			cell-index = <0>;
-			device_type = "network";
-			model = "eTSEC";
-			compatible = "gianfar";
-			reg = <0x24000 0x1000>;
-			ranges = <0x0 0x24000 0x1000>;
-			local-mac-address = [ 00 00 00 00 00 00 ];
-			interrupts = <29 2 30 2 34 2>;
-			interrupt-parent = <&mpic>;
 			fixed-link = <1 1 1000 0 0>;
 			phy-connection-type = "rgmii-id";
 
 		};
 
+		enet1: ethernet@25000 {
+			status = "disabled";
+		};
+
+		enet2: ethernet@26000 {
+			status = "disabled";
+		};
+
+		sdhci@2e000 {
+			status = "disabled";
+		};
+
+		crypto@30000 {
+			status = "disabled";
+		};
+
 		mpic: pic@40000 {
-			interrupt-controller;
-			#address-cells = <0>;
-			#interrupt-cells = <2>;
-			reg = <0x40000 0x40000>;
-			compatible = "chrp,open-pic";
-			device_type = "open-pic";
 			protected-sources = <
 			17 18 43 42 59 47 /*ecm, mem, i2c, serial0, spi,gpio */
 			16 20 21 22 23 28 	/* L2, dma1, USB */
@@ -152,21 +185,24 @@
 				0xe7 0>;
 			interrupt-parent = <&mpic>;
 		};
+
+		global-utilities@e0000 {	//global utilities block
+			status = "disabled";
+		};
+
+	};
+
+	pci0: pcie@ffe08000 {
+		status = "disabled";
+	};
+
+	pci1: pcie@ffe09000 {
+		status = "disabled";
 	};
 
-	pci1: pcie@ffe0a000 {
-		compatible = "fsl,mpc8548-pcie";
-		device_type = "pci";
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
-		#address-cells = <3>;
-		reg = <0 0xffe0a000 0 0x1000>;
-		bus-range = <0 255>;
+	pci2: pcie@ffe0a000 {
 		ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
 			  0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
-		clock-frequency = <33333333>;
-		interrupt-parent = <&mpic>;
-		interrupts = <26 2>;
 		pcie@0 {
 			reg = <0x0 0x0 0x0 0x0 0x0>;
 			#size-cells = <2>;
diff --git a/arch/powerpc/boot/dts/p2020si.dtsi b/arch/powerpc/boot/dts/p2020si.dtsi
new file mode 100644
index 0000000..6def17f
--- /dev/null
+++ b/arch/powerpc/boot/dts/p2020si.dtsi
@@ -0,0 +1,382 @@
+/*
+ * P2020 Device Tree Source
+ *
+ * Copyright 2011 Freescale Semiconductor Inc.
+ *
+ * This program is free software; you can redistribute  it and/or modify it
+ * under  the terms of  the GNU General  Public License as published by the
+ * Free Software Foundation;  either version 2 of the  License, or (at your
+ * option) any later version.
+ */
+
+/dts-v1/;
+/ {
+	compatible = "fsl,P2020";
+	#address-cells = <2>;
+	#size-cells = <2>;
+
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		PowerPC,P2020@0 {
+			device_type = "cpu";
+			reg = <0x0>;
+			next-level-cache = <&L2>;
+		};
+
+		PowerPC,P2020@1 {
+			device_type = "cpu";
+			reg = <0x1>;
+			next-level-cache = <&L2>;
+		};
+	};
+
+	localbus@ffe05000 {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus";
+		reg = <0 0xffe05000 0 0x1000>;
+		interrupts = <19 2>;
+		interrupt-parent = <&mpic>;
+	};
+
+	soc@ffe00000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		device_type = "soc";
+		compatible = "fsl,p2020-immr", "simple-bus";
+		ranges = <0x0  0x0 0xffe00000 0x100000>;
+		bus-frequency = <0>;		// Filled out by uboot.
+
+		ecm-law@0 {
+			compatible = "fsl,ecm-law";
+			reg = <0x0 0x1000>;
+			fsl,num-laws = <12>;
+		};
+
+		ecm@1000 {
+			compatible = "fsl,p2020-ecm", "fsl,ecm";
+			reg = <0x1000 0x1000>;
+			interrupts = <17 2>;
+			interrupt-parent = <&mpic>;
+		};
+
+		memory-controller@2000 {
+			compatible = "fsl,p2020-memory-controller";
+			reg = <0x2000 0x1000>;
+			interrupt-parent = <&mpic>;
+			interrupts = <18 2>;
+		};
+
+		i2c@3000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			cell-index = <0>;
+			compatible = "fsl-i2c";
+			reg = <0x3000 0x100>;
+			interrupts = <43 2>;
+			interrupt-parent = <&mpic>;
+			dfsrr;
+		};
+
+		i2c@3100 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			cell-index = <1>;
+			compatible = "fsl-i2c";
+			reg = <0x3100 0x100>;
+			interrupts = <43 2>;
+			interrupt-parent = <&mpic>;
+			dfsrr;
+		};
+
+		serial0: serial@4500 {
+			cell-index = <0>;
+			device_type = "serial";
+			compatible = "ns16550";
+			reg = <0x4500 0x100>;
+			clock-frequency = <0>;
+			interrupts = <42 2>;
+			interrupt-parent = <&mpic>;
+		};
+
+		serial1: serial@4600 {
+			cell-index = <1>;
+			device_type = "serial";
+			compatible = "ns16550";
+			reg = <0x4600 0x100>;
+			clock-frequency = <0>;
+			interrupts = <42 2>;
+			interrupt-parent = <&mpic>;
+		};
+
+		spi@7000 {
+			cell-index = <0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl,espi";
+			reg = <0x7000 0x1000>;
+			interrupts = <59 0x2>;
+			interrupt-parent = <&mpic>;
+			mode = "cpu";
+		};
+
+		dma@c300 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "fsl,eloplus-dma";
+			reg = <0xc300 0x4>;
+			ranges = <0x0 0xc100 0x200>;
+			cell-index = <1>;
+			dma-channel@0 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x0 0x80>;
+				cell-index = <0>;
+				interrupt-parent = <&mpic>;
+				interrupts = <76 2>;
+			};
+			dma-channel@80 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x80 0x80>;
+				cell-index = <1>;
+				interrupt-parent = <&mpic>;
+				interrupts = <77 2>;
+			};
+			dma-channel@100 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x100 0x80>;
+				cell-index = <2>;
+				interrupt-parent = <&mpic>;
+				interrupts = <78 2>;
+			};
+			dma-channel@180 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x180 0x80>;
+				cell-index = <3>;
+				interrupt-parent = <&mpic>;
+				interrupts = <79 2>;
+			};
+		};
+
+		gpio: gpio-controller@f000 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8572-gpio";
+			reg = <0xf000 0x100>;
+			interrupts = <47 0x2>;
+			interrupt-parent = <&mpic>;
+			gpio-controller;
+		};
+
+		L2: l2-cache-controller@20000 {
+			compatible = "fsl,p2020-l2-cache-controller";
+			reg = <0x20000 0x1000>;
+			cache-line-size = <32>;	// 32 bytes
+			cache-size = <0x80000>; // L2,512K
+			interrupt-parent = <&mpic>;
+			interrupts = <16 2>;
+		};
+
+		dma@21300 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "fsl,eloplus-dma";
+			reg = <0x21300 0x4>;
+			ranges = <0x0 0x21100 0x200>;
+			cell-index = <0>;
+			dma-channel@0 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x0 0x80>;
+				cell-index = <0>;
+				interrupt-parent = <&mpic>;
+				interrupts = <20 2>;
+			};
+			dma-channel@80 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x80 0x80>;
+				cell-index = <1>;
+				interrupt-parent = <&mpic>;
+				interrupts = <21 2>;
+			};
+			dma-channel@100 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x100 0x80>;
+				cell-index = <2>;
+				interrupt-parent = <&mpic>;
+				interrupts = <22 2>;
+			};
+			dma-channel@180 {
+				compatible = "fsl,eloplus-dma-channel";
+				reg = <0x180 0x80>;
+				cell-index = <3>;
+				interrupt-parent = <&mpic>;
+				interrupts = <23 2>;
+			};
+		};
+
+		usb@22000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl-usb2-dr";
+			reg = <0x22000 0x1000>;
+			interrupt-parent = <&mpic>;
+			interrupts = <28 0x2>;
+		};
+
+		mdio@24520 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl,gianfar-mdio";
+			reg = <0x24520 0x20>;
+		};
+
+		mdio@25520 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl,gianfar-tbi";
+			reg = <0x26520 0x20>;
+		};
+
+		mdio@26520 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl,gianfar-tbi";
+			reg = <0x520 0x20>;
+		};
+
+		enet0: ethernet@24000 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			cell-index = <0>;
+			device_type = "network";
+			model = "eTSEC";
+			compatible = "gianfar";
+			reg = <0x24000 0x1000>;
+			ranges = <0x0 0x24000 0x1000>;
+			local-mac-address = [ 00 00 00 00 00 00 ];
+			interrupts = <29 2 30 2 34 2>;
+			interrupt-parent = <&mpic>;
+		};
+
+		enet1: ethernet@25000 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			cell-index = <1>;
+			device_type = "network";
+			model = "eTSEC";
+			compatible = "gianfar";
+			reg = <0x25000 0x1000>;
+			ranges = <0x0 0x25000 0x1000>;
+			local-mac-address = [ 00 00 00 00 00 00 ];
+			interrupts = <35 2 36 2 40 2>;
+			interrupt-parent = <&mpic>;
+
+		};
+
+		enet2: ethernet@26000 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			cell-index = <2>;
+			device_type = "network";
+			model = "eTSEC";
+			compatible = "gianfar";
+			reg = <0x26000 0x1000>;
+			ranges = <0x0 0x26000 0x1000>;
+			local-mac-address = [ 00 00 00 00 00 00 ];
+			interrupts = <31 2 32 2 33 2>;
+			interrupt-parent = <&mpic>;
+
+		};
+
+		sdhci@2e000 {
+			compatible = "fsl,p2020-esdhc", "fsl,esdhc";
+			reg = <0x2e000 0x1000>;
+			interrupts = <72 0x2>;
+			interrupt-parent = <&mpic>;
+			/* Filled in by U-Boot */
+			clock-frequency = <0>;
+		};
+
+		crypto@30000 {
+			compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4",
+				     "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
+			reg = <0x30000 0x10000>;
+			interrupts = <45 2 58 2>;
+			interrupt-parent = <&mpic>;
+			fsl,num-channels = <4>;
+			fsl,channel-fifo-len = <24>;
+			fsl,exec-units-mask = <0xbfe>;
+			fsl,descriptor-types-mask = <0x3ab0ebf>;
+		};
+
+		mpic: pic@40000 {
+			interrupt-controller;
+			#address-cells = <0>;
+			#interrupt-cells = <2>;
+			reg = <0x40000 0x40000>;
+			compatible = "chrp,open-pic";
+			device_type = "open-pic";
+		};
+
+		msi@41600 {
+			compatible = "fsl,p2020-msi", "fsl,mpic-msi";
+			reg = <0x41600 0x80>;
+			msi-available-ranges = <0 0x100>;
+			interrupts = <
+				0xe0 0
+				0xe1 0
+				0xe2 0
+				0xe3 0
+				0xe4 0
+				0xe5 0
+				0xe6 0
+				0xe7 0>;
+			interrupt-parent = <&mpic>;
+		};
+
+		global-utilities@e0000 {	//global utilities block
+			compatible = "fsl,p2020-guts";
+			reg = <0xe0000 0x1000>;
+			fsl,has-rstcr;
+		};
+	};
+
+	pci0: pcie@ffe08000 {
+		compatible = "fsl,mpc8548-pcie";
+		device_type = "pci";
+		#interrupt-cells = <1>;
+		#size-cells = <2>;
+		#address-cells = <3>;
+		reg = <0 0xffe08000 0 0x1000>;
+		bus-range = <0 255>;
+		clock-frequency = <33333333>;
+		interrupt-parent = <&mpic>;
+		interrupts = <24 2>;
+	};
+
+	pci1: pcie@ffe09000 {
+		compatible = "fsl,mpc8548-pcie";
+		device_type = "pci";
+		#interrupt-cells = <1>;
+		#size-cells = <2>;
+		#address-cells = <3>;
+		reg = <0 0xffe09000 0 0x1000>;
+		bus-range = <0 255>;
+		clock-frequency = <33333333>;
+		interrupt-parent = <&mpic>;
+		interrupts = <25 2>;
+	};
+
+	pci2: pcie@ffe0a000 {
+		compatible = "fsl,mpc8548-pcie";
+		device_type = "pci";
+		#interrupt-cells = <1>;
+		#size-cells = <2>;
+		#address-cells = <3>;
+		reg = <0 0xffe0a000 0 0x1000>;
+		bus-range = <0 255>;
+		clock-frequency = <33333333>;
+		interrupt-parent = <&mpic>;
+		interrupts = <26 2>;
+	};
+};
-- 
1.7.3

^ permalink raw reply related

* RE: known working sata_sil24.c setup on powerpc platforms?
From: Kushwaha Prabhakar-B32579 @ 2011-04-08 12:35 UTC (permalink / raw)
  To: Leon Woestenberg
  Cc: Tejun Heo, Jeff Garzik, Linux PPC, linux-ide@vger.kernel.org,
	Moffett, Kyle D, Gupta Maneesh-B18878
In-Reply-To: <BANLkTi=Kk76PbwRJtz=9B_-rsc_2Y0Vq2w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 59182 bytes --]

Hi Leon,

Finally interrupt came :)

For this continuously firing of interrupt. Can you please check the u-boot code for following patch..
	" p1_p2_rdb: to set SQW/INT pin of RTC as INT line
	 Commit id: 39c2a6eb75fabd9745c5762c8dec9d1a85dabf00 "

This patch is already present at  u-boot@lists.denx.de.  Or you can apply it on u-boot. 

Regards,
Prabhakar

> -----Original Message-----
> From: linux-ide-owner@vger.kernel.org [mailto:linux-ide-
> owner@vger.kernel.org] On Behalf Of Leon Woestenberg
> Sent: Friday, April 08, 2011 5:49 PM
> To: Kushwaha Prabhakar-B32579
> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff Garzik;
> Linux PPC; Gupta Maneesh-B18878
> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
> 
> Hello Prabhakar,
> 
> I have P1020E 1.0 silicon (0x80ec0010) on my P1020RDB.
> 
> With the addition of the interrupt-map-mask (thanks, miscopied that) I
> get interrupt #16.
> 
> However, it keeps continously firing (*). I have verified that the
> Sil3132 device itself has no interrupt pending (the interrupt status
> register reads zero).
> 
> root@p1020rdb:~# lspci -vvvn
> ...
> 0001:03:00.0 0104: 1095:3132 (rev 01)
> 	Subsystem: 1095:7132
> 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Latency: 0, Cache Line Size: 32 bytes
> 	Interrupt: pin A routed to IRQ 16
> ...
> 
> (*)
> [    2.877714] irq 16: nobody cared (try booting with the "irqpoll"
> option)
> [    2.884406] Call Trace:
> [    2.886856] [dffeff50] [c000763c] show_stack+0x4c/0x178 (unreliable)
> [    2.893216] [dffeff90] [c007819c] __report_bad_irq+0x38/0xd0
> [    2.898871] [dffeffb0] [c0078400] note_interrupt+0x1cc/0x22c
> [    2.904528] [dffeffe0] [c0079320] handle_fasteoi_irq+0xd0/0x118
> [    2.910444] [dffefff0] [c000cbb4] call_handle_irq+0x18/0x28
> [    2.916012] [dfff1ec0] [c0004e0c] do_IRQ+0xa4/0x140
> [    2.920888] [dfff1ef0] [c000e63c] ret_from_except+0x0/0x18
> [    2.926376] --- Exception: 501 at __do_softirq+0x5c/0x158
> [    2.926380]     LR = call_do_softirq+0x14/0x24
> [    2.936201] [dfff1fb0] [c00436d4] __do_softirq+0xc0/0x158 (unreliable)
> [    2.942727] [dfff1ff0] [c000cb8c] call_do_softirq+0x14/0x24
> [    2.948294] [c0633e70] [c0004c58] do_softirq+0x74/0x80
> [    2.953429] [c0633e90] [c00434a0] irq_exit+0x7c/0x9c
> [    2.958388] [c0633ea0] [c0004e38] do_IRQ+0xd0/0x140
> [    2.963261] [c0633ed0] [c000e63c] ret_from_except+0x0/0x18
> [    2.968746] --- Exception: 501 at cpu_idle+0xcc/0xdc
> [    2.968749]     LR = cpu_idle+0xcc/0xdc
> [    2.977527] [c0633f90] [c0008744] cpu_idle+0x58/0xdc (unreliable)
> [    2.983618] [c0633fb0] [c0002494] rest_init+0x64/0x78
> [    2.988667] [c0633fc0] [c05c17ec] start_kernel+0x278/0x2dc
> [    2.994147] [c0633ff0] [c00003a0] skpinv+0x2b8/0x2f4
> [    2.999102] handlers:
> [    3.001365] [<c029fc38>] (sil24_interrupt+0x0/0x8)
> [    3.006162] Disabling IRQ #16
> 
> Even after this, the interrupt handler keeps firing (verified by
> printing the Sil3132 interrupt status register, which reads 0, no
> interrupts pending).
> 
> root@p1020rdb:~# cat /proc/interrupts
>            CPU0
>  16:     200001    OpenPIC         Level        sata_sil24
>  17:          0    OpenPIC         Level        [EDAC] L2 err
>  18:       5218    OpenPIC         Level        eth0_g1_tx
>  19:          8    OpenPIC         Level        fsl-lbc
>  20:          0    OpenPIC         Level        fsldma-chan
>  21:          0    OpenPIC         Level        fsldma-chan
>  22:          0    OpenPIC         Level        fsldma-chan
>  23:          0    OpenPIC         Level        fsldma-chan
>  24:          0    OpenPIC         Level        eth0_g1_rx
>  25:          0    OpenPIC         Level        eth0_g1_er
>  28:          0    OpenPIC         Level        ehci_hcd:usb1
>  29:         65    OpenPIC         Level        eth0_g0_tx
>  30:       7203    OpenPIC         Level        eth0_g0_rx
>  34:          0    OpenPIC         Level        eth0_g0_er
>  42:       2988    OpenPIC         Level        serial
>  43:          0    OpenPIC         Level        i2c-mpc, i2c-mpc
>  45:          0    OpenPIC         Level        of:talitos
>  72:      12883    OpenPIC         Level        mmc0
> LOC:      16816   Local timer interrupts
> SPU:      27343   Spurious interrupts
> CNT:          0   Performance monitoring interrupts
> MCE:          0   Machine check exceptions
> 
> 
> EIVPR0 register:
> 
> root@p1020rdb:~# devmem2 0xffe50000
> /dev/mem opened.
> Memory mapped at address 0x48021000.
> Value at address 0xFFE50000 (0x48021000): 0x80480000
> 
> This means level sensitive, active low.
> 
> 
> The external IRQ0 is pulled high, verified by scope.
> 
> 
> Regards,
> 
> Leon.
> 
> 
> (*)The sata_sil24 interrupt handler keeps firing.
> 
> [    6.929867] irq 16: nobody cared (try booting with the "irqpoll"
> option)
> [    6.936566] Call Trace:
> [    6.939018] [dffeff50] [c000763c] show_stack+0x4c/0x178 (unreliable)
> [    6.945377] [dffeff90] [c007819c] __report_bad_irq+0x38/0xd0
> [    6.951034] [dffeffb0] [c0078400] note_interrupt+0x1cc/0x22c
> [    6.956690] [dffeffe0] [c0079320] handle_fasteoi_irq+0xd0/0x118
> [    6.962606] [dffefff0] [c000cbb4] call_handle_irq+0x18/0x28
> [    6.968174] [deee7e00] [c0004e0c] do_IRQ+0xa4/0x140
> [    6.973051] [deee7e30] [c000e63c] ret_from_except+0x0/0x18
> [    6.978545] --- Exception: 501 at find_next_zero_bit+0x8c/0xe0
> [    6.978549]     LR = alloc_fd+0x64/0x130
> [    6.988283] [deee7ef0] [c00b9950] getname+0x28/0xf4 (unreliable)
> [    6.994297] [deee7f10] [c00ab890] do_sys_open+0x5c/0x11c
> [    6.999604] [deee7f40] [c000dfe8] ret_from_syscall+0x0/0x3c
> [    7.005172] --- Exception: c01 at 0x48017a04
> [    7.005175]     LR = 0x48006a18
> [    7.012560] handlers:
> [    7.014823] [<c029fc38>] (sil24_interrupt+0x0/0x4fc)
> [    7.019795] Disabling IRQ #16
> 
> 
> On Fri, Apr 8, 2011 at 11:41 AM, Kushwaha Prabhakar-B32579
> <B32579@freescale.com> wrote:
> > Hi Leon,
> >
> >  interrupt-map-mask is missing for pcie@ffe0a000 node. Please see my
> comment there...
> > pcie@ffe0a000 node deals with mini-PCIe.
> >
> > one more thing, can you please tell P1020Si version. It will be there
> on u-boot log.
> >
> > --Prabhakar
> >
> >> -----Original Message-----
> >> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
> >> Sent: Friday, April 08, 2011 2:43 PM
> >> To: Kushwaha Prabhakar-B32579
> >> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff
> Garzik;
> >> Linux PPC; Gupta Maneesh-B18878
> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
> >>
> >> Hello Prabhakar,
> >>
> >> On Fri, Apr 8, 2011 at 10:31 AM, Kushwaha Prabhakar-B32579
> >> <B32579@freescale.com> wrote:
> >> > Hi Leon,
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
> >> >> Sent: Friday, April 08, 2011 1:55 PM
> >> >> To: Kushwaha Prabhakar-B32579
> >> >> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff
> >> >> Garzik; Linux PPC; Gupta Maneesh-B18878
> >> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
> >> >>
> >> >> Hello Prabhakar,
> >> >>
> >> >> On Fri, Apr 8, 2011 at 5:44 AM, Kushwaha Prabhakar-B32579
> >> >> <B32579@freescale.com> wrote:
> >> >> >> -----Original Message-----
> >> >> >> From: linux-ide-owner@vger.kernel.org [mailto:linux-ide-
> >> >> >> owner@vger.kernel.org] On Behalf Of Leon Woestenberg
> >> >> >> Sent: Thursday, April 07, 2011 10:23 PM
> >> >> >> To: Kushwaha Prabhakar-B32579
> >> >> >> Cc: Moffett, Kyle D; Linux PPC; linux-ide@vger.kernel.org; Tejun
> >> >> >> Heo; Jeff Garzik
> >> >> >> Subject: Re: known working sata_sil24.c setup on powerpc
> platforms?
> >> >> >>
> >> >> >> On Thu, Apr 7, 2011 at 6:48 AM, Kushwaha Prabhakar-B32579
> >> >> >> <B32579@freescale.com> wrote:
> >> >> >> > Can you please check p2020rdb.dts for IDSEL entries for pci0/1
> >> node?
> >> >> >> >
> >> >> >> > In order to work in legacy mode, IDSEL entries are required.
> >> >> >> >
> >> >> >> No, the p1020rdb and p2020rdb do not have the IDSEL entries:
> >> >> >> What would the correct IDSEL entries be?
> >> >> >
> >> >> > For legacy interrupt to work IDSEL values are required.. please
> >> >> > find
> >> >> the correct IDSEL values for pci0/1.
> >> >> >
> >> >> >        pci0: pcie@ffe09000 {
> >> >> > ...
> >> >> > Please try with this.. I am in process of pushing these IDSEL
> >> >> > values to
> >> >> upstream.
> >> >> >
> >> >>
> >> >> Do you have these for P1020RDB  as well? I found a P1020RDB board
> >> >> that has the CE10 errata fixed, so IRQ0 is properly pulled up.
> >> >>
> >> >
> >> >  Same IDSEL values are valid for P1020RDB also.
> >> >
> >> I compiled the new device tree binary, the dump is below(*) and booted
> >> the P1020RDB from that.
> >>
> >> I verified using an oscilloscope that IRQ0 indeed remains high.
> >>
> >> However, no interrupt seems to come in from the sata_sil24 driver, see
> >> boot log (**).
> >>
> >> (*) dtb dump:
> >> $ dtc -I dtb -O dts /tftpboot/p1020rdb/uImage.dtb
> >>
> >>       pcie@ffe09000 {
> >>               compatible = "fsl,mpc8548-pcie";
> >>               device_type = "pci";
> >>               #interrupt-cells = <0x1>;
> >>               #size-cells = <0x2>;
> >>               #address-cells = <0x3>;
> >>               reg = <0x0 0xffe09000 0x0 0x1000>;
> >>               bus-range = <0x0 0xff>;
> >>               ranges = <0x2000000 0x0 0xa0000000 0x0 0xa0000000 0x0
> >> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc30000 0x0 0x10000>;
> >>               clock-frequency = <0x1fca055>;
> >>               interrupt-parent = <0x2>;
> >>               interrupts = <0x10 0x2>;
> >>               interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
> >>               interrupt-map = <0x0 0x0 0x0 0x1 0x2 0x4 0x1 0x0 0x0 0x0
> 0x2
> >> 0x2 0x5
> >> 0x1 0x0 0x0 0x0 0x3 0x2 0x6 0x1 0x0 0x0 0x0 0x4 0x2 0x7 0x1>;
> >>
> >>               pcie@0 {
> >>                       reg = <0x0 0x0 0x0 0x0 0x0>;
> >>                       #size-cells = <0x2>;
> >>                       #address-cells = <0x3>;
> >>                       device_type = "pci";
> >>                       ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0
> >> 0xa0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
> >> 0x100000>;
> >>               };
> >>       };
> >>
> >>       pcie@ffe0a000 {
> >>               compatible = "fsl,mpc8548-pcie";
> >>               device_type = "pci";
> >>               #interrupt-cells = <0x1>;
> >>               #size-cells = <0x2>;
> >>               #address-cells = <0x3>;
> >>               reg = <0x0 0xffe0a000 0x0 0x1000>;
> >>               bus-range = <0x0 0xff>;
> >>               ranges = <0x2000000 0x0 0xc0000000 0x0 0xc0000000 0x0
> >> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc20000 0x0 0x10000>;
> >>               clock-frequency = <0x1fca055>;
> >>               interrupt-parent = <0x2>;
> >>               interrupts = <0x10 0x2>;
> >
> > interrupt-map-mask is missing here.. can you please check dts again.
> >
> >
> >>               interrupt-map = <0x0 0x0 0x0 0x1 0x2 0x0 0x1 0x0 0x0 0x0
> 0x2
> >> 0x2 0x1
> >> 0x1 0x0 0x0 0x0 0x3 0x2 0x2 0x1 0x0 0x0 0x0 0x4 0x2 0x3 0x1>;
> >>
> >>               pcie@0 {
> >>                       reg = <0x0 0x0 0x0 0x0 0x0>;
> >>                       #size-cells = <0x2>;
> >>                       #address-cells = <0x3>;
> >>                       device_type = "pci";
> >>                       ranges = <0x2000000 0x0 0xc0000000 0x2000000 0x0
> >> 0xc0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
> >> 0x100000>;
> >>               };
> >>       };
> >> };
> >>
> >> (**) boot log
> >>
> >> [    0.000000] Using P1020 RDB machine description
> >> [    0.000000] Memory CAM mapping: 256/256 Mb, residual: 0Mb
> >> [    0.000000] Linux version 2.6.38 (leon@lunar) (gcc version 4.3.3
> >> (GCC) ) #6 Fri Apr 8 11:00:10 CEST 2011
> >> [    0.000000] Found legacy serial port 0 for
> /soc@ffe00000/serial@4500
> >> [    0.000000]   mem=ffe04500, taddr=ffe04500, irq=0, clk=399999996,
> >> speed=0
> >> [    0.000000] Found legacy serial port 1 for
> /soc@ffe00000/serial@4600
> >> [    0.000000]   mem=ffe04600, taddr=ffe04600, irq=0, clk=399999996,
> >> speed=0
> >> [    0.000000] bootconsole [udbg0] enabled
> >> [    0.000000] Found FSL PCI host bridge at 0x00000000ffe09000.
> >> Firmware bus number: 0->255
> >> [    0.000000] PCI host bridge /pcie@ffe09000  ranges:
> >> [    0.000000]  MEM 0x00000000a0000000..0x00000000bfffffff ->
> >> 0x00000000a0000000
> >> [    0.000000]   IO 0x00000000ffc30000..0x00000000ffc3ffff ->
> >> 0x0000000000000000
> >> [    0.000000] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
> >> [    0.000000] Found FSL PCI host bridge at 0x00000000ffe0a000.
> >> Firmware bus number: 0->0
> >> [    0.000000] PCI host bridge /pcie@ffe0a000  ranges:
> >> [    0.000000]  MEM 0x00000000c0000000..0x00000000dfffffff ->
> >> 0x00000000c0000000
> >> [    0.000000]   IO 0x00000000ffc20000..0x00000000ffc2ffff ->
> >> 0x0000000000000000
> >> [    0.000000] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
> >> [    0.000000] MPC85xx RDB board from Freescale Semiconductor
> >> [    0.000000] Top of RAM: 0x20000000, Total RAM: 0x20000000
> >> [    0.000000] Memory hole size: 0MB
> >> [    0.000000] Zone PFN ranges:
> >> [    0.000000]   DMA      0x00000000 -> 0x00020000
> >> [    0.000000]   Normal   empty
> >> [    0.000000]   HighMem  empty
> >> [    0.000000] Movable zone start PFN for each node
> >> [    0.000000] early_node_map[1] active PFN ranges
> >> [    0.000000]     0: 0x00000000 -> 0x00020000
> >> [    0.000000] On node 0 totalpages: 131072
> >> [    0.000000] free_area_init_node: node 0, pgdat c062d9bc,
> >> node_mem_map c07e1000
> >> [    0.000000]   DMA zone: 1024 pages used for memmap
> >> [    0.000000]   DMA zone: 0 pages reserved
> >> [    0.000000]   DMA zone: 130048 pages, LIFO batch:31
> >> [    0.000000] MMU: Allocated 1088 bytes of context maps for 255
> contexts
> >> [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
> >> [    0.000000] pcpu-alloc: [0] 0
> >> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> >> Total pages: 130048
> >> [    0.000000] Kernel command line: root=/dev/nfs rw
> >> nfsroot=192.168.0.7:/nfsroot/p1020rdb
> >> ip=192.168.0.20:192.168.0.7:::P1020RDB:eth0:off console=ttyS0,115200
> >> ramdisk_size=200000 cache-sram-size=0x10000
> >> [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
> >> [    0.000000] Dentry cache hash table entries: 65536 (order: 6,
> 262144
> >> bytes)
> >> [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
> >> bytes)
> >> [    0.000000] High memory: 0k
> >> [    0.000000] Memory: 511604k/524288k available (6112k kernel code,
> >> 12684k reserved, 256k data, 1686k bss, 220k init)
> >> [    0.000000] Kernel virtual memory layout:
> >> [    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
> >> [    0.000000]   * 0xff800000..0xffc00000  : highmem PTEs
> >> [    0.000000]   * 0xff7da000..0xff800000  : early ioremap
> >> [    0.000000]   * 0xe1000000..0xff7da000  : vmalloc & ioremap
> >> [    0.000000] SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0,
> >> CPUs=1, Nodes=1
> >> [    0.000000] NR_IRQS:512
> >> [    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at
> >> ffe40000, max 2 CPUs
> >> [    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
> >> [    0.000000] mpic: Initializing for 256 sources
> >> [    0.000000] time_init: decrementer frequency = 50.000000 MHz
> >> [    0.000000] time_init: processor frequency   = 799.999992 MHz
> >> [    0.000000] clocksource: timebase mult[5000000] shift[22]
> registered
> >> [    0.000000] clockevent: decrementer mult[ccccccc] shift[32] cpu[0]
> >> [    0.000000] Console: colour dummy device 80x25
> >> [    0.010728] pid_max: default: 32768 minimum: 301
> >> [    0.015483] Mount-cache hash table entries: 512
> >> [    0.021404] devtmpfs: initialized
> >> [    0.025042] NET: Registered protocol family 16
> >> [    0.031180] irq: irq 47 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 47
> >> [    0.031507] PCI: Probing PCI hardware
> >> [    0.035144] pci_bus 0000:00: scanning bus
> >> [    0.035167] pci 0000:00:00.0: [1957:0100] type 1 class 0x000b20
> >> [    0.035188] pci 0000:00:00.0: calling quirk_mmio_always_on+0x0/0x24
> >> [    0.035197] pci 0000:00:00.0: ignoring class b20 (doesn't match
> >> header type 01)
> >> [    0.042429] pci 0000:00:00.0: calling
> >> fixup_hide_host_resource_fsl+0x0/0x54
> >> [    0.042440] pci 0000:00:00.0: calling
> >> pcibios_fixup_resources+0x0/0x110
> >> [    0.042456] pci 0000:00:00.0: calling
> quirk_fsl_pcie_header+0x0/0x50
> >> [    0.042473] pci 0000:00:00.0: calling
> >> quirk_resource_alignment+0x0/0x19c
> >> [    0.042488] pci 0000:00:00.0: supports D1 D2
> >> [    0.042496] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
> >> D3cold
> >> [    0.042505] pci 0000:00:00.0: PME# disabled
> >> [    0.042525] pci_bus 0000:00: fixups for bus
> >> [    0.042539] pci 0000:00:00.0: scanning [bus 00-00] behind bridge,
> pass
> >> 0
> >> [    0.042546] pci 0000:00:00.0: bus configuration invalid,
> reconfiguring
> >> [    0.042556] pci 0000:00:00.0: scanning [bus 00-00] behind bridge,
> pass
> >> 1
> >> [    0.042577] pci_bus 0000:01: scanning bus
> >> [    0.042584] pci_bus 0000:01: fixups for bus
> >> [    0.042591] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
> >> [    0.047728] pci 0000:00:00.0:   bridge window [io  0x0000-0x0000]
> >> (disabled)
> >> [    0.047738] pci 0000:00:00.0:   bridge window [mem
> >> 0x00000000-0x000fffff] (disabled)
> >> [    0.047748] pci 0000:00:00.0:   bridge window [mem
> >> 0x00000000-0x000fffff pref] (disabled)
> >> [    0.047760] pci_bus 0000:01: bus scan returning with max=01
> >> [    0.047769] pci_bus 0000:00: bus scan returning with max=01
> >> [    0.047902] pci_bus 0001:02: scanning bus
> >> [    0.047920] pci 0001:02:00.0: [1957:0100] type 1 class 0x000b20
> >> [    0.047932] pci 0001:02:00.0: calling quirk_mmio_always_on+0x0/0x24
> >> [    0.047941] pci 0001:02:00.0: ignoring class b20 (doesn't match
> >> header type 01)
> >> [    0.055166] pci 0001:02:00.0: calling
> >> fixup_hide_host_resource_fsl+0x0/0x54
> >> [    0.055177] pci 0001:02:00.0: calling
> >> pcibios_fixup_resources+0x0/0x110
> >> [    0.055188] pci 0001:02:00.0: calling
> quirk_fsl_pcie_header+0x0/0x50
> >> [    0.055202] pci 0001:02:00.0: calling
> >> quirk_resource_alignment+0x0/0x19c
> >> [    0.055215] pci 0001:02:00.0: supports D1 D2
> >> [    0.055222] pci 0001:02:00.0: PME# supported from D0 D1 D2 D3hot
> >> D3cold
> >> [    0.055230] pci 0001:02:00.0: PME# disabled
> >> [    0.055254] pci_bus 0001:02: fixups for bus
> >> [    0.055265] pci 0001:02:00.0: scanning [bus 01-01] behind bridge,
> pass
> >> 0
> >> [    0.055272] pci 0001:02:00.0: bus configuration invalid,
> reconfiguring
> >> [    0.055282] pci 0001:02:00.0: scanning [bus 00-00] behind bridge,
> pass
> >> 1
> >> [    0.055302] pci_bus 0001:03: scanning bus
> >> [    0.055334] pci 0001:03:00.0: [1095:3132] type 0 class 0x000104
> >> [    0.055346] pci 0001:03:00.0: calling quirk_mmio_always_on+0x0/0x24
> >> [    0.055376] pci 0001:03:00.0: reg 10: [mem 0xc0000000-0xc000007f
> >> 64bit]
> >> [    0.055401] pci 0001:03:00.0: reg 18: [mem 0xc0004000-0xc0007fff
> >> 64bit]
> >> [    0.055420] pci 0001:03:00.0: reg 20: [io  0x1000-0x107f]
> >> [    0.055448] pci 0001:03:00.0: reg 30: [mem 0x00000000-0x0007ffff
> pref]
> >> [    0.055461] pci 0001:03:00.0: calling
> >> pcibios_fixup_resources+0x0/0x110
> >> [    0.055473] pci 0001:03:00.0: calling
> >> quirk_resource_alignment+0x0/0x19c
> >> [    0.055513] pci 0001:03:00.0: supports D1 D2
> >> [    0.055537] pci 0001:03:00.0: disabling ASPM on pre-1.1 PCIe
> >> device.  You can enable it with 'pcie_aspm=force'
> >> [    0.065457] pci_bus 0001:03: fixups for bus
> >> [    0.065464] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
> >> [    0.070655] pci 0001:02:00.0:   bridge window [io  0x0000-0x0000]
> >> (disabled)
> >> [    0.070664] pci 0001:02:00.0:   bridge window [mem 0xc0000000-
> >> 0xc00fffff]
> >> [    0.070674] pci 0001:02:00.0:   bridge window [mem
> >> 0x10000000-0x000fffff pref] (disabled)
> >> [    0.070707] pci_bus 0001:03: bus scan returning with max=03
> >> [    0.070716] pci_bus 0001:02: bus scan returning with max=03
> >> [    0.070891] PCI 0000:00 Cannot reserve Legacy IO [io  0xff7ed000-
> >> 0xff7edfff]
> >> [    0.070900] PCI 0001:02 Cannot reserve Legacy IO [io  0xff7db000-
> >> 0xff7dbfff]
> >> [    0.070922] pci 0000:00:00.0: PCI bridge to [bus 01-01]
> >> [    0.076063] pci 0000:00:00.0:   bridge window [io  0xff7ed000-
> >> 0xff7fcfff]
> >> [    0.082827] pci 0000:00:00.0:   bridge window [mem 0xa0000000-
> >> 0xbfffffff]
> >> [    0.089596] pci 0000:00:00.0:   bridge window [mem pref disabled]
> >> [    0.095676] pci 0000:00:00.0: enabling device (0106 -> 0107)
> >> [    0.101321] pci 0001:02:00.0: BAR 9: can't assign mem pref (size
> >> 0x100000)
> >> [    0.108175] pci 0001:03:00.0: BAR 6: assigned [mem
> >> 0xc0080000-0xc00fffff pref]
> >> [    0.115377] pci 0001:02:00.0: PCI bridge to [bus 03-03]
> >> [    0.120584] pci 0001:02:00.0:   bridge window [io  0xff7db000-
> >> 0xff7eafff]
> >> [    0.127355] pci 0001:02:00.0:   bridge window [mem 0xc0000000-
> >> 0xdfffffff]
> >> [    0.134124] pci 0001:02:00.0:   bridge window [mem pref disabled]
> >> [    0.140203] pci 0001:02:00.0: enabling device (0106 -> 0107)
> >> [    0.145845] pci_bus 0000:00: resource 0 [io  0xff7ed000-0xff7fcfff]
> >> [    0.145854] pci_bus 0000:00: resource 1 [mem 0xa0000000-0xbfffffff]
> >> [    0.145863] pci_bus 0000:01: resource 0 [io  0xff7ed000-0xff7fcfff]
> >> [    0.145872] pci_bus 0000:01: resource 1 [mem 0xa0000000-0xbfffffff]
> >> [    0.145880] pci_bus 0001:02: resource 0 [io  0xff7db000-0xff7eafff]
> >> [    0.145889] pci_bus 0001:02: resource 1 [mem 0xc0000000-0xdfffffff]
> >> [    0.145897] pci_bus 0001:03: resource 0 [io  0xff7db000-0xff7eafff]
> >> [    0.145906] pci_bus 0001:03: resource 1 [mem 0xc0000000-0xdfffffff]
> >> [    0.145942] Registering qe_ic with sysfs...
> >> [    0.149031] bio: create slab <bio-0> at 0
> >> [    0.153197] vgaarb: loaded
> >> [    0.156055] SCSI subsystem initialized
> >> [    0.159772] libata version 3.00 loaded.
> >> [    0.159905] usbcore: registered new interface driver usbfs
> >> [    0.165357] usbcore: registered new interface driver hub
> >> [    0.170666] usbcore: registered new device driver usb
> >> [    0.175707] Freescale Elo / Elo Plus DMA driver
> >> [    0.180293] Advanced Linux Sound Architecture Driver Version
> 1.0.23.
> >> [    0.186845] Switching to clocksource timebase
> >> [    0.194746] NET: Registered protocol family 2
> >> [    0.199032] Switched to NOHz mode on CPU #0
> >> [    0.203314] IP route cache hash table entries: 4096 (order: 2,
> 16384
> >> bytes)
> >> [    0.210610] TCP established hash table entries: 16384 (order: 5,
> >> 131072 bytes)
> >> [    0.218015] TCP bind hash table entries: 16384 (order: 4, 65536
> bytes)
> >> [    0.224585] TCP: Hash tables configured (established 16384 bind
> 16384)
> >> [    0.231022] TCP reno registered
> >> [    0.234149] UDP hash table entries: 256 (order: 0, 4096 bytes)
> >> [    0.239974] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> >> [    0.246527] NET: Registered protocol family 1
> >> [    0.251004] RPC: Registered udp transport module.
> >> [    0.255632] RPC: Registered tcp transport module.
> >> [    0.260308] RPC: Registered tcp NFSv4.1 backchannel transport
> module.
> >> [    0.266758] pci 0000:00:00.0: calling quirk_cardbus_legacy+0x0/0x50
> >> [    0.266778] pci 0000:00:00.0: calling
> >> quirk_usb_early_handoff+0x0/0x724
> >> [    0.266794] pci 0001:02:00.0: calling quirk_cardbus_legacy+0x0/0x50
> >> [    0.266804] pci 0001:02:00.0: calling
> >> quirk_usb_early_handoff+0x0/0x724
> >> [    0.266818] pci 0001:03:00.0: calling quirk_cardbus_legacy+0x0/0x50
> >> [    0.266829] pci 0001:03:00.0: calling
> >> quirk_usb_early_handoff+0x0/0x724
> >> [    0.266839] PCI: CLS 32 bytes, default 32
> >> [    0.267012] irq: irq 42 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 42
> >> [    0.267213] irq: irq 19 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 19
> >> [    0.267604] irq: irq 16 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 16
> >> [    0.267761] irq: irq 43 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 43
> >> [    0.268030] irq: irq 59 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 59
> >> [    0.268323] irq: irq 20 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 20
> >> [    0.268335] of:fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-
> channel),
> >> irq 20
> >> [    0.275419] irq: irq 21 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 21
> >> [    0.275430] of:fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-
> channel),
> >> irq 21
> >> [    0.282530] irq: irq 22 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 22
> >> [    0.282540] of:fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-
> channel),
> >> irq 22
> >> [    0.289648] irq: irq 23 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 23
> >> [    0.289659] of:fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-
> channel),
> >> irq 23
> >> [    0.297270] irq: irq 28 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 28
> >> [    0.297360] irq: irq 72 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 72
> >> [    0.297450] irq: irq 45 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 45
> >> [    0.297469] irq: irq 58 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 58
> >> [    0.297630] irq: irq 224 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 224
> >> [    0.297649] irq: irq 225 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 225
> >> [    0.297668] irq: irq 226 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 226
> >> [    0.297686] irq: irq 227 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 227
> >> [    0.297705] irq: irq 228 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 228
> >> [    0.297723] irq: irq 229 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 229
> >> [    0.297742] irq: irq 230 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 230
> >> [    0.297760] irq: irq 231 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 231
> >> [    0.297849] Setting up Freescale MSI support
> >> [    0.298123] audit: initializing netlink socket (disabled)
> >> [    0.303462] type=2000 audit(0.236:1): initialized
> >> [    0.314074] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> >> [    0.320368] Installing knfsd (copyright (C) 1996
> okir@monad.swb.de).
> >> [    0.326841] NTFS driver 2.1.30 [Flags: R/O].
> >> [    0.331296] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> >> [    0.337596] msgmni has been set to 1001
> >> [    0.341965] Block layer SCSI generic (bsg) driver version 0.4
> >> loaded (major 253)
> >> [    0.349288] io scheduler noop registered (default)
> >> [    0.431003] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
> >> [    0.438061] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a
> >> 16550A
> >> [    0.444791] console [ttyS0] enabled, bootconsole disabled
> >> [    0.456105] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a
> >> 16550A
> >> [    0.463482] Generic non-volatile memory driver v1.1
> >> [    0.470831] brd: module loaded
> >> [    0.475184] loop: module loaded
> >> [    0.478439] nbd: registered device at major 43
> >> [    0.485462] st: Version 20101219, fixed bufsize 32768, s/g segs 256
> >> [    0.492145] sata_sil24 0001:03:00.0: version 1.1 built on Apr  8
> >> 2011 11:00:08
> >> [    0.492182] ata_host_alloc: ENTER
> >> [    0.495504] ata_port_alloc: ENTER
> >> [    0.498821] ata_port_alloc: ENTER
> >> [    0.502525] __ata_port_freeze: ata4294967295 port frozen
> >> [    0.508187] __ata_port_freeze: ata4294967295 port frozen
> >> [    0.513580] ------------[ cut here ]------------
> >> [    0.518188] WARNING: at drivers/ata/libata-core.c:6082
> >> [    0.523316] Modules linked in:
> >> [    0.526364] NIP: c02876b0 LR: c0287690 CTR: c0248934
> >> [    0.531323] REGS: df837d00 TRAP: 0700   Not tainted  (2.6.38)
> >> [    0.537058] MSR: 00029000 <EE,ME,CE>  CR: 20424022  XER: 20000000
> >> [    0.543158] TASK = df838000[1] 'swapper' THREAD: df836000
> >> [    0.548373] GPR00: 00000001 df837db0 df838000 00000000 00003cb6
> >> ffffffff c0249690 00080000
> >> [    0.556736] GPR08: c073b9bc ffffffff 0007ffff 00003cb6 20424022
> >> 66013a2a 1ff91d00 c056c170
> >> [    0.565097] GPR16: c0546e94 00000001 00002040 00000400 00000008
> >> 0000020c e109e040 df807060
> >> [    0.573459] GPR24: dfa58490 c06160d8 00000080 c029fc0c 00000000
> >> c07d4a58 dfa58490 00000000
> >> [    0.582013] NIP [c02876b0] ata_host_activate+0x48/0x11c
> >> [    0.587232] LR [c0287690] ata_host_activate+0x28/0x11c
> >> [    0.592360] Call Trace:
> >> [    0.594801] [df837db0] [c0287690] ata_host_activate+0x28/0x11c
> >> (unreliable)
> >> [    0.601771] [df837de0] [c029faf8] sil24_init_one+0x420/0x534
> >> [    0.607428] [df837e60] [c021d73c] local_pci_probe+0x24/0x34
> >> [    0.612997] [df837e70] [c021d984] pci_device_probe+0x84/0xa8
> >> [    0.618652] [df837ea0] [c0258a44] driver_probe_device+0xa8/0x1c8
> >> [    0.624653] [df837ec0] [c0258c20] __driver_attach+0xbc/0xc0
> >> [    0.630231] [df837ee0] [c02580ec] bus_for_each_dev+0x70/0xac
> >> [    0.635885] [df837f10] [c0258844] driver_attach+0x24/0x34
> >> [    0.641281] [df837f20] [c0257864] bus_add_driver+0xc4/0x294
> >> [    0.646849] [df837f50] [c0258f98] driver_register+0x84/0x178
> >> [    0.652504] [df837f70] [c021dc08] __pci_register_driver+0x4c/0xdc
> >> [    0.658597] [df837f90] [c05ddfe4] sil24_init+0x24/0x34
> >> [    0.663733] [df837fa0] [c0001dc0] do_one_initcall+0x34/0x1c8
> >> [    0.669388] [df837fd0] [c05c11ec] kernel_init+0xcc/0x174
> >> [    0.674696] [df837ff0] [c000cf98] kernel_thread+0x4c/0x68
> >> [    0.680086] Instruction dump:
> >> [    0.683045] 7cda3378 7cf93b78 7c7e1b78 4bfffc91 7c7f1b79 408200d8
> >> 2f9c0000 409e0034
> >> [    0.690798] 7f69fe70 7d20da78 7c004850 54000ffe <0f000000> 80010034
> >> 7fc3f378 7f24cb78
> >> [    0.698738] ---[ end trace ab638653f78364ad ]---
> >> [    0.703813] scsi0 : sata_sil24
> >> [    0.707083] scsi1 : sata_sil24
> >> [    0.710242] ata1: SATA max UDMA/100 host m128@0xc0000000 port
> >> 0xc0004000
> >> [    0.716951] ata2: SATA max UDMA/100 host m128@0xc0000000 port
> >> 0xc0006000
> >> [    0.724592] ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit
> >> bank. Manufacturer ID 0x000001 Chip ID 0x002101
> >> [    0.734612] Amd/Fujitsu Extended Query Table at 0x0040
> >> [    0.739787]   Amd/Fujitsu Extended Query version 1.3.
> >> [    0.744839] number of CFI chips: 1
> >> [    0.748325] ata_port_schedule_eh: port EH scheduled
> >> [    0.753217] ata_scsi_error: ENTER
> >> [    0.756539] ata_eh_link_autopsy: ENTER
> >> [    0.760286] ata_eh_recover: ENTER
> >> [    0.763606] __ata_port_freeze: ata1 port frozen
> >> [    0.768317] RedBoot partition parsing not available
> >> [    0.773212] Creating 5 MTD partitions on "ef000000.nor":
> >> [    0.778526] 0x000000000000-0x000000040000 : "NOR (RO) Vitesse-7385
> >> Firmware"
> >> [    0.786280] 0x000000040000-0x000000080000 : "NOR (RO) DTB Image"
> >> [    0.792876] 0x000000080000-0x000000400000 : "NOR (RO) Linux Kernel
> >> Image"
> >> [    0.800257] 0x000000400000-0x000000f00000 : "NOR (RW) JFFS2 Root
> File
> >> System"
> >> [    0.808001] 0x000000f00000-0x000001000000 : "NOR (RO) U-Boot Image"
> >> [    0.815110] fsl-lbc ffe05000.localbus: read_byte beyond end of
> buffer
> >> [    0.821564] fsl-lbc ffe05000.localbus: read_byte beyond end of
> buffer
> >> [    0.828002] fsl-lbc ffe05000.localbus: read_byte beyond end of
> buffer
> >> [    0.834443] NAND device: Manufacturer ID: 0xec, Chip ID: 0x75
> >> (Samsung NAND 32MiB 3,3V 8-bit)
> >> [    0.843174] Bad block table found at page 65504, version 0x01
> >> [    0.843513] Bad block table found at page 65472, version 0x01
> >> [    0.843876] RedBoot partition parsing not available
> >> [    0.848772] Creating 6 MTD partitions on "ffa00000.flash":
> >> [    0.854259] 0x000000000000-0x000000100000 : "NAND (RO) U-Boot
> Image"
> >> [    0.861299] 0x000000100000-0x000000200000 : "NAND (RO) DTB Image"
> >> [    0.868010] 0x000000200000-0x000000600000 : "NAND (RO) Linux Kernel
> >> Image"
> >> [    0.875530] 0x000000600000-0x000000a00000 : "NAND (RO) Compressed
> RFS
> >> Image"
> >> [    0.883216] 0x000000a00000-0x000001100000 : "NAND (RW) JFFS2 Root
> >> File System"
> >> [    0.891042] 0x000001100000-0x000002000000 : "NAND (RW) Writable
> User
> >> area"
> >> [    0.898571] eLBC NAND device at 0xffa00000, bank 1
> >> [    0.904384] Fixed MDIO Bus: probed
> >> [    0.907964] irq: irq 29 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 29
> >> [    0.907986] irq: irq 30 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 30
> >> [    0.908005] irq: irq 34 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 34
> >> [    0.908035] irq: irq 17 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 17
> >> [    0.908054] irq: irq 18 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 18
> >> [    0.908074] irq: irq 24 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 24
> >> [    0.908588] eth0: Gianfar Ethernet Controller Version 1.2,
> >> 00:04:9f:01:1f:49
> >> [    0.915646] eth0: Running with NAPI enabled
> >> [    0.919826] eth0: RX BD ring size for Q[0]: 256
> >> [    0.924353] eth0: RX BD ring size for Q[1]: 256
> >> [    0.928879] eth0: RX BD ring size for Q[2]: 256
> >> [    0.933406] eth0: RX BD ring size for Q[3]: 256
> >> [    0.937932] eth0: RX BD ring size for Q[4]: 256
> >> [    0.942458] eth0: RX BD ring size for Q[5]: 256
> >> [    0.946984] eth0: RX BD ring size for Q[6]: 256
> >> [    0.951512] eth0: RX BD ring size for Q[7]: 256
> >> [    0.956037] eth0: TX BD ring size for Q[0]: 256
> >> [    0.960564] eth0: TX BD ring size for Q[1]: 256
> >> [    0.965090] eth0: TX BD ring size for Q[2]: 256
> >> [    0.969616] eth0: TX BD ring size for Q[3]: 256
> >> [    0.974143] eth0: TX BD ring size for Q[4]: 256
> >> [    0.978668] eth0: TX BD ring size for Q[5]: 256
> >> [    0.983197] eth0: TX BD ring size for Q[6]: 256
> >> [    0.987725] eth0: TX BD ring size for Q[7]: 256
> >> [    0.992327] irq: irq 35 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 35
> >> [    0.992348] irq: irq 36 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 36
> >> [    0.992367] irq: irq 40 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 40
> >> [    0.992397] irq: irq 51 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 51
> >> [    0.992417] irq: irq 52 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 52
> >> [    0.992436] irq: irq 67 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 67
> >> [    0.992938] eth1: Gianfar Ethernet Controller Version 1.2,
> >> 00:04:9f:01:1f:4a
> >> [    0.999992] eth1: Running with NAPI enabled
> >> [    1.004172] eth1: RX BD ring size for Q[0]: 256
> >> [    1.008699] eth1: RX BD ring size for Q[1]: 256
> >> [    1.013226] eth1: RX BD ring size for Q[2]: 256
> >> [    1.017753] eth1: RX BD ring size for Q[3]: 256
> >> [    1.022280] eth1: RX BD ring size for Q[4]: 256
> >> [    1.026806] eth1: RX BD ring size for Q[5]: 256
> >> [    1.031333] eth1: RX BD ring size for Q[6]: 256
> >> [    1.035860] eth1: RX BD ring size for Q[7]: 256
> >> [    1.040387] eth1: TX BD ring size for Q[0]: 256
> >> [    1.044914] eth1: TX BD ring size for Q[1]: 256
> >> [    1.049441] eth1: TX BD ring size for Q[2]: 256
> >> [    1.053967] eth1: TX BD ring size for Q[3]: 256
> >> [    1.058495] eth1: TX BD ring size for Q[4]: 256
> >> [    1.063022] eth1: TX BD ring size for Q[5]: 256
> >> [    1.067552] eth1: TX BD ring size for Q[6]: 256
> >> [    1.072079] eth1: TX BD ring size for Q[7]: 256
> >> [    1.076679] irq: irq 31 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 31
> >> [    1.076700] irq: irq 32 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 32
> >> [    1.076719] irq: irq 33 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 33
> >> [    1.076748] irq: irq 25 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 25
> >> [    1.076768] irq: irq 26 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 26
> >> [    1.076787] irq: irq 27 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 27
> >> [    1.077315] eth2: Gianfar Ethernet Controller Version 1.2,
> >> 00:04:9f:01:1f:4b
> >> [    1.084370] eth2: Running with NAPI enabled
> >> [    1.088551] eth2: RX BD ring size for Q[0]: 256
> >> [    1.093077] eth2: RX BD ring size for Q[1]: 256
> >> [    1.097604] eth2: RX BD ring size for Q[2]: 256
> >> [    1.102130] eth2: RX BD ring size for Q[3]: 256
> >> [    1.106657] eth2: RX BD ring size for Q[4]: 256
> >> [    1.111184] eth2: RX BD ring size for Q[5]: 256
> >> [    1.115712] eth2: RX BD ring size for Q[6]: 256
> >> [    1.120238] eth2: RX BD ring size for Q[7]: 256
> >> [    1.124765] eth2: TX BD ring size for Q[0]: 256
> >> [    1.129291] eth2: TX BD ring size for Q[1]: 256
> >> [    1.133818] eth2: TX BD ring size for Q[2]: 256
> >> [    1.138344] eth2: TX BD ring size for Q[3]: 256
> >> [    1.142871] eth2: TX BD ring size for Q[4]: 256
> >> [    1.147398] eth2: TX BD ring size for Q[5]: 256
> >> [    1.151925] eth2: TX BD ring size for Q[6]: 256
> >> [    1.156452] eth2: TX BD ring size for Q[7]: 256
> >> [    1.161023] ucc_geth: QE UCC Gigabit Ethernet Controller
> >> [    1.166721] Freescale PowerQUICC MII Bus: probed
> >> [    1.171369] irq: irq 3 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 37
> >> [    1.171760] irq: irq 2 on host /soc@ffe00000/pic@40000 mapped to
> >> virtual irq 38
> >> [    1.172142] Freescale PowerQUICC MII Bus: probed
> >> [    1.178127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
> Driver
> >> [    1.184817] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> >> [    1.191162] /soc@ffe00000/usb@22000: Invalid 'dr_mode' property,
> >> fallback to host mode
> >> [    1.199169] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host
> >> Controller
> >> [    1.205996] fsl-ehci fsl-ehci.0: new USB bus registered, assigned
> >> bus number 1
> >> [    1.235156] fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000
> >> [    1.251134] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
> >> [    1.257090] hub 1-0:1.0: USB hub found
> >> [    1.260860] hub 1-0:1.0: 1 port detected
> >> [    1.264959] Initializing USB Mass Storage driver...
> >> [    1.269918] usbcore: registered new interface driver usb-storage
> >> [    1.275929] USB Mass Storage support registered.
> >> [    1.280797] of:mpc-i2c ffe03000.i2c: timeout 1000000 us
> >> [    1.286321] of:mpc-i2c ffe03100.i2c: timeout 1000000 us
> >> [    1.291698] EDAC MC: Ver: 2.1.0 Apr  8 2011
> >> [    1.295999] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista
> >> Software
> >> [    1.303043] mpc85xx_mc_err_probe: No ECC DIMMs discovered
> >> [    1.308913] EDAC DEVICE0: Giving out device to module
> >> 'MPC85xx_edac' controller 'mpc85xx_l2_err': DEV 'mpc85xx_l2_err'
> >> (INTERRUPT)
> >> [    1.320684] MPC85xx_edac acquired irq 16 for L2 Err
> >> [    1.325561] MPC85xx_edac L2 err registered
> >> [    1.329874] sdhci: Secure Digital Host Controller Interface driver
> >> [    1.336056] sdhci: Copyright(c) Pierre Ossman
> >> [    1.340590] mmc0: SDHCI controller on ffe2e000.sdhci
> >> [ffe2e000.sdhci] using DMA
> >> [    1.348286] of:talitos ffe30000.crypto: hwrng
> >> [    1.352766] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-aes-
> >> talitos
> >> [    1.359618] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-3des-
> >> talitos
> >> [    1.366583] of:talitos ffe30000.crypto: authenc-hmac-sha256-cbc-
> aes-
> >> talitos
> >> [    1.473638] of:talitos ffe30000.crypto: authenc-hmac-sha256-cbc-
> 3des-
> >> talitos
> >> [    1.480747] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-aes-
> >> talitos
> >> [    1.487513] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-3des-
> >> talitos
> >> [    1.494358] of:talitos ffe30000.crypto: cbc-aes-talitos
> >> [    1.499643] of:talitos ffe30000.crypto: cbc-3des-talitos
> >> [    1.505015] of:talitos ffe30000.crypto: md5-talitos
> >> [    1.509952] of:talitos ffe30000.crypto: sha1-talitos
> >> [    1.514976] of:talitos ffe30000.crypto: sha224-talitos
> >> [    1.520174] of:talitos ffe30000.crypto: sha256-talitos
> >> [    1.525372] of:talitos ffe30000.crypto: sha384-talitos
> >> [    1.530573] of:talitos ffe30000.crypto: sha512-talitos
> >> [    1.536275] usbcore: registered new interface driver usbhid
> >> [    1.541850] usbhid: USB HID core driver
> >> [    1.545983] ALSA device list:
> >> [    1.548958]   No soundcards found.
> >> [    1.553108] IPv4 over IPv4 tunneling driver
> >> [    1.557922] TCP cubic registered
> >> [    1.561155] Initializing XFRM netlink socket
> >> [    1.565847] NET: Registered protocol family 10
> >> [    1.574266] IPv6 over IPv4 tunneling driver
> >> [    1.579967] NET: Registered protocol family 17
> >> [    1.584454] Registering the dns_resolver key type
> >> [    1.590372] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> >> [    2.102073] ADDRCONF(NETDEV_UP): eth0: link is not ready
> >> [    2.939140] sil24_softreset: ENTER
> >> [    2.955143] ata_dev_classify: found ATA device by sig
> >> [    2.960194] sil24_softreset: EXIT, class=1
> >> [    2.964295] ata_eh_thaw_port: ata1 port thawed
> >> [    2.968734] ata_std_postreset: ENTER
> >> [    2.972314] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
> >> [    2.978315] ata_std_postreset: EXIT
> >> [    2.981804] ata_eh_revalidate_and_attach: ENTER
> >> [    2.986333] ata1.00: ata_dev_read_id: ENTER
> >> [    2.986342] ata_sg_setup: ENTER, ata1
> >> [    2.989996] ata_sg_setup: 1 sg elements mapped
> >> [    2.994431] max_sge now 1
> >> [    2.997041] max_sge now 1
> >> [    3.147167] IP-Config: Guessing netmask 255.255.255.0
> >> [    3.152315] IP-Config: Complete:
> >> [    3.155546]      device=eth0, addr=192.168.0.20,
> >> mask=255.255.255.0, gw=255.255.255.255,
> >> [    3.163391]      host=P1020RDB, domain=, nis-domain=(none),
> >> [    3.168962]      bootserver=192.168.0.7, rootserver=192.168.0.7,
> >> rootpath=
> >> [    4.147148] PHY: 0:01 - Link is Up - 1000/Full
> >> [    4.151702] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> >> [    7.999132] __ata_port_freeze: ata1 port frozen
> >> [    8.003672] ata_sg_clean: unmapping 1 sg elements
> >> [    8.008369] ata1.00: qc timeout (cmd 0xec)
> >> [    8.012474] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> >> [    8.018566] ata_eh_revalidate_and_attach: EXIT rc=-5
> >> [    8.023534] __ata_port_freeze: ata1 port frozen
> >> [   10.167138] sil24_softreset: ENTER
> >> [   10.183147] ata_dev_classify: found ATA device by sig
> >> [   10.188197] sil24_softreset: EXIT, class=1
> >> [   10.192298] ata_eh_thaw_port: ata1 port thawed
> >> [   10.196737] ata_std_postreset: ENTER
> >> [   10.200316] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
> >> [   10.206318] ata_std_postreset: EXIT
> >> [   10.209806] ata_eh_revalidate_and_attach: ENTER
> >> [   10.214335] ata1.00: ata_dev_read_id: ENTER
> >> [   10.214344] ata_sg_setup: ENTER, ata1
> >> [   10.217998] ata_sg_setup: 1 sg elements mapped
> >> [   14.539135] eth0: no IPv6 routers present
> >> [   20.219208] __ata_port_freeze: ata1 port frozen
> >> [   20.223743] ata_sg_clean: unmapping 1 sg elements
> >> [   20.228439] ata1.00: qc timeout (cmd 0xec)
> >> [   20.232540] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> >> [   20.238631] ata_eh_revalidate_and_attach: EXIT rc=-5
> >> [   20.243600] ata1: limiting SATA link speed to 1.5 Gbps
> >> [   20.248739] __ata_port_freeze: ata1 port frozen
> >> [   22.447139] sil24_softreset: ENTER
> >> [   22.463149] ata_dev_classify: found ATA device by sig
> >> [   22.468199] sil24_softreset: EXIT, class=1
> >> [   22.472300] ata_eh_thaw_port: ata1 port thawed
> >> [   22.476739] ata_std_postreset: ENTER
> >> [   22.480318] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
> >> [   22.486406] ata_std_postreset: EXIT
> >> [   22.489893] ata_eh_revalidate_and_attach: ENTER
> >> [   22.494421] ata1.00: ata_dev_read_id: ENTER
> >> [   22.494428] ata_sg_setup: ENTER, ata1
> >> [   22.498080] ata_sg_setup: 1 sg elements mapped
> >> [   52.499142] __ata_port_freeze: ata1 port frozen
> >> [   52.503678] ata_sg_clean: unmapping 1 sg elements
> >> [   52.508374] ata1.00: qc timeout (cmd 0xec)
> >> [   52.512477] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> >> [   52.518570] ata_eh_revalidate_and_attach: EXIT rc=-5
> >> [   52.523536] __ata_port_freeze: ata1 port frozen
> >> [   54.739148] sil24_softreset: ENTER
> >> [   54.755149] ata_dev_classify: found ATA device by sig
> >> [   54.760209] sil24_softreset: EXIT, class=1
> >> [   54.764312] ata_eh_thaw_port: ata1 port thawed
> >> [   54.768751] ata_std_postreset: ENTER
> >> [   54.772330] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10)
> >> [   54.778419] ata_std_postreset: EXIT
> >> [   54.781906] ata_eh_revalidate_and_attach: ENTER
> >> [   54.786435] ata_eh_recover: EXIT, rc=0
> >> [   54.790184] ata_scsi_error: EXIT
> >> [   54.793440] ata_port_schedule_eh: port EH scheduled
> >> [   54.798330] ata_scsi_error: ENTER
> >> [   54.801651] ata_eh_link_autopsy: ENTER
> >> [   54.805398] ata_eh_recover: ENTER
> >> [   54.808717] __ata_port_freeze: ata2 port frozen
> >> [   56.883149] ata_eh_thaw_port: ata2 port thawed
> >> [   56.887593] ata_std_postreset: ENTER
> >> [   56.891171] ata2: SATA link down (SStatus 0 SControl 0)
> >> [   56.896392] ata_std_postreset: EXIT
> >> [   56.899880] ata_eh_revalidate_and_attach: ENTER
> >> [   56.904409] ata_eh_recover: EXIT, rc=0
> >> [   56.908157] ata_scsi_error: EXIT
> >> [   56.931100] VFS: Mounted root (nfs filesystem) on device 0:15.
> >> [   56.937349] devtmpfs: mounted
> >> [   56.940365] Freeing unused kernel memory: 220k init
> >>
> >>
> >> [    0.518188] WARNING: at drivers/ata/libata-core.c:6082
> >>
> >> which means that pdev->irq is 0
> >>
> >> lspci -vvvn:
> >>
> >> root@p1020rdb:~# lspci -nvv
> >> 0000:00:00.0 0604: 1957:0100 (rev 10)
> >>       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr-
> >> Stepping- SERR+ FastB2B- DisINTx-
> >>       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> >> <TAbort- <MAbort- >SERR- <PERR- INTx-
> >>       Latency: 0
> >>       Region 0: Memory at <ignored> (32-bit, non-prefetchable)
> >>       Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
> >>       I/O behind bridge: 00000000-00000fff
> >>       Memory behind bridge: a0000000-bfffffff
> >>       Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
> >> <TAbort- <MAbort- <SERR- <PERR-
> >>       BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
> >>               PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
> >>       Capabilities: [44] Power Management version 2
> >>               Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> >> PME(D0+,D1+,D2+,D3hot+,D3cold+)
> >>               Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >>       Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
> >>               DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
> >> <64ns, L1 <1us
> >>                       ExtTag- RBE- FLReset-
> >>               DevCtl: Report errors: Correctable- Non-Fatal+ Fatal+
> >> Unsupported+
> >>                       RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
> >>                       MaxPayload 128 bytes, MaxReadReq 512 bytes
> >>               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> >> TransPend-
> >>               LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L0s,
> >> Latency L0 <2us,
> >> L1 unlimited
> >>                       ClockPM- Surprise- LLActRep- BwNot-
> >>               LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain-
> >> CommClk-
> >>                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> >>               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk-
> >> DLActive-
> >> BWMgmt- ABWMgmt-
> >>               RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal-
> PMEIntEna-
> >> CRSVisible-
> >>               RootCap: CRSVisible-
> >>               RootSta: PME ReqID 0000, PMEStatus- PMEPending-
> >>       Capabilities: [100] Advanced Error Reporting
> >>               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF+
> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
> >>               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> >> ChkEn-
> >>       Kernel driver in use: pcieport
> >>
> >> 0001:02:00.0 0604: 1957:0100 (rev 10)
> >>       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr-
> >> Stepping- SERR+ FastB2B- DisINTx-
> >>       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> >> <TAbort- <MAbort- >SERR- <PERR- INTx-
> >>       Latency: 0, Cache Line Size: 32 bytes
> >>       Region 0: Memory at <ignored> (32-bit, non-prefetchable)
> >>       Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
> >>       I/O behind bridge: 00000000-00000fff
> >>       Memory behind bridge: c0000000-dfffffff
> >>       Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
> >> <TAbort- <MAbort- <SERR- <PERR-
> >>       BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
> >>               PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
> >>       Capabilities: [44] Power Management version 2
> >>               Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> >> PME(D0+,D1+,D2+,D3hot+,D3cold+)
> >>               Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> >>       Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
> >>               DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
> >> <64ns, L1 <1us
> >>                       ExtTag- RBE- FLReset-
> >>               DevCtl: Report errors: Correctable- Non-Fatal+ Fatal+
> >> Unsupported+
> >>                       RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
> >>                       MaxPayload 128 bytes, MaxReadReq 512 bytes
> >>               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> >> TransPend-
> >>               LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L0s,
> >> Latency L0 <2us,
> >> L1 unlimited
> >>                       ClockPM- Surprise- LLActRep- BwNot-
> >>               LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain-
> >> CommClk-
> >>                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> >>               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk-
> >> DLActive-
> >> BWMgmt- ABWMgmt-
> >>               RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal-
> PMEIntEna-
> >> CRSVisible-
> >>               RootCap: CRSVisible-
> >>               RootSta: PME ReqID 0000, PMEStatus- PMEPending-
> >>       Capabilities: [100] Advanced Error Reporting
> >>               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF+
> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
> >>               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> >> ChkEn-
> >>       Kernel driver in use: pcieport
> >>
> >> 0001:03:00.0 0104: 1095:3132 (rev 01)
> >>       Subsystem: 1095:7132
> >>       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr-
> >> Stepping- SERR- FastB2B- DisINTx-
> >>       Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> >> <TAbort- <MAbort- >SERR- <PERR- INTx-
> >>       Latency: 0, Cache Line Size: 32 bytes
> >>       Interrupt: pin A routed to IRQ 0
> >>       Region 0: Memory at c0000000 (64-bit, non-prefetchable)
> [size=128]
> >>       Region 2: Memory at c0004000 (64-bit, non-prefetchable)
> [size=16K]
> >>       Region 4: I/O ports at 1000 [size=128]
> >>       [virtual] Expansion ROM at c0080000 [disabled] [size=512K]
> >>       Capabilities: [54] Power Management version 2
> >>               Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-
> ,D2-
> >> ,D3hot-,D3cold-)
> >>               Status: D0 PME-Enable- DSel=0 DScale=1 PME-
> >>       Capabilities: [5c] MSI: Mask- 64bit+ Count=1/1 Enable-
> >>               Address: 0000000000000000  Data: 0000
> >>       Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
> >>               DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s
> >> <64ns, L1 <1us
> >>                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
> >>               DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> >> Unsupported-
> >>                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
> >>                       MaxPayload 128 bytes, MaxReadReq 1024 bytes
> >>               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> >> TransPend-
> >>               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s,
> >> Latency L0
> >> unlimited, L1 unlimited
> >>                       ClockPM- Surprise- LLActRep- BwNot-
> >>               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
> >> CommClk-
> >>                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> >>               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
> >> DLActive-
> >> BWMgmt- ABWMgmt-
> >>       Capabilities: [100] Advanced Error Reporting
> >>               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF+
> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
> >>               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> >> ChkEn-
> >>       Kernel driver in use: sata_sil24
> >>
> >> root@p1020rdb:~#
> >>
> >>               Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-
> ,D2-
> >> ,D3hot-,D3cold-)
> >>               Status: D0 PME-Enable- DSel=0 DScale=1 PME-
> >>       Capabilities: [5c] MSI: Mask- 64bit+ Count=1/1 Enable-
> >>               Address: 0000000000000000  Data: 0000
> >>       Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
> >>               DevCap: MaxPayload 1024 bytes, PhantFunc 0, Latency L0s
> >> <64ns, L1 <1us
> >>                       ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
> >>               DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> >> Unsupported-
> >>                       RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
> >>                       MaxPayload 128 bytes, MaxReadReq 1024 bytes
> >>               DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
> >> TransPend-
> >>               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s,
> >> Latency L0
> >> unlimited, L1 unlimited
> >>                       ClockPM- Surprise- LLActRep- BwNot-
> >>               LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
> >> CommClk-
> >>                       ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> >>               LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
> >> DLActive-
> >> BWMgmt- ABWMgmt-
> >>       Capabilities: [100] Advanced Error Reporting
> >>               UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF-
> >> MalfTLP- ECRC- UnsupReq- ACSViol-
> >>               UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
> >> UnxCmplt- RxOF+
> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
> >>               CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
> >> NonFatalErr-
> >>               AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
> >> ChkEn-
> >>       Kernel driver in use: sata_sil24
> >>       Kernel modules: sata_sil24
> >>
> >>
> >> --
> >> Leon
> >
> >
> >
> 
> 
> 
> --
> Leon
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


[-- Attachment #2: 0001-p1_p2_rdb-to-set-SQW-INT-pin-of-RTC-as-INT-line.patch --]
[-- Type: application/octet-stream, Size: 2015 bytes --]

From 39c2a6eb75fabd9745c5762c8dec9d1a85dabf00 Mon Sep 17 00:00:00 2001
From: Priyanka Jain <Priyanka.Jain@freescale.com>
Date: Mon, 25 Oct 2010 14:52:53 +0530
Subject: [PATCH] p1_p2_rdb: to set SQW/INT pin of RTC as INT line

SQW/INT pin in RTC can be used for generating square wave(by default) or
as interrupt line.  U-boot is registering this pin for interrupts.
Configuring SQW/INT bit as interrupt line during board initialization
to avoid spurious interrupts generated by square wave.

Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---
 board/freescale/p1_p2_rdb/p1_p2_rdb.c |    4 +++-
 include/configs/P1_P2_RDB.h           |    1 +
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/board/freescale/p1_p2_rdb/p1_p2_rdb.c b/board/freescale/p1_p2_rdb/p1_p2_rdb.c
index fae31f2..1c4c020 100644
--- a/board/freescale/p1_p2_rdb/p1_p2_rdb.c
+++ b/board/freescale/p1_p2_rdb/p1_p2_rdb.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2009 Freescale Semiconductor, Inc.
+ * Copyright 2009-2010 Freescale Semiconductor, Inc.
  *
  * See file CREDITS for list of people who contributed to this
  * project.
@@ -33,6 +33,7 @@
 #include <tsec.h>
 #include <vsc7385.h>
 #include <netdev.h>
+#include <rtc.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -156,6 +157,7 @@ int board_early_init_r(void)
 	set_tlb(1, flashbase, CONFIG_SYS_FLASH_BASE_PHYS,
 			MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
 			0, flash_esel, BOOKE_PAGESZ_16M, 1);
+	rtc_reset();
 	return 0;
 }
 
diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h
index 08c5ef9..610f3ed 100644
--- a/include/configs/P1_P2_RDB.h
+++ b/include/configs/P1_P2_RDB.h
@@ -350,6 +350,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_EEPROM_BUS_NUM	1
 
 #define CONFIG_RTC_DS1337
+#define CONFIG_SYS_RTC_DS1337_NOOSC
 #define CONFIG_SYS_I2C_RTC_ADDR                0x68
 /*
  * General PCI
-- 
1.7.3


^ permalink raw reply related

* [PATCH] net: Remove invalid offloads
From: Michał Mirosław @ 2011-04-08 12:38 UTC (permalink / raw)
  To: netdev; +Cc: linuxppc-dev, Vitaly Bordug

Remove offload changing ethtool ops which drivers don't really support:

 - fs_enet
 - ucc_geth

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
---
 drivers/net/fs_enet/fs_enet-main.c |    2 --
 drivers/net/ucc_geth_ethtool.c     |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c
index 24cb953..a938894 100644
--- a/drivers/net/fs_enet/fs_enet-main.c
+++ b/drivers/net/fs_enet/fs_enet-main.c
@@ -956,8 +956,6 @@ static const struct ethtool_ops fs_ethtool_ops = {
 	.get_link = ethtool_op_get_link,
 	.get_msglevel = fs_get_msglevel,
 	.set_msglevel = fs_set_msglevel,
-	.set_tx_csum = ethtool_op_set_tx_csum,	/* local! */
-	.set_sg = ethtool_op_set_sg,
 	.get_regs = fs_get_regs,
 };
 
diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index 6f92e48..537fbc0 100644
--- a/drivers/net/ucc_geth_ethtool.c
+++ b/drivers/net/ucc_geth_ethtool.c
@@ -410,7 +410,6 @@ static const struct ethtool_ops uec_ethtool_ops = {
 	.set_ringparam          = uec_set_ringparam,
 	.get_pauseparam         = uec_get_pauseparam,
 	.set_pauseparam         = uec_set_pauseparam,
-	.set_sg                 = ethtool_op_set_sg,
 	.get_sset_count		= uec_get_sset_count,
 	.get_strings            = uec_get_strings,
 	.get_ethtool_stats      = uec_get_ethtool_stats,
-- 
1.7.2.5

^ permalink raw reply related

* Re: Where is CONFIG_BOOT_LOAD ?
From: Guillaume Dargaud @ 2011-04-08 12:58 UTC (permalink / raw)
  To: Florian Vögel; +Cc: linuxppc-dev
In-Reply-To: <1302255741.5359.7.camel@flotop>

> Isn't that blackfin specific?

So how do you change the loading address of the PowerPC kernel from its default 0x400000 address ?
-- 
Guillaume Dargaud
http://www.gdargaud.net/

^ permalink raw reply

* Re: known working sata_sil24.c setup on powerpc platforms?
From: Leon Woestenberg @ 2011-04-08 14:33 UTC (permalink / raw)
  To: Kushwaha Prabhakar-B32579
  Cc: Tejun Heo, Jeff Garzik, Linux PPC, linux-ide@vger.kernel.org,
	Moffett, Kyle D, Gupta Maneesh-B18878
In-Reply-To: <071A08F2C6A57E4E94D980ECA553F87416DCB6@039-SN1MPN1-004.039d.mgd.msft.net>

Hello Prabhakar,

On Fri, Apr 8, 2011 at 2:35 PM, Kushwaha Prabhakar-B32579
<B32579@freescale.com> wrote:
> Hi Leon,
>
> Finally interrupt came :)
>
> For this continuously firing of interrupt. Can you please check the u-boo=
t code for following patch..
> =A0 =A0 =A0 =A0" p1_p2_rdb: to set SQW/INT pin of RTC as INT line
> =A0 =A0 =A0 =A0 Commit id: 39c2a6eb75fabd9745c5762c8dec9d1a85dabf00 "
>
Indeed, I confirm a 32.68 Hz square wave entering the interrupt pin,
now that will keep the system busy :-)

Will perform that u-boot fix on my P2020RDB later.

I'll report back whether this solves the setup problems, your IDSEL
patch seems to work.

Thanks for wading through the issues one by one!

Best regards,

Leon.


> This patch is already present at =A0u-boot@lists.denx.de. =A0Or you can a=
pply it on u-boot.
>
> Regards,
> Prabhakar
>
>> -----Original Message-----
>> From: linux-ide-owner@vger.kernel.org [mailto:linux-ide-
>> owner@vger.kernel.org] On Behalf Of Leon Woestenberg
>> Sent: Friday, April 08, 2011 5:49 PM
>> To: Kushwaha Prabhakar-B32579
>> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff Garzik;
>> Linux PPC; Gupta Maneesh-B18878
>> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
>>
>> Hello Prabhakar,
>>
>> I have P1020E 1.0 silicon (0x80ec0010) on my P1020RDB.
>>
>> With the addition of the interrupt-map-mask (thanks, miscopied that) I
>> get interrupt #16.
>>
>> However, it keeps continously firing (*). I have verified that the
>> Sil3132 device itself has no interrupt pending (the interrupt status
>> register reads zero).
>>
>> root@p1020rdb:~# lspci -vvvn
>> ...
>> 0001:03:00.0 0104: 1095:3132 (rev 01)
>> =A0 =A0 =A0 Subsystem: 1095:7132
>> =A0 =A0 =A0 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- =
ParErr-
>> Stepping- SERR- FastB2B- DisINTx-
>> =A0 =A0 =A0 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >TAb=
ort-
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> =A0 =A0 =A0 Latency: 0, Cache Line Size: 32 bytes
>> =A0 =A0 =A0 Interrupt: pin A routed to IRQ 16
>> ...
>>
>> (*)
>> [ =A0 =A02.877714] irq 16: nobody cared (try booting with the "irqpoll"
>> option)
>> [ =A0 =A02.884406] Call Trace:
>> [ =A0 =A02.886856] [dffeff50] [c000763c] show_stack+0x4c/0x178 (unreliab=
le)
>> [ =A0 =A02.893216] [dffeff90] [c007819c] __report_bad_irq+0x38/0xd0
>> [ =A0 =A02.898871] [dffeffb0] [c0078400] note_interrupt+0x1cc/0x22c
>> [ =A0 =A02.904528] [dffeffe0] [c0079320] handle_fasteoi_irq+0xd0/0x118
>> [ =A0 =A02.910444] [dffefff0] [c000cbb4] call_handle_irq+0x18/0x28
>> [ =A0 =A02.916012] [dfff1ec0] [c0004e0c] do_IRQ+0xa4/0x140
>> [ =A0 =A02.920888] [dfff1ef0] [c000e63c] ret_from_except+0x0/0x18
>> [ =A0 =A02.926376] --- Exception: 501 at __do_softirq+0x5c/0x158
>> [ =A0 =A02.926380] =A0 =A0 LR =3D call_do_softirq+0x14/0x24
>> [ =A0 =A02.936201] [dfff1fb0] [c00436d4] __do_softirq+0xc0/0x158 (unreli=
able)
>> [ =A0 =A02.942727] [dfff1ff0] [c000cb8c] call_do_softirq+0x14/0x24
>> [ =A0 =A02.948294] [c0633e70] [c0004c58] do_softirq+0x74/0x80
>> [ =A0 =A02.953429] [c0633e90] [c00434a0] irq_exit+0x7c/0x9c
>> [ =A0 =A02.958388] [c0633ea0] [c0004e38] do_IRQ+0xd0/0x140
>> [ =A0 =A02.963261] [c0633ed0] [c000e63c] ret_from_except+0x0/0x18
>> [ =A0 =A02.968746] --- Exception: 501 at cpu_idle+0xcc/0xdc
>> [ =A0 =A02.968749] =A0 =A0 LR =3D cpu_idle+0xcc/0xdc
>> [ =A0 =A02.977527] [c0633f90] [c0008744] cpu_idle+0x58/0xdc (unreliable)
>> [ =A0 =A02.983618] [c0633fb0] [c0002494] rest_init+0x64/0x78
>> [ =A0 =A02.988667] [c0633fc0] [c05c17ec] start_kernel+0x278/0x2dc
>> [ =A0 =A02.994147] [c0633ff0] [c00003a0] skpinv+0x2b8/0x2f4
>> [ =A0 =A02.999102] handlers:
>> [ =A0 =A03.001365] [<c029fc38>] (sil24_interrupt+0x0/0x8)
>> [ =A0 =A03.006162] Disabling IRQ #16
>>
>> Even after this, the interrupt handler keeps firing (verified by
>> printing the Sil3132 interrupt status register, which reads 0, no
>> interrupts pending).
>>
>> root@p1020rdb:~# cat /proc/interrupts
>> =A0 =A0 =A0 =A0 =A0 =A0CPU0
>> =A016: =A0 =A0 200001 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0 =A0 =
=A0sata_sil24
>> =A017: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0[EDAC] L2 err
>> =A018: =A0 =A0 =A0 5218 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0 =A0=
 =A0eth0_g1_tx
>> =A019: =A0 =A0 =A0 =A0 =A08 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0fsl-lbc
>> =A020: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0fsldma-chan
>> =A021: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0fsldma-chan
>> =A022: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0fsldma-chan
>> =A023: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0fsldma-chan
>> =A024: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0eth0_g1_rx
>> =A025: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0eth0_g1_er
>> =A028: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0ehci_hcd:usb1
>> =A029: =A0 =A0 =A0 =A0 65 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0 =
=A0 =A0eth0_g0_tx
>> =A030: =A0 =A0 =A0 7203 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0 =A0=
 =A0eth0_g0_rx
>> =A034: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0eth0_g0_er
>> =A042: =A0 =A0 =A0 2988 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0 =A0=
 =A0serial
>> =A043: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0i2c-mpc, i2c-mpc
>> =A045: =A0 =A0 =A0 =A0 =A00 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0=
 =A0 =A0of:talitos
>> =A072: =A0 =A0 =A012883 =A0 =A0OpenPIC =A0 =A0 =A0 =A0 Level =A0 =A0 =A0=
 =A0mmc0
>> LOC: =A0 =A0 =A016816 =A0 Local timer interrupts
>> SPU: =A0 =A0 =A027343 =A0 Spurious interrupts
>> CNT: =A0 =A0 =A0 =A0 =A00 =A0 Performance monitoring interrupts
>> MCE: =A0 =A0 =A0 =A0 =A00 =A0 Machine check exceptions
>>
>>
>> EIVPR0 register:
>>
>> root@p1020rdb:~# devmem2 0xffe50000
>> /dev/mem opened.
>> Memory mapped at address 0x48021000.
>> Value at address 0xFFE50000 (0x48021000): 0x80480000
>>
>> This means level sensitive, active low.
>>
>>
>> The external IRQ0 is pulled high, verified by scope.
>>
>>
>> Regards,
>>
>> Leon.
>>
>>
>> (*)The sata_sil24 interrupt handler keeps firing.
>>
>> [ =A0 =A06.929867] irq 16: nobody cared (try booting with the "irqpoll"
>> option)
>> [ =A0 =A06.936566] Call Trace:
>> [ =A0 =A06.939018] [dffeff50] [c000763c] show_stack+0x4c/0x178 (unreliab=
le)
>> [ =A0 =A06.945377] [dffeff90] [c007819c] __report_bad_irq+0x38/0xd0
>> [ =A0 =A06.951034] [dffeffb0] [c0078400] note_interrupt+0x1cc/0x22c
>> [ =A0 =A06.956690] [dffeffe0] [c0079320] handle_fasteoi_irq+0xd0/0x118
>> [ =A0 =A06.962606] [dffefff0] [c000cbb4] call_handle_irq+0x18/0x28
>> [ =A0 =A06.968174] [deee7e00] [c0004e0c] do_IRQ+0xa4/0x140
>> [ =A0 =A06.973051] [deee7e30] [c000e63c] ret_from_except+0x0/0x18
>> [ =A0 =A06.978545] --- Exception: 501 at find_next_zero_bit+0x8c/0xe0
>> [ =A0 =A06.978549] =A0 =A0 LR =3D alloc_fd+0x64/0x130
>> [ =A0 =A06.988283] [deee7ef0] [c00b9950] getname+0x28/0xf4 (unreliable)
>> [ =A0 =A06.994297] [deee7f10] [c00ab890] do_sys_open+0x5c/0x11c
>> [ =A0 =A06.999604] [deee7f40] [c000dfe8] ret_from_syscall+0x0/0x3c
>> [ =A0 =A07.005172] --- Exception: c01 at 0x48017a04
>> [ =A0 =A07.005175] =A0 =A0 LR =3D 0x48006a18
>> [ =A0 =A07.012560] handlers:
>> [ =A0 =A07.014823] [<c029fc38>] (sil24_interrupt+0x0/0x4fc)
>> [ =A0 =A07.019795] Disabling IRQ #16
>>
>>
>> On Fri, Apr 8, 2011 at 11:41 AM, Kushwaha Prabhakar-B32579
>> <B32579@freescale.com> wrote:
>> > Hi Leon,
>> >
>> > =A0interrupt-map-mask is missing for pcie@ffe0a000 node. Please see my
>> comment there...
>> > pcie@ffe0a000 node deals with mini-PCIe.
>> >
>> > one more thing, can you please tell P1020Si version. It will be there
>> on u-boot log.
>> >
>> > --Prabhakar
>> >
>> >> -----Original Message-----
>> >> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
>> >> Sent: Friday, April 08, 2011 2:43 PM
>> >> To: Kushwaha Prabhakar-B32579
>> >> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff
>> Garzik;
>> >> Linux PPC; Gupta Maneesh-B18878
>> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms?
>> >>
>> >> Hello Prabhakar,
>> >>
>> >> On Fri, Apr 8, 2011 at 10:31 AM, Kushwaha Prabhakar-B32579
>> >> <B32579@freescale.com> wrote:
>> >> > Hi Leon,
>> >> >
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Leon Woestenberg [mailto:leon.woestenberg@gmail.com]
>> >> >> Sent: Friday, April 08, 2011 1:55 PM
>> >> >> To: Kushwaha Prabhakar-B32579
>> >> >> Cc: Moffett, Kyle D; linux-ide@vger.kernel.org; Tejun Heo; Jeff
>> >> >> Garzik; Linux PPC; Gupta Maneesh-B18878
>> >> >> Subject: Re: known working sata_sil24.c setup on powerpc platforms=
?
>> >> >>
>> >> >> Hello Prabhakar,
>> >> >>
>> >> >> On Fri, Apr 8, 2011 at 5:44 AM, Kushwaha Prabhakar-B32579
>> >> >> <B32579@freescale.com> wrote:
>> >> >> >> -----Original Message-----
>> >> >> >> From: linux-ide-owner@vger.kernel.org [mailto:linux-ide-
>> >> >> >> owner@vger.kernel.org] On Behalf Of Leon Woestenberg
>> >> >> >> Sent: Thursday, April 07, 2011 10:23 PM
>> >> >> >> To: Kushwaha Prabhakar-B32579
>> >> >> >> Cc: Moffett, Kyle D; Linux PPC; linux-ide@vger.kernel.org; Teju=
n
>> >> >> >> Heo; Jeff Garzik
>> >> >> >> Subject: Re: known working sata_sil24.c setup on powerpc
>> platforms?
>> >> >> >>
>> >> >> >> On Thu, Apr 7, 2011 at 6:48 AM, Kushwaha Prabhakar-B32579
>> >> >> >> <B32579@freescale.com> wrote:
>> >> >> >> > Can you please check p2020rdb.dts for IDSEL entries for pci0/=
1
>> >> node?
>> >> >> >> >
>> >> >> >> > In order to work in legacy mode, IDSEL entries are required.
>> >> >> >> >
>> >> >> >> No, the p1020rdb and p2020rdb do not have the IDSEL entries:
>> >> >> >> What would the correct IDSEL entries be?
>> >> >> >
>> >> >> > For legacy interrupt to work IDSEL values are required.. please
>> >> >> > find
>> >> >> the correct IDSEL values for pci0/1.
>> >> >> >
>> >> >> > =A0 =A0 =A0 =A0pci0: pcie@ffe09000 {
>> >> >> > ...
>> >> >> > Please try with this.. I am in process of pushing these IDSEL
>> >> >> > values to
>> >> >> upstream.
>> >> >> >
>> >> >>
>> >> >> Do you have these for P1020RDB =A0as well? I found a P1020RDB boar=
d
>> >> >> that has the CE10 errata fixed, so IRQ0 is properly pulled up.
>> >> >>
>> >> >
>> >> > =A0Same IDSEL values are valid for P1020RDB also.
>> >> >
>> >> I compiled the new device tree binary, the dump is below(*) and boote=
d
>> >> the P1020RDB from that.
>> >>
>> >> I verified using an oscilloscope that IRQ0 indeed remains high.
>> >>
>> >> However, no interrupt seems to come in from the sata_sil24 driver, se=
e
>> >> boot log (**).
>> >>
>> >> (*) dtb dump:
>> >> $ dtc -I dtb -O dts /tftpboot/p1020rdb/uImage.dtb
>> >>
>> >> =A0 =A0 =A0 pcie@ffe09000 {
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 compatible =3D "fsl,mpc8548-pcie";
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #interrupt-cells =3D <0x1>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0xffe09000 0x0 0x1000>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 bus-range =3D <0x0 0xff>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0 0xa0000000 0x0 =
0xa0000000 0x0
>> >> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc30000 0x0 0x10000>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 clock-frequency =3D <0x1fca055>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-parent =3D <0x2>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupts =3D <0x10 0x2>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-map-mask =3D <0xf800 0x0 0x0 0x=
7>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-map =3D <0x0 0x0 0x0 0x1 0x2 0x=
4 0x1 0x0 0x0 0x0
>> 0x2
>> >> 0x2 0x5
>> >> 0x1 0x0 0x0 0x0 0x3 0x2 0x6 0x1 0x0 0x0 0x0 0x4 0x2 0x7 0x1>;
>> >>
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 pcie@0 {
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0x0 0x0 0x0 =
0x0>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0=
 0xa0000000 0x2000000 0x0
>> >> 0xa0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
>> >> 0x100000>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 };
>> >> =A0 =A0 =A0 };
>> >>
>> >> =A0 =A0 =A0 pcie@ffe0a000 {
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 compatible =3D "fsl,mpc8548-pcie";
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #interrupt-cells =3D <0x1>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0xffe0a000 0x0 0x1000>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 bus-range =3D <0x0 0xff>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0 0xc0000000 0x0 =
0xc0000000 0x0
>> >> 0x20000000 0x1000000 0x0 0x0 0x0 0xffc20000 0x0 0x10000>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 clock-frequency =3D <0x1fca055>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-parent =3D <0x2>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupts =3D <0x10 0x2>;
>> >
>> > interrupt-map-mask is missing here.. can you please check dts again.
>> >
>> >
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 interrupt-map =3D <0x0 0x0 0x0 0x1 0x2 0x=
0 0x1 0x0 0x0 0x0
>> 0x2
>> >> 0x2 0x1
>> >> 0x1 0x0 0x0 0x0 0x3 0x2 0x2 0x1 0x0 0x0 0x0 0x4 0x2 0x3 0x1>;
>> >>
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 pcie@0 {
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 reg =3D <0x0 0x0 0x0 0x0 =
0x0>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #size-cells =3D <0x2>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #address-cells =3D <0x3>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 device_type =3D "pci";
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ranges =3D <0x2000000 0x0=
 0xc0000000 0x2000000 0x0
>> >> 0xc0000000 0x0 0x20000000 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0
>> >> 0x100000>;
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 };
>> >> =A0 =A0 =A0 };
>> >> };
>> >>
>> >> (**) boot log
>> >>
>> >> [ =A0 =A00.000000] Using P1020 RDB machine description
>> >> [ =A0 =A00.000000] Memory CAM mapping: 256/256 Mb, residual: 0Mb
>> >> [ =A0 =A00.000000] Linux version 2.6.38 (leon@lunar) (gcc version 4.3=
.3
>> >> (GCC) ) #6 Fri Apr 8 11:00:10 CEST 2011
>> >> [ =A0 =A00.000000] Found legacy serial port 0 for
>> /soc@ffe00000/serial@4500
>> >> [ =A0 =A00.000000] =A0 mem=3Dffe04500, taddr=3Dffe04500, irq=3D0, clk=
=3D399999996,
>> >> speed=3D0
>> >> [ =A0 =A00.000000] Found legacy serial port 1 for
>> /soc@ffe00000/serial@4600
>> >> [ =A0 =A00.000000] =A0 mem=3Dffe04600, taddr=3Dffe04600, irq=3D0, clk=
=3D399999996,
>> >> speed=3D0
>> >> [ =A0 =A00.000000] bootconsole [udbg0] enabled
>> >> [ =A0 =A00.000000] Found FSL PCI host bridge at 0x00000000ffe09000.
>> >> Firmware bus number: 0->255
>> >> [ =A0 =A00.000000] PCI host bridge /pcie@ffe09000 =A0ranges:
>> >> [ =A0 =A00.000000] =A0MEM 0x00000000a0000000..0x00000000bfffffff ->
>> >> 0x00000000a0000000
>> >> [ =A0 =A00.000000] =A0 IO 0x00000000ffc30000..0x00000000ffc3ffff ->
>> >> 0x0000000000000000
>> >> [ =A0 =A00.000000] /pcie@ffe09000: PCICSRBAR @ 0xfff00000
>> >> [ =A0 =A00.000000] Found FSL PCI host bridge at 0x00000000ffe0a000.
>> >> Firmware bus number: 0->0
>> >> [ =A0 =A00.000000] PCI host bridge /pcie@ffe0a000 =A0ranges:
>> >> [ =A0 =A00.000000] =A0MEM 0x00000000c0000000..0x00000000dfffffff ->
>> >> 0x00000000c0000000
>> >> [ =A0 =A00.000000] =A0 IO 0x00000000ffc20000..0x00000000ffc2ffff ->
>> >> 0x0000000000000000
>> >> [ =A0 =A00.000000] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
>> >> [ =A0 =A00.000000] MPC85xx RDB board from Freescale Semiconductor
>> >> [ =A0 =A00.000000] Top of RAM: 0x20000000, Total RAM: 0x20000000
>> >> [ =A0 =A00.000000] Memory hole size: 0MB
>> >> [ =A0 =A00.000000] Zone PFN ranges:
>> >> [ =A0 =A00.000000] =A0 DMA =A0 =A0 =A00x00000000 -> 0x00020000
>> >> [ =A0 =A00.000000] =A0 Normal =A0 empty
>> >> [ =A0 =A00.000000] =A0 HighMem =A0empty
>> >> [ =A0 =A00.000000] Movable zone start PFN for each node
>> >> [ =A0 =A00.000000] early_node_map[1] active PFN ranges
>> >> [ =A0 =A00.000000] =A0 =A0 0: 0x00000000 -> 0x00020000
>> >> [ =A0 =A00.000000] On node 0 totalpages: 131072
>> >> [ =A0 =A00.000000] free_area_init_node: node 0, pgdat c062d9bc,
>> >> node_mem_map c07e1000
>> >> [ =A0 =A00.000000] =A0 DMA zone: 1024 pages used for memmap
>> >> [ =A0 =A00.000000] =A0 DMA zone: 0 pages reserved
>> >> [ =A0 =A00.000000] =A0 DMA zone: 130048 pages, LIFO batch:31
>> >> [ =A0 =A00.000000] MMU: Allocated 1088 bytes of context maps for 255
>> contexts
>> >> [ =A0 =A00.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=3D1*32768
>> >> [ =A0 =A00.000000] pcpu-alloc: [0] 0
>> >> [ =A0 =A00.000000] Built 1 zonelists in Zone order, mobility grouping=
 on.
>> >> Total pages: 130048
>> >> [ =A0 =A00.000000] Kernel command line: root=3D/dev/nfs rw
>> >> nfsroot=3D192.168.0.7:/nfsroot/p1020rdb
>> >> ip=3D192.168.0.20:192.168.0.7:::P1020RDB:eth0:off console=3DttyS0,115=
200
>> >> ramdisk_size=3D200000 cache-sram-size=3D0x10000
>> >> [ =A0 =A00.000000] PID hash table entries: 2048 (order: 1, 8192 bytes=
)
>> >> [ =A0 =A00.000000] Dentry cache hash table entries: 65536 (order: 6,
>> 262144
>> >> bytes)
>> >> [ =A0 =A00.000000] Inode-cache hash table entries: 32768 (order: 5, 1=
31072
>> >> bytes)
>> >> [ =A0 =A00.000000] High memory: 0k
>> >> [ =A0 =A00.000000] Memory: 511604k/524288k available (6112k kernel co=
de,
>> >> 12684k reserved, 256k data, 1686k bss, 220k init)
>> >> [ =A0 =A00.000000] Kernel virtual memory layout:
>> >> [ =A0 =A00.000000] =A0 * 0xfffcf000..0xfffff000 =A0: fixmap
>> >> [ =A0 =A00.000000] =A0 * 0xff800000..0xffc00000 =A0: highmem PTEs
>> >> [ =A0 =A00.000000] =A0 * 0xff7da000..0xff800000 =A0: early ioremap
>> >> [ =A0 =A00.000000] =A0 * 0xe1000000..0xff7da000 =A0: vmalloc & iorema=
p
>> >> [ =A0 =A00.000000] SLUB: Genslabs=3D15, HWalign=3D32, Order=3D0-3, Mi=
nObjects=3D0,
>> >> CPUs=3D1, Nodes=3D1
>> >> [ =A0 =A00.000000] NR_IRQS:512
>> >> [ =A0 =A00.000000] mpic: Setting up MPIC " OpenPIC =A0" version 1.2 a=
t
>> >> ffe40000, max 2 CPUs
>> >> [ =A0 =A00.000000] mpic: ISU size: 256, shift: 8, mask: ff
>> >> [ =A0 =A00.000000] mpic: Initializing for 256 sources
>> >> [ =A0 =A00.000000] time_init: decrementer frequency =3D 50.000000 MHz
>> >> [ =A0 =A00.000000] time_init: processor frequency =A0 =3D 799.999992 =
MHz
>> >> [ =A0 =A00.000000] clocksource: timebase mult[5000000] shift[22]
>> registered
>> >> [ =A0 =A00.000000] clockevent: decrementer mult[ccccccc] shift[32] cp=
u[0]
>> >> [ =A0 =A00.000000] Console: colour dummy device 80x25
>> >> [ =A0 =A00.010728] pid_max: default: 32768 minimum: 301
>> >> [ =A0 =A00.015483] Mount-cache hash table entries: 512
>> >> [ =A0 =A00.021404] devtmpfs: initialized
>> >> [ =A0 =A00.025042] NET: Registered protocol family 16
>> >> [ =A0 =A00.031180] irq: irq 47 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 47
>> >> [ =A0 =A00.031507] PCI: Probing PCI hardware
>> >> [ =A0 =A00.035144] pci_bus 0000:00: scanning bus
>> >> [ =A0 =A00.035167] pci 0000:00:00.0: [1957:0100] type 1 class 0x000b2=
0
>> >> [ =A0 =A00.035188] pci 0000:00:00.0: calling quirk_mmio_always_on+0x0=
/0x24
>> >> [ =A0 =A00.035197] pci 0000:00:00.0: ignoring class b20 (doesn't matc=
h
>> >> header type 01)
>> >> [ =A0 =A00.042429] pci 0000:00:00.0: calling
>> >> fixup_hide_host_resource_fsl+0x0/0x54
>> >> [ =A0 =A00.042440] pci 0000:00:00.0: calling
>> >> pcibios_fixup_resources+0x0/0x110
>> >> [ =A0 =A00.042456] pci 0000:00:00.0: calling
>> quirk_fsl_pcie_header+0x0/0x50
>> >> [ =A0 =A00.042473] pci 0000:00:00.0: calling
>> >> quirk_resource_alignment+0x0/0x19c
>> >> [ =A0 =A00.042488] pci 0000:00:00.0: supports D1 D2
>> >> [ =A0 =A00.042496] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3h=
ot
>> >> D3cold
>> >> [ =A0 =A00.042505] pci 0000:00:00.0: PME# disabled
>> >> [ =A0 =A00.042525] pci_bus 0000:00: fixups for bus
>> >> [ =A0 =A00.042539] pci 0000:00:00.0: scanning [bus 00-00] behind brid=
ge,
>> pass
>> >> 0
>> >> [ =A0 =A00.042546] pci 0000:00:00.0: bus configuration invalid,
>> reconfiguring
>> >> [ =A0 =A00.042556] pci 0000:00:00.0: scanning [bus 00-00] behind brid=
ge,
>> pass
>> >> 1
>> >> [ =A0 =A00.042577] pci_bus 0000:01: scanning bus
>> >> [ =A0 =A00.042584] pci_bus 0000:01: fixups for bus
>> >> [ =A0 =A00.042591] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
>> >> [ =A0 =A00.047728] pci 0000:00:00.0: =A0 bridge window [io =A00x0000-=
0x0000]
>> >> (disabled)
>> >> [ =A0 =A00.047738] pci 0000:00:00.0: =A0 bridge window [mem
>> >> 0x00000000-0x000fffff] (disabled)
>> >> [ =A0 =A00.047748] pci 0000:00:00.0: =A0 bridge window [mem
>> >> 0x00000000-0x000fffff pref] (disabled)
>> >> [ =A0 =A00.047760] pci_bus 0000:01: bus scan returning with max=3D01
>> >> [ =A0 =A00.047769] pci_bus 0000:00: bus scan returning with max=3D01
>> >> [ =A0 =A00.047902] pci_bus 0001:02: scanning bus
>> >> [ =A0 =A00.047920] pci 0001:02:00.0: [1957:0100] type 1 class 0x000b2=
0
>> >> [ =A0 =A00.047932] pci 0001:02:00.0: calling quirk_mmio_always_on+0x0=
/0x24
>> >> [ =A0 =A00.047941] pci 0001:02:00.0: ignoring class b20 (doesn't matc=
h
>> >> header type 01)
>> >> [ =A0 =A00.055166] pci 0001:02:00.0: calling
>> >> fixup_hide_host_resource_fsl+0x0/0x54
>> >> [ =A0 =A00.055177] pci 0001:02:00.0: calling
>> >> pcibios_fixup_resources+0x0/0x110
>> >> [ =A0 =A00.055188] pci 0001:02:00.0: calling
>> quirk_fsl_pcie_header+0x0/0x50
>> >> [ =A0 =A00.055202] pci 0001:02:00.0: calling
>> >> quirk_resource_alignment+0x0/0x19c
>> >> [ =A0 =A00.055215] pci 0001:02:00.0: supports D1 D2
>> >> [ =A0 =A00.055222] pci 0001:02:00.0: PME# supported from D0 D1 D2 D3h=
ot
>> >> D3cold
>> >> [ =A0 =A00.055230] pci 0001:02:00.0: PME# disabled
>> >> [ =A0 =A00.055254] pci_bus 0001:02: fixups for bus
>> >> [ =A0 =A00.055265] pci 0001:02:00.0: scanning [bus 01-01] behind brid=
ge,
>> pass
>> >> 0
>> >> [ =A0 =A00.055272] pci 0001:02:00.0: bus configuration invalid,
>> reconfiguring
>> >> [ =A0 =A00.055282] pci 0001:02:00.0: scanning [bus 00-00] behind brid=
ge,
>> pass
>> >> 1
>> >> [ =A0 =A00.055302] pci_bus 0001:03: scanning bus
>> >> [ =A0 =A00.055334] pci 0001:03:00.0: [1095:3132] type 0 class 0x00010=
4
>> >> [ =A0 =A00.055346] pci 0001:03:00.0: calling quirk_mmio_always_on+0x0=
/0x24
>> >> [ =A0 =A00.055376] pci 0001:03:00.0: reg 10: [mem 0xc0000000-0xc00000=
7f
>> >> 64bit]
>> >> [ =A0 =A00.055401] pci 0001:03:00.0: reg 18: [mem 0xc0004000-0xc0007f=
ff
>> >> 64bit]
>> >> [ =A0 =A00.055420] pci 0001:03:00.0: reg 20: [io =A00x1000-0x107f]
>> >> [ =A0 =A00.055448] pci 0001:03:00.0: reg 30: [mem 0x00000000-0x0007ff=
ff
>> pref]
>> >> [ =A0 =A00.055461] pci 0001:03:00.0: calling
>> >> pcibios_fixup_resources+0x0/0x110
>> >> [ =A0 =A00.055473] pci 0001:03:00.0: calling
>> >> quirk_resource_alignment+0x0/0x19c
>> >> [ =A0 =A00.055513] pci 0001:03:00.0: supports D1 D2
>> >> [ =A0 =A00.055537] pci 0001:03:00.0: disabling ASPM on pre-1.1 PCIe
>> >> device. =A0You can enable it with 'pcie_aspm=3Dforce'
>> >> [ =A0 =A00.065457] pci_bus 0001:03: fixups for bus
>> >> [ =A0 =A00.065464] pci 0001:02:00.0: PCI bridge to [bus 03-ff]
>> >> [ =A0 =A00.070655] pci 0001:02:00.0: =A0 bridge window [io =A00x0000-=
0x0000]
>> >> (disabled)
>> >> [ =A0 =A00.070664] pci 0001:02:00.0: =A0 bridge window [mem 0xc000000=
0-
>> >> 0xc00fffff]
>> >> [ =A0 =A00.070674] pci 0001:02:00.0: =A0 bridge window [mem
>> >> 0x10000000-0x000fffff pref] (disabled)
>> >> [ =A0 =A00.070707] pci_bus 0001:03: bus scan returning with max=3D03
>> >> [ =A0 =A00.070716] pci_bus 0001:02: bus scan returning with max=3D03
>> >> [ =A0 =A00.070891] PCI 0000:00 Cannot reserve Legacy IO [io =A00xff7e=
d000-
>> >> 0xff7edfff]
>> >> [ =A0 =A00.070900] PCI 0001:02 Cannot reserve Legacy IO [io =A00xff7d=
b000-
>> >> 0xff7dbfff]
>> >> [ =A0 =A00.070922] pci 0000:00:00.0: PCI bridge to [bus 01-01]
>> >> [ =A0 =A00.076063] pci 0000:00:00.0: =A0 bridge window [io =A00xff7ed=
000-
>> >> 0xff7fcfff]
>> >> [ =A0 =A00.082827] pci 0000:00:00.0: =A0 bridge window [mem 0xa000000=
0-
>> >> 0xbfffffff]
>> >> [ =A0 =A00.089596] pci 0000:00:00.0: =A0 bridge window [mem pref disa=
bled]
>> >> [ =A0 =A00.095676] pci 0000:00:00.0: enabling device (0106 -> 0107)
>> >> [ =A0 =A00.101321] pci 0001:02:00.0: BAR 9: can't assign mem pref (si=
ze
>> >> 0x100000)
>> >> [ =A0 =A00.108175] pci 0001:03:00.0: BAR 6: assigned [mem
>> >> 0xc0080000-0xc00fffff pref]
>> >> [ =A0 =A00.115377] pci 0001:02:00.0: PCI bridge to [bus 03-03]
>> >> [ =A0 =A00.120584] pci 0001:02:00.0: =A0 bridge window [io =A00xff7db=
000-
>> >> 0xff7eafff]
>> >> [ =A0 =A00.127355] pci 0001:02:00.0: =A0 bridge window [mem 0xc000000=
0-
>> >> 0xdfffffff]
>> >> [ =A0 =A00.134124] pci 0001:02:00.0: =A0 bridge window [mem pref disa=
bled]
>> >> [ =A0 =A00.140203] pci 0001:02:00.0: enabling device (0106 -> 0107)
>> >> [ =A0 =A00.145845] pci_bus 0000:00: resource 0 [io =A00xff7ed000-0xff=
7fcfff]
>> >> [ =A0 =A00.145854] pci_bus 0000:00: resource 1 [mem 0xa0000000-0xbfff=
ffff]
>> >> [ =A0 =A00.145863] pci_bus 0000:01: resource 0 [io =A00xff7ed000-0xff=
7fcfff]
>> >> [ =A0 =A00.145872] pci_bus 0000:01: resource 1 [mem 0xa0000000-0xbfff=
ffff]
>> >> [ =A0 =A00.145880] pci_bus 0001:02: resource 0 [io =A00xff7db000-0xff=
7eafff]
>> >> [ =A0 =A00.145889] pci_bus 0001:02: resource 1 [mem 0xc0000000-0xdfff=
ffff]
>> >> [ =A0 =A00.145897] pci_bus 0001:03: resource 0 [io =A00xff7db000-0xff=
7eafff]
>> >> [ =A0 =A00.145906] pci_bus 0001:03: resource 1 [mem 0xc0000000-0xdfff=
ffff]
>> >> [ =A0 =A00.145942] Registering qe_ic with sysfs...
>> >> [ =A0 =A00.149031] bio: create slab <bio-0> at 0
>> >> [ =A0 =A00.153197] vgaarb: loaded
>> >> [ =A0 =A00.156055] SCSI subsystem initialized
>> >> [ =A0 =A00.159772] libata version 3.00 loaded.
>> >> [ =A0 =A00.159905] usbcore: registered new interface driver usbfs
>> >> [ =A0 =A00.165357] usbcore: registered new interface driver hub
>> >> [ =A0 =A00.170666] usbcore: registered new device driver usb
>> >> [ =A0 =A00.175707] Freescale Elo / Elo Plus DMA driver
>> >> [ =A0 =A00.180293] Advanced Linux Sound Architecture Driver Version
>> 1.0.23.
>> >> [ =A0 =A00.186845] Switching to clocksource timebase
>> >> [ =A0 =A00.194746] NET: Registered protocol family 2
>> >> [ =A0 =A00.199032] Switched to NOHz mode on CPU #0
>> >> [ =A0 =A00.203314] IP route cache hash table entries: 4096 (order: 2,
>> 16384
>> >> bytes)
>> >> [ =A0 =A00.210610] TCP established hash table entries: 16384 (order: =
5,
>> >> 131072 bytes)
>> >> [ =A0 =A00.218015] TCP bind hash table entries: 16384 (order: 4, 6553=
6
>> bytes)
>> >> [ =A0 =A00.224585] TCP: Hash tables configured (established 16384 bin=
d
>> 16384)
>> >> [ =A0 =A00.231022] TCP reno registered
>> >> [ =A0 =A00.234149] UDP hash table entries: 256 (order: 0, 4096 bytes)
>> >> [ =A0 =A00.239974] UDP-Lite hash table entries: 256 (order: 0, 4096 b=
ytes)
>> >> [ =A0 =A00.246527] NET: Registered protocol family 1
>> >> [ =A0 =A00.251004] RPC: Registered udp transport module.
>> >> [ =A0 =A00.255632] RPC: Registered tcp transport module.
>> >> [ =A0 =A00.260308] RPC: Registered tcp NFSv4.1 backchannel transport
>> module.
>> >> [ =A0 =A00.266758] pci 0000:00:00.0: calling quirk_cardbus_legacy+0x0=
/0x50
>> >> [ =A0 =A00.266778] pci 0000:00:00.0: calling
>> >> quirk_usb_early_handoff+0x0/0x724
>> >> [ =A0 =A00.266794] pci 0001:02:00.0: calling quirk_cardbus_legacy+0x0=
/0x50
>> >> [ =A0 =A00.266804] pci 0001:02:00.0: calling
>> >> quirk_usb_early_handoff+0x0/0x724
>> >> [ =A0 =A00.266818] pci 0001:03:00.0: calling quirk_cardbus_legacy+0x0=
/0x50
>> >> [ =A0 =A00.266829] pci 0001:03:00.0: calling
>> >> quirk_usb_early_handoff+0x0/0x724
>> >> [ =A0 =A00.266839] PCI: CLS 32 bytes, default 32
>> >> [ =A0 =A00.267012] irq: irq 42 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 42
>> >> [ =A0 =A00.267213] irq: irq 19 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 19
>> >> [ =A0 =A00.267604] irq: irq 16 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 16
>> >> [ =A0 =A00.267761] irq: irq 43 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 43
>> >> [ =A0 =A00.268030] irq: irq 59 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 59
>> >> [ =A0 =A00.268323] irq: irq 20 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 20
>> >> [ =A0 =A00.268335] of:fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-
>> channel),
>> >> irq 20
>> >> [ =A0 =A00.275419] irq: irq 21 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 21
>> >> [ =A0 =A00.275430] of:fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-
>> channel),
>> >> irq 21
>> >> [ =A0 =A00.282530] irq: irq 22 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 22
>> >> [ =A0 =A00.282540] of:fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-
>> channel),
>> >> irq 22
>> >> [ =A0 =A00.289648] irq: irq 23 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 23
>> >> [ =A0 =A00.289659] of:fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-
>> channel),
>> >> irq 23
>> >> [ =A0 =A00.297270] irq: irq 28 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 28
>> >> [ =A0 =A00.297360] irq: irq 72 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 72
>> >> [ =A0 =A00.297450] irq: irq 45 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 45
>> >> [ =A0 =A00.297469] irq: irq 58 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 58
>> >> [ =A0 =A00.297630] irq: irq 224 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 224
>> >> [ =A0 =A00.297649] irq: irq 225 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 225
>> >> [ =A0 =A00.297668] irq: irq 226 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 226
>> >> [ =A0 =A00.297686] irq: irq 227 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 227
>> >> [ =A0 =A00.297705] irq: irq 228 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 228
>> >> [ =A0 =A00.297723] irq: irq 229 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 229
>> >> [ =A0 =A00.297742] irq: irq 230 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 230
>> >> [ =A0 =A00.297760] irq: irq 231 on host /soc@ffe00000/pic@40000 mappe=
d to
>> >> virtual irq 231
>> >> [ =A0 =A00.297849] Setting up Freescale MSI support
>> >> [ =A0 =A00.298123] audit: initializing netlink socket (disabled)
>> >> [ =A0 =A00.303462] type=3D2000 audit(0.236:1): initialized
>> >> [ =A0 =A00.314074] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>> >> [ =A0 =A00.320368] Installing knfsd (copyright (C) 1996
>> okir@monad.swb.de).
>> >> [ =A0 =A00.326841] NTFS driver 2.1.30 [Flags: R/O].
>> >> [ =A0 =A00.331296] JFFS2 version 2.2. (NAND) =A9 2001-2006 Red Hat, I=
nc.
>> >> [ =A0 =A00.337596] msgmni has been set to 1001
>> >> [ =A0 =A00.341965] Block layer SCSI generic (bsg) driver version 0.4
>> >> loaded (major 253)
>> >> [ =A0 =A00.349288] io scheduler noop registered (default)
>> >> [ =A0 =A00.431003] Serial: 8250/16550 driver, 2 ports, IRQ sharing en=
abled
>> >> [ =A0 =A00.438061] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq =3D 42=
) is a
>> >> 16550A
>> >> [ =A0 =A00.444791] console [ttyS0] enabled, bootconsole disabled
>> >> [ =A0 =A00.456105] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq =3D 42=
) is a
>> >> 16550A
>> >> [ =A0 =A00.463482] Generic non-volatile memory driver v1.1
>> >> [ =A0 =A00.470831] brd: module loaded
>> >> [ =A0 =A00.475184] loop: module loaded
>> >> [ =A0 =A00.478439] nbd: registered device at major 43
>> >> [ =A0 =A00.485462] st: Version 20101219, fixed bufsize 32768, s/g seg=
s 256
>> >> [ =A0 =A00.492145] sata_sil24 0001:03:00.0: version 1.1 built on Apr =
=A08
>> >> 2011 11:00:08
>> >> [ =A0 =A00.492182] ata_host_alloc: ENTER
>> >> [ =A0 =A00.495504] ata_port_alloc: ENTER
>> >> [ =A0 =A00.498821] ata_port_alloc: ENTER
>> >> [ =A0 =A00.502525] __ata_port_freeze: ata4294967295 port frozen
>> >> [ =A0 =A00.508187] __ata_port_freeze: ata4294967295 port frozen
>> >> [ =A0 =A00.513580] ------------[ cut here ]------------
>> >> [ =A0 =A00.518188] WARNING: at drivers/ata/libata-core.c:6082
>> >> [ =A0 =A00.523316] Modules linked in:
>> >> [ =A0 =A00.526364] NIP: c02876b0 LR: c0287690 CTR: c0248934
>> >> [ =A0 =A00.531323] REGS: df837d00 TRAP: 0700 =A0 Not tainted =A0(2.6.=
38)
>> >> [ =A0 =A00.537058] MSR: 00029000 <EE,ME,CE> =A0CR: 20424022 =A0XER: 2=
0000000
>> >> [ =A0 =A00.543158] TASK =3D df838000[1] 'swapper' THREAD: df836000
>> >> [ =A0 =A00.548373] GPR00: 00000001 df837db0 df838000 00000000 00003cb=
6
>> >> ffffffff c0249690 00080000
>> >> [ =A0 =A00.556736] GPR08: c073b9bc ffffffff 0007ffff 00003cb6 2042402=
2
>> >> 66013a2a 1ff91d00 c056c170
>> >> [ =A0 =A00.565097] GPR16: c0546e94 00000001 00002040 00000400 0000000=
8
>> >> 0000020c e109e040 df807060
>> >> [ =A0 =A00.573459] GPR24: dfa58490 c06160d8 00000080 c029fc0c 0000000=
0
>> >> c07d4a58 dfa58490 00000000
>> >> [ =A0 =A00.582013] NIP [c02876b0] ata_host_activate+0x48/0x11c
>> >> [ =A0 =A00.587232] LR [c0287690] ata_host_activate+0x28/0x11c
>> >> [ =A0 =A00.592360] Call Trace:
>> >> [ =A0 =A00.594801] [df837db0] [c0287690] ata_host_activate+0x28/0x11c
>> >> (unreliable)
>> >> [ =A0 =A00.601771] [df837de0] [c029faf8] sil24_init_one+0x420/0x534
>> >> [ =A0 =A00.607428] [df837e60] [c021d73c] local_pci_probe+0x24/0x34
>> >> [ =A0 =A00.612997] [df837e70] [c021d984] pci_device_probe+0x84/0xa8
>> >> [ =A0 =A00.618652] [df837ea0] [c0258a44] driver_probe_device+0xa8/0x1=
c8
>> >> [ =A0 =A00.624653] [df837ec0] [c0258c20] __driver_attach+0xbc/0xc0
>> >> [ =A0 =A00.630231] [df837ee0] [c02580ec] bus_for_each_dev+0x70/0xac
>> >> [ =A0 =A00.635885] [df837f10] [c0258844] driver_attach+0x24/0x34
>> >> [ =A0 =A00.641281] [df837f20] [c0257864] bus_add_driver+0xc4/0x294
>> >> [ =A0 =A00.646849] [df837f50] [c0258f98] driver_register+0x84/0x178
>> >> [ =A0 =A00.652504] [df837f70] [c021dc08] __pci_register_driver+0x4c/0=
xdc
>> >> [ =A0 =A00.658597] [df837f90] [c05ddfe4] sil24_init+0x24/0x34
>> >> [ =A0 =A00.663733] [df837fa0] [c0001dc0] do_one_initcall+0x34/0x1c8
>> >> [ =A0 =A00.669388] [df837fd0] [c05c11ec] kernel_init+0xcc/0x174
>> >> [ =A0 =A00.674696] [df837ff0] [c000cf98] kernel_thread+0x4c/0x68
>> >> [ =A0 =A00.680086] Instruction dump:
>> >> [ =A0 =A00.683045] 7cda3378 7cf93b78 7c7e1b78 4bfffc91 7c7f1b79 40820=
0d8
>> >> 2f9c0000 409e0034
>> >> [ =A0 =A00.690798] 7f69fe70 7d20da78 7c004850 54000ffe <0f000000> 800=
10034
>> >> 7fc3f378 7f24cb78
>> >> [ =A0 =A00.698738] ---[ end trace ab638653f78364ad ]---
>> >> [ =A0 =A00.703813] scsi0 : sata_sil24
>> >> [ =A0 =A00.707083] scsi1 : sata_sil24
>> >> [ =A0 =A00.710242] ata1: SATA max UDMA/100 host m128@0xc0000000 port
>> >> 0xc0004000
>> >> [ =A0 =A00.716951] ata2: SATA max UDMA/100 host m128@0xc0000000 port
>> >> 0xc0006000
>> >> [ =A0 =A00.724592] ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit
>> >> bank. Manufacturer ID 0x000001 Chip ID 0x002101
>> >> [ =A0 =A00.734612] Amd/Fujitsu Extended Query Table at 0x0040
>> >> [ =A0 =A00.739787] =A0 Amd/Fujitsu Extended Query version 1.3.
>> >> [ =A0 =A00.744839] number of CFI chips: 1
>> >> [ =A0 =A00.748325] ata_port_schedule_eh: port EH scheduled
>> >> [ =A0 =A00.753217] ata_scsi_error: ENTER
>> >> [ =A0 =A00.756539] ata_eh_link_autopsy: ENTER
>> >> [ =A0 =A00.760286] ata_eh_recover: ENTER
>> >> [ =A0 =A00.763606] __ata_port_freeze: ata1 port frozen
>> >> [ =A0 =A00.768317] RedBoot partition parsing not available
>> >> [ =A0 =A00.773212] Creating 5 MTD partitions on "ef000000.nor":
>> >> [ =A0 =A00.778526] 0x000000000000-0x000000040000 : "NOR (RO) Vitesse-=
7385
>> >> Firmware"
>> >> [ =A0 =A00.786280] 0x000000040000-0x000000080000 : "NOR (RO) DTB Imag=
e"
>> >> [ =A0 =A00.792876] 0x000000080000-0x000000400000 : "NOR (RO) Linux Ke=
rnel
>> >> Image"
>> >> [ =A0 =A00.800257] 0x000000400000-0x000000f00000 : "NOR (RW) JFFS2 Ro=
ot
>> File
>> >> System"
>> >> [ =A0 =A00.808001] 0x000000f00000-0x000001000000 : "NOR (RO) U-Boot I=
mage"
>> >> [ =A0 =A00.815110] fsl-lbc ffe05000.localbus: read_byte beyond end of
>> buffer
>> >> [ =A0 =A00.821564] fsl-lbc ffe05000.localbus: read_byte beyond end of
>> buffer
>> >> [ =A0 =A00.828002] fsl-lbc ffe05000.localbus: read_byte beyond end of
>> buffer
>> >> [ =A0 =A00.834443] NAND device: Manufacturer ID: 0xec, Chip ID: 0x75
>> >> (Samsung NAND 32MiB 3,3V 8-bit)
>> >> [ =A0 =A00.843174] Bad block table found at page 65504, version 0x01
>> >> [ =A0 =A00.843513] Bad block table found at page 65472, version 0x01
>> >> [ =A0 =A00.843876] RedBoot partition parsing not available
>> >> [ =A0 =A00.848772] Creating 6 MTD partitions on "ffa00000.flash":
>> >> [ =A0 =A00.854259] 0x000000000000-0x000000100000 : "NAND (RO) U-Boot
>> Image"
>> >> [ =A0 =A00.861299] 0x000000100000-0x000000200000 : "NAND (RO) DTB Ima=
ge"
>> >> [ =A0 =A00.868010] 0x000000200000-0x000000600000 : "NAND (RO) Linux K=
ernel
>> >> Image"
>> >> [ =A0 =A00.875530] 0x000000600000-0x000000a00000 : "NAND (RO) Compres=
sed
>> RFS
>> >> Image"
>> >> [ =A0 =A00.883216] 0x000000a00000-0x000001100000 : "NAND (RW) JFFS2 R=
oot
>> >> File System"
>> >> [ =A0 =A00.891042] 0x000001100000-0x000002000000 : "NAND (RW) Writabl=
e
>> User
>> >> area"
>> >> [ =A0 =A00.898571] eLBC NAND device at 0xffa00000, bank 1
>> >> [ =A0 =A00.904384] Fixed MDIO Bus: probed
>> >> [ =A0 =A00.907964] irq: irq 29 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 29
>> >> [ =A0 =A00.907986] irq: irq 30 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 30
>> >> [ =A0 =A00.908005] irq: irq 34 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 34
>> >> [ =A0 =A00.908035] irq: irq 17 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 17
>> >> [ =A0 =A00.908054] irq: irq 18 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 18
>> >> [ =A0 =A00.908074] irq: irq 24 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 24
>> >> [ =A0 =A00.908588] eth0: Gianfar Ethernet Controller Version 1.2,
>> >> 00:04:9f:01:1f:49
>> >> [ =A0 =A00.915646] eth0: Running with NAPI enabled
>> >> [ =A0 =A00.919826] eth0: RX BD ring size for Q[0]: 256
>> >> [ =A0 =A00.924353] eth0: RX BD ring size for Q[1]: 256
>> >> [ =A0 =A00.928879] eth0: RX BD ring size for Q[2]: 256
>> >> [ =A0 =A00.933406] eth0: RX BD ring size for Q[3]: 256
>> >> [ =A0 =A00.937932] eth0: RX BD ring size for Q[4]: 256
>> >> [ =A0 =A00.942458] eth0: RX BD ring size for Q[5]: 256
>> >> [ =A0 =A00.946984] eth0: RX BD ring size for Q[6]: 256
>> >> [ =A0 =A00.951512] eth0: RX BD ring size for Q[7]: 256
>> >> [ =A0 =A00.956037] eth0: TX BD ring size for Q[0]: 256
>> >> [ =A0 =A00.960564] eth0: TX BD ring size for Q[1]: 256
>> >> [ =A0 =A00.965090] eth0: TX BD ring size for Q[2]: 256
>> >> [ =A0 =A00.969616] eth0: TX BD ring size for Q[3]: 256
>> >> [ =A0 =A00.974143] eth0: TX BD ring size for Q[4]: 256
>> >> [ =A0 =A00.978668] eth0: TX BD ring size for Q[5]: 256
>> >> [ =A0 =A00.983197] eth0: TX BD ring size for Q[6]: 256
>> >> [ =A0 =A00.987725] eth0: TX BD ring size for Q[7]: 256
>> >> [ =A0 =A00.992327] irq: irq 35 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 35
>> >> [ =A0 =A00.992348] irq: irq 36 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 36
>> >> [ =A0 =A00.992367] irq: irq 40 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 40
>> >> [ =A0 =A00.992397] irq: irq 51 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 51
>> >> [ =A0 =A00.992417] irq: irq 52 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 52
>> >> [ =A0 =A00.992436] irq: irq 67 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 67
>> >> [ =A0 =A00.992938] eth1: Gianfar Ethernet Controller Version 1.2,
>> >> 00:04:9f:01:1f:4a
>> >> [ =A0 =A00.999992] eth1: Running with NAPI enabled
>> >> [ =A0 =A01.004172] eth1: RX BD ring size for Q[0]: 256
>> >> [ =A0 =A01.008699] eth1: RX BD ring size for Q[1]: 256
>> >> [ =A0 =A01.013226] eth1: RX BD ring size for Q[2]: 256
>> >> [ =A0 =A01.017753] eth1: RX BD ring size for Q[3]: 256
>> >> [ =A0 =A01.022280] eth1: RX BD ring size for Q[4]: 256
>> >> [ =A0 =A01.026806] eth1: RX BD ring size for Q[5]: 256
>> >> [ =A0 =A01.031333] eth1: RX BD ring size for Q[6]: 256
>> >> [ =A0 =A01.035860] eth1: RX BD ring size for Q[7]: 256
>> >> [ =A0 =A01.040387] eth1: TX BD ring size for Q[0]: 256
>> >> [ =A0 =A01.044914] eth1: TX BD ring size for Q[1]: 256
>> >> [ =A0 =A01.049441] eth1: TX BD ring size for Q[2]: 256
>> >> [ =A0 =A01.053967] eth1: TX BD ring size for Q[3]: 256
>> >> [ =A0 =A01.058495] eth1: TX BD ring size for Q[4]: 256
>> >> [ =A0 =A01.063022] eth1: TX BD ring size for Q[5]: 256
>> >> [ =A0 =A01.067552] eth1: TX BD ring size for Q[6]: 256
>> >> [ =A0 =A01.072079] eth1: TX BD ring size for Q[7]: 256
>> >> [ =A0 =A01.076679] irq: irq 31 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 31
>> >> [ =A0 =A01.076700] irq: irq 32 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 32
>> >> [ =A0 =A01.076719] irq: irq 33 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 33
>> >> [ =A0 =A01.076748] irq: irq 25 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 25
>> >> [ =A0 =A01.076768] irq: irq 26 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 26
>> >> [ =A0 =A01.076787] irq: irq 27 on host /soc@ffe00000/pic@40000 mapped=
 to
>> >> virtual irq 27
>> >> [ =A0 =A01.077315] eth2: Gianfar Ethernet Controller Version 1.2,
>> >> 00:04:9f:01:1f:4b
>> >> [ =A0 =A01.084370] eth2: Running with NAPI enabled
>> >> [ =A0 =A01.088551] eth2: RX BD ring size for Q[0]: 256
>> >> [ =A0 =A01.093077] eth2: RX BD ring size for Q[1]: 256
>> >> [ =A0 =A01.097604] eth2: RX BD ring size for Q[2]: 256
>> >> [ =A0 =A01.102130] eth2: RX BD ring size for Q[3]: 256
>> >> [ =A0 =A01.106657] eth2: RX BD ring size for Q[4]: 256
>> >> [ =A0 =A01.111184] eth2: RX BD ring size for Q[5]: 256
>> >> [ =A0 =A01.115712] eth2: RX BD ring size for Q[6]: 256
>> >> [ =A0 =A01.120238] eth2: RX BD ring size for Q[7]: 256
>> >> [ =A0 =A01.124765] eth2: TX BD ring size for Q[0]: 256
>> >> [ =A0 =A01.129291] eth2: TX BD ring size for Q[1]: 256
>> >> [ =A0 =A01.133818] eth2: TX BD ring size for Q[2]: 256
>> >> [ =A0 =A01.138344] eth2: TX BD ring size for Q[3]: 256
>> >> [ =A0 =A01.142871] eth2: TX BD ring size for Q[4]: 256
>> >> [ =A0 =A01.147398] eth2: TX BD ring size for Q[5]: 256
>> >> [ =A0 =A01.151925] eth2: TX BD ring size for Q[6]: 256
>> >> [ =A0 =A01.156452] eth2: TX BD ring size for Q[7]: 256
>> >> [ =A0 =A01.161023] ucc_geth: QE UCC Gigabit Ethernet Controller
>> >> [ =A0 =A01.166721] Freescale PowerQUICC MII Bus: probed
>> >> [ =A0 =A01.171369] irq: irq 3 on host /soc@ffe00000/pic@40000 mapped =
to
>> >> virtual irq 37
>> >> [ =A0 =A01.171760] irq: irq 2 on host /soc@ffe00000/pic@40000 mapped =
to
>> >> virtual irq 38
>> >> [ =A0 =A01.172142] Freescale PowerQUICC MII Bus: probed
>> >> [ =A0 =A01.178127] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI=
)
>> Driver
>> >> [ =A0 =A01.184817] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Dr=
iver
>> >> [ =A0 =A01.191162] /soc@ffe00000/usb@22000: Invalid 'dr_mode' propert=
y,
>> >> fallback to host mode
>> >> [ =A0 =A01.199169] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host
>> >> Controller
>> >> [ =A0 =A01.205996] fsl-ehci fsl-ehci.0: new USB bus registered, assig=
ned
>> >> bus number 1
>> >> [ =A0 =A01.235156] fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000
>> >> [ =A0 =A01.251134] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
>> >> [ =A0 =A01.257090] hub 1-0:1.0: USB hub found
>> >> [ =A0 =A01.260860] hub 1-0:1.0: 1 port detected
>> >> [ =A0 =A01.264959] Initializing USB Mass Storage driver...
>> >> [ =A0 =A01.269918] usbcore: registered new interface driver usb-stora=
ge
>> >> [ =A0 =A01.275929] USB Mass Storage support registered.
>> >> [ =A0 =A01.280797] of:mpc-i2c ffe03000.i2c: timeout 1000000 us
>> >> [ =A0 =A01.286321] of:mpc-i2c ffe03100.i2c: timeout 1000000 us
>> >> [ =A0 =A01.291698] EDAC MC: Ver: 2.1.0 Apr =A08 2011
>> >> [ =A0 =A01.295999] Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavi=
sta
>> >> Software
>> >> [ =A0 =A01.303043] mpc85xx_mc_err_probe: No ECC DIMMs discovered
>> >> [ =A0 =A01.308913] EDAC DEVICE0: Giving out device to module
>> >> 'MPC85xx_edac' controller 'mpc85xx_l2_err': DEV 'mpc85xx_l2_err'
>> >> (INTERRUPT)
>> >> [ =A0 =A01.320684] MPC85xx_edac acquired irq 16 for L2 Err
>> >> [ =A0 =A01.325561] MPC85xx_edac L2 err registered
>> >> [ =A0 =A01.329874] sdhci: Secure Digital Host Controller Interface dr=
iver
>> >> [ =A0 =A01.336056] sdhci: Copyright(c) Pierre Ossman
>> >> [ =A0 =A01.340590] mmc0: SDHCI controller on ffe2e000.sdhci
>> >> [ffe2e000.sdhci] using DMA
>> >> [ =A0 =A01.348286] of:talitos ffe30000.crypto: hwrng
>> >> [ =A0 =A01.352766] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-=
aes-
>> >> talitos
>> >> [ =A0 =A01.359618] of:talitos ffe30000.crypto: authenc-hmac-sha1-cbc-=
3des-
>> >> talitos
>> >> [ =A0 =A01.366583] of:talitos ffe30000.crypto: authenc-hmac-sha256-cb=
c-
>> aes-
>> >> talitos
>> >> [ =A0 =A01.473638] of:talitos ffe30000.crypto: authenc-hmac-sha256-cb=
c-
>> 3des-
>> >> talitos
>> >> [ =A0 =A01.480747] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-a=
es-
>> >> talitos
>> >> [ =A0 =A01.487513] of:talitos ffe30000.crypto: authenc-hmac-md5-cbc-3=
des-
>> >> talitos
>> >> [ =A0 =A01.494358] of:talitos ffe30000.crypto: cbc-aes-talitos
>> >> [ =A0 =A01.499643] of:talitos ffe30000.crypto: cbc-3des-talitos
>> >> [ =A0 =A01.505015] of:talitos ffe30000.crypto: md5-talitos
>> >> [ =A0 =A01.509952] of:talitos ffe30000.crypto: sha1-talitos
>> >> [ =A0 =A01.514976] of:talitos ffe30000.crypto: sha224-talitos
>> >> [ =A0 =A01.520174] of:talitos ffe30000.crypto: sha256-talitos
>> >> [ =A0 =A01.525372] of:talitos ffe30000.crypto: sha384-talitos
>> >> [ =A0 =A01.530573] of:talitos ffe30000.crypto: sha512-talitos
>> >> [ =A0 =A01.536275] usbcore: registered new interface driver usbhid
>> >> [ =A0 =A01.541850] usbhid: USB HID core driver
>> >> [ =A0 =A01.545983] ALSA device list:
>> >> [ =A0 =A01.548958] =A0 No soundcards found.
>> >> [ =A0 =A01.553108] IPv4 over IPv4 tunneling driver
>> >> [ =A0 =A01.557922] TCP cubic registered
>> >> [ =A0 =A01.561155] Initializing XFRM netlink socket
>> >> [ =A0 =A01.565847] NET: Registered protocol family 10
>> >> [ =A0 =A01.574266] IPv6 over IPv4 tunneling driver
>> >> [ =A0 =A01.579967] NET: Registered protocol family 17
>> >> [ =A0 =A01.584454] Registering the dns_resolver key type
>> >> [ =A0 =A01.590372] drivers/rtc/hctosys.c: unable to open rtc device (=
rtc0)
>> >> [ =A0 =A02.102073] ADDRCONF(NETDEV_UP): eth0: link is not ready
>> >> [ =A0 =A02.939140] sil24_softreset: ENTER
>> >> [ =A0 =A02.955143] ata_dev_classify: found ATA device by sig
>> >> [ =A0 =A02.960194] sil24_softreset: EXIT, class=3D1
>> >> [ =A0 =A02.964295] ata_eh_thaw_port: ata1 port thawed
>> >> [ =A0 =A02.968734] ata_std_postreset: ENTER
>> >> [ =A0 =A02.972314] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl =
0)
>> >> [ =A0 =A02.978315] ata_std_postreset: EXIT
>> >> [ =A0 =A02.981804] ata_eh_revalidate_and_attach: ENTER
>> >> [ =A0 =A02.986333] ata1.00: ata_dev_read_id: ENTER
>> >> [ =A0 =A02.986342] ata_sg_setup: ENTER, ata1
>> >> [ =A0 =A02.989996] ata_sg_setup: 1 sg elements mapped
>> >> [ =A0 =A02.994431] max_sge now 1
>> >> [ =A0 =A02.997041] max_sge now 1
>> >> [ =A0 =A03.147167] IP-Config: Guessing netmask 255.255.255.0
>> >> [ =A0 =A03.152315] IP-Config: Complete:
>> >> [ =A0 =A03.155546] =A0 =A0 =A0device=3Deth0, addr=3D192.168.0.20,
>> >> mask=3D255.255.255.0, gw=3D255.255.255.255,
>> >> [ =A0 =A03.163391] =A0 =A0 =A0host=3DP1020RDB, domain=3D, nis-domain=
=3D(none),
>> >> [ =A0 =A03.168962] =A0 =A0 =A0bootserver=3D192.168.0.7, rootserver=3D=
192.168.0.7,
>> >> rootpath=3D
>> >> [ =A0 =A04.147148] PHY: 0:01 - Link is Up - 1000/Full
>> >> [ =A0 =A04.151702] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>> >> [ =A0 =A07.999132] __ata_port_freeze: ata1 port frozen
>> >> [ =A0 =A08.003672] ata_sg_clean: unmapping 1 sg elements
>> >> [ =A0 =A08.008369] ata1.00: qc timeout (cmd 0xec)
>> >> [ =A0 =A08.012474] ata1.00: failed to IDENTIFY (I/O error, err_mask=
=3D0x4)
>> >> [ =A0 =A08.018566] ata_eh_revalidate_and_attach: EXIT rc=3D-5
>> >> [ =A0 =A08.023534] __ata_port_freeze: ata1 port frozen
>> >> [ =A0 10.167138] sil24_softreset: ENTER
>> >> [ =A0 10.183147] ata_dev_classify: found ATA device by sig
>> >> [ =A0 10.188197] sil24_softreset: EXIT, class=3D1
>> >> [ =A0 10.192298] ata_eh_thaw_port: ata1 port thawed
>> >> [ =A0 10.196737] ata_std_postreset: ENTER
>> >> [ =A0 10.200316] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
>> >> [ =A0 10.206318] ata_std_postreset: EXIT
>> >> [ =A0 10.209806] ata_eh_revalidate_and_attach: ENTER
>> >> [ =A0 10.214335] ata1.00: ata_dev_read_id: ENTER
>> >> [ =A0 10.214344] ata_sg_setup: ENTER, ata1
>> >> [ =A0 10.217998] ata_sg_setup: 1 sg elements mapped
>> >> [ =A0 14.539135] eth0: no IPv6 routers present
>> >> [ =A0 20.219208] __ata_port_freeze: ata1 port frozen
>> >> [ =A0 20.223743] ata_sg_clean: unmapping 1 sg elements
>> >> [ =A0 20.228439] ata1.00: qc timeout (cmd 0xec)
>> >> [ =A0 20.232540] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0=
x4)
>> >> [ =A0 20.238631] ata_eh_revalidate_and_attach: EXIT rc=3D-5
>> >> [ =A0 20.243600] ata1: limiting SATA link speed to 1.5 Gbps
>> >> [ =A0 20.248739] __ata_port_freeze: ata1 port frozen
>> >> [ =A0 22.447139] sil24_softreset: ENTER
>> >> [ =A0 22.463149] ata_dev_classify: found ATA device by sig
>> >> [ =A0 22.468199] sil24_softreset: EXIT, class=3D1
>> >> [ =A0 22.472300] ata_eh_thaw_port: ata1 port thawed
>> >> [ =A0 22.476739] ata_std_postreset: ENTER
>> >> [ =A0 22.480318] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10=
)
>> >> [ =A0 22.486406] ata_std_postreset: EXIT
>> >> [ =A0 22.489893] ata_eh_revalidate_and_attach: ENTER
>> >> [ =A0 22.494421] ata1.00: ata_dev_read_id: ENTER
>> >> [ =A0 22.494428] ata_sg_setup: ENTER, ata1
>> >> [ =A0 22.498080] ata_sg_setup: 1 sg elements mapped
>> >> [ =A0 52.499142] __ata_port_freeze: ata1 port frozen
>> >> [ =A0 52.503678] ata_sg_clean: unmapping 1 sg elements
>> >> [ =A0 52.508374] ata1.00: qc timeout (cmd 0xec)
>> >> [ =A0 52.512477] ata1.00: failed to IDENTIFY (I/O error, err_mask=3D0=
x4)
>> >> [ =A0 52.518570] ata_eh_revalidate_and_attach: EXIT rc=3D-5
>> >> [ =A0 52.523536] __ata_port_freeze: ata1 port frozen
>> >> [ =A0 54.739148] sil24_softreset: ENTER
>> >> [ =A0 54.755149] ata_dev_classify: found ATA device by sig
>> >> [ =A0 54.760209] sil24_softreset: EXIT, class=3D1
>> >> [ =A0 54.764312] ata_eh_thaw_port: ata1 port thawed
>> >> [ =A0 54.768751] ata_std_postreset: ENTER
>> >> [ =A0 54.772330] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 10=
)
>> >> [ =A0 54.778419] ata_std_postreset: EXIT
>> >> [ =A0 54.781906] ata_eh_revalidate_and_attach: ENTER
>> >> [ =A0 54.786435] ata_eh_recover: EXIT, rc=3D0
>> >> [ =A0 54.790184] ata_scsi_error: EXIT
>> >> [ =A0 54.793440] ata_port_schedule_eh: port EH scheduled
>> >> [ =A0 54.798330] ata_scsi_error: ENTER
>> >> [ =A0 54.801651] ata_eh_link_autopsy: ENTER
>> >> [ =A0 54.805398] ata_eh_recover: ENTER
>> >> [ =A0 54.808717] __ata_port_freeze: ata2 port frozen
>> >> [ =A0 56.883149] ata_eh_thaw_port: ata2 port thawed
>> >> [ =A0 56.887593] ata_std_postreset: ENTER
>> >> [ =A0 56.891171] ata2: SATA link down (SStatus 0 SControl 0)
>> >> [ =A0 56.896392] ata_std_postreset: EXIT
>> >> [ =A0 56.899880] ata_eh_revalidate_and_attach: ENTER
>> >> [ =A0 56.904409] ata_eh_recover: EXIT, rc=3D0
>> >> [ =A0 56.908157] ata_scsi_error: EXIT
>> >> [ =A0 56.931100] VFS: Mounted root (nfs filesystem) on device 0:15.
>> >> [ =A0 56.937349] devtmpfs: mounted
>> >> [ =A0 56.940365] Freeing unused kernel memory: 220k init
>> >>
>> >>
>> >> [ =A0 =A00.518188] WARNING: at drivers/ata/libata-core.c:6082
>> >>
>> >> which means that pdev->irq is 0
>> >>
>> >> lspci -vvvn:
>> >>
>> >> root@p1020rdb:~# lspci -nvv
>> >> 0000:00:00.0 0604: 1957:0100 (rev 10)
>> >> =A0 =A0 =A0 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoo=
p-
>> ParErr-
>> >> Stepping- SERR+ FastB2B- DisINTx-
>> >> =A0 =A0 =A0 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >=
TAbort-
>> >> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> >> =A0 =A0 =A0 Latency: 0
>> >> =A0 =A0 =A0 Region 0: Memory at <ignored> (32-bit, non-prefetchable)
>> >> =A0 =A0 =A0 Bus: primary=3D00, secondary=3D01, subordinate=3D01, sec-=
latency=3D0
>> >> =A0 =A0 =A0 I/O behind bridge: 00000000-00000fff
>> >> =A0 =A0 =A0 Memory behind bridge: a0000000-bfffffff
>> >> =A0 =A0 =A0 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=3Dfast >=
TAbort-
>> >> <TAbort- <MAbort- <SERR- <PERR-
>> >> =A0 =A0 =A0 BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- Fast=
B2B-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 PriDiscTmr- SecDiscTmr- DiscTmrStat- Disc=
TmrSERREn-
>> >> =A0 =A0 =A0 Capabilities: [44] Power Management version 2
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D=
0mA
>> >> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D=
0 PME-
>> >> =A0 =A0 =A0 Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 256 bytes, PhantFunc 0=
, Latency L0s
>> >> <64ns, L1 <1us
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- RBE- FLReset-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-F=
atal+ Fatal+
>> >> Unsupported+
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd+ ExtTag- PhantFun=
c- AuxPwr- NoSnoop+
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, Max=
ReadReq 512 bytes
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Uns=
uppReq- AuxPwr-
>> >> TransPend-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x4,=
 ASPM L0s,
>> >> Latency L0 <2us,
>> >> L1 unlimited
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActR=
ep- BwNot-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 128 bytes Disa=
bled- Retrain-
>> >> CommClk-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWid=
Dis- BWInt- AutBWInt-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- T=
rain- SlotClk-
>> >> DLActive-
>> >> BWMgmt- ABWMgmt-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCtl: ErrCorrectable- ErrNon-Fatal- Er=
rFatal-
>> PMEIntEna-
>> >> CRSVisible-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCap: CRSVisible-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootSta: PME ReqID 0000, PMEStatus- PMEPe=
nding-
>> >> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- Cmp=
ltAbrt-
>> >> UnxCmplt- RxOF+
>> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ =
CGenEn- ChkCap+
>> >> ChkEn-
>> >> =A0 =A0 =A0 Kernel driver in use: pcieport
>> >>
>> >> 0001:02:00.0 0604: 1957:0100 (rev 10)
>> >> =A0 =A0 =A0 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoo=
p-
>> ParErr-
>> >> Stepping- SERR+ FastB2B- DisINTx-
>> >> =A0 =A0 =A0 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >=
TAbort-
>> >> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> >> =A0 =A0 =A0 Latency: 0, Cache Line Size: 32 bytes
>> >> =A0 =A0 =A0 Region 0: Memory at <ignored> (32-bit, non-prefetchable)
>> >> =A0 =A0 =A0 Bus: primary=3D00, secondary=3D03, subordinate=3D03, sec-=
latency=3D0
>> >> =A0 =A0 =A0 I/O behind bridge: 00000000-00000fff
>> >> =A0 =A0 =A0 Memory behind bridge: c0000000-dfffffff
>> >> =A0 =A0 =A0 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=3Dfast >=
TAbort-
>> >> <TAbort- <MAbort- <SERR- <PERR-
>> >> =A0 =A0 =A0 BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- Fast=
B2B-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 PriDiscTmr- SecDiscTmr- DiscTmrStat- Disc=
TmrSERREn-
>> >> =A0 =A0 =A0 Capabilities: [44] Power Management version 2
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=3D=
0mA
>> >> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D=
0 PME-
>> >> =A0 =A0 =A0 Capabilities: [4c] Express (v1) Root Port (Slot-), MSI 00
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 256 bytes, PhantFunc 0=
, Latency L0s
>> >> <64ns, L1 <1us
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- RBE- FLReset-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-F=
atal+ Fatal+
>> >> Unsupported+
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd+ ExtTag- PhantFun=
c- AuxPwr- NoSnoop+
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, Max=
ReadReq 512 bytes
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Uns=
uppReq- AuxPwr-
>> >> TransPend-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x4,=
 ASPM L0s,
>> >> Latency L0 <2us,
>> >> L1 unlimited
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActR=
ep- BwNot-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 128 bytes Disa=
bled- Retrain-
>> >> CommClk-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWid=
Dis- BWInt- AutBWInt-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- T=
rain- SlotClk-
>> >> DLActive-
>> >> BWMgmt- ABWMgmt-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCtl: ErrCorrectable- ErrNon-Fatal- Er=
rFatal-
>> PMEIntEna-
>> >> CRSVisible-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootCap: CRSVisible-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 RootSta: PME ReqID 0000, PMEStatus- PMEPe=
nding-
>> >> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- Cmp=
ltAbrt-
>> >> UnxCmplt- RxOF+
>> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ =
CGenEn- ChkCap+
>> >> ChkEn-
>> >> =A0 =A0 =A0 Kernel driver in use: pcieport
>> >>
>> >> 0001:03:00.0 0104: 1095:3132 (rev 01)
>> >> =A0 =A0 =A0 Subsystem: 1095:7132
>> >> =A0 =A0 =A0 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoo=
p-
>> ParErr-
>> >> Stepping- SERR- FastB2B- DisINTx-
>> >> =A0 =A0 =A0 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=3Dfast >=
TAbort-
>> >> <TAbort- <MAbort- >SERR- <PERR- INTx-
>> >> =A0 =A0 =A0 Latency: 0, Cache Line Size: 32 bytes
>> >> =A0 =A0 =A0 Interrupt: pin A routed to IRQ 0
>> >> =A0 =A0 =A0 Region 0: Memory at c0000000 (64-bit, non-prefetchable)
>> [size=3D128]
>> >> =A0 =A0 =A0 Region 2: Memory at c0004000 (64-bit, non-prefetchable)
>> [size=3D16K]
>> >> =A0 =A0 =A0 Region 4: I/O ports at 1000 [size=3D128]
>> >> =A0 =A0 =A0 [virtual] Expansion ROM at c0080000 [disabled] [size=3D51=
2K]
>> >> =A0 =A0 =A0 Capabilities: [54] Power Management version 2
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=3D=
0mA PME(D0-,D1-
>> ,D2-
>> >> ,D3hot-,D3cold-)
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D=
1 PME-
>> >> =A0 =A0 =A0 Capabilities: [5c] MSI: Mask- 64bit+ Count=3D1/1 Enable-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Address: 0000000000000000 =A0Data: 0000
>> >> =A0 =A0 =A0 Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 1024 bytes, PhantFunc =
0, Latency L0s
>> >> <64ns, L1 <1us
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- AttnBtn- AttnInd-=
 PwrInd- RBE- FLReset-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-F=
atal- Fatal-
>> >> Unsupported-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd- ExtTag- PhantFun=
c- AuxPwr- NoSnoop-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, Max=
ReadReq 1024 bytes
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Uns=
uppReq- AuxPwr-
>> >> TransPend-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x1,=
 ASPM L0s,
>> >> Latency L0
>> >> unlimited, L1 unlimited
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActR=
ep- BwNot-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 64 bytes Disab=
led- Retrain-
>> >> CommClk-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWid=
Dis- BWInt- AutBWInt-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- T=
rain- SlotClk+
>> >> DLActive-
>> >> BWMgmt- ABWMgmt-
>> >> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- Cmp=
ltAbrt-
>> >> UnxCmplt- RxOF+
>> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ =
CGenEn- ChkCap+
>> >> ChkEn-
>> >> =A0 =A0 =A0 Kernel driver in use: sata_sil24
>> >>
>> >> root@p1020rdb:~#
>> >>
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=3D=
0mA PME(D0-,D1-
>> ,D2-
>> >> ,D3hot-,D3cold-)
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Status: D0 PME-Enable- DSel=3D0 DScale=3D=
1 PME-
>> >> =A0 =A0 =A0 Capabilities: [5c] MSI: Mask- 64bit+ Count=3D1/1 Enable-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 Address: 0000000000000000 =A0Data: 0000
>> >> =A0 =A0 =A0 Capabilities: [70] Express (v1) Legacy Endpoint, MSI 00
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCap: MaxPayload 1024 bytes, PhantFunc =
0, Latency L0s
>> >> <64ns, L1 <1us
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtTag- AttnBtn- AttnInd-=
 PwrInd- RBE- FLReset-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevCtl: Report errors: Correctable- Non-F=
atal- Fatal-
>> >> Unsupported-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 RlxdOrd- ExtTag- PhantFun=
c- AuxPwr- NoSnoop-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 MaxPayload 128 bytes, Max=
ReadReq 1024 bytes
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 DevSta: CorrErr- UncorrErr- FatalErr- Uns=
uppReq- AuxPwr-
>> >> TransPend-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCap: Port #0, Speed 2.5GT/s, Width x1,=
 ASPM L0s,
>> >> Latency L0
>> >> unlimited, L1 unlimited
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ClockPM- Surprise- LLActR=
ep- BwNot-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkCtl: ASPM Disabled; RCB 64 bytes Disab=
led- Retrain-
>> >> CommClk-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ExtSynch- ClockPM- AutWid=
Dis- BWInt- AutBWInt-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 LnkSta: Speed 2.5GT/s, Width x1, TrErr- T=
rain- SlotClk+
>> >> DLActive-
>> >> BWMgmt- ABWMgmt-
>> >> =A0 =A0 =A0 Capabilities: [100] Advanced Error Reporting
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESta: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UEMsk: =A0DLP- SDES- TLP- FCP- CmpltTO- C=
mpltAbrt-
>> >> UnxCmplt- RxOF-
>> >> MalfTLP- ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- Cmp=
ltAbrt-
>> >> UnxCmplt- RxOF+
>> >> MalfTLP+ ECRC- UnsupReq- ACSViol-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CESta: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 CEMsk: =A0RxErr- BadTLP- BadDLLP- Rollove=
r- Timeout-
>> >> NonFatalErr-
>> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 AERCap: First Error Pointer: 00, GenCap+ =
CGenEn- ChkCap+
>> >> ChkEn-
>> >> =A0 =A0 =A0 Kernel driver in use: sata_sil24
>> >> =A0 =A0 =A0 Kernel modules: sata_sil24
>> >>
>> >>
>> >> --
>> >> Leon
>> >
>> >
>> >
>>
>>
>>
>> --
>> Leon
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at =A0http://vger.kernel.org/majordomo-info.html
>
>



--=20
Leon

^ permalink raw reply

* Re: [PATCH 1/1]  powerpc/eeh: Add support for ibm,configure-pe RTAS call
From: Richard A Lary @ 2011-04-08 14:38 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Anton Blanchard, linuxppc-dev
In-Reply-To: <1302147331.2458.26.camel@pasglop>

On 4/6/2011 8:35 PM, Benjamin Herrenschmidt wrote:
> On Wed, 2011-04-06 at 15:50 -0700, Richard A Lary wrote:
>> From: Richard A. Lary<rlary@linux.vnet.ibm.com>
>>
>> Added support for ibm,configure-pe RTAS call introduced with
>> PAPR 2.2.
>
> Care to tell us a bit about the difference ? :-) There's nothing obvious
> in the code.... Also you added calls to rtas_configure_bridge() and
> eeh_restore_bars() to eeh_slot_error_Detail(), that might want some
> explanation as well.

I was directed by Platform Firmware team to use the new configure-pe call
on platforms which support it.  Other than that, all I can tell you is
what PAPR+ 2.5 has to say:

---
Section 7.3.12.2 ibm,configure-pe
This call has about the same semantics as the ibm,configure-bridge RTAS
call, except that it:
1. Has the additional semantics of bypassing the configuration process
    if the PE has previously not been reset by the platform as a result
    of entering the EEH Stopped State.
2. Configures all the configurations spaces within the PE, including those
    of the endpoint devices within the PE (see Requirement R1–7.3.12.2–3).

Thus, this RTAS call can be made at the beginning of any EEH processing.

---

The addition of calls to rtas_configure_bridge() and eeh_restore_bars()
were also added as directed by Platform Firmware team.
Platform Firmware advised these calls were required to allow access to
all devices under the Partitionable Endpoint by gather_pci_data()
on PCIe adapters which contain PCIe Switches/Bridges.

I have verified in testing that the addition of rtas_configure_bridge()
and eeh_restore_bars() do indeed allow gather_pci_data() to read config
space on every device under the PE, which returned all FF's prior
to addition of those calls.

> Cheers,
> Ben.
>
>> Signed-off-by: Richard A. Lary<rlary@linux.vnet.ibm.com>
>> ---
>>    arch/powerpc/platforms/pseries/eeh.c |   13 	12 +	1 -	0 !
>>    1 file changed, 12 insertions(+), 1 deletion(-)
>>
>> Index: b/arch/powerpc/platforms/pseries/eeh.c
>> ===================================================================
>> --- a/arch/powerpc/platforms/pseries/eeh.c
>> +++ b/arch/powerpc/platforms/pseries/eeh.c
>> @@ -95,6 +95,7 @@ static int ibm_slot_error_detail;
>>    static int ibm_get_config_addr_info;
>>    static int ibm_get_config_addr_info2;
>>    static int ibm_configure_bridge;
>> +static int ibm_configure_pe;
>>
>>    int eeh_subsystem_enabled;
>>    EXPORT_SYMBOL(eeh_subsystem_enabled);
>> @@ -263,6 +264,8 @@ void eeh_slot_error_detail(struct pci_dn
>>    	pci_regs_buf[0] = 0;
>>
>>    	rtas_pci_enable(pdn, EEH_THAW_MMIO);
>> +	rtas_configure_bridge(pdn);
>> +	eeh_restore_bars(pdn);
>>    	loglen = gather_pci_data(pdn, pci_regs_buf, EEH_PCI_REGS_LOG_LEN);
>>
>>    	rtas_slot_error_detail(pdn, severity, pci_regs_buf, loglen);
>> @@ -896,6 +899,7 @@ void
>>    rtas_configure_bridge(struct pci_dn *pdn)
>>    {
>>    	int config_addr;
>> +	int token;
>>    	int rc;
>>
>>    	/* Use PE configuration address, if present */
>> @@ -903,7 +907,13 @@ rtas_configure_bridge(struct pci_dn *pdn
>>    	if (pdn->eeh_pe_config_addr)
>>    		config_addr = pdn->eeh_pe_config_addr;
>>
>> -	rc = rtas_call(ibm_configure_bridge,3,1, NULL,
>> +	/* Use new configure-pe function, if supported */
>> +	if (ibm_configure_pe != RTAS_UNKNOWN_SERVICE)
>> +		token = ibm_configure_pe;
>> +	else
>> +		token = ibm_configure_bridge;
>> +
>> +	rc = rtas_call(token, 3, 1, NULL,
>>    	               config_addr,
>>    	               BUID_HI(pdn->phb->buid),
>>    	               BUID_LO(pdn->phb->buid));
>> @@ -1079,6 +1089,7 @@ void __init eeh_init(void)
>>    	ibm_get_config_addr_info = rtas_token("ibm,get-config-addr-info");
>>    	ibm_get_config_addr_info2 = rtas_token("ibm,get-config-addr-info2");
>>    	ibm_configure_bridge = rtas_token ("ibm,configure-bridge");
>> +	ibm_configure_pe = rtas_token("ibm,configure-pe");
>>
>>    	if (ibm_set_eeh_option == RTAS_UNKNOWN_SERVICE)
>>    		return;
>>
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
>

^ permalink raw reply

* Re: Using dmaengine on Freescale P2020 RDB
From: Timur Tabi @ 2011-04-08 15:29 UTC (permalink / raw)
  To: Chuck Ketcham; +Cc: linuxppc-dev
In-Reply-To: <327152.93855.qm@web36406.mail.mud.yahoo.com>

On Wed, Apr 6, 2011 at 2:40 PM, Chuck Ketcham <chuckk2333@yahoo.com> wrote:

> Three of the channels were not used because they were already publicly al=
located. =A0One channel was
> not used because it didn't have DMA_MEMCPY capability.

That's strange, because all four DMA channels are identical.

> 2. If dmaengine is correct, what can I do to free up a channel for my own=
 use?

There must be something else in your system using up the channels.

--=20
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply

* Re: platform_driver/of_platform_driver compile warning in fsldma.c
From: Ira W. Snyder @ 2011-04-08 15:32 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Linuxppc-dev list
In-Reply-To: <D4BE3D54-805B-4D4F-B8BC-EC1A860C8E84@kernel.crashing.org>

On Fri, Apr 08, 2011 at 04:12:13AM -0500, Kumar Gala wrote:
> Grant,
> 
> I'm being lazy, can you give any quick insight on the following compile warning:
> 
> drivers/dma/fsldma.c:1457:2: warning: initialization from incompatible pointer type
> drivers/dma/fsldma.c: In function 'fsldma_init':
> drivers/dma/fsldma.c:1468:2: warning: passing argument 1 of 'platform_driver_register' from incompatible pointer type
> include/linux/platform_device.h:124:12: note: expected 'struct platform_driver *' but argument is of type 'struct of_platform_driver *'
> drivers/dma/fsldma.c: In function 'fsldma_exit':
> drivers/dma/fsldma.c:1473:2: warning: passing argument 1 of 'platform_driver_unregister' from incompatible pointer type
> include/linux/platform_device.h:125:13: note: expected 'struct platform_driver *' but argument is of type 'struct of_platform_driver *'
> 

The "struct of_platform_driver" needs to be changed to a
"struct platform_driver". Just remove the "of_" prefix, the structure
initialization is correct. I sent a patch for this yesterday to LKML. The
title is: fsldma: fix build warning caused by of_platform_device changes

Ira

^ permalink raw reply

* Re: platform_driver/of_platform_driver compile warning in fsldma.c
From: Grant Likely @ 2011-04-08 16:56 UTC (permalink / raw)
  To: Ira W. Snyder; +Cc: Linuxppc-dev list
In-Reply-To: <20110408153246.GA13834@ovro.caltech.edu>

On Fri, Apr 8, 2011 at 8:32 AM, Ira W. Snyder <iws@ovro.caltech.edu> wrote:
> On Fri, Apr 08, 2011 at 04:12:13AM -0500, Kumar Gala wrote:
>> Grant,
>>
>> I'm being lazy, can you give any quick insight on the following compile warning:
>>
>> drivers/dma/fsldma.c:1457:2: warning: initialization from incompatible pointer type
>> drivers/dma/fsldma.c: In function 'fsldma_init':
>> drivers/dma/fsldma.c:1468:2: warning: passing argument 1 of 'platform_driver_register' from incompatible pointer type
>> include/linux/platform_device.h:124:12: note: expected 'struct platform_driver *' but argument is of type 'struct of_platform_driver *'
>> drivers/dma/fsldma.c: In function 'fsldma_exit':
>> drivers/dma/fsldma.c:1473:2: warning: passing argument 1 of 'platform_driver_unregister' from incompatible pointer type
>> include/linux/platform_device.h:125:13: note: expected 'struct platform_driver *' but argument is of type 'struct of_platform_driver *'
>>
>
> The "struct of_platform_driver" needs to be changed to a
> "struct platform_driver". Just remove the "of_" prefix, the structure
> initialization is correct. I sent a patch for this yesterday to LKML. The
> title is: fsldma: fix build warning caused by of_platform_device changes

Yes, thanks Ira.  I'm picking up that patch today and I'll send it off to Linus.

g.

^ permalink raw reply

* [PATCH 1/1] ppc4xx: Fix PCIe scanning for the 460SX
From: Ayman El-Khashab @ 2011-04-08 18:22 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev; +Cc: Ayman El-Khashab
In-Reply-To: <1302286930-9988-1-git-send-email-ayman@elkhashab.com>

From: Ayman El-Khashab <ayman@elkhashab.com>

The 460SX uses a different register set than previous 44x PCIe CPUs,
so some of the checks were not valid.  Added an enable for the TX
and RX.  For the 460SX only: Bypassed VCO check and added PLL check.
Bypassed the link check.  Changed to advertise gen 2 speeds.

Signed-off-by: Ayman El-Khashab <ayman@elkhashab.com>
---
 arch/powerpc/sysdev/ppc4xx_pci.c |   35 +++++++++++++++++++++++++++++++----
 1 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/sysdev/ppc4xx_pci.c b/arch/powerpc/sysdev/ppc4xx_pci.c
index 156aa7d..1c854a7 100644
--- a/arch/powerpc/sysdev/ppc4xx_pci.c
+++ b/arch/powerpc/sysdev/ppc4xx_pci.c
@@ -1058,6 +1058,8 @@ static int __init ppc460sx_pciex_core_init(struct device_node *np)
 
 static int ppc460sx_pciex_init_port_hw(struct ppc4xx_pciex_port *port)
 {
+	/* 500ms should be long enough */
+	int timeout = 50000;
 
 	if (port->endpoint)
 		dcri_clrset(SDR0, port->sdr_base + PESDRn_UTLSET2,
@@ -1066,15 +1068,20 @@ static int ppc460sx_pciex_init_port_hw(struct ppc4xx_pciex_port *port)
 		dcri_clrset(SDR0, port->sdr_base + PESDRn_UTLSET2,
 				0, 0x01000000);
 
-	/*Gen-1*/
-	mtdcri(SDR0, port->sdr_base + PESDRn_460SX_RCEI, 0x08000000);
 
 	dcri_clrset(SDR0, port->sdr_base + PESDRn_RCSSET,
 			(PESDRx_RCSSET_RSTGU | PESDRx_RCSSET_RSTDL),
 			PESDRx_RCSSET_RSTPYN);
 
-	port->has_ibpre = 1;
 
+	/* Poll for the PHY reset */
+	while (timeout-- && !(mfdcr(port->sdr_base + PESDRn_RCSSTS) & 0x10000))
+		udelay(10);
+
+	if (!timeout)
+		return -1;
+
+	port->has_ibpre = 1;
 	return 0;
 }
 
@@ -1082,6 +1089,8 @@ static int ppc460sx_pciex_init_utl(struct ppc4xx_pciex_port *port)
 {
 	/* Max 128 Bytes */
 	out_be32 (port->utl_base + PEUTL_PBBSZ,   0x00000000);
+	out_be32 (port->utl_base + PEUTL_PCTL,	  0x80800000);
+
 	return 0;
 }
 
@@ -1308,6 +1317,7 @@ static int __init ppc4xx_pciex_port_init(struct ppc4xx_pciex_port *port)
 	 * config space accesses. That way, it will be easier to implement
 	 * hotplug later on.
 	 */
+#ifndef CONFIG_460SX
 	if (!port->has_ibpre ||
 	    !ppc4xx_pciex_wait_on_sdr(port, PESDRn_LOOP,
 				      1 << 28, 1 << 28, 100)) {
@@ -1325,6 +1335,10 @@ static int __init ppc4xx_pciex_port_init(struct ppc4xx_pciex_port *port)
 		}
 	} else
 		printk(KERN_INFO "PCIE%d: No device detected.\n", port->index);
+#else
+	/* XXX What DCR has the link status on the 460SX? */
+	port->link = 1;
+#endif
 
 	/*
 	 * Initialize mapping: disable all regions and configure
@@ -1344,8 +1358,9 @@ static int __init ppc4xx_pciex_port_init(struct ppc4xx_pciex_port *port)
 	if (ppc4xx_pciex_hwops->setup_utl)
 		ppc4xx_pciex_hwops->setup_utl(port);
 
+#ifndef CONFIG_460SX
 	/*
-	 * Check for VC0 active and assert RDY.
+	 * Check for VC0 active
 	 */
 	if (port->link &&
 	    ppc4xx_pciex_wait_on_sdr(port, PESDRn_RCSSTS,
@@ -1353,7 +1368,19 @@ static int __init ppc4xx_pciex_port_init(struct ppc4xx_pciex_port *port)
 		printk(KERN_INFO "PCIE%d: VC0 not active\n", port->index);
 		port->link = 0;
 	}
+#else
+	/*
+	 * Check for PLL Locked
+	 */
+	if (port->link &&
+	    ppc4xx_pciex_wait_on_sdr(port, PESDRn_RCSSTS,
+				     1 << 12, 1 << 12, 5000)) {
+		printk(KERN_INFO "PCIE%d: PLL not locked\n", port->index);
+		port->link = 0;
+	}
+#endif
 
+	/* Assert RDY */
 	dcri_clrset(SDR0, port->sdr_base + PESDRn_RCSSET, 0, 1 << 20);
 	msleep(100);
 
-- 
1.7.4.3

^ permalink raw reply related

* [PATCH 0/1] ppc4xx: Fix PCIe scanning for the 460SX
From: Ayman El-Khashab @ 2011-04-08 18:22 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev; +Cc: Ayman El-Khashab

From: Ayman El-Khashab <ayman@elkhashab.com>

This patch is to fix the PCIe on the 460SX CPU.  As far as I can tell,
the 460SX must be using a different core than the previous 4xx SOCs.
The registers aren't the same and it appears DCRs that existed on 
previous parts don't exist on this one.  Perhaps somebody from AMCC 
can chime in.  In any case, the main problem was that the TX and RX
weren't enabled so nothing downstream from the RP was ever found.
And the check to set "port->link" would never work (as far as I could
tell).  I could not find any DCRs in this part to indicate when the
link was up and there isn't an obvious loopback, so the following
call would fail and result in no devices found.

ppc4xx_pciex_wait_on_sdr(port, PESDRn_LOOP, 1 << 28, 1 << 28, 100)

It would be better to detect the link status, but I don't see an
obvious way to do that from the data sheet.  U-boot just skips the
link check as well for this part.


Ayman El-Khashab (1):
  ppc4xx: Fix PCIe scanning for the 460SX

 arch/powerpc/sysdev/ppc4xx_pci.c |   35 +++++++++++++++++++++++++++++++----
 1 files changed, 31 insertions(+), 4 deletions(-)

-- 
1.7.4.3

^ permalink raw reply

* Re: [PATCH 0/1] ppc4xx: Fix PCIe scanning for the 460SX
From: Benjamin Herrenschmidt @ 2011-04-08 23:48 UTC (permalink / raw)
  To: tmarri; +Cc: linuxppc-dev, Ayman El-Khashab, Paul Mackerras
In-Reply-To: <1302286930-9988-1-git-send-email-ayman@elkhashab.com>

On Fri, 2011-04-08 at 13:22 -0500, Ayman El-Khashab wrote:
> From: Ayman El-Khashab <ayman@elkhashab.com>
> 
> This patch is to fix the PCIe on the 460SX CPU.  As far as I can tell,
> the 460SX must be using a different core than the previous 4xx SOCs.
> The registers aren't the same and it appears DCRs that existed on 
> previous parts don't exist on this one.  Perhaps somebody from AMCC 
> can chime in.  In any case, the main problem was that the TX and RX
> weren't enabled so nothing downstream from the RP was ever found.
> And the check to set "port->link" would never work (as far as I could
> tell).  I could not find any DCRs in this part to indicate when the
> link was up and there isn't an obvious loopback, so the following
> call would fail and result in no devices found.
> 
> ppc4xx_pciex_wait_on_sdr(port, PESDRn_LOOP, 1 << 28, 1 << 28, 100)
> 
> It would be better to detect the link status, but I don't see an
> obvious way to do that from the data sheet.  U-boot just skips the
> link check as well for this part.

Hi Tirumala !

You originally submitted the support for 460ex. Can you chime in (and
review Ayman patch) please ?

Cheers,
Ben.

> 
> Ayman El-Khashab (1):
>   ppc4xx: Fix PCIe scanning for the 460SX
> 
>  arch/powerpc/sysdev/ppc4xx_pci.c |   35 +++++++++++++++++++++++++++++++----
>  1 files changed, 31 insertions(+), 4 deletions(-)
> 

^ permalink raw reply

* [PATCH net-next-2.6 1/2] gianfar: Clean up implementation of RX network flow classification
From: Ben Hutchings @ 2011-04-08 23:45 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, ppc-dev

This code was cribbed from niu, so gfar_set_hash_opts() begins by
converting the ethtool flow class code into a class code for Sun
Neptune hardware, then does the same thing again for the hardware it's
really dealing with.  It may also return -1 (-EPERM) for some
unhandled ethtool flow class codes.

Remove the useless code and definitions, and fix the error code.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
---
This isn't even compile-tested, since it can only be built for some
PowerPC SoCs.  Could someone on ppc-dev check that this won't break the
driver?

Ben.

 drivers/net/gianfar.h         |   17 -------------
 drivers/net/gianfar_ethtool.c |   52 +----------------------------------------
 2 files changed, 1 insertions(+), 68 deletions(-)

diff --git a/drivers/net/gianfar.h b/drivers/net/gianfar.h
index ec5d595..57ee3b0 100644
--- a/drivers/net/gianfar.h
+++ b/drivers/net/gianfar.h
@@ -382,23 +382,6 @@ extern const char gfar_driver_version[];
 #define BD_LFLAG(flags) ((flags) << 16)
 #define BD_LENGTH_MASK		0x0000ffff
 
-#define CLASS_CODE_UNRECOG		0x00
-#define CLASS_CODE_DUMMY1		0x01
-#define CLASS_CODE_ETHERTYPE1		0x02
-#define CLASS_CODE_ETHERTYPE2		0x03
-#define CLASS_CODE_USER_PROG1		0x04
-#define CLASS_CODE_USER_PROG2		0x05
-#define CLASS_CODE_USER_PROG3		0x06
-#define CLASS_CODE_USER_PROG4		0x07
-#define CLASS_CODE_TCP_IPV4		0x08
-#define CLASS_CODE_UDP_IPV4		0x09
-#define CLASS_CODE_AH_ESP_IPV4		0x0a
-#define CLASS_CODE_SCTP_IPV4		0x0b
-#define CLASS_CODE_TCP_IPV6		0x0c
-#define CLASS_CODE_UDP_IPV6		0x0d
-#define CLASS_CODE_AH_ESP_IPV6		0x0e
-#define CLASS_CODE_SCTP_IPV6		0x0f
-
 #define FPR_FILER_MASK	0xFFFFFFFF
 #define MAX_FILER_IDX	0xFF
 
diff --git a/drivers/net/gianfar_ethtool.c b/drivers/net/gianfar_ethtool.c
index 3bc8e27..0840590 100644
--- a/drivers/net/gianfar_ethtool.c
+++ b/drivers/net/gianfar_ethtool.c
@@ -645,42 +645,6 @@ static int gfar_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
 }
 #endif
 
-static int gfar_ethflow_to_class(int flow_type, u64 *class)
-{
-	switch (flow_type) {
-	case TCP_V4_FLOW:
-		*class = CLASS_CODE_TCP_IPV4;
-		break;
-	case UDP_V4_FLOW:
-		*class = CLASS_CODE_UDP_IPV4;
-		break;
-	case AH_V4_FLOW:
-	case ESP_V4_FLOW:
-		*class = CLASS_CODE_AH_ESP_IPV4;
-		break;
-	case SCTP_V4_FLOW:
-		*class = CLASS_CODE_SCTP_IPV4;
-		break;
-	case TCP_V6_FLOW:
-		*class = CLASS_CODE_TCP_IPV6;
-		break;
-	case UDP_V6_FLOW:
-		*class = CLASS_CODE_UDP_IPV6;
-		break;
-	case AH_V6_FLOW:
-	case ESP_V6_FLOW:
-		*class = CLASS_CODE_AH_ESP_IPV6;
-		break;
-	case SCTP_V6_FLOW:
-		*class = CLASS_CODE_SCTP_IPV6;
-		break;
-	default:
-		return 0;
-	}
-
-	return 1;
-}
-
 static void ethflow_to_filer_rules (struct gfar_private *priv, u64 ethflow)
 {
 	u32 fcr = 0x0, fpr = FPR_FILER_MASK;
@@ -778,11 +742,6 @@ static int gfar_ethflow_to_filer_table(struct gfar_private *priv, u64 ethflow, u
 	case UDP_V6_FLOW:
 		cmp_rqfpr = RQFPR_IPV6 |RQFPR_UDP;
 		break;
-	case IPV4_FLOW:
-		cmp_rqfpr = RQFPR_IPV4;
-	case IPV6_FLOW:
-		cmp_rqfpr = RQFPR_IPV6;
-		break;
 	default:
 		printk(KERN_ERR "Right now this class is not supported\n");
 		return 0;
@@ -848,18 +807,9 @@ static int gfar_ethflow_to_filer_table(struct gfar_private *priv, u64 ethflow, u
 
 static int gfar_set_hash_opts(struct gfar_private *priv, struct ethtool_rxnfc *cmd)
 {
-	u64 class;
-
-	if (!gfar_ethflow_to_class(cmd->flow_type, &class))
-		return -EINVAL;
-
-	if (class < CLASS_CODE_USER_PROG1 ||
-			class > CLASS_CODE_SCTP_IPV6)
-		return -EINVAL;
-
 	/* write the filer rules here */
 	if (!gfar_ethflow_to_filer_table(priv, cmd->data, cmd->flow_type))
-		return -1;
+		return -EINVAL;
 
 	return 0;
 }
-- 
1.7.4



-- 
Ben Hutchings, Senior Software Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

^ permalink raw reply related

* Re: platform_driver/of_platform_driver compile warning in fsldma.c
From: Kumar Gala @ 2011-04-09 14:40 UTC (permalink / raw)
  To: Ira W. Snyder; +Cc: Linuxppc-dev list
In-Reply-To: <20110408153246.GA13834@ovro.caltech.edu>


On Apr 8, 2011, at 10:32 AM, Ira W. Snyder wrote:

> On Fri, Apr 08, 2011 at 04:12:13AM -0500, Kumar Gala wrote:
>> Grant,
>>=20
>> I'm being lazy, can you give any quick insight on the following =
compile warning:
>>=20
>> drivers/dma/fsldma.c:1457:2: warning: initialization from =
incompatible pointer type
>> drivers/dma/fsldma.c: In function 'fsldma_init':
>> drivers/dma/fsldma.c:1468:2: warning: passing argument 1 of =
'platform_driver_register' from incompatible pointer type
>> include/linux/platform_device.h:124:12: note: expected 'struct =
platform_driver *' but argument is of type 'struct of_platform_driver *'
>> drivers/dma/fsldma.c: In function 'fsldma_exit':
>> drivers/dma/fsldma.c:1473:2: warning: passing argument 1 of =
'platform_driver_unregister' from incompatible pointer type
>> include/linux/platform_device.h:125:13: note: expected 'struct =
platform_driver *' but argument is of type 'struct of_platform_driver *'
>>=20
>=20
> The "struct of_platform_driver" needs to be changed to a
> "struct platform_driver". Just remove the "of_" prefix, the structure
> initialization is correct. I sent a patch for this yesterday to LKML. =
The
> title is: fsldma: fix build warning caused by of_platform_device =
changes
>=20
> Ira

Ira, thanks.  Hopefully it will get picked up.  If not let me know.

- k=

^ permalink raw reply

* [PATCH] powerpc:fix build warning of the defconfigs
From: wanlong.gao @ 2011-04-09 18:09 UTC (permalink / raw)
  To: benh, paulus, anton, grant.likely, galak, sfr, jwboyer,
	david.woodhouse, akpm, mingo, geoff
  Cc: Wanlong Gao, linuxppc-dev, linux-kernel

From: Wanlong Gao <wanlong.gao@gmail.com>

BT_L2CAP and BT_SCO have changed to bool .
Value 'm' has invalid .

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
 arch/powerpc/configs/c2k_defconfig    |    4 ++--
 arch/powerpc/configs/pmac32_defconfig |    4 ++--
 arch/powerpc/configs/ppc6xx_defconfig |    4 ++--
 arch/powerpc/configs/ps3_defconfig    |    4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/powerpc/configs/c2k_defconfig b/arch/powerpc/configs/c2k_defconfig
index f9e6a3e..2a84fd7 100644
--- a/arch/powerpc/configs/c2k_defconfig
+++ b/arch/powerpc/configs/c2k_defconfig
@@ -132,8 +132,8 @@ CONFIG_NET_CLS_RSVP=m
 CONFIG_NET_CLS_RSVP6=m
 CONFIG_NET_CLS_IND=y
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/powerpc/configs/pmac32_defconfig b/arch/powerpc/configs/pmac32_defconfig
index ac4fc41..f8b394a 100644
--- a/arch/powerpc/configs/pmac32_defconfig
+++ b/arch/powerpc/configs/pmac32_defconfig
@@ -112,8 +112,8 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y
 CONFIG_IRDA_FAST_RR=y
 CONFIG_IRTTY_SIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig
index 0a10fb0..2142089 100644
--- a/arch/powerpc/configs/ppc6xx_defconfig
+++ b/arch/powerpc/configs/ppc6xx_defconfig
@@ -351,8 +351,8 @@ CONFIG_VLSI_FIR=m
 CONFIG_VIA_FIR=m
 CONFIG_MCS_FIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig
index caba919..6472322 100644
--- a/arch/powerpc/configs/ps3_defconfig
+++ b/arch/powerpc/configs/ps3_defconfig
@@ -52,8 +52,8 @@ CONFIG_IP_PNP_DHCP=y
 # CONFIG_INET_DIAG is not set
 CONFIG_IPV6=y
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
-- 
1.7.3

^ permalink raw reply related

* [PATCH] fix build warnings on defconfigs
From: wanlong.gao @ 2011-04-09 19:04 UTC (permalink / raw)
  To: linux, hans-christian.egtvedt, ralf, benh, paulus,
	david.woodhouse, akpm, u.kleine-koenig, mingo, rientjes,
	nicolas.ferre, eric, tony, santosh.shilimkar, khilman, ben-linux,
	sam, manuel.lauss, galak, anton, grant.likely, sfr, jwboyer
  Cc: linux-mips, Wanlong Gao, linuxppc-dev, linux-kernel,
	linux-arm-kernel

From: Wanlong Gao <wanlong.gao@gmail.com>

Change the BT_L2CAP and BT_SCO defconfigs from 'm' to 'y',
since BT_L2CAP and BT_SCO had changed to bool configs.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
 arch/arm/configs/am200epdkit_defconfig     |    4 ++--
 arch/arm/configs/at572d940hfek_defconfig   |    2 +-
 arch/arm/configs/at91rm9200_defconfig      |    4 ++--
 arch/arm/configs/badge4_defconfig          |    2 +-
 arch/arm/configs/cm_x2xx_defconfig         |    4 ++--
 arch/arm/configs/cm_x300_defconfig         |    4 ++--
 arch/arm/configs/colibri_pxa270_defconfig  |    4 ++--
 arch/arm/configs/corgi_defconfig           |    4 ++--
 arch/arm/configs/davinci_all_defconfig     |    2 +-
 arch/arm/configs/em_x270_defconfig         |    4 ++--
 arch/arm/configs/magician_defconfig        |    4 ++--
 arch/arm/configs/mini2440_defconfig        |    4 ++--
 arch/arm/configs/nhk8815_defconfig         |    4 ++--
 arch/arm/configs/ns9xxx_defconfig          |    2 +-
 arch/arm/configs/omap2plus_defconfig       |    4 ++--
 arch/arm/configs/pxa3xx_defconfig          |    2 +-
 arch/arm/configs/s3c2410_defconfig         |    6 +++---
 arch/arm/configs/simpad_defconfig          |    4 ++--
 arch/arm/configs/spitz_defconfig           |    4 ++--
 arch/arm/configs/trizeps4_defconfig        |    4 ++--
 arch/arm/configs/viper_defconfig           |    2 +-
 arch/arm/configs/zeus_defconfig            |    4 ++--
 arch/avr32/configs/atngw100_mrmt_defconfig |    2 +-
 arch/mips/configs/lemote2f_defconfig       |    4 ++--
 arch/mips/configs/mtx1_defconfig           |    4 ++--
 arch/powerpc/configs/c2k_defconfig         |    4 ++--
 arch/powerpc/configs/pmac32_defconfig      |    4 ++--
 arch/powerpc/configs/ppc6xx_defconfig      |    4 ++--
 arch/powerpc/configs/ps3_defconfig         |    4 ++--
 29 files changed, 52 insertions(+), 52 deletions(-)

diff --git a/arch/arm/configs/am200epdkit_defconfig b/arch/arm/configs/am200epdkit_defconfig
index f0dea52..0a7d807 100644
--- a/arch/arm/configs/am200epdkit_defconfig
+++ b/arch/arm/configs/am200epdkit_defconfig
@@ -34,8 +34,8 @@ CONFIG_INET=y
 # CONFIG_INET_DIAG is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/at572d940hfek_defconfig b/arch/arm/configs/at572d940hfek_defconfig
index 1b1158a..8409374 100644
--- a/arch/arm/configs/at572d940hfek_defconfig
+++ b/arch/arm/configs/at572d940hfek_defconfig
@@ -280,7 +280,7 @@ CONFIG_SDIO_UART=m
 CONFIG_MMC_AT91=m
 CONFIG_MMC_SPI=m
 CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=m
 CONFIG_LEDS_TRIGGERS=y
 CONFIG_LEDS_TRIGGER_TIMER=m
diff --git a/arch/arm/configs/at91rm9200_defconfig b/arch/arm/configs/at91rm9200_defconfig
index 38cb7c9..b21dd9e 100644
--- a/arch/arm/configs/at91rm9200_defconfig
+++ b/arch/arm/configs/at91rm9200_defconfig
@@ -75,8 +75,8 @@ CONFIG_IPV6_TUNNEL=m
 CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/badge4_defconfig b/arch/arm/configs/badge4_defconfig
index 5b54abb..ddd8eb2 100644
--- a/arch/arm/configs/badge4_defconfig
+++ b/arch/arm/configs/badge4_defconfig
@@ -24,7 +24,7 @@ CONFIG_IRCOMM=y
 CONFIG_IRDA_ULTRA=y
 CONFIG_SA1100_FIR=y
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
+CONFIG_BT_L2CAP=y
 CONFIG_BT_HCIUART=m
 CONFIG_BT_HCIVHCI=m
 # CONFIG_FW_LOADER is not set
diff --git a/arch/arm/configs/cm_x2xx_defconfig b/arch/arm/configs/cm_x2xx_defconfig
index a93ff8d..04bf923 100644
--- a/arch/arm/configs/cm_x2xx_defconfig
+++ b/arch/arm/configs/cm_x2xx_defconfig
@@ -43,8 +43,8 @@ CONFIG_IP_PNP_BOOTP=y
 # CONFIG_INET_DIAG is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_BNEP=m
 CONFIG_BT_HIDP=m
diff --git a/arch/arm/configs/cm_x300_defconfig b/arch/arm/configs/cm_x300_defconfig
index 921e56a..d7c7d99 100644
--- a/arch/arm/configs/cm_x300_defconfig
+++ b/arch/arm/configs/cm_x300_defconfig
@@ -40,8 +40,8 @@ CONFIG_IP_PNP_RARP=y
 # CONFIG_INET_DIAG is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/colibri_pxa270_defconfig b/arch/arm/configs/colibri_pxa270_defconfig
index 2ef2c5e..a381317 100644
--- a/arch/arm/configs/colibri_pxa270_defconfig
+++ b/arch/arm/configs/colibri_pxa270_defconfig
@@ -45,8 +45,8 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y
 CONFIG_IRDA_FAST_RR=y
 CONFIG_IRTTY_SIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/corgi_defconfig b/arch/arm/configs/corgi_defconfig
index e53c475..ee85811 100644
--- a/arch/arm/configs/corgi_defconfig
+++ b/arch/arm/configs/corgi_defconfig
@@ -69,8 +69,8 @@ CONFIG_IRNET=m
 CONFIG_IRCOMM=m
 CONFIG_PXA_FICP=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig
index 889922a..9739ee2 100644
--- a/arch/arm/configs/davinci_all_defconfig
+++ b/arch/arm/configs/davinci_all_defconfig
@@ -152,7 +152,7 @@ CONFIG_MMC=m
 # CONFIG_MMC_BLOCK_BOUNCE is not set
 CONFIG_MMC_DAVINCI=m
 CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=m
 CONFIG_LEDS_TRIGGERS=y
 CONFIG_LEDS_TRIGGER_TIMER=m
diff --git a/arch/arm/configs/em_x270_defconfig b/arch/arm/configs/em_x270_defconfig
index 60a21e0..9910c68 100644
--- a/arch/arm/configs/em_x270_defconfig
+++ b/arch/arm/configs/em_x270_defconfig
@@ -38,8 +38,8 @@ CONFIG_IP_PNP_BOOTP=y
 # CONFIG_INET_DIAG is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_BNEP=m
 CONFIG_BT_HIDP=m
diff --git a/arch/arm/configs/magician_defconfig b/arch/arm/configs/magician_defconfig
index a88e64d..eef5440 100644
--- a/arch/arm/configs/magician_defconfig
+++ b/arch/arm/configs/magician_defconfig
@@ -48,8 +48,8 @@ CONFIG_IRDA_DEBUG=y
 CONFIG_IRTTY_SIR=m
 CONFIG_PXA_FICP=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/mini2440_defconfig b/arch/arm/configs/mini2440_defconfig
index 2472a95..a0b5413 100644
--- a/arch/arm/configs/mini2440_defconfig
+++ b/arch/arm/configs/mini2440_defconfig
@@ -56,8 +56,8 @@ CONFIG_VLAN_8021Q=m
 CONFIG_VLAN_8021Q_GVRP=y
 CONFIG_NET_PKTGEN=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/nhk8815_defconfig b/arch/arm/configs/nhk8815_defconfig
index 37207d1..5129217 100644
--- a/arch/arm/configs/nhk8815_defconfig
+++ b/arch/arm/configs/nhk8815_defconfig
@@ -38,8 +38,8 @@ CONFIG_IP_MROUTE=y
 # CONFIG_INET_LRO is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/ns9xxx_defconfig b/arch/arm/configs/ns9xxx_defconfig
index 1f528a0..56c20fc 100644
--- a/arch/arm/configs/ns9xxx_defconfig
+++ b/arch/arm/configs/ns9xxx_defconfig
@@ -38,7 +38,7 @@ CONFIG_I2C_GPIO=m
 # CONFIG_VGA_CONSOLE is not set
 # CONFIG_USB_SUPPORT is not set
 CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=m
 CONFIG_LEDS_TRIGGERS=y
 CONFIG_LEDS_TRIGGER_TIMER=m
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 076db52..08cc79d 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -89,8 +89,8 @@ CONFIG_IP_PNP_RARP=y
 # CONFIG_IPV6 is not set
 CONFIG_NETFILTER=y
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=y
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/pxa3xx_defconfig b/arch/arm/configs/pxa3xx_defconfig
index 1677a06..573d882 100644
--- a/arch/arm/configs/pxa3xx_defconfig
+++ b/arch/arm/configs/pxa3xx_defconfig
@@ -99,7 +99,7 @@ CONFIG_LOGO=y
 CONFIG_MMC=y
 CONFIG_MMC_PXA=y
 CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=m
 CONFIG_LEDS_DA903X=m
 CONFIG_LEDS_TRIGGERS=y
diff --git a/arch/arm/configs/s3c2410_defconfig b/arch/arm/configs/s3c2410_defconfig
index f9096c1..3a0cd99 100644
--- a/arch/arm/configs/s3c2410_defconfig
+++ b/arch/arm/configs/s3c2410_defconfig
@@ -177,8 +177,8 @@ CONFIG_IP6_NF_TARGET_REJECT=m
 CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
@@ -387,7 +387,7 @@ CONFIG_MMC_TEST=m
 CONFIG_MMC_SDHCI=m
 CONFIG_MMC_SPI=m
 CONFIG_MMC_S3C=y
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_S3C24XX=m
 CONFIG_LEDS_H1940=m
 CONFIG_LEDS_PCA9532=m
diff --git a/arch/arm/configs/simpad_defconfig b/arch/arm/configs/simpad_defconfig
index d335815..8c6f806 100644
--- a/arch/arm/configs/simpad_defconfig
+++ b/arch/arm/configs/simpad_defconfig
@@ -33,8 +33,8 @@ CONFIG_IRCOMM=m
 CONFIG_IRTTY_SIR=m
 CONFIG_SA1100_FIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/spitz_defconfig b/arch/arm/configs/spitz_defconfig
index 7015827..f0137dd 100644
--- a/arch/arm/configs/spitz_defconfig
+++ b/arch/arm/configs/spitz_defconfig
@@ -66,8 +66,8 @@ CONFIG_IRNET=m
 CONFIG_IRCOMM=m
 CONFIG_PXA_FICP=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/trizeps4_defconfig b/arch/arm/configs/trizeps4_defconfig
index 3162173..3d6ce92 100644
--- a/arch/arm/configs/trizeps4_defconfig
+++ b/arch/arm/configs/trizeps4_defconfig
@@ -49,8 +49,8 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y
 CONFIG_IRDA_FAST_RR=y
 CONFIG_IRTTY_SIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/viper_defconfig b/arch/arm/configs/viper_defconfig
index 8b0c717..4fe0c80 100644
--- a/arch/arm/configs/viper_defconfig
+++ b/arch/arm/configs/viper_defconfig
@@ -37,7 +37,7 @@ CONFIG_SYN_COOKIES=y
 # CONFIG_INET_LRO is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
+CONFIG_BT_L2CAP=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/arm/configs/zeus_defconfig b/arch/arm/configs/zeus_defconfig
index 960f655..f8f9910 100644
--- a/arch/arm/configs/zeus_defconfig
+++ b/arch/arm/configs/zeus_defconfig
@@ -32,7 +32,7 @@ CONFIG_SYN_COOKIES=y
 # CONFIG_INET_LRO is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
+CONFIG_BT_L2CAP=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
@@ -150,7 +150,7 @@ CONFIG_MMC=y
 # CONFIG_MMC_BLOCK_BOUNCE is not set
 CONFIG_MMC_PXA=y
 CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=m
 CONFIG_LEDS_TRIGGERS=y
 CONFIG_LEDS_TRIGGER_TIMER=m
diff --git a/arch/avr32/configs/atngw100_mrmt_defconfig b/arch/avr32/configs/atngw100_mrmt_defconfig
index 19f6cee..6f9ed2e 100644
--- a/arch/avr32/configs/atngw100_mrmt_defconfig
+++ b/arch/avr32/configs/atngw100_mrmt_defconfig
@@ -36,7 +36,7 @@ CONFIG_SYN_COOKIES=y
 # CONFIG_INET_LRO is not set
 # CONFIG_IPV6 is not set
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
+CONFIG_BT_L2CAP=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_HIDP=m
diff --git a/arch/mips/configs/lemote2f_defconfig b/arch/mips/configs/lemote2f_defconfig
index cb2c5ea..b6acd2f 100644
--- a/arch/mips/configs/lemote2f_defconfig
+++ b/arch/mips/configs/lemote2f_defconfig
@@ -86,8 +86,8 @@ CONFIG_NET_SCHED=y
 CONFIG_NET_EMATCH=y
 CONFIG_NET_CLS_ACT=y
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/mips/configs/mtx1_defconfig b/arch/mips/configs/mtx1_defconfig
index a97a42c..37862b2 100644
--- a/arch/mips/configs/mtx1_defconfig
+++ b/arch/mips/configs/mtx1_defconfig
@@ -225,8 +225,8 @@ CONFIG_TOSHIBA_FIR=m
 CONFIG_VLSI_FIR=m
 CONFIG_MCS_FIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/powerpc/configs/c2k_defconfig b/arch/powerpc/configs/c2k_defconfig
index f9e6a3e..2a84fd7 100644
--- a/arch/powerpc/configs/c2k_defconfig
+++ b/arch/powerpc/configs/c2k_defconfig
@@ -132,8 +132,8 @@ CONFIG_NET_CLS_RSVP=m
 CONFIG_NET_CLS_RSVP6=m
 CONFIG_NET_CLS_IND=y
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/powerpc/configs/pmac32_defconfig b/arch/powerpc/configs/pmac32_defconfig
index ac4fc41..f8b394a 100644
--- a/arch/powerpc/configs/pmac32_defconfig
+++ b/arch/powerpc/configs/pmac32_defconfig
@@ -112,8 +112,8 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y
 CONFIG_IRDA_FAST_RR=y
 CONFIG_IRTTY_SIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/powerpc/configs/ppc6xx_defconfig b/arch/powerpc/configs/ppc6xx_defconfig
index 0a10fb0..2142089 100644
--- a/arch/powerpc/configs/ppc6xx_defconfig
+++ b/arch/powerpc/configs/ppc6xx_defconfig
@@ -351,8 +351,8 @@ CONFIG_VLSI_FIR=m
 CONFIG_VIA_FIR=m
 CONFIG_MCS_FIR=m
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
diff --git a/arch/powerpc/configs/ps3_defconfig b/arch/powerpc/configs/ps3_defconfig
index caba919..6472322 100644
--- a/arch/powerpc/configs/ps3_defconfig
+++ b/arch/powerpc/configs/ps3_defconfig
@@ -52,8 +52,8 @@ CONFIG_IP_PNP_DHCP=y
 # CONFIG_INET_DIAG is not set
 CONFIG_IPV6=y
 CONFIG_BT=m
-CONFIG_BT_L2CAP=m
-CONFIG_BT_SCO=m
+CONFIG_BT_L2CAP=y
+CONFIG_BT_SCO=y
 CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
 CONFIG_BT_BNEP=m
-- 
1.7.3

^ permalink raw reply related

* Re: [PATCH 2/3] powerpc: Use MSR_64BIT in places
From: Benjamin Herrenschmidt @ 2011-04-09 22:04 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev, Paul Mackerras
In-Reply-To: <FA53E865-AB9E-4222-A990-F552E1A1C093@kernel.crashing.org>

On Fri, 2011-04-08 at 04:24 -0500, Kumar Gala wrote:
> On Apr 8, 2011, at 2:56 AM, Michael Ellerman wrote:
> 
> > Use the new MSR_64BIT in a few places. Some of these are already ifdef'ed
> > for BOOKE vs BOOKS, but it's still clearer, MSR_SF does not immediately
> > parse as "MSR bit for 64bit".
> > 
> > Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
> > ---
> > arch/powerpc/kernel/head_64.S   |    2 +-
> > arch/powerpc/kernel/signal_64.c |    4 ++--
> > arch/powerpc/kernel/traps.c     |    2 +-
> > arch/powerpc/xmon/xmon.c        |   14 +++++++-------
> > 4 files changed, 11 insertions(+), 11 deletions(-)
> 
> However MSR_ISF does ;)

I'm not sure I parse that one :-) Any ways ISF is "interrupt SF" and has
no equivalent in the MSR for BookE (it's elsewhere, EPCR no ?).

Cheers,
Ben.

^ permalink raw reply

* [PATCH] powerpc: ps3 - Update debug message for irq_set_chip_data()
From: Geert Uytterhoeven @ 2011-04-10  8:59 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Geoff Levand, Thomas Gleixner
  Cc: Linux/PPC Development, Linux Kernel Development


>From 7193fcea7af93d57a0fea04efa28bcb5a7412e39 Mon Sep 17 00:00:00 2001
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Sun, 10 Apr 2011 10:45:35 +0200
Subject: [PATCH] powerpc: ps3 - Update debug message for irq_set_chip_data()

commit ec775d0e70eb6b7116406b3441cb8501c2849dd2 ("powerpc: Convert to new irq_*
function names") changed a call from set_irq_chip_data() to
irq_set_chip_data(), but forgot to update the corresponding debug message

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 arch/powerpc/platforms/ps3/interrupt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/ps3/interrupt.c b/arch/powerpc/platforms/ps3/interrupt.c
index f2f6413..523bd0d 100644
--- a/arch/powerpc/platforms/ps3/interrupt.c
+++ b/arch/powerpc/platforms/ps3/interrupt.c
@@ -197,7 +197,7 @@ static int ps3_virq_setup(enum ps3_cpu_binding cpu, unsigned long outlet,
 	result = irq_set_chip_data(*virq, pd);
 
 	if (result) {
-		pr_debug("%s:%d: set_irq_chip_data failed\n",
+		pr_debug("%s:%d: irq_set_chip_data failed\n",
 			__func__, __LINE__);
 		goto fail_set;
 	}
-- 
1.7.0.4


Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

^ permalink raw reply related

* [PATCH RESENT] net: ps3_gelic: convert to hw_features
From: Michał Mirosław @ 2011-04-10 14:49 UTC (permalink / raw)
  To: netdev; +Cc: Geoff Levand, cbe-oss-dev, linuxppc-dev
In-Reply-To: <20110410144746.A28B11389B@rere.qmqm.pl>

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
---
[untested]
[resent because of broken headers]

 drivers/net/ps3_gelic_net.c      |   26 +++++---------------------
 drivers/net/ps3_gelic_net.h      |    3 ---
 drivers/net/ps3_gelic_wireless.c |    4 ----
 3 files changed, 5 insertions(+), 28 deletions(-)

diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c
index 5ecfa4b..6c83ac6 100644
--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -951,7 +951,7 @@ static void gelic_net_pass_skb_up(struct gelic_descr *descr,
 	skb->protocol = eth_type_trans(skb, netdev);
 
 	/* checksum offload */
-	if (card->rx_csum) {
+	if (netdev->features & NETIF_F_RXCSUM) {
 		if ((data_status & GELIC_DESCR_DATA_STATUS_CHK_MASK) &&
 		    (!(data_error & GELIC_DESCR_DATA_ERROR_CHK_MASK)))
 			skb->ip_summed = CHECKSUM_UNNECESSARY;
@@ -1312,21 +1312,6 @@ static int gelic_ether_set_settings(struct net_device *netdev,
 	return 0;
 }
 
-u32 gelic_net_get_rx_csum(struct net_device *netdev)
-{
-	struct gelic_card *card = netdev_card(netdev);
-
-	return card->rx_csum;
-}
-
-int gelic_net_set_rx_csum(struct net_device *netdev, u32 data)
-{
-	struct gelic_card *card = netdev_card(netdev);
-
-	card->rx_csum = data;
-	return 0;
-}
-
 static void gelic_net_get_wol(struct net_device *netdev,
 			      struct ethtool_wolinfo *wol)
 {
@@ -1411,10 +1396,6 @@ static const struct ethtool_ops gelic_ether_ethtool_ops = {
 	.get_settings	= gelic_ether_get_settings,
 	.set_settings	= gelic_ether_set_settings,
 	.get_link	= ethtool_op_get_link,
-	.get_tx_csum	= ethtool_op_get_tx_csum,
-	.set_tx_csum	= ethtool_op_set_tx_csum,
-	.get_rx_csum	= gelic_net_get_rx_csum,
-	.set_rx_csum	= gelic_net_set_rx_csum,
 	.get_wol	= gelic_net_get_wol,
 	.set_wol	= gelic_net_set_wol,
 };
@@ -1512,7 +1493,11 @@ int __devinit gelic_net_setup_netdev(struct net_device *netdev,
 	int status;
 	u64 v1, v2;
 
+	netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM;
+
 	netdev->features = NETIF_F_IP_CSUM;
+	if (GELIC_CARD_RX_CSUM_DEFAULT)
+		netdev->features |= NETIF_F_RXCSUM;
 
 	status = lv1_net_control(bus_id(card), dev_id(card),
 				 GELIC_LV1_GET_MAC_ADDRESS,
@@ -1756,7 +1741,6 @@ static int __devinit ps3_gelic_driver_probe(struct ps3_system_bus_device *dev)
 	/* setup card structure */
 	card->irq_mask = GELIC_CARD_RXINT | GELIC_CARD_TXINT |
 		GELIC_CARD_PORT_STATUS_CHANGED;
-	card->rx_csum = GELIC_CARD_RX_CSUM_DEFAULT;
 
 
 	if (gelic_card_init_chain(card, &card->tx_chain,
diff --git a/drivers/net/ps3_gelic_net.h b/drivers/net/ps3_gelic_net.h
index 32521ae..50d8958 100644
--- a/drivers/net/ps3_gelic_net.h
+++ b/drivers/net/ps3_gelic_net.h
@@ -290,7 +290,6 @@ struct gelic_card {
 	struct gelic_descr_chain tx_chain;
 	struct gelic_descr_chain rx_chain;
 	int rx_dma_restart_required;
-	int rx_csum;
 	/*
 	 * tx_lock guards tx descriptor list and
 	 * tx_dma_progress.
@@ -377,8 +376,6 @@ extern int gelic_net_setup_netdev(struct net_device *netdev,
 /* shared ethtool ops */
 extern void gelic_net_get_drvinfo(struct net_device *netdev,
 				  struct ethtool_drvinfo *info);
-extern u32 gelic_net_get_rx_csum(struct net_device *netdev);
-extern int gelic_net_set_rx_csum(struct net_device *netdev, u32 data);
 extern void gelic_net_poll_controller(struct net_device *netdev);
 
 #endif /* _GELIC_NET_H */
diff --git a/drivers/net/ps3_gelic_wireless.c b/drivers/net/ps3_gelic_wireless.c
index 4a624a2..39a93e8 100644
--- a/drivers/net/ps3_gelic_wireless.c
+++ b/drivers/net/ps3_gelic_wireless.c
@@ -2581,10 +2581,6 @@ static const struct net_device_ops gelic_wl_netdevice_ops = {
 static const struct ethtool_ops gelic_wl_ethtool_ops = {
 	.get_drvinfo	= gelic_net_get_drvinfo,
 	.get_link	= gelic_wl_get_link,
-	.get_tx_csum	= ethtool_op_get_tx_csum,
-	.set_tx_csum	= ethtool_op_set_tx_csum,
-	.get_rx_csum	= gelic_net_get_rx_csum,
-	.set_rx_csum	= gelic_net_set_rx_csum,
 };
 
 static void __devinit gelic_wl_setup_netdev_ops(struct net_device *netdev)
-- 
1.7.2.5

^ permalink raw reply related

* Re: [PATCH] powerpc: ps3 - Update debug message for irq_set_chip_data()
From: Geoff Levand @ 2011-04-10 16:26 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Thomas Gleixner, Linux/PPC Development, Linux Kernel Development
In-Reply-To: <alpine.DEB.2.00.1104101058010.13483@ayla.of.borg>

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

On 04/10/2011 01:59 AM, Geert Uytterhoeven wrote:
> commit ec775d0e70eb6b7116406b3441cb8501c2849dd2 ("powerpc: Convert to new irq_*
> function names") changed a call from set_irq_chip_data() to
> irq_set_chip_data(), but forgot to update the corresponding debug message

Thanks for the attention to detail!

Acked-by: Geoff Levand <geoff@infradead.org>

[-- Attachment #2: 0x2E141B16.asc --]
[-- Type: application/pgp-keys, Size: 9418 bytes --]

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox