linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
@ 2015-02-15 12:16 Julian Margetson
  2015-02-16  0:18 ` Michael Ellerman
  0 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-02-15 12:16 UTC (permalink / raw)
  To: linuxppc-dev

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

Hi

I am unable to get any kernel beyond  the 3.16 branch working on an 
Acube Sam460ex
  AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.

These are the patches applied

diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 49b0659..fa33568 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1066,7 +1066,7 @@ int radeon_device_init(struct radeon_device *rdev,
  	if (rdev->rmmio == NULL) {
  		return -ENOMEM;
  	}
-	DRM_INFO("register mmio base: 0x%08X\n", (uint32_t)rdev->rmmio_base);
+	DRM_INFO("register mmio base: 0x%llx\n", (uint64_t)rdev->rmmio_base);
  	DRM_INFO("register mmio size: %u\n", (unsigned)rdev->rmmio_size);
  
  	/* io port mapping */
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h
index 3cb5d84..fcdb208 100644
--- a/include/drm/ttm/ttm_bo_api.h
+++ b/include/drm/ttm/ttm_bo_api.h
@@ -81,7 +81,7 @@ struct ttm_placement {
   */
  struct ttm_bus_placement {
  	void		*addr;
-	unsigned long	base;
+	phys_addr_t	base;
  	unsigned long	size;
  	unsigned long	offset;
  	bool		is_iomem;



These are the serial boot messages

U-Boot 2010.06.05a (Jan 30 2012 - 16:06:56)

CPU:   AMCC PowerPC 460EX Rev. B at 1155 MHz (PLB=231 OPB=115 EBC=115)
        No Security/Kasumi support
        Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
        Internal PCI arbiter enabled
        32 kB I-Cache 32 kB D-Cache
Board: Sam460ex, PCIe 4x + PCIe 1x
I2C:   ready
DRAM:  2 GiB (ECC not enabled, 462 MHz, CL4)
PCI:   Bus Dev VenId DevId Class Int
         00  04  1095  3512  0104  00
         00  06  126f  0501  0380  00
PCIE0: successfully set as root-complex
         03  00  1412  1724  0401  ff
         02  00  1b21  1080  0604  00
PCIE1: successfully set as root-complex
         05  00  1002  6758  0300  ff
Net:   ppc_4xx_eth0
FPGA:  Revision 03 (2010-10-07)
SM502: found
VGA:   1
VESA:  OK
[    0.000000] Using Canyonlands machine description
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.17.0-rc1-Sam460ex (root@julian-VirtualBox) (gcc version 4.8.2 (Ubuntu 4.8.2-16ubuntu3) ) #1 PREEMPT Sat Feb 14 19:45:33 AST 2015
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000-0x2fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x30000000-0x7fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x7fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sda12 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2004844K/2097152K available (5764K kernel code, 232K rwdata, 1456K rodata, 236K init, 1333K bss, 92308K reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000013] clocksource: timebase mult[dda520] shift[24] registered
[    0.000138] Console: colour dummy device 80x25
[    0.000557] console [tty0] enabled
[    0.000581] pid_max: default: 32768 minimum: 301
[    0.000683] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000706] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002800] devtmpfs: initialized
[    0.003674] xor: measuring software checksum speed
[    0.013505]    8regs     :   856.000 MB/sec
[    0.023276]    8regs_prefetch:   780.000 MB/sec
[    0.033309]    32regs    :  1120.000 MB/sec
[    0.043362]    32regs_prefetch:   996.000 MB/sec
[    0.043388] xor: using function: 32regs (1120.000 MB/sec)
[    0.045174] NET: Registered protocol family 16
[    0.046996] 256k L2-cache enabled
[    0.047113] PCIE0: Checking link...
[    0.047126] PCIE0: Device detected, waiting for link...
[    0.047140] PCIE0: link is up !
[    0.149234] PCI host bridge /plb/pciex@d00000000 (primary) ranges:
[    0.149287]  MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000
[    0.149313]  MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000
[    0.149336]   IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000
[    0.149362] 4xx PCI DMA offset set to 0x00000000
[    0.149375] 4xx PCI DMA window base to 0x0000000000000000
[    0.149390] DMA window size 0x0000000080000000
[    0.149420] PCIE0: successfully set as root-complex
[    0.149460] PCIE1: Checking link...
[    0.149472] PCIE1: Device detected, waiting for link...
[    0.149486] PCIE1: link is up !
[    0.251485] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.251520]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000
[    0.251546]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000
[    0.251568]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.251592] 4xx PCI DMA offset set to 0x00000000
[    0.251606] 4xx PCI DMA window base to 0x0000000000000000
[    0.251620] DMA window size 0x0000000080000000
[    0.251646] PCIE1: successfully set as root-complex
[    0.251726] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.251748]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000
[    0.251774]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000
[    0.251796]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.251819] 4xx PCI DMA offset set to 0x00000000
[    0.251832] 4xx PCI DMA window base to 0x0000000000000000
[    0.251846] DMA window size 0x0000000080000000
[    0.261402] PCI: Probing PCI hardware
[    0.261731] PCI host bridge to bus 0000:40
[    0.261768] pci_bus 0000:40: root bus resource [io  0xfffc0000-0xfffcffff] (bus address [0x0000-0xffff])
[    0.261797] pci_bus 0000:40: root bus resource [mem 0xe00000000-0xe7fffffff] (bus address [0x80000000-0xffffffff])
[    0.261826] pci_bus 0000:40: root bus resource [mem 0xf00000000-0xf000fffff] (bus address [0x00000000-0x000fffff])
[    0.261855] pci_bus 0000:40: root bus resource [bus 40-ff]
[    0.261969] PCI: Hiding 4xx host bridge resources 0000:40:00.0
[    0.264189] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.264293] pci 0000:41:00.0: bridge configuration invalid ([bus 02-02]), reconfiguring
[    0.264868] pci 0000:41:00.0: PCI bridge to [bus 42-7f]
[    0.265081] PCI host bridge to bus 0001:80
[    0.265106] pci_bus 0001:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.265134] pci_bus 0001:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.265181] pci_bus 0001:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.265209] pci_bus 0001:80: root bus resource [bus 80-ff]
[    0.265305] PCI: Hiding 4xx host bridge resources 0001:80:00.0
[    0.268247] pci 0001:80:00.0: PCI bridge to [bus 81-bf]
[    0.268539] PCI host bridge to bus 0002:00
[    0.268563] pci_bus 0002:00: root bus resource [io  0x0000-0xffff]
[    0.268585] pci_bus 0002:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.268614] pci_bus 0002:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.268642] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.269359] pci 0000:40:00.0: BAR 13: assigned [io  0xfffc1000-0xfffc1fff]
[    0.269393] pci 0000:41:00.0: BAR 13: assigned [io  0xfffc1000-0xfffc1fff]
[    0.269415] pci 0000:42:00.0: BAR 1: assigned [io  0xfffc1000-0xfffc107f]
[    0.269440] pci 0000:42:00.0: BAR 0: assigned [io  0xfffc1080-0xfffc109f]
[    0.269463] pci 0000:41:00.0: PCI bridge to [bus 42]
[    0.269482] pci 0000:41:00.0:   bridge window [io  0xfffc1000-0xfffc1fff]
[    0.269511] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.269529] pci 0000:40:00.0:   bridge window [io  0xfffc1000-0xfffc1fff]
[    0.269615] pci 0001:80:00.0: BAR 15: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.269640] pci 0001:80:00.0: BAR 14: assigned [mem 0xe90000000-0xe900fffff]
[    0.269661] pci 0001:80:00.0: BAR 13: assigned [io  0xfffe1000-0xfffe1fff]
[    0.269685] pci 0001:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.269717] pci 0001:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9001ffff 64bit]
[    0.269747] pci 0001:81:00.0: BAR 6: assigned [mem 0xe90020000-0xe9003ffff pref]
[    0.269773] pci 0001:81:00.1: BAR 0: assigned [mem 0xe90040000-0xe90043fff 64bit]
[    0.269802] pci 0001:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.269824] pci 0001:80:00.0: PCI bridge to [bus 81-bf]
[    0.269842] pci 0001:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.269863] pci 0001:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.269883] pci 0001:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.269968] pci 0002:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.269990] pci 0002:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.270013] pci 0002:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.270037] pci 0002:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.270058] pci 0002:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.270079] pci 0002:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.270099] pci 0002:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.270120] pci 0002:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.270140] pci 0002:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.298144] raid6: int32x1    300 MB/s
[    0.314619] raid6: int32x2    429 MB/s
[    0.332598] raid6: int32x4    480 MB/s
[    0.349843] raid6: int32x8    234 MB/s
[    0.349865] raid6: using algorithm int32x4 (480 MB/s)
[    0.349880] raid6: using intx1 recovery algorithm
[    0.350216] vgaarb: device added: PCI:0001:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.350248] vgaarb: loaded
[    0.350259] vgaarb: bridge control possible 0001:81:00.0
[    0.350804] SCSI subsystem initialized
[    0.351433] usbcore: registered new interface driver usbfs
[    0.351518] usbcore: registered new interface driver hub
[    0.351630] usbcore: registered new device driver usb
[    0.352644] Switched to clocksource timebase
[    0.362225] NET: Registered protocol family 2
[    0.363055] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.363156] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.363233] TCP: Hash tables configured (established 8192 bind 8192)
[    0.363343] TCP: reno registered
[    0.363362] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.363394] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.363571] NET: Registered protocol family 1
[    0.364087] RPC: Registered named UNIX socket transport module.
[    0.364119] RPC: Registered udp transport module.
[    0.364133] RPC: Registered tcp transport module.
[    0.364147] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.364803] Could not remap bcsr
[    0.368882] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x184)
[    0.371303] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.383577] ntfs: driver 2.1.30 [Flags: R/W].
[    0.384237] fuse init (API version 7.23)
[    0.384866] msgmni has been set to 1486
[    0.387277] bounce: pool size: 64 pages
[    0.387378] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.387406] io scheduler noop registered
[    0.387443] io scheduler cfq registered (default)
[    0.388226] aer: probe of 0000:40:00.0:pcie02 failed with error -22
[    0.388277] aer: probe of 0001:80:00.0:pcie02 failed with error -22
[    0.388357] pcie_pme: probe of 0000:40:00.0:pcie01 failed with error -22
[    0.388395] pcie_pme: probe of 0001:80:00.0:pcie01 failed with error -22
[    0.389326] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.390412] console [ttyS0] disabled
[    0.411567] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.414596] console [ttyS0] enabled
[    1.438798] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 24, base_baud = 691200) is a U6_16550A
[    1.448482] console [ttyS0] disabled
[    0.000000] Using Canyonlands machine description
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.17.0-rc1-Sam460ex (root@julian-VirtualBox) (gcc version 4.8.2 (Ubuntu 4.8.2-16ubuntu3) ) #1 PREEMPT Sat Feb 14 19:45:33 AST 2015
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000-0x2fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x30000000-0x7fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x7fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: root=/dev/sda12 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Sorting __ex_table...
[    0.000000] Memory: 2004844K/2097152K available (5764K kernel code, 232K rwdata, 1456K rodata, 236K init, 1333K bss, 92308K reserved, 1310720K highmem)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffcf000..0xfffff000  : fixmap
[    0.000000]   * 0xffc00000..0xffe00000  : highmem PTEs
[    0.000000]   * 0xffa00000..0xffc00000  : consistent mem
[    0.000000]   * 0xffa00000..0xffa00000  : early ioremap
[    0.000000]   * 0xf1000000..0xffa00000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:512 nr_irqs:512 16
[    0.000000] UIC0 (32 IRQ sources) at DCR 0xc0
[    0.000000] UIC1 (32 IRQ sources) at DCR 0xd0
[    0.000000] UIC2 (32 IRQ sources) at DCR 0xe0
[    0.000000] UIC3 (32 IRQ sources) at DCR 0xf0
[    0.000013] clocksource: timebase mult[dda520] shift[24] registered
[    0.000138] Console: colour dummy device 80x25
[    0.000557] console [tty0] enabled
[    0.000581] pid_max: default: 32768 minimum: 301
[    0.000683] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000706] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002800] devtmpfs: initialized
[    0.003674] xor: measuring software checksum speed
[    0.013505]    8regs     :   856.000 MB/sec
[    0.023276]    8regs_prefetch:   780.000 MB/sec
[    0.033309]    32regs    :  1120.000 MB/sec
[    0.043362]    32regs_prefetch:   996.000 MB/sec
[    0.043388] xor: using function: 32regs (1120.000 MB/sec)
[    0.045174] NET: Registered protocol family 16
[    0.046996] 256k L2-cache enabled
[    0.047113] PCIE0: Checking link...
[    0.047126] PCIE0: Device detected, waiting for link...
[    0.047140] PCIE0: link is up !
[    0.149234] PCI host bridge /plb/pciex@d00000000 (primary) ranges:
[    0.149287]  MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000
[    0.149313]  MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000
[    0.149336]   IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000
[    0.149362] 4xx PCI DMA offset set to 0x00000000
[    0.149375] 4xx PCI DMA window base to 0x0000000000000000
[    0.149390] DMA window size 0x0000000080000000
[    0.149420] PCIE0: successfully set as root-complex
[    0.149460] PCIE1: Checking link...
[    0.149472] PCIE1: Device detected, waiting for link...
[    0.149486] PCIE1: link is up !
[    0.251485] PCI host bridge /plb/pciex@d20000000 (primary) ranges:
[    0.251520]  MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000
[    0.251546]  MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000
[    0.251568]   IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
[    0.251592] 4xx PCI DMA offset set to 0x00000000
[    0.251606] 4xx PCI DMA window base to 0x0000000000000000
[    0.251620] DMA window size 0x0000000080000000
[    0.251646] PCIE1: successfully set as root-complex
[    0.251726] PCI host bridge /plb/pci@c0ec00000 (primary) ranges:
[    0.251748]  MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000
[    0.251774]  MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000
[    0.251796]   IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
[    0.251819] 4xx PCI DMA offset set to 0x00000000
[    0.251832] 4xx PCI DMA window base to 0x0000000000000000
[    0.251846] DMA window size 0x0000000080000000
[    0.261402] PCI: Probing PCI hardware
[    0.261731] PCI host bridge to bus 0000:40
[    0.261768] pci_bus 0000:40: root bus resource [io  0xfffc0000-0xfffcffff] (bus address [0x0000-0xffff])
[    0.261797] pci_bus 0000:40: root bus resource [mem 0xe00000000-0xe7fffffff] (bus address [0x80000000-0xffffffff])
[    0.261826] pci_bus 0000:40: root bus resource [mem 0xf00000000-0xf000fffff] (bus address [0x00000000-0x000fffff])
[    0.261855] pci_bus 0000:40: root bus resource [bus 40-ff]
[    0.261969] PCI: Hiding 4xx host bridge resources 0000:40:00.0
[    0.264189] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.264293] pci 0000:41:00.0: bridge configuration invalid ([bus 02-02]), reconfiguring
[    0.264868] pci 0000:41:00.0: PCI bridge to [bus 42-7f]
[    0.265081] PCI host bridge to bus 0001:80
[    0.265106] pci_bus 0001:80: root bus resource [io  0xfffe0000-0xfffeffff] (bus address [0x0000-0xffff])
[    0.265134] pci_bus 0001:80: root bus resource [mem 0xe80000000-0xeffffffff] (bus address [0x80000000-0xffffffff])
[    0.265181] pci_bus 0001:80: root bus resource [mem 0xf00100000-0xf001fffff] (bus address [0x00000000-0x000fffff])
[    0.265209] pci_bus 0001:80: root bus resource [bus 80-ff]
[    0.265305] PCI: Hiding 4xx host bridge resources 0001:80:00.0
[    0.268247] pci 0001:80:00.0: PCI bridge to [bus 81-bf]
[    0.268539] PCI host bridge to bus 0002:00
[    0.268563] pci_bus 0002:00: root bus resource [io  0x0000-0xffff]
[    0.268585] pci_bus 0002:00: root bus resource [mem 0xd80000000-0xdffffffff] (bus address [0x80000000-0xffffffff])
[    0.268614] pci_bus 0002:00: root bus resource [mem 0xc0ee00000-0xc0eefffff] (bus address [0x00000000-0x000fffff])
[    0.268642] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.269359] pci 0000:40:00.0: BAR 13: assigned [io  0xfffc1000-0xfffc1fff]
[    0.269393] pci 0000:41:00.0: BAR 13: assigned [io  0xfffc1000-0xfffc1fff]
[    0.269415] pci 0000:42:00.0: BAR 1: assigned [io  0xfffc1000-0xfffc107f]
[    0.269440] pci 0000:42:00.0: BAR 0: assigned [io  0xfffc1080-0xfffc109f]
[    0.269463] pci 0000:41:00.0: PCI bridge to [bus 42]
[    0.269482] pci 0000:41:00.0:   bridge window [io  0xfffc1000-0xfffc1fff]
[    0.269511] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[    0.269529] pci 0000:40:00.0:   bridge window [io  0xfffc1000-0xfffc1fff]
[    0.269615] pci 0001:80:00.0: BAR 15: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.269640] pci 0001:80:00.0: BAR 14: assigned [mem 0xe90000000-0xe900fffff]
[    0.269661] pci 0001:80:00.0: BAR 13: assigned [io  0xfffe1000-0xfffe1fff]
[    0.269685] pci 0001:81:00.0: BAR 0: assigned [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.269717] pci 0001:81:00.0: BAR 2: assigned [mem 0xe90000000-0xe9001ffff 64bit]
[    0.269747] pci 0001:81:00.0: BAR 6: assigned [mem 0xe90020000-0xe9003ffff pref]
[    0.269773] pci 0001:81:00.1: BAR 0: assigned [mem 0xe90040000-0xe90043fff 64bit]
[    0.269802] pci 0001:81:00.0: BAR 4: assigned [io  0xfffe1000-0xfffe10ff]
[    0.269824] pci 0001:80:00.0: PCI bridge to [bus 81-bf]
[    0.269842] pci 0001:80:00.0:   bridge window [io  0xfffe1000-0xfffe1fff]
[    0.269863] pci 0001:80:00.0:   bridge window [mem 0xe90000000-0xe900fffff]
[    0.269883] pci 0001:80:00.0:   bridge window [mem 0xe80000000-0xe8fffffff 64bit pref]
[    0.269968] pci 0002:00:06.0: BAR 0: assigned [mem 0xd80000000-0xd83ffffff]
[    0.269990] pci 0002:00:06.0: BAR 1: assigned [mem 0xd84000000-0xd841fffff]
[    0.270013] pci 0002:00:04.0: BAR 6: assigned [mem 0xd84200000-0xd8427ffff pref]
[    0.270037] pci 0002:00:04.0: BAR 5: assigned [mem 0xd84280000-0xd842801ff]
[    0.270058] pci 0002:00:04.0: BAR 4: assigned [io  0x1000-0x100f]
[    0.270079] pci 0002:00:04.0: BAR 0: assigned [io  0x1010-0x1017]
[    0.270099] pci 0002:00:04.0: BAR 2: assigned [io  0x1018-0x101f]
[    0.270120] pci 0002:00:04.0: BAR 1: assigned [io  0x1020-0x1023]
[    0.270140] pci 0002:00:04.0: BAR 3: assigned [io  0x1024-0x1027]
[    0.298144] raid6: int32x1    300 MB/s
[    0.314619] raid6: int32x2    429 MB/s
[    0.332598] raid6: int32x4    480 MB/s
[    0.349843] raid6: int32x8    234 MB/s
[    0.349865] raid6: using algorithm int32x4 (480 MB/s)
[    0.349880] raid6: using intx1 recovery algorithm
[    0.350216] vgaarb: device added: PCI:0001:81:00.0,decodes=io+mem,owns=none,locks=none
[    0.350248] vgaarb: loaded
[    0.350259] vgaarb: bridge control possible 0001:81:00.0
[    0.350804] SCSI subsystem initialized
[    0.351433] usbcore: registered new interface driver usbfs
[    0.351518] usbcore: registered new interface driver hub
[    0.351630] usbcore: registered new device driver usb
[    0.352644] Switched to clocksource timebase
[    0.362225] NET: Registered protocol family 2
[    0.363055] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.363156] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.363233] TCP: Hash tables configured (established 8192 bind 8192)
[    0.363343] TCP: reno registered
[    0.363362] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.363394] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.363571] NET: Registered protocol family 1
[    0.364087] RPC: Registered named UNIX socket transport module.
[    0.364119] RPC: Registered udp transport module.
[    0.364133] RPC: Registered tcp transport module.
[    0.364147] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.364803] Could not remap bcsr
[    0.368882] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x184)
[    0.371303] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.383577] ntfs: driver 2.1.30 [Flags: R/W].
[    0.384237] fuse init (API version 7.23)
[    0.384866] msgmni has been set to 1486
[    0.387277] bounce: pool size: 64 pages
[    0.387378] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.387406] io scheduler noop registered
[    0.387443] io scheduler cfq registered (default)
[    0.388226] aer: probe of 0000:40:00.0:pcie02 failed with error -22
[    0.388277] aer: probe of 0001:80:00.0:pcie02 failed with error -22
[    0.388357] pcie_pme: probe of 0000:40:00.0:pcie01 failed with error -22
[    0.388395] pcie_pme: probe of 0001:80:00.0:pcie01 failed with error -22
[    0.389326] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.390412] console [ttyS0] disabled
[    0.411567] serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 23, base_baud = 691200) is a U6_16550A
[    1.414596] console [ttyS0] enabled
[    1.438798] serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 24, base_baud = 691200) is a U6_16550A
[    1.448482] console [ttyS0] disabled
[    1.452349] 4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 23, base_baud = 691200) is a 16550
[    2.456385] console [ttyS0] enabled
[    2.460383] 4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 24, base_baud = 691200) is a 16550
[    2.470039] Generic non-volatile memory driver v1.1
[    2.481188] brd: module loaded
[    2.487701] loop: module loaded
[    2.491960] sata_sil 0002:00:04.0: Applying R_ERR on DMA activate FIS errata fix
[    2.501064] scsi host0: sata_sil
[    2.505141] scsi host1: sata_sil
[    2.508768] ata1: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd84280080 irq 22
[    2.516506] ata2: SATA max UDMA/100 mmio m512@0xd84280000 tf 0xd842800c0 irq 22
[    2.525981] PPC 4xx OCP EMAC driver, version 3.54
[    2.531525] MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
[    2.537795] ZMII /plb/opb/emac-zmii@ef600d00 initialized
[    2.543568] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[    2.551163] TAH /plb/opb/emac-tah@ef601350 initialized
[    2.556772] TAH /plb/opb/emac-tah@ef601450 initialized
[    2.562463] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[    2.570153] eth0: EMAC-0 /plb/opb/ethernet@ef600e00, MAC 00:50:c2:80:d5:c5
[    2.577457] eth0: found Generic MII PHY (0x00)
[    2.582336] /plb/opb/emac-rgmii@ef601500: input 1 in RGMII mode
[    2.589957] eth1: EMAC-1 /plb/opb/ethernet@ef600f00, MAC 00:00:00:00:00:00
[    2.597249] eth1: found Generic MII PHY (0x01)
[    2.602220] PPP generic driver version 2.4.2
[    2.607065] PPP BSD Compression module registered
[    2.612062] PPP Deflate Compression module registered
[    2.617445] NET: Registered protocol family 24
[    2.622433] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.629496] ppc-of-ehci 4bffd0400.ehci: OF EHCI
[    2.634522] ppc-of-ehci 4bffd0400.ehci: new USB bus registered, assigned bus number 1
[    2.642960] ppc-of-ehci 4bffd0400.ehci: irq 32, io mem 0x4bffd0400
[    2.654655] ppc-of-ehci 4bffd0400.ehci: USB 2.0 started, EHCI 1.00
[    2.660996] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.667814] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.675054] usb usb1: Product: OF EHCI
[    2.678820] usb usb1: Manufacturer: Linux 3.17.0-rc1-Sam460ex ehci_hcd
[    2.685365] usb usb1: SerialNumber: PPC-OF USB
[    2.690317] hub 1-0:1.0: USB hub found
[    2.694296] hub 1-0:1.0: 1 port detected
[    2.698713] ehci-pci: EHCI PCI platform driver
[    2.703415] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.709837] ppc-of-ohci 4bffd0000.usb: OF OHCI
[    2.714547] ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 2
[    2.722450] ppc-of-ohci 4bffd0000.usb: irq 33, io mem 0x4bffd0000
[    2.839669] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    2.852779] ata1.00: ATAPI: ASUS    DRW-24B3ST   c, 1.01, max UDMA/100
[    2.869759] ata1.00: configured for UDMA/100
[    2.881895] scsi 0:0:0:0: CD-ROM            ASUS     DRW-24B3ST   c   1.01 PQ: 0 ANSI: 5
[    2.921748] sr 0:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    2.936644] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.949588] sr 0:0:0:0: Attached scsi generic sg0 type 5
[    2.999688] usb 1-1: new high-speed USB device number 2 using ppc-of-ehci
[    3.128059] usb 1-1: New USB device found, idVendor=0424, idProduct=2517
[    3.138646] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.155769] hub 1-1:1.0: USB hub found
[    3.162681] hub 1-1:1.0: 7 ports detected
[    3.264671] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    3.276928] ata2.00: ATA-8: WDC WD5000AAKS-00V1A0, 05.01D05, max UDMA/133
[    3.288646] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    3.308910] ata2.00: configured for UDMA/100
[    3.327902] scsi 1:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0 1D05 PQ: 0 ANSI: 5
[    3.344909] sd 1:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[    3.352720] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    3.361832] sd 1:0:0:0: [sda] Write Protect is off
[    3.371781] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.403263]  sda: RDSK (512) sda1 (SFS^@)(res 2 spb 1) sda2 (SFS^@)(res 2 spb 1) sda3 (SFS^B)(res 2 spb 1) sda4 (NTFS)(res 2 spb 2) sda5 (LNX^@)(res 2 spb 1) sda6 ((res 2 spb 1) sda7 (SWP^@)(res 2 spb 1) sda8 (LNX^@)(res 2 spb 1) sda9 (EXT^C)(res 2 spb 1) sda10 (SWP^@)(res 2 spb 1) sda11 (LNX^@)(res 2 spb 1) sda12 (EXT^C)(res 2 spb 1) sda13 (SWP^@)(res 2 spb 1) sda14 (LNX^@)(res 2 spb 1) sda15 (EXT^C)(res 2 spb 1) sda16 (SWP^@)(res 2 spb 1)
[    3.453796] usb 1-1.1: new low-speed USB device number 3 using ppc-of-ehci
[    3.464819] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    3.471690] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.478971] usb usb2: Product: OF OHCI
[    3.482753] usb usb2: Manufacturer: Linux 3.17.0-rc1-Sam460ex ohci_hcd
[    3.492302] sd 1:0:0:0: [sda] Attached SCSI disk
[    3.497187] usb usb2: SerialNumber: PPC-OF USB
[    3.502434] hub 2-0:1.0: USB hub found
[    3.506457] hub 2-0:1.0: 1 port detected
[    3.511108] ohci-pci: OHCI PCI platform driver
[    3.516197] usbcore: registered new interface driver usb-storage
[    3.522783] usbcore: registered new interface driver usbserial
[    3.529060] usbcore: registered new interface driver usbserial_generic
[    3.536054] usbserial: USB Serial support registered for generic
[    3.542929] mousedev: PS/2 mouse device common for all mice
[    3.548882] i2c /dev entries driver
[    3.554713] rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
[    3.562282] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[    3.568946] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
[    3.576004] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[    3.585099] sdhci: Secure Digital Host Controller Interface driver
[    3.591467] sdhci: Copyright(c) Pierre Ossman
[    3.596039] usbcore: registered new interface driver ushc
[    3.601517] usb 1-1.1: New USB device found, idVendor=04f2, idProduct=0116
[    3.608724] hidraw: raw HID events driver (C) Jiri Kosina
[    3.614182] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.622377] usbcore: registered new interface driver usbhid
[    3.628150] usb 1-1.1: Product: USB Keyboard
[    3.632699] usbhid: USB HID core driver
[    3.636707] usb 1-1.1: Manufacturer: CHICONY
[    3.641316] ipip: IPv4 over IPv4 tunneling driver
[    3.647581] TCP: cubic registered
[    3.651320] Initializing XFRM netlink socket
[    3.658330] input: CHICONY USB Keyboard as /devices/plb/4bffd0400.ehci/usb1/1-1/1-1.1/1-1.1:1.0/0003:04F2:0116.0001/input/input0
[    3.671169] NET: Registered protocol family 10
[    3.677096] sit: IPv6 over IPv4 tunneling driver
[    3.682360] hid-generic 0003:04F2:0116.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-PPC-OF USB-1.1/input0
[    3.695282] NET: Registered protocol family 17
[    3.699988] NET: Registered protocol family 15
[    3.707516] Btrfs loaded
[    3.711967] rtc-m41t80 0-0068: setting system clock to 2015-02-15 00:23:59 UTC (1423959839)
[    3.765100] EXT3-fs (sda12): mounted filesystem with ordered data mode
[    3.771691] kjournald starting.  Commit interval 5 seconds
[    3.777232] VFS: Mounted root (ext3 filesystem) readonly on device 8:12.
[    3.784045] usb 1-1.2: new full-speed USB device number 4 using ppc-of-ehci
[    3.812205] devtmpfs: mounted
[    3.815858] Freeing unused kernel memory: 236K (c070f000 - c074a000)
[    3.888328] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52b
[    3.895399] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.902902] usb 1-1.2: Product: USB Receiver
[    3.907338] usb 1-1.2: Manufacturer: Logitech
[    3.918233] input: Logitech USB Receiver as /devices/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C52B.0002/input/input1
[    3.930895] hid-generic 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-PPC-OF USB-1.2/input0
[    3.952076] input: Logitech USB Receiver as /devices/plb/4bffd0400.ehci/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52B.0003/input/input2
[    3.965443] hid-generic 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-PPC-OF USB-1.2/input1
[    3.985424] hid-generic 0003:046D:C52B.0004: hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-PPC-OF USB-1.2/input2
[    4.071920] usb 1-1.7: new high-speed USB device number 5 using ppc-of-ehci
[    4.171278] usb 1-1.7: New USB device found, idVendor=0424, idProduct=2240
[    4.178473] usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.186345] usb 1-1.7: Product: Ultra Fast Media
[    4.191221] usb 1-1.7: Manufacturer: Generic
[    4.196312] usb 1-1.7: SerialNumber: 000000225001
[    4.202312] usb-storage 1-1.7:1.0: USB Mass Storage device detected
[    4.208952] scsi host2: usb-storage 1-1.7:1.0
[    4.301159] random: nonblocking pool is initialized
[    5.111272] udevd[880]: starting version 175
[    5.215723] scsi 2:0:0:0: Direct-Access     Generic  Ultra HS-COMBO   1.98 PQ: 0 ANSI: 0
[    5.238185] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    5.244138] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[    5.715269] Linux agpgart interface v0.103
[    6.019063] [drm] Initialized drm 1.1.0 20060810
[    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
[    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
[    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
[    6.495055] Faulting instruction address: 0xc032202c
[    6.500033] Vector: 300 (Data Access) at [efa31cf0]
[    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
[    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
[    6.515600]     sp: efa31da0
[    6.518491]    msr: 21000
[    6.521112]    dar: fa06c7c
[    6.523915]  dsisr: 0
[    6.526190]   current = 0xef8bab00
[    6.529603]     pid   = 115, comm = kworker/0:1
[    6.534163] enter ? for help
[    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
[    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
[    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
[    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
[    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
[    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
[    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
[    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
[    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
[    6.591910] mon>  <no input ...>
[    8.595205] Oops: Kernel access of bad area, sig: 11 [#1]
[    8.600607] PREEMPT Canyonlands
[    8.603769] Modules linked in: snd_seq_midi snd_seq_midi_event cfbfillrect snd_hda_intel cfbimgblt snd_hda_controller cfbcopyarea snd_rawmidi i2c_algo_bit snd_hda_codec drm_kms_helper ttm snd_pcm snd_seq snd_seq_device snd_timer drm snd agpgart
[    8.625753] CPU: 0 PID: 115 Comm: kworker/0:1 Not tainted 3.17.0-rc1-Sam460ex #1
[    8.633171] Workqueue: events azx_probe_work [snd_hda_intel]
[    8.638857] task: ef8bab00 ti: efa30000 task.ti: efa30000
[    8.644264] NIP: c032202c LR: c0014f88 CTR: 00000001
[    8.649238] REGS: efa31cf0 TRAP: 0300   Not tainted  (3.17.0-rc1-Sam460ex)
[    8.656121] MSR: 00021000 <CE,ME>  CR: 24002022  XER: 20000000
[    8.662023] DEAR: 0fa06c7c ESR: 00000000
GPR00: c0014f78 efa31da0 ef8bab00 0fa06c7c ffefffff 00000001 00000002 00000000
GPR08: 00000002 00000000 00000001 efa31da0 24002024 00000000 c003a31c ef9f9520
GPR16: 00000000 00000000 00000000 00000000 c074fd8c fffffef7 c0750000 00000000
GPR24: ef843538 00000000 c0885830 ef843000 fffffff4 c0885830 00000000 00029000
[    8.694807] NIP [c032202c] __reg_op+0xe8/0x100
[    8.699259] LR [c0014f88] msi_bitmap_free_hwirqs+0x50/0x94
[    8.704749] Call Trace:
[    8.707202] [efa31da0] [c0014f78] msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
[    8.714552] [efa31dc0] [c001aee8] ppc4xx_setup_msi_irqs+0xac/0xf4
[    8.720672] [efa31e00] [c03503a4] pci_enable_msi_range+0x1e0/0x280
[    8.726882] [efa31e40] [f92c2f74] azx_probe_work+0xe0/0x57c [snd_hda_intel]
[    8.733867] [efa31e80] [c0036344] process_one_work+0x1e8/0x2f0
[    8.739726] [efa31eb0] [c003677c] worker_thread+0x2f4/0x438
[    8.745326] [efa31ef0] [c003a3e4] kthread+0xc8/0xcc
[    8.750229] [efa31f40] [c000aec4] ret_from_kernel_thread+0x5c/0x64
[    8.756433] Instruction dump:
[    8.759419] 38600001 4e800020 42400038 5549103a 394a0001 7d03482e 7d082378 7d03492e
[    8.767300] 4bffffe8 4240001c 5549103a 394a0001 <7d03482e> 7d082038 7d03492e 4bffffe8
[    8.775360] ---[ end trace 1b4d3bc28e3986f5 ]---
[    8.779983]







[-- Attachment #2: Type: text/html, Size: 38820 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-15 12:16 Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board Julian Margetson
@ 2015-02-16  0:18 ` Michael Ellerman
  2015-02-18 19:45   ` Julian Margetson
                     ` (2 more replies)
  0 siblings, 3 replies; 33+ messages in thread
From: Michael Ellerman @ 2015-02-16  0:18 UTC (permalink / raw)
  To: Julian Margetson; +Cc: linuxppc-dev, Ian Munsie

On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
> Hi
> 
> I am unable to get any kernel beyond  the 3.16 branch working on an
> Acube Sam460ex
>  AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.

Does reverting b0345bbc6d09 change anything?

> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
> [    6.495055] Faulting instruction address: 0xc032202c
> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
> [    6.515600]     sp: efa31da0
> [    6.518491]    msr: 21000
> [    6.521112]    dar: fa06c7c
> [    6.523915]  dsisr: 0
> [    6.526190]   current = 0xef8bab00
> [    6.529603]     pid   = 115, comm = kworker/0:1
> [    6.534163] enter ? for help
> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
> [    6.591910] mon>  <no input ...>


cheers

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-16  0:18 ` Michael Ellerman
@ 2015-02-18 19:45   ` Julian Margetson
  2015-02-19  0:13     ` Michael Ellerman
  2015-02-19  2:20     ` Julian Margetson
  2015-02-18 20:13   ` Julian Margetson
  2015-04-27 10:59   ` Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands Julian Margetson
  2 siblings, 2 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-18 19:45 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

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

On 2/15/2015 8:18 PM, Michael Ellerman wrote:
> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>> Hi
>>
>> I am unable to get any kernel beyond  the 3.16 branch working on an
>> Acube Sam460ex
>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
> Does reverting b0345bbc6d09 change anything?
>
>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>> [    6.495055] Faulting instruction address: 0xc032202c
>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>> [    6.515600]     sp: efa31da0
>> [    6.518491]    msr: 21000
>> [    6.521112]    dar: fa06c7c
>> [    6.523915]  dsisr: 0
>> [    6.526190]   current = 0xef8bab00
>> [    6.529603]     pid   = 115, comm = kworker/0:1
>> [    6.534163] enter ? for help
>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>> [    6.591910] mon>  <no input ...>
>
> cheers
>
>
>
Managed to do a third git bisect  with the following results .

git bisect bad
9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
commit 9279d3286e10736766edcaf815ae10e00856e448
Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Date:   Wed Aug 6 16:10:16 2014 -0700

     lib: bitmap: change parameter of bitmap_*_region to unsigned
     
     Changing the pos parameter of __reg_op to unsigned allows the compiler
     to generate slightly smaller and simpler code.  Also update its callers
     bitmap_*_region to receive and pass unsigned int.  The return types of
     bitmap_find_free_region and bitmap_allocate_region are still int to
     allow a negative error code to be returned.  An int is certainly capable
     of representing any realistic return value.
     
     Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
     Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
     Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

:040000 040000 4f560a7caaba2d05c146a3cea27e0d93739d950c c3d4539acad26667a2d78844ead7b75af753f41e M	include
:040000 040000 7a6fb894aac2a1d4e72f8e36b7c6de3c24509ad3 31d756da185e07d2de090c9e6aeb12689d58d310 M	lib



[-- Attachment #2: Type: text/html, Size: 4129 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-16  0:18 ` Michael Ellerman
  2015-02-18 19:45   ` Julian Margetson
@ 2015-02-18 20:13   ` Julian Margetson
  2015-04-27 10:59   ` Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands Julian Margetson
  2 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-18 20:13 UTC (permalink / raw)
  To: linuxppc-dev

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

On 2/15/2015 8:18 PM, Michael Ellerman wrote:
> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>> Hi
>>
>> I am unable to get any kernel beyond  the 3.16 branch working on an
>> Acube Sam460ex
>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
> Does reverting b0345bbc6d09 change anything?
>
>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>> [    6.495055] Faulting instruction address: 0xc032202c
>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>> [    6.515600]     sp: efa31da0
>> [    6.518491]    msr: 21000
>> [    6.521112]    dar: fa06c7c
>> [    6.523915]  dsisr: 0
>> [    6.526190]   current = 0xef8bab00
>> [    6.529603]     pid   = 115, comm = kworker/0:1
>> [    6.534163] enter ? for help
>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>> [    6.591910] mon>  <no input ...>
> cheers
>
>
>
Managed to do a third git bisect  with the following results .

git bisect bad
9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
commit 9279d3286e10736766edcaf815ae10e00856e448
Author: Rasmus Villemoes<linux@rasmusvillemoes.dk>
Date:   Wed Aug 6 16:10:16 2014 -0700

     lib: bitmap: change parameter of bitmap_*_region to unsigned
     
     Changing the pos parameter of __reg_op to unsigned allows the compiler
     to generate slightly smaller and simpler code.  Also update its callers
     bitmap_*_region to receive and pass unsigned int.  The return types of
     bitmap_find_free_region and bitmap_allocate_region are still int to
     allow a negative error code to be returned.  An int is certainly capable
     of representing any realistic return value.
     
     Signed-off-by: Rasmus Villemoes<linux@rasmusvillemoes.dk>
     Signed-off-by: Andrew Morton<akpm@linux-foundation.org>
     Signed-off-by: Linus Torvalds<torvalds@linux-foundation.org>

:040000 040000 4f560a7caaba2d05c146a3cea27e0d93739d950c c3d4539acad26667a2d78844ead7b75af753f41e M	include
:040000 040000 7a6fb894aac2a1d4e72f8e36b7c6de3c24509ad3 31d756da185e07d2de090c9e6aeb12689d58d310 M	lib



[-- Attachment #2: Type: text/html, Size: 4127 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-18 19:45   ` Julian Margetson
@ 2015-02-19  0:13     ` Michael Ellerman
  2015-02-19  1:36       ` Julian Margetson
  2015-02-19  2:20     ` Julian Margetson
  1 sibling, 1 reply; 33+ messages in thread
From: Michael Ellerman @ 2015-02-19  0:13 UTC (permalink / raw)
  To: Julian Margetson; +Cc: linuxppc-dev, Ian Munsie

On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
> 
> > On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
> > > Hi
> > > 
> > > I am unable to get any kernel beyond  the 3.16 branch working on an
> > > Acube Sam460ex
> > >  AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
> > Does reverting b0345bbc6d09 change anything?
> > 
> > > [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
> > > [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
> > > [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
> > > [    6.495055] Faulting instruction address: 0xc032202c
> > > [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
> > > [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
> > > [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
> > > [    6.515600]     sp: efa31da0
> > > [    6.518491]    msr: 21000
> > > [    6.521112]    dar: fa06c7c
> > > [    6.523915]  dsisr: 0
> > > [    6.526190]   current = 0xef8bab00
> > > [    6.529603]     pid   = 115, comm = kworker/0:1
> > > [    6.534163] enter ? for help
> > > [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
> > > [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
> > > [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
> > > [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
> > > [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
> > > [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
> > > [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
> > > [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
> > > [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
> > > [    6.591910] mon>  <no input ...>
>
> Managed to do a third git bisect  with the following results .

Great work.

> git bisect bad
> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
> commit 9279d3286e10736766edcaf815ae10e00856e448
> Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> Date:   Wed Aug 6 16:10:16 2014 -0700
> 
>     lib: bitmap: change parameter of bitmap_*_region to unsigned
>     
>     Changing the pos parameter of __reg_op to unsigned allows the compiler
>     to generate slightly smaller and simpler code.  Also update its callers
>     bitmap_*_region to receive and pass unsigned int.  The return types of
>     bitmap_find_free_region and bitmap_allocate_region are still int to
>     allow a negative error code to be returned.  An int is certainly capable
>     of representing any realistic return value.

So that looks feasible as the culprit.

Looking at the 4xx MSI code, it just looks wrong:

static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
{
	...

	list_for_each_entry(entry, &dev->msi_list, list) {
		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
		if (int_no >= 0)
			break;

That's backward, a *negative* return indicates an error.

		if (int_no < 0) {
			pr_debug("%s: fail allocating msi interrupt\n",
					__func__);
		}

This is the correct check, but it just prints a warning and then continues,
which is not going to work.

		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);

This will fail if int_no is negative.

		if (virq == NO_IRQ) {
			dev_err(&dev->dev, "%s: fail mapping irq\n", __func__);
			msi_bitmap_free_hwirqs(&msi_data->bitmap, int_no, 1);

And so here we can pass a negative int_no to the free routine, which then oopses.

			return -ENOSPC;
		}


So the bug is in the 4xx MSI code, and has always been there, in fact I don't
see how that code has *ever* worked. The commit you bisected to just caused the
existing bug to cause an oops.

Can you try this?

diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
index 6e2e6aa378bb..effb5b878a78 100644
--- a/arch/powerpc/sysdev/ppc4xx_msi.c
+++ b/arch/powerpc/sysdev/ppc4xx_msi.c
@@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
 
 	list_for_each_entry(entry, &dev->msi_list, list) {
 		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
-		if (int_no >= 0)
-			break;
 		if (int_no < 0) {
-			pr_debug("%s: fail allocating msi interrupt\n",
-					__func__);
+			pr_warn("%s: fail allocating msi interrupt\n", __func__);
+			return -ENOSPC;
 		}
 		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
 		if (virq == NO_IRQ) {

cheers

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-19  0:13     ` Michael Ellerman
@ 2015-02-19  1:36       ` Julian Margetson
  2015-02-19  2:56         ` Michael Ellerman
  0 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-02-19  1:36 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

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

On 2/18/2015 8:13 PM, Michael Ellerman wrote:
> On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
>> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
>>
>>> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>>>> Hi
>>>>
>>>> I am unable to get any kernel beyond  the 3.16 branch working on an
>>>> Acube Sam460ex
>>>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
>>> Does reverting b0345bbc6d09 change anything?
>>>
>>>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>>>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>>>> [    6.495055] Faulting instruction address: 0xc032202c
>>>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>>>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>>>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>>>> [    6.515600]     sp: efa31da0
>>>> [    6.518491]    msr: 21000
>>>> [    6.521112]    dar: fa06c7c
>>>> [    6.523915]  dsisr: 0
>>>> [    6.526190]   current = 0xef8bab00
>>>> [    6.529603]     pid   = 115, comm = kworker/0:1
>>>> [    6.534163] enter ? for help
>>>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>>>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>>>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>>>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>>>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>>>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>>>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>>>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>>>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>>>> [    6.591910] mon>  <no input ...>
>> Managed to do a third git bisect  with the following results .
> Great work.
>
>> git bisect bad
>> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
>> commit 9279d3286e10736766edcaf815ae10e00856e448
>> Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
>> Date:   Wed Aug 6 16:10:16 2014 -0700
>>
>>      lib: bitmap: change parameter of bitmap_*_region to unsigned
>>      
>>      Changing the pos parameter of __reg_op to unsigned allows the compiler
>>      to generate slightly smaller and simpler code.  Also update its callers
>>      bitmap_*_region to receive and pass unsigned int.  The return types of
>>      bitmap_find_free_region and bitmap_allocate_region are still int to
>>      allow a negative error code to be returned.  An int is certainly capable
>>      of representing any realistic return value.
> So that looks feasible as the culprit.
>
> Looking at the 4xx MSI code, it just looks wrong:
>
> static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
> {
> 	...
>
> 	list_for_each_entry(entry, &dev->msi_list, list) {
> 		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
> 		if (int_no >= 0)
> 			break;
>
> That's backward, a *negative* return indicates an error.
>
> 		if (int_no < 0) {
> 			pr_debug("%s: fail allocating msi interrupt\n",
> 					__func__);
> 		}
>
> This is the correct check, but it just prints a warning and then continues,
> which is not going to work.
>
> 		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
>
> This will fail if int_no is negative.
>
> 		if (virq == NO_IRQ) {
> 			dev_err(&dev->dev, "%s: fail mapping irq\n", __func__);
> 			msi_bitmap_free_hwirqs(&msi_data->bitmap, int_no, 1);
>
> And so here we can pass a negative int_no to the free routine, which then oopses.
>
> 			return -ENOSPC;
> 		}
>
>
> So the bug is in the 4xx MSI code, and has always been there, in fact I don't
> see how that code has *ever* worked. The commit you bisected to just caused the
> existing bug to cause an oops.
>
> Can you try this?
>
> diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
> index 6e2e6aa378bb..effb5b878a78 100644
> --- a/arch/powerpc/sysdev/ppc4xx_msi.c
> +++ b/arch/powerpc/sysdev/ppc4xx_msi.c
> @@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
>   
>   	list_for_each_entry(entry, &dev->msi_list, list) {
>   		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
> -		if (int_no >= 0)
> -			break;
>   		if (int_no < 0) {
> -			pr_debug("%s: fail allocating msi interrupt\n",
> -					__func__);
> +			pr_warn("%s: fail allocating msi interrupt\n", __func__);
> +			return -ENOSPC;
>   		}
>   		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
>   		if (virq == NO_IRQ) {
>
> cheers
>
>
>
>
Thanks.
This works with 3.17-rc1. Will try with the 3.18 Branch .
Any ideas why drm is not  working ? (It never worked) .

[    5.809802] Linux agpgart interface v0.103
[    6.137893] [drm] Initialized drm 1.1.0 20060810
[    6.439872] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
[    6.508544] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
[    6.652019] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0001:80/0001:80:                     00.0/0001:81:00.1/sound/card0/input3
[    7.091160] snd_ice1724 0000:42:00.0: No matching model found for ID 0x121403                     24
[    7.357382] [drm] radeon kernel modesetting enabled.
[    7.465477] [drm] initializing kernel modesetting (TURKS 0x1002:0x6758 0x1682                     :0x318B).
[    7.619111] [drm] register mmio base: 0xe90000000
[    7.675162] [drm] register mmio size: 131072
[    7.977217] ATOM BIOS: TURKS
[    7.980411] radeon 0001:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003                     FFFFFFF (1024M used)
[    7.989602] radeon 0001:81:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007F                     FFFFFF
[    7.998154] [drm] Detected VRAM RAM=1024M, BAR=256M
[    8.003107] [drm] RAM width 128bits DDR
[    8.007196] [TTM] Zone  kernel: Available graphics memory: 380708 kiB
[    8.014116] [TTM] Zone highmem: Available graphics memory: 1036068 kiB
[    8.020685] [TTM] Initializing pool allocator
[    8.025093] [TTM] Initializing DMA pool allocator
[    8.030730] [drm] radeon: 1024M of VRAM memory ready
[    8.035793] [drm] radeon: 1024M of GTT memory ready.
[    8.040862] [drm] Loading TURKS Microcode
[    8.485902] [drm] Internal thermal controller with fan control
[    8.501363] [drm] radeon: dpm initialized
[    8.540582] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    8.591547] [drm] PCIE GART of 1024M enabled (table at 0x0000000000273000).
[    8.615342] radeon 0001:81:00.0: WB enabled
[    8.620473] radeon 0001:81:00.0: fence driver on ring 0 use gpu addr 0x000000                     0040000c00 and cpu addr 0xc55d0c00
[    8.631217] radeon 0001:81:00.0: fence driver on ring 3 use gpu addr 0x000000                     0040000c0c and cpu addr 0xc55d0c0c
[    8.668198] radeon 0001:81:00.0: fence driver on ring 5 use gpu addr 0x000000                     0000072118 and cpu addr 0xf9832118
[    8.678526] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    8.685176] [drm] Driver supports precise vblank timestamp query.
[    8.691508] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
[    8.697625] [drm] radeon: irq initialized.
[    8.727173] [drm] ring test on 0 succeeded in 1 usecs
[    8.923064] [drm:r600_dma_ring_test] *ERROR* radeon: ring 3 test failed (0xCA                     FEDEAD)
[    8.931197] radeon 0001:81:00.0: disabling GPU acceleration





[-- Attachment #2: Type: text/html, Size: 8675 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-18 19:45   ` Julian Margetson
  2015-02-19  0:13     ` Michael Ellerman
@ 2015-02-19  2:20     ` Julian Margetson
  1 sibling, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-19  2:20 UTC (permalink / raw)
  To: Julian Margetson; +Cc: linuxppc-dev, Ian Munsie

On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
>
> > On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
> > > Hi
> > >
> > > I am unable to get any kernel beyond  the 3.16 branch working on an
> > > Acube Sam460ex
> > >  AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
> > Does reverting b0345bbc6d09 change anything?
> >
> > > [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
> > > [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
> > > [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
> > > [    6.495055] Faulting instruction address: 0xc032202c
> > > [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
> > > [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
> > > [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
> > > [    6.515600]     sp: efa31da0
> > > [    6.518491]    msr: 21000
> > > [    6.521112]    dar: fa06c7c
> > > [    6.523915]  dsisr: 0
> > > [    6.526190]   current = 0xef8bab00
> > > [    6.529603]     pid   = 115, comm = kworker/0:1
> > > [    6.534163] enter ? for help
> > > [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
> > > [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
> > > [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
> > > [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
> > > [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
> > > [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
> > > [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
> > > [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
> > > [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
> > > [    6.591910] mon>  <no input ...>
>
> Managed to do a third git bisect  with the following results .

Great work.

> git bisect bad
> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
> commit 9279d3286e10736766edcaf815ae10e00856e448
> Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> Date:   Wed Aug 6 16:10:16 2014 -0700
>
>     lib: bitmap: change parameter of bitmap_*_region to unsigned
>
>     Changing the pos parameter of __reg_op to unsigned allows the compiler
>     to generate slightly smaller and simpler code.  Also update its callers
>     bitmap_*_region to receive and pass unsigned int.  The return types of
>     bitmap_find_free_region and bitmap_allocate_region are still int to
>     allow a negative error code to be returned.  An int is certainly capable
>     of representing any realistic return value.

So that looks feasible as the culprit.

Looking at the 4xx MSI code, it just looks wrong:

static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
{
	...

	list_for_each_entry(entry, &dev->msi_list, list) {
		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
		if (int_no >= 0)
			break;

That's backward, a *negative* return indicates an error.

		if (int_no < 0) {
			pr_debug("%s: fail allocating msi interrupt\n",
					__func__);
		}

This is the correct check, but it just prints a warning and then continues,
which is not going to work.

		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);

This will fail if int_no is negative.

		if (virq == NO_IRQ) {
			dev_err(&dev->dev, "%s: fail mapping irq\n", __func__);
			msi_bitmap_free_hwirqs(&msi_data->bitmap, int_no, 1);

And so here we can pass a negative int_no to the free routine, which 
then oopses.

			return -ENOSPC;
		}


So the bug is in the 4xx MSI code, and has always been there, in fact I 
don't
see how that code has *ever* worked. The commit you bisected to just 
caused the
existing bug to cause an oops.

Can you try this?

diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c 
b/arch/powerpc/sysdev/ppc4xx_msi.c
index 6e2e6aa378bb..effb5b878a78 100644
--- a/arch/powerpc/sysdev/ppc4xx_msi.c
+++ b/arch/powerpc/sysdev/ppc4xx_msi.c
@@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, 
int nvec, int type)
   	list_for_each_entry(entry, &dev->msi_list, list) {
  		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
-		if (int_no >= 0)
-			break;
  		if (int_no < 0) {
-			pr_debug("%s: fail allocating msi interrupt\n",
-					__func__);
+			pr_warn("%s: fail allocating msi interrupt\n", __func__);
+			return -ENOSPC;
  		}
  		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
  		if (virq == NO_IRQ) {

cheers


Can also confirm patch working with kernel 3.18.7 .

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-19  1:36       ` Julian Margetson
@ 2015-02-19  2:56         ` Michael Ellerman
  2015-02-19  3:25           ` Julian Margetson
                             ` (4 more replies)
  0 siblings, 5 replies; 33+ messages in thread
From: Michael Ellerman @ 2015-02-19  2:56 UTC (permalink / raw)
  To: Julian Margetson; +Cc: linuxppc-dev, Ian Munsie

On Wed, 2015-02-18 at 21:36 -0400, Julian Margetson wrote:
> On 2/18/2015 8:13 PM, Michael Ellerman wrote:
> 
> > On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
> > > On 2/15/2015 8:18 PM, Michael Ellerman wrote:
> > > 
> > > > On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
> > > > > Hi
> > > > > 
> > > > > I am unable to get any kernel beyond  the 3.16 branch working on an
> > > > > Acube Sam460ex
> > > > >  AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
> > > > Does reverting b0345bbc6d09 change anything?
> > > > 
> > > > > [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
> > > > > [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
> > > > > [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
> > > > > [    6.495055] Faulting instruction address: 0xc032202c
> > > > > [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
> > > > > [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
> > > > > [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
> > > > > [    6.515600]     sp: efa31da0
> > > > > [    6.518491]    msr: 21000
> > > > > [    6.521112]    dar: fa06c7c
> > > > > [    6.523915]  dsisr: 0
> > > > > [    6.526190]   current = 0xef8bab00
> > > > > [    6.529603]     pid   = 115, comm = kworker/0:1
> > > > > [    6.534163] enter ? for help
> > > > > [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
> > > > > [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
> > > > > [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
> > > > > [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
> > > > > [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
> > > > > [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
> > > > > [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
> > > > > [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
> > > > > [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
> > > > > [    6.591910] mon>  <no input ...>
> > > Managed to do a third git bisect  with the following results .
> > Great work.
> > 
> > > git bisect bad
> > > 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
> > > commit 9279d3286e10736766edcaf815ae10e00856e448
> > > Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> > > Date:   Wed Aug 6 16:10:16 2014 -0700
> > > 
> > >     lib: bitmap: change parameter of bitmap_*_region to unsigned
> > 
> > So the bug is in the 4xx MSI code, and has always been there, in fact I don't
> > see how that code has *ever* worked. The commit you bisected to just caused the
> > existing bug to cause an oops.
> > 
> > Can you try this?
> > 
> > diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
> > index 6e2e6aa378bb..effb5b878a78 100644
> > --- a/arch/powerpc/sysdev/ppc4xx_msi.c
> > +++ b/arch/powerpc/sysdev/ppc4xx_msi.c
> > @@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
> >  
> >  	list_for_each_entry(entry, &dev->msi_list, list) {
> >  		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
> > -		if (int_no >= 0)
> > -			break;
> >  		if (int_no < 0) {
> > -			pr_debug("%s: fail allocating msi interrupt\n",
> > -					__func__);
> > +			pr_warn("%s: fail allocating msi interrupt\n", __func__);
> > +			return -ENOSPC;
> >  		}
> >  		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
> >  		if (virq == NO_IRQ) {
> > 
> Thanks.

> This works with 3.17-rc1. Will try with the 3.18 Branch .

OK great.

> Any ideas why drm is not  working ? (It never worked) .

No sorry. You might have more luck if you post a new thread to the dri list.

> [    5.809802] Linux agpgart interface v0.103
> [    6.137893] [drm] Initialized drm 1.1.0 20060810
> [    6.439872] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
> [    6.508544] ppc4xx_setup_msi_irqs: fail allocating msi interrupt

I'm curious why it's failing to allocate MSIs. Possibly it's just run out.

Can you post the output of 'cat /proc/interrupts'?

cheers

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-19  2:56         ` Michael Ellerman
@ 2015-02-19  3:25           ` Julian Margetson
  2015-02-20 19:25             ` Julian Margetson
  2015-02-19 15:57           ` Julian Margetson
                             ` (3 subsequent siblings)
  4 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-02-19  3:25 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

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

On 2/18/2015 10:56 PM, Michael Ellerman wrote:
> On Wed, 2015-02-18 at 21:36 -0400, Julian Margetson wrote:
>> On 2/18/2015 8:13 PM, Michael Ellerman wrote:
>>
>>> On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
>>>> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
>>>>
>>>>> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>>>>>> Hi
>>>>>>
>>>>>> I am unable to get any kernel beyond  the 3.16 branch working on an
>>>>>> Acube Sam460ex
>>>>>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
>>>>> Does reverting b0345bbc6d09 change anything?
>>>>>
>>>>>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>>>>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>>>>>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>>>>>> [    6.495055] Faulting instruction address: 0xc032202c
>>>>>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>>>>>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>>>>>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>>>>>> [    6.515600]     sp: efa31da0
>>>>>> [    6.518491]    msr: 21000
>>>>>> [    6.521112]    dar: fa06c7c
>>>>>> [    6.523915]  dsisr: 0
>>>>>> [    6.526190]   current = 0xef8bab00
>>>>>> [    6.529603]     pid   = 115, comm = kworker/0:1
>>>>>> [    6.534163] enter ? for help
>>>>>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>>>>>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>>>>>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>>>>>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>>>>>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>>>>>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>>>>>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>>>>>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>>>>>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>>>>>> [    6.591910] mon>  <no input ...>
>>>> Managed to do a third git bisect  with the following results .
>>> Great work.
>>>
>>>> git bisect bad
>>>> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
>>>> commit 9279d3286e10736766edcaf815ae10e00856e448
>>>> Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
>>>> Date:   Wed Aug 6 16:10:16 2014 -0700
>>>>
>>>>      lib: bitmap: change parameter of bitmap_*_region to unsigned
>>> So the bug is in the 4xx MSI code, and has always been there, in fact I don't
>>> see how that code has *ever* worked. The commit you bisected to just caused the
>>> existing bug to cause an oops.
>>>
>>> Can you try this?
>>>
>>> diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
>>> index 6e2e6aa378bb..effb5b878a78 100644
>>> --- a/arch/powerpc/sysdev/ppc4xx_msi.c
>>> +++ b/arch/powerpc/sysdev/ppc4xx_msi.c
>>> @@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
>>>   
>>>   	list_for_each_entry(entry, &dev->msi_list, list) {
>>>   		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
>>> -		if (int_no >= 0)
>>> -			break;
>>>   		if (int_no < 0) {
>>> -			pr_debug("%s: fail allocating msi interrupt\n",
>>> -					__func__);
>>> +			pr_warn("%s: fail allocating msi interrupt\n", __func__);
>>> +			return -ENOSPC;
>>>   		}
>>>   		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
>>>   		if (virq == NO_IRQ) {
>>>
>> Thanks.
>> This works with 3.17-rc1. Will try with the 3.18 Branch .
> OK great.
>
>> Any ideas why drm is not  working ? (It never worked) .
> No sorry. You might have more luck if you post a new thread to the dri list.
>
>> [    5.809802] Linux agpgart interface v0.103
>> [    6.137893] [drm] Initialized drm 1.1.0 20060810
>> [    6.439872] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>> [    6.508544] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
> I'm curious why it's failing to allocate MSIs. Possibly it's just run out.
>
> Can you post the output of 'cat /proc/interrupts'?
>
> cheers
>
>
>
cat /proc/interrupts
            CPU0
  18:          0       UIC  11 Edge      L2C
  19:          0       UIC  12 Level     snd_ice1724
  20:          1       UIC  16 Level
  21:        306       UIC  17 Level     snd_hda_intel
  22:      12212       UIC   0 Level     0002:00:04.0
  25:        619       UIC   6 Level     MAL TX EOB
  26:        937       UIC   7 Level     MAL RX EOB
  27:          0       UIC   3 Level     MAL SERR
  28:          0       UIC   4 Level     MAL TX DE
  31:          0       UIC   5 Level     MAL RX DE
  32:       6607       UIC  29 Level     ehci_hcd:usb1
  33:          1       UIC  30 Level     ohci_hcd:usb2
  38:         19       UIC   2 Level     IBM IIC
  39:          0       UIC   3 Level     IBM IIC
  40:          0       UIC  16 Level     EMAC
  44:          0       UIC   0 Edge      aerdrv
  45:          0       UIC   2 Edge      aerdrv
LOC:     117318   Local timer interrupts for timer event device
LOC:         53   Local timer interrupts for others
SPU:          0   Spurious interrupts
PMI:          0   Performance monitoring interrupts
MCE:          0   Machine check exceptions


[-- Attachment #2: Type: text/html, Size: 6824 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-19  2:56         ` Michael Ellerman
  2015-02-19  3:25           ` Julian Margetson
@ 2015-02-19 15:57           ` Julian Margetson
       [not found]           ` <54EB253F.9020704@candw.ms>
                             ` (2 subsequent siblings)
  4 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-19 15:57 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

On 2/18/2015 10:56 PM, Michael Ellerman wrote:
> On Wed, 2015-02-18 at 21:36 -0400, Julian Margetson wrote:
>> On 2/18/2015 8:13 PM, Michael Ellerman wrote:
>>
>>> On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
>>>> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
>>>>
>>>>> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>>>>>> Hi
>>>>>>
>>>>>> I am unable to get any kernel beyond  the 3.16 branch working on an
>>>>>> Acube Sam460ex
>>>>>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
>>>>> Does reverting b0345bbc6d09 change anything?
>>>>>
>>>>>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>>>>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>>>>>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>>>>>> [    6.495055] Faulting instruction address: 0xc032202c
>>>>>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>>>>>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>>>>>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>>>>>> [    6.515600]     sp: efa31da0
>>>>>> [    6.518491]    msr: 21000
>>>>>> [    6.521112]    dar: fa06c7c
>>>>>> [    6.523915]  dsisr: 0
>>>>>> [    6.526190]   current = 0xef8bab00
>>>>>> [    6.529603]     pid   = 115, comm = kworker/0:1
>>>>>> [    6.534163] enter ? for help
>>>>>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>>>>>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>>>>>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>>>>>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>>>>>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>>>>>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>>>>>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>>>>>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>>>>>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>>>>>> [    6.591910] mon>  <no input ...>
>>>> Managed to do a third git bisect  with the following results .
>>> Great work.
>>>
>>>> git bisect bad
>>>> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
>>>> commit 9279d3286e10736766edcaf815ae10e00856e448
>>>> Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
>>>> Date:   Wed Aug 6 16:10:16 2014 -0700
>>>>
>>>>      lib: bitmap: change parameter of bitmap_*_region to unsigned
>>> So the bug is in the 4xx MSI code, and has always been there, in fact I don't
>>> see how that code has *ever* worked. The commit you bisected to just caused the
>>> existing bug to cause an oops.
>>>
>>> Can you try this?
>>>
>>> diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
>>> index 6e2e6aa378bb..effb5b878a78 100644
>>> --- a/arch/powerpc/sysdev/ppc4xx_msi.c
>>> +++ b/arch/powerpc/sysdev/ppc4xx_msi.c
>>> @@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
>>>   
>>>   	list_for_each_entry(entry, &dev->msi_list, list) {
>>>   		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
>>> -		if (int_no >= 0)
>>> -			break;
>>>   		if (int_no < 0) {
>>> -			pr_debug("%s: fail allocating msi interrupt\n",
>>> -					__func__);
>>> +			pr_warn("%s: fail allocating msi interrupt\n", __func__);
>>> +			return -ENOSPC;
>>>   		}
>>>   		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
>>>   		if (virq == NO_IRQ) {
>>>
>> Thanks.
>> This works with 3.17-rc1. Will try with the 3.18 Branch .
> OK great.
>
>> Any ideas why drm is not  working ? (It never worked) .
> No sorry. You might have more luck if you post a new thread to the dri list.
>
>> [    5.809802] Linux agpgart interface v0.103
>> [    6.137893] [drm] Initialized drm 1.1.0 20060810
>> [    6.439872] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>> [    6.508544] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
> I'm curious why it's failing to allocate MSIs. Possibly it's just run out.
>
> Can you post the output of 'cat /proc/interrupts'?
>
> cheers
>
>
>

With Kernel 3.19.0 for the first time a Radeon HD7750 is now showing 
video  but the HDMI audio not working .

[    8.255402] Linux agpgart interface v0.103
[    8.491334] [drm] Initialized drm 1.1.0 20060810
[    8.867204] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
[    8.968395] snd_hda_intel 0001:81:00.1: Force to snoop mode by module 
option
[    9.062427] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
[    9.243778] input: HDA ATI HDMI HDMI/DP,pcm=3 as 
/devices/pci0001:80/0001:80:00.0/0001:81:00.1/sound/card0/input3
[    9.576242] [drm] radeon kernel modesetting enabled.
[    9.586233] [drm] initializing kernel modesetting (VERDE 
0x1002:0x683F 0x1545:0x7750).
[    9.595194] [drm] register mmio base: 0xe90000000
[    9.600195] [drm] register mmio size: 262144
[   10.498475] Adding 62828k swap on /dev/sda10.  Priority:-1 extents:1 
across:62828k FS
[   10.538221] ATOM BIOS: C44501
[   10.577399] radeon 0001:81:00.0: VRAM: 1024M 0x0000000000000000 - 
0x000000003FFFFFFF (1024M used)
[   10.652394] radeon 0001:81:00.0: GTT: 1024M 0x0000000040000000 - 
0x000000007FFFFFFF
[   10.708420] [drm] Detected VRAM RAM=1024M, BAR=256M
[   10.734401] [drm] RAM width 128bits DDR
[   10.774502] [TTM] Zone  kernel: Available graphics memory: 380676 kiB
[   10.830617] [TTM] Zone highmem: Available graphics memory: 1036036 kiB
[   10.864963] [TTM] Initializing pool allocator
[   10.891976] [TTM] Initializing DMA pool allocator
[   10.934818] [drm] radeon: 1024M of VRAM memory ready
[   10.972424] [drm] radeon: 1024M of GTT memory ready.
[   11.015787] [drm] Loading verde Microcode
[   11.058293] radeon 0001:81:00.0: Direct firmware load for 
radeon/verde_pfp.bin failed with error -2
[   11.142723] radeon 0001:81:00.0: Direct firmware load for 
radeon/verde_me.bin failed with error -2
[   11.214753] radeon 0001:81:00.0: Direct firmware load for 
radeon/verde_ce.bin failed with error -2
[   11.271860] radeon 0001:81:00.0: Direct firmware load for 
radeon/verde_rlc.bin failed with error -2
[   11.349589] radeon 0001:81:00.0: Direct firmware load for 
radeon/verde_mc.bin failed with error -2
[   11.415403] EXT3-fs (sda6): using internal journal
[   11.425054] [drm] radeon/VERDE_mc2.bin: 31500 bytes
[   11.466433] radeon 0001:81:00.0: Direct firmware load for 
radeon/verde_smc.bin failed with error -2
[   11.572727] [drm] Internal thermal controller with fan control
[   11.606086] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[   11.861380] [drm] radeon: dpm initialized
[   11.926464] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   11.939005] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[   12.014047] [drm] PCIE GART of 1024M enabled (table at 
0x0000000000277000).
[   12.022187] radeon 0001:81:00.0: WB enabled
[   12.031433] radeon 0001:81:00.0: fence driver on ring 0 use gpu addr 
0x0000000040000c00 and cpu addr 0xee030c00
[   12.045537] radeon 0001:81:00.0: fence driver on ring 1 use gpu addr 
0x0000000040000c04 and cpu addr 0xee030c04
[   12.056326] radeon 0001:81:00.0: fence driver on ring 2 use gpu addr 
0x0000000040000c08 and cpu addr 0xee030c08
[   12.068686] radeon 0001:81:00.0: fence driver on ring 3 use gpu addr 
0x0000000040000c0c and cpu addr 0xee030c0c
[   12.080826] radeon 0001:81:00.0: fence driver on ring 4 use gpu addr 
0x0000000040000c10 and cpu addr 0xee030c10
[   12.117757] radeon 0001:81:00.0: fence driver on ring 5 use gpu addr 
0x0000000000075a18 and cpu addr 0xf97b5a18
[   12.133144] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   12.151401] [drm] Driver supports precise vblank timestamp query.
[   12.164055] radeon 0001:81:00.0: radeon: MSI limited to 32-bit
[   12.172006] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
[   12.178727] [drm] radeon: irq initialized.
[   13.035762] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test 
failed (scratch(0x850C)=0xCAFEDEAD)
[   13.048036] radeon 0001:81:00.0: disabling GPU acceleration
[   13.306979] [drm] Radeon Display Connectors
[   13.325221] [drm] Connector 0:
[   13.333718] [drm]   HDMI-A-1
[   13.336676] [drm]   HPD4
[   13.339735] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 
0x657c 0x657c
[   13.347380] [drm]   Encoders:
[   13.350987] [drm]     DFP1: INTERNAL_UNIPHY2
[   13.355514] [drm] Connector 1:
[   13.358607] [drm]   DVI-I-1
[   13.361752] [drm]   HPD2
[   13.364663] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 
0x656c 0x656c
[   13.372705] [drm]   Encoders:
[   13.375902] [drm]     DFP2: INTERNAL_UNIPHY
[   13.381008] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   13.594430] [drm] fb mappable at 0x80478000
[   13.604813] [drm] vram apper at 0x80000000
[   13.612036] [drm] size 8294400
[   13.615691] [drm] fb depth is 24
[   13.618958] [drm]    pitch is 7680
[   13.825852] Console: switching to colour frame buffer device 240x67
[   13.919441] radeon 0001:81:00.0: fb0: radeondrmfb frame buffer device
[   13.934122] radeon 0001:81:00.0: registered panic notifier
[   13.949441] [drm] Initialized radeon 2.40.0 20080528 for 0001:81:00.0 
on minor 0
[   30.112745] [drm:dce6_audio_get_pin [radeon]] *ERROR* No connected 
audio pins found!

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-19  3:25           ` Julian Margetson
@ 2015-02-20 19:25             ` Julian Margetson
  2015-02-24  0:32               ` Michael Ellerman
  0 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-02-20 19:25 UTC (permalink / raw)
  To: Michael Ellerman, linuxppc-dev, Ian Munsie

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

On 2/18/2015 11:25 PM, Julian Margetson wrote:
> On 2/18/2015 10:56 PM, Michael Ellerman wrote:
>> On Wed, 2015-02-18 at 21:36 -0400, Julian Margetson wrote:
>>> On 2/18/2015 8:13 PM, Michael Ellerman wrote:
>>>
>>>> On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
>>>>> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
>>>>>
>>>>>> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>>>>>>> Hi
>>>>>>>
>>>>>>> I am unable to get any kernel beyond  the 3.16 branch working on an
>>>>>>> Acube Sam460ex
>>>>>>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
>>>>>> Does reverting b0345bbc6d09 change anything?
>>>>>>
>>>>>>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>>>>>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>>>>>>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>>>>>>> [    6.495055] Faulting instruction address: 0xc032202c
>>>>>>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>>>>>>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>>>>>>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>>>>>>> [    6.515600]     sp: efa31da0
>>>>>>> [    6.518491]    msr: 21000
>>>>>>> [    6.521112]    dar: fa06c7c
>>>>>>> [    6.523915]  dsisr: 0
>>>>>>> [    6.526190]   current = 0xef8bab00
>>>>>>> [    6.529603]     pid   = 115, comm = kworker/0:1
>>>>>>> [    6.534163] enter ? for help
>>>>>>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>>>>>>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>>>>>>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>>>>>>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>>>>>>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>>>>>>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>>>>>>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>>>>>>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>>>>>>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>>>>>>> [    6.591910] mon>  <no input ...>
>>>>> Managed to do a third git bisect  with the following results .
>>>> Great work.
>>>>
>>>>> git bisect bad
>>>>> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
>>>>> commit 9279d3286e10736766edcaf815ae10e00856e448
>>>>> Author: Rasmus Villemoes<linux@rasmusvillemoes.dk>
>>>>> Date:   Wed Aug 6 16:10:16 2014 -0700
>>>>>
>>>>>      lib: bitmap: change parameter of bitmap_*_region to unsigned
>>>> So the bug is in the 4xx MSI code, and has always been there, in fact I don't
>>>> see how that code has *ever* worked. The commit you bisected to just caused the
>>>> existing bug to cause an oops.
>>>>
>>>> Can you try this?
>>>>
>>>> diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
>>>> index 6e2e6aa378bb..effb5b878a78 100644
>>>> --- a/arch/powerpc/sysdev/ppc4xx_msi.c
>>>> +++ b/arch/powerpc/sysdev/ppc4xx_msi.c
>>>> @@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
>>>>   
>>>>   	list_for_each_entry(entry, &dev->msi_list, list) {
>>>>   		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
>>>> -		if (int_no >= 0)
>>>> -			break;
>>>>   		if (int_no < 0) {
>>>> -			pr_debug("%s: fail allocating msi interrupt\n",
>>>> -					__func__);
>>>> +			pr_warn("%s: fail allocating msi interrupt\n", __func__);
>>>> +			return -ENOSPC;
>>>>   		}
>>>>   		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
>>>>   		if (virq == NO_IRQ) {
>>>>
>>> Thanks.
>>> This works with 3.17-rc1. Will try with the 3.18 Branch .
>> OK great.
>>
>>> Any ideas why drm is not  working ? (It never worked) .
>> No sorry. You might have more luck if you post a new thread to the dri list.
>>
>>> [    5.809802] Linux agpgart interface v0.103
>>> [    6.137893] [drm] Initialized drm 1.1.0 20060810
>>> [    6.439872] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>> [    6.508544] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
>> I'm curious why it's failing to allocate MSIs. Possibly it's just run out.
>>
>> Can you post the output of 'cat /proc/interrupts'?
>>
>> cheers
>>
>>
>>
> cat /proc/interrupts
>             CPU0
>   18:          0       UIC  11 Edge      L2C
>   19:          0       UIC  12 Level     snd_ice1724
>   20:          1       UIC  16 Level
>   21:        306       UIC  17 Level     snd_hda_intel
>   22:      12212       UIC   0 Level     0002:00:04.0
>   25:        619       UIC   6 Level     MAL TX EOB
>   26:        937       UIC   7 Level     MAL RX EOB
>   27:          0       UIC   3 Level     MAL SERR
>   28:          0       UIC   4 Level     MAL TX DE
>   31:          0       UIC   5 Level     MAL RX DE
>   32:       6607       UIC  29 Level     ehci_hcd:usb1
>   33:          1       UIC  30 Level     ohci_hcd:usb2
>   38:         19       UIC   2 Level     IBM IIC
>   39:          0       UIC   3 Level     IBM IIC
>   40:          0       UIC  16 Level     EMAC
>   44:          0       UIC   0 Edge      aerdrv
>   45:          0       UIC   2 Edge      aerdrv
> LOC:     117318   Local timer interrupts for timer event device
> LOC:         53   Local timer interrupts for others
> SPU:          0   Spurious interrupts
> PMI:          0   Performance monitoring interrupts
> MCE:          0   Machine check exceptions
  re PPC4XX PCI(E) MSI support.
https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html

[-- Attachment #2: Type: text/html, Size: 7407 bytes --]

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

* Re: Problems with DRI  on Acube Sam460 AMCC 460ex board
       [not found]           ` <54EB253F.9020704@candw.ms>
@ 2015-02-23 15:07             ` Julian Margetson
  0 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-23 15:07 UTC (permalink / raw)
  To: linuxppc-dev

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

On 2/23/2015 9:03 AM, Julian Margetson wrote:
> On 2/18/2015 10:56 PM, Michael Ellerman wrote:
>> On Wed, 2015-02-18 at 21:36 -0400, Julian Margetson wrote:
>>> On 2/18/2015 8:13 PM, Michael Ellerman wrote:
>>>
>>>> On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
>>>>> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
>>>>>
>>>>>> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>>>>>>> Hi
>>>>>>>
>>>>>>> I am unable to get any kernel beyond  the 3.16 branch working on an
>>>>>>> Acube Sam460ex
>>>>>>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
>>>>>> Does reverting b0345bbc6d09 change anything?
>>>>>>
>>>>>>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>>>>>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>>>>>>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>>>>>>> [    6.495055] Faulting instruction address: 0xc032202c
>>>>>>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>>>>>>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>>>>>>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>>>>>>> [    6.515600]     sp: efa31da0
>>>>>>> [    6.518491]    msr: 21000
>>>>>>> [    6.521112]    dar: fa06c7c
>>>>>>> [    6.523915]  dsisr: 0
>>>>>>> [    6.526190]   current = 0xef8bab00
>>>>>>> [    6.529603]     pid   = 115, comm = kworker/0:1
>>>>>>> [    6.534163] enter ? for help
>>>>>>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>>>>>>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>>>>>>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>>>>>>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>>>>>>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>>>>>>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>>>>>>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>>>>>>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>>>>>>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>>>>>>> [    6.591910] mon>  <no input ...>
>>>>> Managed to do a third git bisect  with the following results .
>>>> Great work.
>>>>
>>>>> git bisect bad
>>>>> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
>>>>> commit 9279d3286e10736766edcaf815ae10e00856e448
>>>>> Author: Rasmus Villemoes<linux@rasmusvillemoes.dk>
>>>>> Date:   Wed Aug 6 16:10:16 2014 -0700
>>>>>
>>>>>      lib: bitmap: change parameter of bitmap_*_region to unsigned
>>>> So the bug is in the 4xx MSI code, and has always been there, in fact I don't
>>>> see how that code has *ever* worked. The commit you bisected to just caused the
>>>> existing bug to cause an oops.
>>>>
>>>> Can you try this?
>>>>
>>>> diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
>>>> index 6e2e6aa378bb..effb5b878a78 100644
>>>> --- a/arch/powerpc/sysdev/ppc4xx_msi.c
>>>> +++ b/arch/powerpc/sysdev/ppc4xx_msi.c
>>>> @@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
>>>>   
>>>>   	list_for_each_entry(entry, &dev->msi_list, list) {
>>>>   		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
>>>> -		if (int_no >= 0)
>>>> -			break;
>>>>   		if (int_no < 0) {
>>>> -			pr_debug("%s: fail allocating msi interrupt\n",
>>>> -					__func__);
>>>> +			pr_warn("%s: fail allocating msi interrupt\n", __func__);
>>>> +			return -ENOSPC;
>>>>   		}
>>>>   		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
>>>>   		if (virq == NO_IRQ) {
>>>>
>>> Thanks.
>>> This works with 3.17-rc1. Will try with the 3.18 Branch .
>> OK great.
>>
>>> Any ideas why drm is not  working ? (It never worked) .
>> No sorry. You might have more luck if you post a new thread to the dri list.
>>
>>> [    5.809802] Linux agpgart interface v0.103
>>> [    6.137893] [drm] Initialized drm 1.1.0 20060810
>>> [    6.439872] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>> [    6.508544] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
>> I'm curious why it's failing to allocate MSIs. Possibly it's just run out.
>>
>> Can you post the output of 'cat /proc/interrupts'?
>>
>> cheers
>>
>>
>>
>
>
> cat /proc/interrupts
>             CPU0
>   18:          0       UIC  11 Edge      L2C
>   19:          0       UIC  12 Level     snd_ice1724
>   20:          1       UIC  16 Level
>   21:        306       UIC  17 Level     snd_hda_intel
>   22:      12212       UIC   0 Level     0002:00:04.0
>   25:        619       UIC   6 Level     MAL TX EOB
>   26:        937       UIC   7 Level     MAL RX EOB
>   27:          0       UIC   3 Level     MAL SERR
>   28:          0       UIC   4 Level     MAL TX DE
>   31:          0       UIC   5 Level     MAL RX DE
>   32:       6607       UIC  29 Level     ehci_hcd:usb1
>   33:          1       UIC  30 Level     ohci_hcd:usb2
>   38:         19       UIC   2 Level     IBM IIC
>   39:          0       UIC   3 Level     IBM IIC
>   40:          0       UIC  16 Level     EMAC
>   44:          0       UIC   0 Edge      aerdrv
>   45:          0       UIC   2 Edge      aerdrv
> LOC:     117318   Local timer interrupts for timer event device
> LOC:         53   Local timer interrupts for others
> SPU:          0   Spurious interrupts
> PMI:          0   Performance monitoring interrupts
> MCE:          0   Machine check exceptions
>
> More issues with Kernel 4.0.0-rc1
>
> [   33.535692] Unable to handle kernel paging request for data at address 0x00000008
> [   33.566786] Faulting instruction address: 0xc049db84
> [   33.574188] Vector: 300 (Data Access) at [eeb13c20]
> [   33.579086]     pc: c049db84: radeon_audio_enable+0x4/0x18
> [   33.584630]     lr: c049e2f4: radeon_audio_detect+0x288/0x290
> [   33.590429]     sp: eeb13cd0
> [   33.593310]    msr: 29000
> [   33.595931]    dar: 8
> [   33.598207]  dsisr: 0
> [   33.600480]   current = 0xeea93ac0
> [   33.603885]     pid   = 2311, comm = Xorg
> [   33.607922] enter ? for help
> [   33.610806] [link register   ] c049e2f4 radeon_audio_detect+0x288/0x290
> [   33.617469] [eeb13cd0] c049e254 radeon_audio_detect+0x1e8/0x290 (unreliable)
> [   33.624571] [eeb13d00] c03dfe7c radeon_dvi_detect+0x388/0x3ac
> [   33.630369] [eeb13d30] c038b9d4 drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
> [   33.638954] [eeb13d70] c03a7670 drm_mode_getconnector+0xf4/0x334
> [   33.645022] [eeb13e10] c039a8c0 drm_ioctl+0x348/0x464
> [   33.650135] [eeb13ed0] c00d0ca0 do_vfs_ioctl+0x52c/0x6e8
> [   33.655507] [eeb13f20] c00d0e9c SyS_ioctl+0x40/0x68
> [   33.660438] [eeb13f40] c000ab04 ret_from_syscall+0x0/0x3c
> [   33.665896] --- Exception: c01 (System Call) at 6fb1b8dc
> [   33.671253] SP (bfa56d20) is in userspace
> [   33.675263] mon>  <no input ...>
> [   35.703835] Oops: Kernel access of bad area, sig: 11 [#1]
> [   35.709554] PREEMPT Canyonlands
> [   35.712876] Modules linked in: cfg80211 snd_ice1724 snd_hda_codec_hdmi snd_ak4113 snd_pt2258 snd_ak4114 snd_i2c snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_ac97_codec snd_hda_intel ac97_bus snd_hda_controller snd_rawmidi snd_hda_codec snd_seq_device snd_pcm snd_timer snd
> [   35.738047] CPU: 0 PID: 2311 Comm: Xorg Not tainted 4.0.0-rc1-Sam460ex #1
> [   35.745189] task: eea93ac0 ti: eeb12000 task.ti: eeb12000
> [   35.750872] NIP: c049db84 LR: c049e2f4 CTR: 00000000
> [   35.756098] REGS: eeb13c20 TRAP: 0300   Not tainted  (4.0.0-rc1-Sam460ex)
> [   35.763241] MSR: 00029000 <CE,EE,ME>  CR: 24004422  XER: 20000000
> [   35.769778] DEAR: 00000008 ESR: 00000000
> GPR00: c049e254 eeb13cd0 eea93ac0 eaa84000 00000000 0000000f ee0532c0 000190d6
> GPR08: eab6da00 00000000 00000000 eeb13cb0 28004422 b7a11ff4 b7a87a98 b7a87988
> GPR16: 00000000 ffffffff 00000000 eeb13e18 eaa08194 eaa08178 00000001 00004000
> GPR24: 00004000 c071cd28 fffffff2 00000000 eab6c000 eaa84000 eab6da00 eab80400
> [   35.804302] NIP [c049db84] radeon_audio_enable+0x4/0x18
> [   35.809799] LR [c049e2f4] radeon_audio_detect+0x288/0x290
> [   35.815480] Call Trace:
> [   35.818053] [eeb13cd0] [c049e254] radeon_audio_detect+0x1e8/0x290 (unreliable)
> [   35.825694] [eeb13d00] [c03dfe7c] radeon_dvi_detect+0x388/0x3ac
> [   35.831956] [eeb13d30] [c038b9d4] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
> [   35.841137] [eeb13d70] [c03a7670] drm_mode_getconnector+0xf4/0x334
> [   35.847663] [eeb13e10] [c039a8c0] drm_ioctl+0x348/0x464
> [   35.853183] [eeb13ed0] [c00d0ca0] do_vfs_ioctl+0x52c/0x6e8
> [   35.858974] [eeb13f20] [c00d0e9c] SyS_ioctl+0x40/0x68
> [   35.864307] [eeb13f40] [c000ab04] ret_from_syscall+0x0/0x3c
> [   35.870196] --- interrupt: c01 at 0x6fb1b8dc
> [   35.870196]     LR = 0x6fb1b800
> [   35.877971] Instruction dump:
> [   35.881106] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 419e000c 7d2903a6
> [   35.889403] 4e800420 38600000 4e800020 81231c70 <81290008> 2f890000 4d9e0020 7d2903a6
> [   36.042121] ---[ end trace 3e83f5fa0d05c678 ]---
> [   36.046739]
>
With Kernel 3.19

[    2.454668] Linux agpgart interface v0.103
[    2.458979] [drm] Initialized drm 1.1.0 20060810
[    2.463814] [drm] radeon kernel modesetting enabled.
[    2.469870] [drm] initializing kernel modesetting (TURKS 0x1002:0x6758 0x1682:0x318B).
[    2.478007] [drm] register mmio base: 0xe90000000
[    2.482774] [drm] register mmio size: 131072
[    2.665432] ATOM BIOS: TURKS
[    2.668602] radeon 0001:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    2.677521] radeon 0001:81:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[    2.685201] [drm] Detected VRAM RAM=1024M, BAR=256M
[    2.690094] [drm] RAM width 128bits DDR
[    2.694109] [TTM] Zone  kernel: Available graphics memory: 379192 kiB
[    2.700596] [TTM] Zone highmem: Available graphics memory: 1034552 kiB
[    2.707147] [TTM] Initializing pool allocator
[    2.711540] [TTM] Initializing DMA pool allocator
[    2.716359] [drm] radeon: 1024M of VRAM memory ready
[    2.721355] [drm] radeon: 1024M of GTT memory ready.
[    2.726395] [drm] Loading TURKS Microcode
[    2.730457] [drm] Internal thermal controller with fan control
[    2.741697] [drm] radeon: dpm initialized
[    2.745907] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    2.787690] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
[    2.794953] radeon 0001:81:00.0: WB enabled
[    2.799182] radeon 0001:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffc01c00
[    2.809300] radeon 0001:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffc01c0c
[    2.839260] radeon 0001:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xf9032118
[    2.849411] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.856067] [drm] Driver supports precise vblank timestamp query.
[    2.862183] radeon 0001:81:00.0: radeon: MSI limited to 32-bit
[    2.868058] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
[    2.874153] [drm] radeon: irq initialized.
[    3.103973] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x8504)=0xCAFEDEAD)
[    3.112806] radeon 0001:81:00.0: disabling GPU acceleration
[    3.128627] [drm] Radeon Display Connectors
[    3.133369] [drm] Connector 0:
[    3.136481] [drm]   DP-1
[    3.139089] [drm]   HPD1
[    3.141665] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
[    3.149146] [drm]   Encoders:
[    3.152157] [drm]     DFP1: INTERNAL_UNIPHY2
[    3.156473] [drm] Connector 1:
[    3.159570] [drm]   HDMI-A-1
[    3.162469] [drm]   HPD5
[    3.165019] [drm]   DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 0x648c 0x648c
[    3.172436] [drm]   Encoders:
[    3.175415] [drm]     DFP2: INTERNAL_UNIPHY2
[    3.179703] [drm] Connector 2:
[    3.182766] [drm]   DVI-I-1
[    3.185570] [drm]   HPD4
[    3.188117] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
[    3.195535] [drm]   Encoders:
[    3.198513] [drm]     DFP3: INTERNAL_UNIPHY
[    3.202706] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    3.352245] [drm] fb mappable at 0x80475000
[    3.356458] [drm] vram apper at 0x80000000
[    3.360570] [drm] size 8294400
[    3.363634] [drm] fb depth is 24
[    3.366873] [drm]    pitch is 7680
[    3.575080] Console: switching to colour frame buffer device 240x67
[    3.649278] radeon 0001:81:00.0: fb0: radeondrmfb frame buffer device
[    3.656071] radeon 0001:81:00.0: registered panic notifier
[    3.666472] [drm] Initialized radeon 2.40.0 20080528 for 0001:81:00.0 on minor 0

attempting to post this on dri-devel-request@lists.freedesktop.org


[-- Attachment #2: Type: text/html, Size: 15125 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-20 19:25             ` Julian Margetson
@ 2015-02-24  0:32               ` Michael Ellerman
  2015-02-24  2:22                 ` Julian Margetson
                                   ` (2 more replies)
  0 siblings, 3 replies; 33+ messages in thread
From: Michael Ellerman @ 2015-02-24  0:32 UTC (permalink / raw)
  To: Julian Margetson; +Cc: linuxppc-dev, Ian Munsie

On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
> On 2/18/2015 11:25 PM, Julian Margetson wrote:

>  re PPC4XX PCI(E) MSI support.
> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html

Hmm, I think all those comments were addressed before it was merged.

I tried to get a 4xx board going here last week, but it doesn't seem happy. I
can get a bit of uboot but then it hangs, might be overheating.

cheers

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-24  0:32               ` Michael Ellerman
@ 2015-02-24  2:22                 ` Julian Margetson
  2015-02-24 11:08                 ` Julian Margetson
       [not found]                 ` <45dfe4c8990.73f22654@smtp.gmail.com>
  2 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-24  2:22 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

I had  a hanging Uboot problem with a Sam440ep board.Never figured the problem out but
It workedd for another two years after the problems began. Died for good last September with the hanging becoming  a daily issue.
Dont think that it was overheating. I thought that it could have been a problem with  the on board  ethernet.

anyway I am still not giving up hopes of DRI and future kernals working, only into my second year of trying so too soon to give up .
Doing a git bisect on the 4.00-rc1 now.

On 02/24/2015, you wrote:

> On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
>> On 2/18/2015 11:25 PM, Julian Margetson wrote:
>
>>  re PPC4XX PCI(E) MSI support.
>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html
>
> Hmm, I think all those comments were addressed before it was merged.
>
> I tried to get a 4xx board going here last week, but it doesn't seem happy. I
> can get a bit of uboot but then it hangs, might be overheating.
>
> cheers
>
>

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-24  0:32               ` Michael Ellerman
  2015-02-24  2:22                 ` Julian Margetson
@ 2015-02-24 11:08                 ` Julian Margetson
  2015-02-24 19:14                   ` Gerhard Pircher
       [not found]                 ` <45dfe4c8990.73f22654@smtp.gmail.com>
  2 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-02-24 11:08 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

Problems with  the Gib bisect
Kernel wont compile after 10th bisect .

drivers/built-in.o: In function `drm_mode_atomic_ioctl':
(.text+0x865dc): undefined reference to `__get_user_bad'
make: *** [vmlinux] Error 1
root@julian-VirtualBox:/usr/src/linux# git bisect log
git bisect start
# bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
# good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
# good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient __FUNCTION__ hack
git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
# bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
# good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
# good: [a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
git bisect good a9724125ad014decf008d782e60447c811391326
# good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
# bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio infoframe
git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
# good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
# bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize udl_compress_hline16 (v2)
git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
# bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC TM070DDH03 panel support
git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
# bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use of state after free
git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
root@julian-VirtualBox:/usr/src/linux# 



On 02/24/2015, you wrote:

> On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
>> On 2/18/2015 11:25 PM, Julian Margetson wrote:
>
>>  re PPC4XX PCI(E) MSI support.
>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html
>
> Hmm, I think all those comments were addressed before it was merged.
>
> I tried to get a 4xx board going here last week, but it doesn't seem happy. I
> can get a bit of uboot but then it hangs, might be overheating.
>
> cheers
>
>

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
       [not found]                 ` <45dfe4c8990.73f22654@smtp.gmail.com>
@ 2015-02-24 19:05                   ` Julian Margetson
  0 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-24 19:05 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

On 2/24/2015 7:10 AM, Julian Margetson wrote:
> Problems with  the Gib bisect
> Kernel wont compile after 10th bisect .
>
> drivers/built-in.o: In function `drm_mode_atomic_ioctl':
> (.text+0x865dc): undefined reference to `__get_user_bad'
> make: *** [vmlinux] Error 1
> root@julian-VirtualBox:/usr/src/linux# git bisect log
> git bisect start
> # bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
> git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
> # good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
> git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
> # good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient __FUNCTION__ hack
> git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
> # bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
> git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
> # good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
> git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
> # good: [a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
> git bisect good a9724125ad014decf008d782e60447c811391326
> # good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
> git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
> # bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio infoframe
> git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
> # good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
> git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
> # bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize udl_compress_hline16 (v2)
> git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
> # bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC TM070DDH03 panel support
> git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
> # bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use of state after free
> git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
> root@julian-VirtualBox:/usr/src/linux#
>
>
>
> On 02/24/2015, you wrote:
>
>> On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
>>> On 2/18/2015 11:25 PM, Julian Margetson wrote:
>>>   re PPC4XX PCI(E) MSI support.
>>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html
>> Hmm, I think all those comments were addressed before it was merged.
>>
>> I tried to get a 4xx board going here last week, but it doesn't seem happy. I
>> can get a bit of uboot but then it hangs, might be overheating.
>>
>> cheers
>>
>>
>>
Kernel 4.0.0-rc1 boots ok when  DVI output used but not when HDMI output 
used.

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-24 11:08                 ` Julian Margetson
@ 2015-02-24 19:14                   ` Gerhard Pircher
  2015-02-24 20:26                     ` Julian Margetson
  0 siblings, 1 reply; 33+ messages in thread
From: Gerhard Pircher @ 2015-02-24 19:14 UTC (permalink / raw)
  To: Julian Margetson, Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

Am 2015-02-24 um 12:08 schrieb Julian Margetson:
> Problems with  the Gib bisect
> Kernel wont compile after 10th bisect .
You can try "git bisect skip" to select another commit for testing.
Hopefully that one compiles fine then.

Gerhard

> drivers/built-in.o: In function `drm_mode_atomic_ioctl':
> (.text+0x865dc): undefined reference to `__get_user_bad'
> make: *** [vmlinux] Error 1
> root@julian-VirtualBox:/usr/src/linux# git bisect log
> git bisect start
> # bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
> git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
> # good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
> git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
> # good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient __FUNCTION__ hack
> git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
> # bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
> git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
> # good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
> git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
> # good: [a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
> git bisect good a9724125ad014decf008d782e60447c811391326
> # good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
> git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
> # bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio infoframe
> git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
> # good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
> git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
> # bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize udl_compress_hline16 (v2)
> git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
> # bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC TM070DDH03 panel support
> git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
> # bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use of state after free
> git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
> root@julian-VirtualBox:/usr/src/linux# 
> 
> 
> 
> On 02/24/2015, you wrote:
> 
>> On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
>>> On 2/18/2015 11:25 PM, Julian Margetson wrote:
>>
>>>  re PPC4XX PCI(E) MSI support.
>>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html
>>
>> Hmm, I think all those comments were addressed before it was merged.
>>
>> I tried to get a 4xx board going here last week, but it doesn't seem happy. I
>> can get a bit of uboot but then it hangs, might be overheating.
>>
>> cheers
>>
>>
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
> 

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-24 19:14                   ` Gerhard Pircher
@ 2015-02-24 20:26                     ` Julian Margetson
  2015-02-25 13:26                       ` Julian Margetson
  0 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-02-24 20:26 UTC (permalink / raw)
  To: Gerhard Pircher, Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

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

Thanks

after skipping several times :

git bisect skip

There are only 'skip'ped commits left to test.
The first bad commit could be any of:
b486e0e6d599b9ca8667fb9a7d49b7383ee963c7
eab3bbeffd152125ae0f90863b8e9bc8eef49423
960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025
f02ad907cd9e7fe3a6405d2d005840912f1ed258
6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79
ee0a89cf3c2c550e6d877dda21dd2947afb90cb6
92890583627ee2a0518e55b063fcff86826fef96
95d6eb3b134e1826ed04cc92b224d93de13e281f
9469244d869623e8b54d9f3d4d00737e377af273
We cannot bisect more!




On 2/24/2015 3:14 PM, Gerhard Pircher wrote:
> Am 2015-02-24 um 12:08 schrieb Julian Margetson:
>> Problems with  the Gib bisect
>> Kernel wont compile after 10th bisect .
> You can try "git bisect skip" to select another commit for testing.
> Hopefully that one compiles fine then.
>
> Gerhard
>
>> drivers/built-in.o: In function `drm_mode_atomic_ioctl':
>> (.text+0x865dc): undefined reference to `__get_user_bad'
>> make: *** [vmlinux] Error 1
>> root@julian-VirtualBox:/usr/src/linux# git bisect log
>> git bisect start
>> # bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
>> git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
>> # good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
>> git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
>> # good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient __FUNCTION__ hack
>> git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
>> # bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
>> git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
>> # good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
>> git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
>> # good: [a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
>> git bisect good a9724125ad014decf008d782e60447c811391326
>> # good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
>> git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
>> # bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio infoframe
>> git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
>> # good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
>> git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
>> # bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize udl_compress_hline16 (v2)
>> git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
>> # bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC TM070DDH03 panel support
>> git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
>> # bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use of state after free
>> git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
>> root@julian-VirtualBox:/usr/src/linux#
>>
>>
>>
>> On 02/24/2015, you wrote:
>>
>>> On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
>>>> On 2/18/2015 11:25 PM, Julian Margetson wrote:
>>>>   re PPC4XX PCI(E) MSI support.
>>>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html
>>> Hmm, I think all those comments were addressed before it was merged.
>>>
>>> I tried to get a 4xx board going here last week, but it doesn't seem happy. I
>>> can get a bit of uboot but then it hangs, might be overheating.
>>>
>>> cheers
>>>
>>>
>>
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>>
>


[-- Attachment #2: Type: text/html, Size: 5378 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-24 20:26                     ` Julian Margetson
@ 2015-02-25 13:26                       ` Julian Margetson
  2015-02-25 13:32                         ` Julian Margetson
  2015-03-04 11:46                         ` Julian Margetson
  0 siblings, 2 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-25 13:26 UTC (permalink / raw)
  To: Gerhard Pircher, Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

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

Verified that the problems with the

radeon: ring 0 test failed error

go back to at least  Kernel 3.0.1

On 2/24/2015 4:26 PM, Julian Margetson wrote:
> Thanks
>
> after skipping several times :
>
> git bisect skip
>
> There are only 'skip'ped commits left to test.
> The first bad commit could be any of:
> b486e0e6d599b9ca8667fb9a7d49b7383ee963c7
> eab3bbeffd152125ae0f90863b8e9bc8eef49423
> 960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025
> f02ad907cd9e7fe3a6405d2d005840912f1ed258
> 6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79
> ee0a89cf3c2c550e6d877dda21dd2947afb90cb6
> 92890583627ee2a0518e55b063fcff86826fef96
> 95d6eb3b134e1826ed04cc92b224d93de13e281f
> 9469244d869623e8b54d9f3d4d00737e377af273
> We cannot bisect more!
>
>
>
> On 2/24/2015 3:14 PM, Gerhard Pircher wrote:
>> Am 2015-02-24 um 12:08 schrieb Julian Margetson:
>>> Problems with  the Gib bisect
>>> Kernel wont compile after 10th bisect .
>> You can try "git bisect skip" to select another commit for testing.
>> Hopefully that one compiles fine then.
>>
>> Gerhard
>>
>>> drivers/built-in.o: In function `drm_mode_atomic_ioctl':
>>> (.text+0x865dc): undefined reference to `__get_user_bad'
>>> make: *** [vmlinux] Error 1
>>> root@julian-VirtualBox:/usr/src/linux# git bisect log
>>> git bisect start
>>> # bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
>>> git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
>>> # good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
>>> git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
>>> # good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient __FUNCTION__ hack
>>> git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
>>> # bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
>>> git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
>>> # good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
>>> git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
>>> # good: [a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
>>> git bisect good a9724125ad014decf008d782e60447c811391326
>>> # good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
>>> git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
>>> # bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio infoframe
>>> git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
>>> # good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
>>> git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
>>> # bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize udl_compress_hline16 (v2)
>>> git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
>>> # bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC TM070DDH03 panel support
>>> git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
>>> # bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use of state after free
>>> git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
>>> root@julian-VirtualBox:/usr/src/linux#
>>>
>>>
>>>
>>> On 02/24/2015, you wrote:
>>>
>>>> On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
>>>>> On 2/18/2015 11:25 PM, Julian Margetson wrote:
>>>>>   re PPC4XX PCI(E) MSI support.
>>>>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html
>>>> Hmm, I think all those comments were addressed before it was merged.
>>>>
>>>> I tried to get a 4xx board going here last week, but it doesn't seem happy. I
>>>> can get a bit of uboot but then it hangs, might be overheating.
>>>>
>>>> cheers
>>>>
>>>>
>>> _______________________________________________
>>> Linuxppc-dev mailing list
>>> Linuxppc-dev@lists.ozlabs.org
>>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>>>
>


[-- Attachment #2: Type: text/html, Size: 5927 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-25 13:26                       ` Julian Margetson
@ 2015-02-25 13:32                         ` Julian Margetson
  2015-03-04 11:46                         ` Julian Margetson
  1 sibling, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-02-25 13:32 UTC (permalink / raw)
  To: Gerhard Pircher, Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

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

Problem also seems to exist with P1022 based board as well .
https://community.freescale.com/thread/339022

On 2/25/2015 9:26 AM, Julian Margetson wrote:
> Verified that the problems with the
> radeon: ring 0 test failed error
> go back to at least  Kernel 3.0.1
>
> On 2/24/2015 4:26 PM, Julian Margetson wrote:
>> Thanks
>>
>> after skipping several times :
>>
>> git bisect skip
>>
>> There are only 'skip'ped commits left to test.
>> The first bad commit could be any of:
>> b486e0e6d599b9ca8667fb9a7d49b7383ee963c7
>> eab3bbeffd152125ae0f90863b8e9bc8eef49423
>> 960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025
>> f02ad907cd9e7fe3a6405d2d005840912f1ed258
>> 6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79
>> ee0a89cf3c2c550e6d877dda21dd2947afb90cb6
>> 92890583627ee2a0518e55b063fcff86826fef96
>> 95d6eb3b134e1826ed04cc92b224d93de13e281f
>> 9469244d869623e8b54d9f3d4d00737e377af273
>> We cannot bisect more!
>>
>>
>>
>> On 2/24/2015 3:14 PM, Gerhard Pircher wrote:
>>> Am 2015-02-24 um 12:08 schrieb Julian Margetson:
>>>> Problems with  the Gib bisect
>>>> Kernel wont compile after 10th bisect .
>>> You can try "git bisect skip" to select another commit for testing.
>>> Hopefully that one compiles fine then.
>>>
>>> Gerhard
>>>
>>>> drivers/built-in.o: In function `drm_mode_atomic_ioctl':
>>>> (.text+0x865dc): undefined reference to `__get_user_bad'
>>>> make: *** [vmlinux] Error 1
>>>> root@julian-VirtualBox:/usr/src/linux# git bisect log
>>>> git bisect start
>>>> # bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
>>>> git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
>>>> # good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
>>>> git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
>>>> # good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient __FUNCTION__ hack
>>>> git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
>>>> # bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
>>>> git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
>>>> # good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
>>>> git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
>>>> # good: [a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
>>>> git bisect good a9724125ad014decf008d782e60447c811391326
>>>> # good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
>>>> git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
>>>> # bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio infoframe
>>>> git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
>>>> # good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
>>>> git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
>>>> # bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize udl_compress_hline16 (v2)
>>>> git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
>>>> # bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC TM070DDH03 panel support
>>>> git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
>>>> # bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use of state after free
>>>> git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
>>>> root@julian-VirtualBox:/usr/src/linux#
>>>>
>>>>
>>>>
>>>> On 02/24/2015, you wrote:
>>>>
>>>>> On Fri, 2015-02-20 at 15:25 -0400, Julian Margetson wrote:
>>>>>> On 2/18/2015 11:25 PM, Julian Margetson wrote:
>>>>>>   re PPC4XX PCI(E) MSI support.
>>>>>> https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-November/087273.html
>>>>> Hmm, I think all those comments were addressed before it was merged.
>>>>>
>>>>> I tried to get a 4xx board going here last week, but it doesn't seem happy. I
>>>>> can get a bit of uboot but then it hangs, might be overheating.
>>>>>
>>>>> cheers
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Linuxppc-dev mailing list
>>>> Linuxppc-dev@lists.ozlabs.org
>>>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>>>>
>>
>


[-- Attachment #2: Type: text/html, Size: 6508 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-25 13:26                       ` Julian Margetson
  2015-02-25 13:32                         ` Julian Margetson
@ 2015-03-04 11:46                         ` Julian Margetson
  2015-03-04 23:52                           ` Michael Ellerman
  1 sibling, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-03-04 11:46 UTC (permalink / raw)
  To: Gerhard Pircher; +Cc: linuxppc-dev, Ian Munsie

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

Still stuck.
Problem still exist with 4.0.0-rc2 and I cant finish the bisect.
Triggered when using HDMI. No problem when using DVI.

[   33.535692] Unable to handle kernel paging request for data at address 0x00000008
[   33.566786] Faulting instruction address: 0xc049db84
[   33.574188] Vector: 300 (Data Access) at [eeb13c20]
[   33.579086]     pc: c049db84: radeon_audio_enable+0x4/0x18
[   33.584630]     lr: c049e2f4: radeon_audio_detect+0x288/0x290
[   33.590429]     sp: eeb13cd0
[   33.593310]    msr: 29000
[   33.595931]    dar: 8
[   33.598207]  dsisr: 0
[   33.600480]   current = 0xeea93ac0
[   33.603885]     pid   = 2311, comm = Xorg
[   33.607922] enter ? for help
[   33.610806] [link register   ] c049e2f4 radeon_audio_detect+0x288/0x290
[   33.617469] [eeb13cd0] c049e254 radeon_audio_detect+0x1e8/0x290 (unreliable)
[   33.624571] [eeb13d00] c03dfe7c radeon_dvi_detect+0x388/0x3ac
[   33.630369] [eeb13d30] c038b9d4 drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
[   33.638954] [eeb13d70] c03a7670 drm_mode_getconnector+0xf4/0x334
[   33.645022] [eeb13e10] c039a8c0 drm_ioctl+0x348/0x464
[   33.650135] [eeb13ed0] c00d0ca0 do_vfs_ioctl+0x52c/0x6e8
[   33.655507] [eeb13f20] c00d0e9c SyS_ioctl+0x40/0x68
[   33.660438] [eeb13f40] c000ab04 ret_from_syscall+0x0/0x3c
[   33.665896] --- Exception: c01 (System Call) at 6fb1b8dc
[   33.671253] SP (bfa56d20) is in userspace
[   33.675263] mon>  <no input ...>
[   35.703835] Oops: Kernel access of bad area, sig: 11 [#1]
[   35.709554] PREEMPT Canyonlands
[   35.712876] Modules linked in: cfg80211 snd_ice1724 snd_hda_codec_hdmi snd_ak4113 snd_pt2258 snd_ak4114 snd_i2c snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_ac97_codec snd_hda_intel ac97_bus snd_hda_controller snd_rawmidi snd_hda_codec snd_seq_device snd_pcm snd_timer snd
[   35.738047] CPU: 0 PID: 2311 Comm: Xorg Not tainted 4.0.0-rc1-Sam460ex #1
[   35.745189] task: eea93ac0 ti: eeb12000 task.ti: eeb12000
[   35.750872] NIP: c049db84 LR: c049e2f4 CTR: 00000000
[   35.756098] REGS: eeb13c20 TRAP: 0300   Not tainted  (4.0.0-rc1-Sam460ex)
[   35.763241] MSR: 00029000 <CE,EE,ME>  CR: 24004422  XER: 20000000
[   35.769778] DEAR: 00000008 ESR: 00000000
GPR00: c049e254 eeb13cd0 eea93ac0 eaa84000 00000000 0000000f ee0532c0 000190d6
GPR08: eab6da00 00000000 00000000 eeb13cb0 28004422 b7a11ff4 b7a87a98 b7a87988
GPR16: 00000000 ffffffff 00000000 eeb13e18 eaa08194 eaa08178 00000001 00004000
GPR24: 00004000 c071cd28 fffffff2 00000000 eab6c000 eaa84000 eab6da00 eab80400
[   35.804302] NIP [c049db84] radeon_audio_enable+0x4/0x18
[   35.809799] LR [c049e2f4] radeon_audio_detect+0x288/0x290
[   35.815480] Call Trace:
[   35.818053] [eeb13cd0] [c049e254] radeon_audio_detect+0x1e8/0x290 (unreliable)
[   35.825694] [eeb13d00] [c03dfe7c] radeon_dvi_detect+0x388/0x3ac
[   35.831956] [eeb13d30] [c038b9d4] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
[   35.841137] [eeb13d70] [c03a7670] drm_mode_getconnector+0xf4/0x334
[   35.847663] [eeb13e10] [c039a8c0] drm_ioctl+0x348/0x464
[   35.853183] [eeb13ed0] [c00d0ca0] do_vfs_ioctl+0x52c/0x6e8
[   35.858974] [eeb13f20] [c00d0e9c] SyS_ioctl+0x40/0x68
[   35.864307] [eeb13f40] [c000ab04] ret_from_syscall+0x0/0x3c
[   35.870196] --- interrupt: c01 at 0x6fb1b8dc
[   35.870196]     LR = 0x6fb1b800
[   35.877971] Instruction dump:
[   35.881106] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 419e000c 7d2903a6


>
> On 2/24/2015 4:26 PM, Julian Margetson wrote:
>> Thanks
>>
>> after skipping several times :
>>
>> git bisect skip
>>
>> There are only 'skip'ped commits left to test.
>> The first bad commit could be any of:
>> b486e0e6d599b9ca8667fb9a7d49b7383ee963c7
>> eab3bbeffd152125ae0f90863b8e9bc8eef49423
>> 960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025
>> f02ad907cd9e7fe3a6405d2d005840912f1ed258
>> 6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79
>> ee0a89cf3c2c550e6d877dda21dd2947afb90cb6
>> 92890583627ee2a0518e55b063fcff86826fef96
>> 95d6eb3b134e1826ed04cc92b224d93de13e281f
>> 9469244d869623e8b54d9f3d4d00737e377af273
>> We cannot bisect more!
>>
>>
>>
>> On 2/24/2015 3:14 PM, Gerhard Pircher wrote:
>>> Am 2015-02-24 um 12:08 schrieb Julian Margetson:
>>>> Problems with  the Gib bisect
>>>> Kernel wont compile after 10th bisect .
>>> You can try "git bisect skip" to select another commit for testing.
>>> Hopefully that one compiles fine then.
>>>
>>> Gerhard
>>>
>>>> drivers/built-in.o: In function `drm_mode_atomic_ioctl':
>>>> (.text+0x865dc): undefined reference to `__get_user_bad'
>>>> make: *** [vmlinux] Error 1
>>>> root@julian-VirtualBox:/usr/src/linux# git bisect log
>>>> git bisect start
>>>> # bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
>>>> git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
>>>> # good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
>>>> git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
>>>> # good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove ancient __FUNCTION__ hack
>>>> git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
>>>> # bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
>>>> git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
>>>> # good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 'driver-core-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
>>>> git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
>>>> # good: [a9724125ad014decf008d782e60447c811391326] Merge tag 'tty-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
>>>> git bisect good a9724125ad014decf008d782e60447c811391326
>>>> # good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
>>>> git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
>>>> # bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add audio infoframe
>>>> git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
>>>> # good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next
>>>> git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
>>>> # bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize udl_compress_hline16 (v2)
>>>> git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
>>>> # bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: Add AVIC TM070DDH03 panel support
>>>> git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
>>>> # bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix potential use of state after free
>>>> git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
>>>> root@julian-VirtualBox:/usr/src/linux#
>>>>
>>>>
>>>>


[-- Attachment #2: Type: text/html, Size: 8386 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-03-04 11:46                         ` Julian Margetson
@ 2015-03-04 23:52                           ` Michael Ellerman
  2015-03-05 11:15                             ` Julian Margetson
  0 siblings, 1 reply; 33+ messages in thread
From: Michael Ellerman @ 2015-03-04 23:52 UTC (permalink / raw)
  To: Julian Margetson; +Cc: linuxppc-dev

On Wed, 2015-03-04 at 07:46 -0400, Julian Margetson wrote:
> Still stuck.
> Problem still exist with 4.0.0-rc2 and I cant finish the bisect.
> Triggered when using HDMI. No problem when using DVI.

> [   33.535692] Unable to handle kernel paging request for data at address 0x00000008
> [   33.566786] Faulting instruction address: 0xc049db84
> [   33.574188] Vector: 300 (Data Access) at [eeb13c20]
> [   33.579086]     pc: c049db84: radeon_audio_enable+0x4/0x18
> [   33.584630]     lr: c049e2f4: radeon_audio_detect+0x288/0x290
> [   33.590429]     sp: eeb13cd0
> [   33.593310]    msr: 29000
> [   33.595931]    dar: 8
> [   33.598207]  dsisr: 0
> [   33.600480]   current = 0xeea93ac0
> [   33.603885]     pid   = 2311, comm = Xorg
> [   33.607922] enter ? for help
> [   33.610806] [link register   ] c049e2f4 radeon_audio_detect+0x288/0x290
> [   33.617469] [eeb13cd0] c049e254 radeon_audio_detect+0x1e8/0x290 (unreliable)
> [   33.624571] [eeb13d00] c03dfe7c radeon_dvi_detect+0x388/0x3ac
> [   33.630369] [eeb13d30] c038b9d4 drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
> [   33.638954] [eeb13d70] c03a7670 drm_mode_getconnector+0xf4/0x334
> [   33.645022] [eeb13e10] c039a8c0 drm_ioctl+0x348/0x464
> [   33.650135] [eeb13ed0] c00d0ca0 do_vfs_ioctl+0x52c/0x6e8
> [   33.655507] [eeb13f20] c00d0e9c SyS_ioctl+0x40/0x68
> [   33.660438] [eeb13f40] c000ab04 ret_from_syscall+0x0/0x3c
> [   33.665896] --- Exception: c01 (System Call) at 6fb1b8dc
> [   33.671253] SP (bfa56d20) is in userspace
> [   33.675263] mon>  <no input ...>

This just looks like a missing NULL check in the radeon code. Probably here:

void radeon_audio_detect(struct drm_connector *connector,
	enum drm_connector_status status)
{
	struct radeon_device *rdev;
	struct radeon_encoder *radeon_encoder;
	struct radeon_encoder_atom_dig *dig;

	if (!connector || !connector->encoder)
		return;

	rdev = connector->encoder->dev->dev_private;
	                           ^

So you could try adding "!connector->encoder->dev" to the if there.

cheers

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-03-04 23:52                           ` Michael Ellerman
@ 2015-03-05 11:15                             ` Julian Margetson
  2015-03-07 16:10                               ` Julian Margetson
  0 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-03-05 11:15 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev

On 3/4/2015 7:52 PM, Michael Ellerman wrote:
> On Wed, 2015-03-04 at 07:46 -0400, Julian Margetson wrote:
>> Still stuck.
>> Problem still exist with 4.0.0-rc2 and I cant finish the bisect.
>> Triggered when using HDMI. No problem when using DVI.
>> [   33.535692] Unable to handle kernel paging request for data at address 0x00000008
>> [   33.566786] Faulting instruction address: 0xc049db84
>> [   33.574188] Vector: 300 (Data Access) at [eeb13c20]
>> [   33.579086]     pc: c049db84: radeon_audio_enable+0x4/0x18
>> [   33.584630]     lr: c049e2f4: radeon_audio_detect+0x288/0x290
>> [   33.590429]     sp: eeb13cd0
>> [   33.593310]    msr: 29000
>> [   33.595931]    dar: 8
>> [   33.598207]  dsisr: 0
>> [   33.600480]   current = 0xeea93ac0
>> [   33.603885]     pid   = 2311, comm = Xorg
>> [   33.607922] enter ? for help
>> [   33.610806] [link register   ] c049e2f4 radeon_audio_detect+0x288/0x290
>> [   33.617469] [eeb13cd0] c049e254 radeon_audio_detect+0x1e8/0x290 (unreliable)
>> [   33.624571] [eeb13d00] c03dfe7c radeon_dvi_detect+0x388/0x3ac
>> [   33.630369] [eeb13d30] c038b9d4 drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
>> [   33.638954] [eeb13d70] c03a7670 drm_mode_getconnector+0xf4/0x334
>> [   33.645022] [eeb13e10] c039a8c0 drm_ioctl+0x348/0x464
>> [   33.650135] [eeb13ed0] c00d0ca0 do_vfs_ioctl+0x52c/0x6e8
>> [   33.655507] [eeb13f20] c00d0e9c SyS_ioctl+0x40/0x68
>> [   33.660438] [eeb13f40] c000ab04 ret_from_syscall+0x0/0x3c
>> [   33.665896] --- Exception: c01 (System Call) at 6fb1b8dc
>> [   33.671253] SP (bfa56d20) is in userspace
>> [   33.675263] mon>  <no input ...>
> This just looks like a missing NULL check in the radeon code. Probably here:
>
> void radeon_audio_detect(struct drm_connector *connector,
> 	enum drm_connector_status status)
> {
> 	struct radeon_device *rdev;
> 	struct radeon_encoder *radeon_encoder;
> 	struct radeon_encoder_atom_dig *dig;
>
> 	if (!connector || !connector->encoder)
> 		return;
>
> 	rdev = connector->encoder->dev->dev_private;
> 	                           ^
>
> So you could try adding "!connector->encoder->dev" to the if there.
>
> cheers
>
>
>
Thanks.

Results in the following .
[    3.179934] [drm] Radeon Display Connectors
[    3.184711] [drm] Connector 0:
[    3.187827] [drm]   DP-1
[    3.190443] [drm]   HPD1
[    3.193018] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 
0x647c 0x6                         47c
[    3.200502] [drm]   Encoders:
[    3.203510] [drm]     DFP1: INTERNAL_UNIPHY2
[    3.207823] [drm] Connector 1:
[    3.210923] [drm]   HDMI-A-1
[    3.213831] [drm]   HPD5
[    3.216381] [drm]   DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 
0x648c 0x6                         48c
[    3.223809] [drm]   Encoders:
[    3.226795] [drm]     DFP2: INTERNAL_UNIPHY2
[    3.231083] [drm] Connector 2:
[    3.234155] [drm]   DVI-I-1
[    3.236968] [drm]   HPD4
[    3.239523] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 
0x645c 0x6                         45c
[    3.246942] [drm]   Encoders:
[    3.249929] [drm]     DFP3: INTERNAL_UNIPHY
[    3.254130] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    3.262872] Unable to handle kernel paging request for data at 
address 0x00000000
[    3.270407] Faulting instruction address: 0xc04a4280
[    3.275394] Vector: 300 (Data Access) at [ea847b20]
[    3.280286]     pc: c04a4280: radeon_audio_detect+0x1c/0x290
[    3.286016]     lr: c03e6170: radeon_dp_detect+0x218/0x224
[    3.291563]     sp: ea847bd0
[    3.294453]    msr: 29000
[    3.297084]    dar: 0
[    3.299366]  dsisr: 0
[    3.301649]   current = 0xea850000
[    3.305062]     pid   = 1, comm = swapper
[    3.309101] enter ? for help
[    3.311994] [ea847c00] c03e6170 radeon_dp_detect+0x218/0x224
[    3.317709] [ea847c20] c039160c 
drm_helper_probe_single_connector_modes_merge _bits+0xf4/0x434
[    3.326303] [ea847c60] c0398d68 
drm_fb_helper_probe_connector_modes+0x5c/0x70
[    3.333499] [ea847c80] c039ad40 drm_fb_helper_initial_config+0x38/0x380
[    3.340174] [ea847cc0] c03f1848 radeon_fbdev_init+0xc8/0xfc
[    3.345808] [ea847ce0] c03eb1cc radeon_modeset_init+0x77c/0x94c
[    3.351781] [ea847d40] c03c72fc radeon_driver_load_kms+0xcc/0x134
[    3.357935] [ea847d60] c03a3cfc drm_dev_register+0x9c/0x120
[    3.363569] [ea847d80] c03a6538 drm_get_pci_dev+0xf4/0x190
[    3.369116] [ea847da0] c033d194 pci_device_probe+0x68/0xb4
[    3.374680] [ea847dc0] c04b8a4c driver_probe_device+0xd4/0x1f4
[    3.380583] [ea847df0] c04b8c48 __driver_attach+0x78/0xa0
[    3.386034] [ea847e10] c04b6fd8 bus_for_each_dev+0x8c/0x9c
[    3.391572] [ea847e40] c04b81a8 bus_add_driver+0xf8/0x1d4
[    3.397024] [ea847e60] c04b90fc driver_register+0xb4/0xf8
[    3.402475] [ea847e80] c00016f0 do_one_initcall+0x114/0x19c
[    3.408109] [ea847ef0] c0992a8c kernel_init_freeable+0x124/0x1c0
[    3.414176] [ea847f30] c0001cc0 kernel_init+0x14/0xf4
[    3.419280] [ea847f40] c000ac5c ret_from_kernel_thread+0x5c/0x64
[    3.425347] mon>  <no input ...>
[    5.428725] Oops: Kernel access of bad area, sig: 11 [#1]
[    5.434140] PREEMPT Canyonlands
[    5.437301] Modules linked in:
[    5.440378] CPU: 0 PID: 1 Comm: swapper Not tainted 4.0.0-rc2-Sam460ex #1
[    5.447182] task: ea850000 ti: ea846000 task.ti: ea846000
[    5.452597] NIP: c04a4280 LR: c03e6170 CTR: c03e44c0
[    5.457571] REGS: ea847b20 TRAP: 0300   Not tainted (4.0.0-rc2-Sam460ex)
[    5.464374] MSR: 00029000 <CE,EE,ME>  CR: 82000028  XER: 00000000
[    5.470582] DEAR: 00000000 ESR: 00000000
GPR00: c03e6170 ea847bd0 ea850000 eeb6e400 00000002 00000000 ea847a48 
00000000
GPR08: 00000000 ffffffff 00000000 ea847c00 22000022 00000000 c0910000 
c091798f
GPR16: c09179a5 c09179bb c09179d1 c09179e7 c09179fc c0910000 00000001 
00004000
GPR24: 00004000 c0759c14 c0b40000 eeac8000 eeb671a0 eeb66400 00000000 
eeb6e400
[    5.503365] NIP [c04a4280] radeon_audio_detect+0x1c/0x290
[    5.508780] LR [c03e6170] radeon_dp_detect+0x218/0x224
[    5.513931] Call Trace:
[    5.516391] [ea847bd0] [eeb6e40c] 0xeeb6e40c (unreliable)
[    5.521835] [ea847c00] [c03e6170] radeon_dp_detect+0x218/0x224
[    5.527696] [ea847c20] [c039160c] 
drm_helper_probe_single_connector_modes_mer ge_bits+0xf4/0x434
[    5.536429] [ea847c60] [c0398d68] 
drm_fb_helper_probe_connector_modes+0x5c/0x 70
[    5.543772] [ea847c80] [c039ad40] drm_fb_helper_initial_config+0x38/0x380
[    5.550587] [ea847cc0] [c03f1848] radeon_fbdev_init+0xc8/0xfc
[    5.556358] [ea847ce0] [c03eb1cc] radeon_modeset_init+0x77c/0x94c
[    5.562477] [ea847d40] [c03c72fc] radeon_driver_load_kms+0xcc/0x134
[    5.568771] [ea847d60] [c03a3cfc] drm_dev_register+0x9c/0x120
[    5.574544] [ea847d80] [c03a6538] drm_get_pci_dev+0xf4/0x190
[    5.580231] [ea847da0] [c033d194] pci_device_probe+0x68/0xb4
[    5.585916] [ea847dc0] [c04b8a4c] driver_probe_device+0xd4/0x1f4
[    5.591948] [ea847df0] [c04b8c48] __driver_attach+0x78/0xa0
[    5.597547] [ea847e10] [c04b6fd8] bus_for_each_dev+0x8c/0x9c
[    5.603233] [ea847e40] [c04b81a8] bus_add_driver+0xf8/0x1d4
[    5.608831] [ea847e60] [c04b90fc] driver_register+0xb4/0xf8
[    5.614430] [ea847e80] [c00016f0] do_one_initcall+0x114/0x19c
[    5.620204] [ea847ef0] [c0992a8c] kernel_init_freeable+0x124/0x1c0
[    5.626408] [ea847f30] [c0001cc0] kernel_init+0x14/0xf4
[    5.631661] [ea847f40] [c000ac5c] ret_from_kernel_thread+0x5c/0x64
[    5.637864] Instruction dump:
[    5.640851] 80890010 38210020 4bfffb20 39610020 4bb6ced0 9421ffd0 
7c0802a6 bf                         810020
[    5.648732] 7c7f1b79 90010034 41820274 83df020c <813e0000> 2f890000 
419e0264                          2b840001
[    5.656812] ---[ end trace bdaa0514de2b69bd ]---
[    5.661441]
[    6.663014] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x00                         00000b
[    6.663014]
[    6.672182] Rebooting in 180 seconds..

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-03-05 11:15                             ` Julian Margetson
@ 2015-03-07 16:10                               ` Julian Margetson
  2015-03-10  0:30                                 ` Michael Ellerman
  0 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-03-07 16:10 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev

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

On 3/5/2015 7:15 AM, Julian Margetson wrote:
> On 3/4/2015 7:52 PM, Michael Ellerman wrote:
>> On Wed, 2015-03-04 at 07:46 -0400, Julian Margetson wrote:
>>> Still stuck.
>>> Problem still exist with 4.0.0-rc2 and I cant finish the bisect.
>>> Triggered when using HDMI. No problem when using DVI.
>>> [   33.535692] Unable to handle kernel paging request for data at 
>>> address 0x00000008
>>> [   33.566786] Faulting instruction address: 0xc049db84
>>> [   33.574188] Vector: 300 (Data Access) at [eeb13c20]
>>> [   33.579086]     pc: c049db84: radeon_audio_enable+0x4/0x18
>>> [   33.584630]     lr: c049e2f4: radeon_audio_detect+0x288/0x290
>>> [   33.590429]     sp: eeb13cd0
>>> [   33.593310]    msr: 29000
>>> [   33.595931]    dar: 8
>>> [   33.598207]  dsisr: 0
>>> [   33.600480]   current = 0xeea93ac0
>>> [   33.603885]     pid   = 2311, comm = Xorg
>>> [   33.607922] enter ? for help
>>> [   33.610806] [link register   ] c049e2f4 
>>> radeon_audio_detect+0x288/0x290
>>> [   33.617469] [eeb13cd0] c049e254 radeon_audio_detect+0x1e8/0x290 
>>> (unreliable)
>>> [   33.624571] [eeb13d00] c03dfe7c radeon_dvi_detect+0x388/0x3ac
>>> [   33.630369] [eeb13d30] c038b9d4 
>>> drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
>>> [   33.638954] [eeb13d70] c03a7670 drm_mode_getconnector+0xf4/0x334
>>> [   33.645022] [eeb13e10] c039a8c0 drm_ioctl+0x348/0x464
>>> [   33.650135] [eeb13ed0] c00d0ca0 do_vfs_ioctl+0x52c/0x6e8
>>> [   33.655507] [eeb13f20] c00d0e9c SyS_ioctl+0x40/0x68
>>> [   33.660438] [eeb13f40] c000ab04 ret_from_syscall+0x0/0x3c
>>> [   33.665896] --- Exception: c01 (System Call) at 6fb1b8dc
>>> [   33.671253] SP (bfa56d20) is in userspace
>>> [   33.675263] mon>  <no input ...>
>> This just looks like a missing NULL check in the radeon code. 
>> Probably here:
>>
>> void radeon_audio_detect(struct drm_connector *connector,
>>     enum drm_connector_status status)
>> {
>>     struct radeon_device *rdev;
>>     struct radeon_encoder *radeon_encoder;
>>     struct radeon_encoder_atom_dig *dig;
>>
>>     if (!connector || !connector->encoder)
>>         return;
>>
>>     rdev = connector->encoder->dev->dev_private;
>>                                ^
>>
>> So you could try adding "!connector->encoder->dev" to the if there.
>>
>> cheers
>>
>>
>>
> Thanks.
>
> Results in the following .
> [    3.179934] [drm] Radeon Display Connectors
> [    3.184711] [drm] Connector 0:
> [    3.187827] [drm]   DP-1
> [    3.190443] [drm]   HPD1
> [    3.193018] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 
> 0x647c 0x6                         47c
> [    3.200502] [drm]   Encoders:
> [    3.203510] [drm]     DFP1: INTERNAL_UNIPHY2
> [    3.207823] [drm] Connector 1:
> [    3.210923] [drm]   HDMI-A-1
> [    3.213831] [drm]   HPD5
> [    3.216381] [drm]   DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 
> 0x648c 0x6                         48c
> [    3.223809] [drm]   Encoders:
> [    3.226795] [drm]     DFP2: INTERNAL_UNIPHY2
> [    3.231083] [drm] Connector 2:
> [    3.234155] [drm]   DVI-I-1
> [    3.236968] [drm]   HPD4
> [    3.239523] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 
> 0x645c 0x6                         45c
> [    3.246942] [drm]   Encoders:
> [    3.249929] [drm]     DFP3: INTERNAL_UNIPHY
> [    3.254130] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [    3.262872] Unable to handle kernel paging request for data at 
> address 0x00000000
> [    3.270407] Faulting instruction address: 0xc04a4280
> [    3.275394] Vector: 300 (Data Access) at [ea847b20]
> [    3.280286]     pc: c04a4280: radeon_audio_detect+0x1c/0x290
> [    3.286016]     lr: c03e6170: radeon_dp_detect+0x218/0x224
> [    3.291563]     sp: ea847bd0
> [    3.294453]    msr: 29000
> [    3.297084]    dar: 0
> [    3.299366]  dsisr: 0
> [    3.301649]   current = 0xea850000
> [    3.305062]     pid   = 1, comm = swapper
> [    3.309101] enter ? for help
> [    3.311994] [ea847c00] c03e6170 radeon_dp_detect+0x218/0x224
> [    3.317709] [ea847c20] c039160c 
> drm_helper_probe_single_connector_modes_merge _bits+0xf4/0x434
> [    3.326303] [ea847c60] c0398d68 
> drm_fb_helper_probe_connector_modes+0x5c/0x70
> [    3.333499] [ea847c80] c039ad40 
> drm_fb_helper_initial_config+0x38/0x380
> [    3.340174] [ea847cc0] c03f1848 radeon_fbdev_init+0xc8/0xfc
> [    3.345808] [ea847ce0] c03eb1cc radeon_modeset_init+0x77c/0x94c
> [    3.351781] [ea847d40] c03c72fc radeon_driver_load_kms+0xcc/0x134
> [    3.357935] [ea847d60] c03a3cfc drm_dev_register+0x9c/0x120
> [    3.363569] [ea847d80] c03a6538 drm_get_pci_dev+0xf4/0x190
> [    3.369116] [ea847da0] c033d194 pci_device_probe+0x68/0xb4
> [    3.374680] [ea847dc0] c04b8a4c driver_probe_device+0xd4/0x1f4
> [    3.380583] [ea847df0] c04b8c48 __driver_attach+0x78/0xa0
> [    3.386034] [ea847e10] c04b6fd8 bus_for_each_dev+0x8c/0x9c
> [    3.391572] [ea847e40] c04b81a8 bus_add_driver+0xf8/0x1d4
> [    3.397024] [ea847e60] c04b90fc driver_register+0xb4/0xf8
> [    3.402475] [ea847e80] c00016f0 do_one_initcall+0x114/0x19c
> [    3.408109] [ea847ef0] c0992a8c kernel_init_freeable+0x124/0x1c0
> [    3.414176] [ea847f30] c0001cc0 kernel_init+0x14/0xf4
> [    3.419280] [ea847f40] c000ac5c ret_from_kernel_thread+0x5c/0x64
> [    3.425347] mon>  <no input ...>
> [    5.428725] Oops: Kernel access of bad area, sig: 11 [#1]
> [    5.434140] PREEMPT Canyonlands
> [    5.437301] Modules linked in:
> [    5.440378] CPU: 0 PID: 1 Comm: swapper Not tainted 
> 4.0.0-rc2-Sam460ex #1
> [    5.447182] task: ea850000 ti: ea846000 task.ti: ea846000
> [    5.452597] NIP: c04a4280 LR: c03e6170 CTR: c03e44c0
> [    5.457571] REGS: ea847b20 TRAP: 0300   Not tainted 
> (4.0.0-rc2-Sam460ex)
> [    5.464374] MSR: 00029000 <CE,EE,ME>  CR: 82000028  XER: 00000000
> [    5.470582] DEAR: 00000000 ESR: 00000000
> GPR00: c03e6170 ea847bd0 ea850000 eeb6e400 00000002 00000000 ea847a48 
> 00000000
> GPR08: 00000000 ffffffff 00000000 ea847c00 22000022 00000000 c0910000 
> c091798f
> GPR16: c09179a5 c09179bb c09179d1 c09179e7 c09179fc c0910000 00000001 
> 00004000
> GPR24: 00004000 c0759c14 c0b40000 eeac8000 eeb671a0 eeb66400 00000000 
> eeb6e400
> [    5.503365] NIP [c04a4280] radeon_audio_detect+0x1c/0x290
> [    5.508780] LR [c03e6170] radeon_dp_detect+0x218/0x224
> [    5.513931] Call Trace:
> [    5.516391] [ea847bd0] [eeb6e40c] 0xeeb6e40c (unreliable)
> [    5.521835] [ea847c00] [c03e6170] radeon_dp_detect+0x218/0x224
> [    5.527696] [ea847c20] [c039160c] 
> drm_helper_probe_single_connector_modes_mer ge_bits+0xf4/0x434
> [    5.536429] [ea847c60] [c0398d68] 
> drm_fb_helper_probe_connector_modes+0x5c/0x 70
> [    5.543772] [ea847c80] [c039ad40] 
> drm_fb_helper_initial_config+0x38/0x380
> [    5.550587] [ea847cc0] [c03f1848] radeon_fbdev_init+0xc8/0xfc
> [    5.556358] [ea847ce0] [c03eb1cc] radeon_modeset_init+0x77c/0x94c
> [    5.562477] [ea847d40] [c03c72fc] radeon_driver_load_kms+0xcc/0x134
> [    5.568771] [ea847d60] [c03a3cfc] drm_dev_register+0x9c/0x120
> [    5.574544] [ea847d80] [c03a6538] drm_get_pci_dev+0xf4/0x190
> [    5.580231] [ea847da0] [c033d194] pci_device_probe+0x68/0xb4
> [    5.585916] [ea847dc0] [c04b8a4c] driver_probe_device+0xd4/0x1f4
> [    5.591948] [ea847df0] [c04b8c48] __driver_attach+0x78/0xa0
> [    5.597547] [ea847e10] [c04b6fd8] bus_for_each_dev+0x8c/0x9c
> [    5.603233] [ea847e40] [c04b81a8] bus_add_driver+0xf8/0x1d4
> [    5.608831] [ea847e60] [c04b90fc] driver_register+0xb4/0xf8
> [    5.614430] [ea847e80] [c00016f0] do_one_initcall+0x114/0x19c
> [    5.620204] [ea847ef0] [c0992a8c] kernel_init_freeable+0x124/0x1c0
> [    5.626408] [ea847f30] [c0001cc0] kernel_init+0x14/0xf4
> [    5.631661] [ea847f40] [c000ac5c] ret_from_kernel_thread+0x5c/0x64
> [    5.637864] Instruction dump:
> [    5.640851] 80890010 38210020 4bfffb20 39610020 4bb6ced0 9421ffd0 
> 7c0802a6 bf                         810020
> [    5.648732] 7c7f1b79 90010034 41820274 83df020c <813e0000> 2f890000 
> 419e0264 2b840001
> [    5.656812] ---[ end trace bdaa0514de2b69bd ]---
> [    5.661441]
> [    6.663014] Kernel panic - not syncing: Attempted to kill init! 
> exitcode=0x00                         00000b
> [    6.663014]
> [    6.672182] Rebooting in 180 seconds..
>
>
With the latest commits

[   29.960572] Unable to handle kernel paging request for data at address 0x00000008
[   29.974350] Faulting instruction address: 0xc04a4f44
[   32.012918] Oops: Kernel access of bad area, sig: 11 [#1]
[   32.044900] PREEMPT Canyonlands
[   32.061504] Modules linked in: cfg80211 bnep rfcomm bluetooth
[   32.081023] CPU: 0 PID: 2087 Comm: Xorg Not tainted 4.0.0-rc2-Sam460ex #1
[   32.101802] task: ed6891a0 ti: ed606000 task.ti: ed606000
[   32.121175] NIP: c04a4f44 LR: c03e6a4c CTR: c03d7b6c
[   32.139995] REGS: ed607c50 TRAP: 0300   Not tainted  (4.0.0-rc2-Sam460ex)
[   32.160678] MSR: 00029000 <CE,EE,ME>  CR: 24004442  XER: 00000000
[   32.180922] DEAR: 00000008 ESR: 00000000
GPR00: c03e6a4c ed607d00 ed6891a0 eeac8000 00000000 0000000f ed607be8 00000000
GPR08: 0000f6a3 00000000 eeaae400 ed607cc0 24004422 b7ceeff8 b7d05c14 00000000
GPR16: 00000000 ffffffff 00000000 ed607e18 eeaae578 eebe2600 00000001 00004000
GPR24: 00004000 c075bd08 fffffff2 00000000 eeac8000 00000001 00000001 ee51a400
[   32.285496] NIP [c04a4f44] radeon_audio_enable+0x4/0x18
[   32.305509] LR [c03e6a4c] radeon_dvi_detect+0x388/0x3ac
[   32.325444] Call Trace:
[   32.342325] [ed607d00] [c03e6a4c] radeon_dvi_detect+0x388/0x3ac (unreliable)
[   32.364075] [ed607d30] [c0391cc4] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
[   32.387631] [ed607d70] [c03adecc] drm_mode_getconnector+0xe4/0x330
[   32.408687] [ed607e10] [c03a0bbc] drm_ioctl+0x348/0x464
[   32.428766] [ed607ed0] [c00d0aac] do_vfs_ioctl+0x52c/0x6e8
[   32.449123] [ed607f20] [c00d0ca8] SyS_ioctl+0x40/0x68
[   32.469149] [ed607f40] [c000ab04] ret_from_syscall+0x0/0x3c
[   32.489581] --- interrupt: c01 at 0x6fae92bc
[   32.489581]     LR = 0x6fae91e0
[   32.526311] Instruction dump:
[   32.543848] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 419e000c 7d2903a6
[   32.566711] 4e800420 38600000 4e800020 81231cd8 <81290008> 2f890000 4d9e0020 7d2903a6
[   32.741188] ---[ end trace c9d41ee106b06efa ]---
[   32.745808]




[-- Attachment #2: Type: text/html, Size: 14434 bytes --]

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-03-07 16:10                               ` Julian Margetson
@ 2015-03-10  0:30                                 ` Michael Ellerman
  2015-03-10  0:53                                   ` Julian Margetson
  0 siblings, 1 reply; 33+ messages in thread
From: Michael Ellerman @ 2015-03-10  0:30 UTC (permalink / raw)
  To: Julian Margetson; +Cc: linuxppc-dev

On Sat, 2015-03-07 at 12:10 -0400, Julian Margetson wrote:
> With the latest commits
> 
> [   29.960572] Unable to handle kernel paging request for data at address 0x00000008
> [   29.974350] Faulting instruction address: 0xc04a4f44
> [   32.012918] Oops: Kernel access of bad area, sig: 11 [#1]
> [   32.044900] PREEMPT Canyonlands
> [   32.061504] Modules linked in: cfg80211 bnep rfcomm bluetooth
> [   32.081023] CPU: 0 PID: 2087 Comm: Xorg Not tainted 4.0.0-rc2-Sam460ex #1
> [   32.101802] task: ed6891a0 ti: ed606000 task.ti: ed606000
> [   32.121175] NIP: c04a4f44 LR: c03e6a4c CTR: c03d7b6c
> [   32.139995] REGS: ed607c50 TRAP: 0300   Not tainted  (4.0.0-rc2-Sam460ex)
> [   32.160678] MSR: 00029000 <CE,EE,ME>  CR: 24004442  XER: 00000000
> [   32.180922] DEAR: 00000008 ESR: 00000000
> GPR00: c03e6a4c ed607d00 ed6891a0 eeac8000 00000000 0000000f ed607be8 00000000
> GPR08: 0000f6a3 00000000 eeaae400 ed607cc0 24004422 b7ceeff8 b7d05c14 00000000
> GPR16: 00000000 ffffffff 00000000 ed607e18 eeaae578 eebe2600 00000001 00004000
> GPR24: 00004000 c075bd08 fffffff2 00000000 eeac8000 00000001 00000001 ee51a400
> [   32.285496] NIP [c04a4f44] radeon_audio_enable+0x4/0x18
> [   32.305509] LR [c03e6a4c] radeon_dvi_detect+0x388/0x3ac
> [   32.325444] Call Trace:
> [   32.342325] [ed607d00] [c03e6a4c] radeon_dvi_detect+0x388/0x3ac (unreliable)
> [   32.364075] [ed607d30] [c0391cc4] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
> [   32.387631] [ed607d70] [c03adecc] drm_mode_getconnector+0xe4/0x330
> [   32.408687] [ed607e10] [c03a0bbc] drm_ioctl+0x348/0x464

You should send that to the Radeon maintainers.

cheers

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-03-10  0:30                                 ` Michael Ellerman
@ 2015-03-10  0:53                                   ` Julian Margetson
  0 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2015-03-10  0:53 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev

On 3/9/2015 8:30 PM, Michael Ellerman wrote:
> On Sat, 2015-03-07 at 12:10 -0400, Julian Margetson wrote:
>> With the latest commits
>>
>> [   29.960572] Unable to handle kernel paging request for data at address 0x00000008
>> [   29.974350] Faulting instruction address: 0xc04a4f44
>> [   32.012918] Oops: Kernel access of bad area, sig: 11 [#1]
>> [   32.044900] PREEMPT Canyonlands
>> [   32.061504] Modules linked in: cfg80211 bnep rfcomm bluetooth
>> [   32.081023] CPU: 0 PID: 2087 Comm: Xorg Not tainted 4.0.0-rc2-Sam460ex #1
>> [   32.101802] task: ed6891a0 ti: ed606000 task.ti: ed606000
>> [   32.121175] NIP: c04a4f44 LR: c03e6a4c CTR: c03d7b6c
>> [   32.139995] REGS: ed607c50 TRAP: 0300   Not tainted  (4.0.0-rc2-Sam460ex)
>> [   32.160678] MSR: 00029000 <CE,EE,ME>  CR: 24004442  XER: 00000000
>> [   32.180922] DEAR: 00000008 ESR: 00000000
>> GPR00: c03e6a4c ed607d00 ed6891a0 eeac8000 00000000 0000000f ed607be8 00000000
>> GPR08: 0000f6a3 00000000 eeaae400 ed607cc0 24004422 b7ceeff8 b7d05c14 00000000
>> GPR16: 00000000 ffffffff 00000000 ed607e18 eeaae578 eebe2600 00000001 00004000
>> GPR24: 00004000 c075bd08 fffffff2 00000000 eeac8000 00000001 00000001 ee51a400
>> [   32.285496] NIP [c04a4f44] radeon_audio_enable+0x4/0x18
>> [   32.305509] LR [c03e6a4c] radeon_dvi_detect+0x388/0x3ac
>> [   32.325444] Call Trace:
>> [   32.342325] [ed607d00] [c03e6a4c] radeon_dvi_detect+0x388/0x3ac (unreliable)
>> [   32.364075] [ed607d30] [c0391cc4] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
>> [   32.387631] [ed607d70] [c03adecc] drm_mode_getconnector+0xe4/0x330
>> [   32.408687] [ed607e10] [c03a0bbc] drm_ioctl+0x348/0x464
> You should send that to the Radeon maintainers.
>
> cheers
>
>
>
Thanks.

I have raised a couple of threads on the dri-devel@lists.freedesktop.org 
list .

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

* Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands
  2015-02-16  0:18 ` Michael Ellerman
  2015-02-18 19:45   ` Julian Margetson
  2015-02-18 20:13   ` Julian Margetson
@ 2015-04-27 10:59   ` Julian Margetson
  2015-04-28  1:12     ` Michael Ellerman
  2 siblings, 1 reply; 33+ messages in thread
From: Julian Margetson @ 2015-04-27 10:59 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

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

Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with
CONFIG_SATA_DWC=y

sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
drivers/built-in.o: In function `sata_dwc_probe':
sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
make: *** [vmlinux] Error 1


[-- Attachment #2: Type: text/html, Size: 1022 bytes --]

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

* Re: Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands
  2015-04-27 10:59   ` Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands Julian Margetson
@ 2015-04-28  1:12     ` Michael Ellerman
  2015-04-28  3:49       ` Tejun Heo
  0 siblings, 1 reply; 33+ messages in thread
From: Michael Ellerman @ 2015-04-28  1:12 UTC (permalink / raw)
  To: Julian Margetson; +Cc: tj, andriy.shevchenko, linuxppc-dev, Ian Munsie

On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with 
> CONFIG_SATA_DWC=y
> 
> sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> drivers/built-in.o: In function `sata_dwc_probe':
> sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
> sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
> make: *** [vmlinux] Error 1

Looks like it was caused by:

commit 8b3444852a2b58129ee68a8dd69fef81ceb902a1
Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date:   Tue Mar 3 22:41:21 2015 +0200

    sata_dwc_460ex: move to generic DMA driver
    
    The SATA implementation based on two actually different devices, i.e. SATA and
    DMA controllers.
    
    For Synopsys DesignWare DMA we have already a generic implementation of the
    driver. Thus, the patch converts the code to use DMAEngine framework and
    dw_dmac driver.
    
    In future it will be better to split the devices inside DTS as well like it's
    done on other platforms.
    
    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Signed-off-by: Tejun Heo <tj@kernel.org>


cheers

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

* Re: Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands
  2015-04-28  1:12     ` Michael Ellerman
@ 2015-04-28  3:49       ` Tejun Heo
  2015-05-04 17:18         ` Andy Shevchenko
  0 siblings, 1 reply; 33+ messages in thread
From: Tejun Heo @ 2015-04-28  3:49 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: andriy.shevchenko, linuxppc-dev, Ian Munsie, Julian Margetson

On Tue, Apr 28, 2015 at 11:12:25AM +1000, Michael Ellerman wrote:
> On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> > Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with 
> > CONFIG_SATA_DWC=y
> > 
> > sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> > drivers/built-in.o: In function `sata_dwc_probe':
> > sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
> > sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
> > make: *** [vmlinux] Error 1
> 
> Looks like it was caused by:
> 
> commit 8b3444852a2b58129ee68a8dd69fef81ceb902a1
> Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Date:   Tue Mar 3 22:41:21 2015 +0200
> 
>     sata_dwc_460ex: move to generic DMA driver

Oops, Andy?

-- 
tejun

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

* Re: Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands
  2015-04-28  3:49       ` Tejun Heo
@ 2015-05-04 17:18         ` Andy Shevchenko
  2015-05-04 18:13           ` Tejun Heo
  0 siblings, 1 reply; 33+ messages in thread
From: Andy Shevchenko @ 2015-05-04 17:18 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linuxppc-dev, Ian Munsie, Julian Margetson

On Mon, 2015-04-27 at 23:49 -0400, Tejun Heo wrote:
> On Tue, Apr 28, 2015 at 11:12:25AM +1000, Michael Ellerman wrote:
> > On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> > > Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with 
> > > CONFIG_SATA_DWC=y
> > > 
> > > sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> > > drivers/built-in.o: In function `sata_dwc_probe':
> > > sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
> > > sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
> > > make: *** [vmlinux] Error 1
> > 
> > Looks like it was caused by:
> > 
> > commit 8b3444852a2b58129ee68a8dd69fef81ceb902a1
> > Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > Date:   Tue Mar 3 22:41:21 2015 +0200
> > 
> >     sata_dwc_460ex: move to generic DMA driver
> 
> Oops, Andy?
> 

Sorry for late answer. It requires CONFIG_DW_DMAC=y as well. I don't
know the details of PPC configuration, we might add this to
configuration.

-- 
Andy Shevchenko <andriy.shevchenko@intel.com>
Intel Finland Oy

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

* Re: Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands
  2015-05-04 17:18         ` Andy Shevchenko
@ 2015-05-04 18:13           ` Tejun Heo
  0 siblings, 0 replies; 33+ messages in thread
From: Tejun Heo @ 2015-05-04 18:13 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linuxppc-dev, Ian Munsie, Julian Margetson

On Mon, May 04, 2015 at 08:18:30PM +0300, Andy Shevchenko wrote:
> On Mon, 2015-04-27 at 23:49 -0400, Tejun Heo wrote:
> > On Tue, Apr 28, 2015 at 11:12:25AM +1000, Michael Ellerman wrote:
> > > On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> > > > Kernel 4.1-rc1 build fails  on Sam460ex amcc 460ex powerpc Canyonlands with 
> > > > CONFIG_SATA_DWC=y
> > > > 
> > > > sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> > > > drivers/built-in.o: In function `sata_dwc_probe':
> > > > sata_dwc_460ex.c:(.text+0xa1900): undefined reference to `dw_dma_probe'
> > > > sata_dwc_460ex.c:(.text+0xa1954): undefined reference to `dw_dma_remove'
> > > > make: *** [vmlinux] Error 1
> > > 
> > > Looks like it was caused by:
> > > 
> > > commit 8b3444852a2b58129ee68a8dd69fef81ceb902a1
> > > Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > > Date:   Tue Mar 3 22:41:21 2015 +0200
> > > 
> > >     sata_dwc_460ex: move to generic DMA driver
> > 
> > Oops, Andy?
> > 
> 
> Sorry for late answer. It requires CONFIG_DW_DMAC=y as well. I don't
> know the details of PPC configuration, we might add this to
> configuration.

Can you send a patch please?

Thanks.

-- 
tejun

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

* commit 9178ba294b6839eeff1a91bed95515d783f3ee6c
  2015-02-19  2:56         ` Michael Ellerman
                             ` (2 preceding siblings ...)
       [not found]           ` <54EB253F.9020704@candw.ms>
@ 2016-02-02 13:54           ` Julian Margetson
  2016-08-05 11:26           ` Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board Julian Margetson
  4 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2016-02-02 13:54 UTC (permalink / raw)
  To: Alexander Graf; +Cc: Michael Ellerman, linuxppc-dev


[-- Attachment #1.1: Type: text/plain, Size: 5277 bytes --]

Commit 9178ba294b6839eeff1a91bed95515d783f3ee6c prevents building of 
kernel 4.1 branch on A-Eon Tabor Board.

CC arch/powerpc/math-emu/fsqrt.o
arch/powerpc/platforms/85xx/tabor.c:194:2: error: unknown field 
‘power_off’ specified in initializer
   .power_off  = tabor_power_off,
   ^
make[2]: *** [arch/powerpc/platforms/85xx/tabor.o] Error 1
make[1]: *** [arch/powerpc/platforms/85xx] Error 2
make: *** [arch/powerpc/platforms] Error 2


Builds after reverting  85xx portions of commit.

commit 9178ba294b6839eeff1a91bed95515d783f3ee6c

==========================================================================================================
commit 9178ba294b6839eeff1a91bed95515d783f3ee6c

Author: Alexander Graf <agraf@suse.de>

Date: Mon Oct 13 16:01:09 2014 +0200


powerpc: Convert power off logic to pm_power_off

The generic Linux framework to power off the machine is a function pointer

called pm_power_off. The trick about this pointer is that device drivers 
can

potentially implement it rather than board files.

Today on powerpc we set pm_power_off to invoke our generic full machine 
power

off logic which then calls ppc_md.power_off to invoke machine specific 
power

off.

However, when we want to add a power off GPIO via the "gpio-poweroff" 
driver,

this card house falls apart. That driver only registers itself if 
pm_power_off

is NULL to ensure it doesn't override board specific logic. However, 
since we

always set pm_power_off to the generic power off logic (which will just not

power off the machine if no ppc_md.power_off call is implemented), we can't

implement power off via the generic GPIO power off driver.

To fix this up, let's get rid of the ppc_md.power_off logic and just 
always use

pm_power_off as was intended. Then individual drivers such as the GPIO 
power off

driver can implement power off logic via that function pointer.

With this patch set applied and a few patches on top of QEMU that 
implement a

power off GPIO on the virt e500 machine, I can successfully turn off my 
virtual

machine after halt.

Signed-off-by: Alexander Graf <agraf@suse.de>

[mpe: Squash into one patch and update changelog based on cover letter]

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>


:040000 040000 11d9242dda2d364042ad2443b81aa124655ca79d 
8e5c37793f68e09977278bcea28e97ac7e0b812d M arch

root@julian-VirtualBox:/usr/src/linux-test#


root@julian-VirtualBox:/usr/src/linux-test# git bisect log

git bisect start

# bad: [97bf6af1f928216fd6c5a66e8a57bfa95a659672] Linux 3.19-rc1

git bisect bad 97bf6af1f928216fd6c5a66e8a57bfa95a659672

# good: [b2776bf7149bddd1f4161f14f79520f17fc1d71d] Linux 3.18

git bisect good b2776bf7149bddd1f4161f14f79520f17fc1d71d

# bad: [97bf6af1f928216fd6c5a66e8a57bfa95a659672] Linux 3.19-rc1

git bisect bad 97bf6af1f928216fd6c5a66e8a57bfa95a659672

# bad: [97bf6af1f928216fd6c5a66e8a57bfa95a659672] Linux 3.19-rc1

git bisect bad 97bf6af1f928216fd6c5a66e8a57bfa95a659672

# good: [70e71ca0af244f48a5dcf56dc435243792e3a495] Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next

git bisect good 70e71ca0af244f48a5dcf56dc435243792e3a495

# bad: [988adfdffdd43cfd841df734664727993076d7cb] Merge branch 
'drm-next' of git://people.freedesktop.org/~airlied/linux

git bisect bad 988adfdffdd43cfd841df734664727993076d7cb

# bad: [e7cf773d431a63a2417902696fcc9e0ebdc83bbe] Merge tag 
'usb-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb

git bisect bad e7cf773d431a63a2417902696fcc9e0ebdc83bbe

# bad: [26ceb127f7bcf473db926c6a026b18ddd6f274e8] Merge branch 
'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm

git bisect bad 26ceb127f7bcf473db926c6a026b18ddd6f274e8

# bad: [9bfccec24e31f4f83445cfe0c1b0a5ef97900628] Merge tag 
'ext4_for_linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4

git bisect bad 9bfccec24e31f4f83445cfe0c1b0a5ef97900628

# good: [e2965cd0003f222bd49f67907c2bc6ed691c6d20] MIPS: Add MFHC0 and 
MTHC0 instructions to uasm.

git bisect good e2965cd0003f222bd49f67907c2bc6ed691c6d20

# bad: [56548fc0e86cb9156af7a7e1f15ba78f251dafaf] powerpc/powernv: 
Return to cpu offline loop when finished in KVM guest

git bisect bad 56548fc0e86cb9156af7a7e1f15ba78f251dafaf

# bad: [59994fb01a102a448ba758c9b824a29b4a99cc1b] powerpc: Use generic 
PIE randomization

git bisect bad 59994fb01a102a448ba758c9b824a29b4a99cc1b

# bad: [7aa189c8f57f2141b8655c2a13c7486d0844d490] powerpc/pseries: 
Quieten ibm,pcie-link-speed-stats warning

git bisect bad 7aa189c8f57f2141b8655c2a13c7486d0844d490

# bad: [6e4c632cdff7bf0238a2543dfe98bd1ad40313c2] powerpc: make __ffs 
return unsigned long

git bisect bad 6e4c632cdff7bf0238a2543dfe98bd1ad40313c2

# bad: [adb7cd732292b06ee964d9f6090b17c70bd8bd3d] powerpc/pci: Quieten 
unset I/O resource warning

git bisect bad adb7cd732292b06ee964d9f6090b17c70bd8bd3d

# bad: [8418804ef27e5f7988480d86ecf9dfd56cebc53b] Merge branch 
'topic/pm-power-off' into next

git bisect bad 8418804ef27e5f7988480d86ecf9dfd56cebc53b

# bad: [9178ba294b6839eeff1a91bed95515d783f3ee6c] powerpc: Convert power 
off logic to pm_power_off

git bisect bad 9178ba294b6839eeff1a91bed95515d783f3ee6c

# first bad commit: [9178ba294b6839eeff1a91bed95515d783f3ee6c] powerpc: 
Convert power off logic to pm_power_off


[-- Attachment #1.2: Type: text/html, Size: 11384 bytes --]

[-- Attachment #2: Tabor-4.1.17-JM.config --]
[-- Type: text/plain, Size: 98884 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# Linux/powerpc 4.1.17 Kernel Configuration
#
# CONFIG_PPC64 is not set

#
# Processor support
#
# CONFIG_PPC_BOOK3S_32 is not set
CONFIG_PPC_85xx=y
# CONFIG_PPC_8xx is not set
# CONFIG_40x is not set
# CONFIG_44x is not set
# CONFIG_E200 is not set
CONFIG_E500=y
# CONFIG_PPC_E500MC is not set
CONFIG_FSL_EMB_PERFMON=y
CONFIG_FSL_EMB_PERF_EVENT=y
CONFIG_FSL_EMB_PERF_EVENT_E500=y
CONFIG_BOOKE=y
CONFIG_FSL_BOOKE=y
CONFIG_PPC_FSL_BOOK3E=y
CONFIG_PTE_64BIT=y
CONFIG_PHYS_64BIT=y
CONFIG_SPE_POSSIBLE=y
CONFIG_SPE=y
CONFIG_PPC_MMU_NOHASH=y
CONFIG_PPC_BOOK3E_MMU=y
# CONFIG_PPC_MM_SLICES is not set
CONFIG_SMP=y
CONFIG_NR_CPUS=2
CONFIG_PPC_DOORBELL=y
CONFIG_CPU_BIG_ENDIAN=y
# CONFIG_CPU_LITTLE_ENDIAN is not set
CONFIG_PPC32=y
CONFIG_32BIT=y
CONFIG_WORD_SIZE=32
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_MMU=y
# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
# CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set
CONFIG_NR_IRQS=512
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_LOCKBREAK=y
CONFIG_ARCH_HAS_ILOG2_U32=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_PPC=y
# CONFIG_GENERIC_CSUM is not set
CONFIG_EARLY_PRINTK=y
CONFIG_PANIC_TIMEOUT=180
CONFIG_GENERIC_NVRAM=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_PPC_UDBG_16550=y
CONFIG_GENERIC_TBSYNC=y
CONFIG_AUDIT_ARCH=y
CONFIG_GENERIC_BUG=y
# CONFIG_EPAPR_BOOT is not set
CONFIG_DEFAULT_UIMAGE=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_PPC_DCR_NATIVE is not set
# CONFIG_PPC_DCR_MMIO is not set
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_PPC_ADV_DEBUG_REGS=y
CONFIG_PPC_ADV_DEBUG_IACS=2
CONFIG_PPC_ADV_DEBUG_DACS=2
CONFIG_PPC_ADV_DEBUG_DVCS=0
CONFIG_PGTABLE_LEVELS=2
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE="powerpc-linux-gnu-"
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION="-Tabor-JM"
CONFIG_LOCALVERSION_AUTO=y
CONFIG_DEFAULT_HOSTNAME="Tabor"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_FHANDLE=y
CONFIG_USELIB=y
# CONFIG_AUDIT is not set
CONFIG_HAVE_ARCH_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
CONFIG_IRQ_DOMAIN=y
CONFIG_GENERIC_MSI_IRQ=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_GENERIC_TIME_VSYSCALL_OLD=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_ARCH_HAS_TICK_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CMOS_UPDATE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set

#
# RCU Subsystem
#
CONFIG_PREEMPT_RCU=y
CONFIG_SRCU=y
# CONFIG_TASKS_RCU is not set
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_FANOUT=32
CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_RCU_FAST_NO_HZ is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_RCU_BOOST is not set
CONFIG_RCU_KTHREAD_PRIO=0
# CONFIG_RCU_NOCB_CPU is not set
# CONFIG_RCU_EXPEDITE_BOOT is not set
CONFIG_BUILD_BIN2C=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CGROUP_FREEZER is not set
# CONFIG_CGROUP_DEVICE is not set
# CONFIG_CPUSETS is not set
# CONFIG_CGROUP_CPUACCT is not set
# CONFIG_MEMCG is not set
# CONFIG_CGROUP_PERF is not set
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_CFS_BANDWIDTH is not set
# CONFIG_RT_GROUP_SCHED is not set
# CONFIG_BLK_CGROUP is not set
# CONFIG_CHECKPOINT_RESTORE is not set
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_SCHED_AUTOGROUP=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_BPF=y
CONFIG_EXPERT=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
# CONFIG_BPF_SYSCALL is not set
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_PCI_QUIRKS=y
CONFIG_EMBEDDED=y
CONFIG_HAVE_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_SLUB_CPU_PARTIAL=y
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL is not set
# CONFIG_UPROBES is not set
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_RCU_TABLE_FREE=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
# CONFIG_CC_STACKPROTECTOR is not set
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND=y
CONFIG_OLD_SIGACTION=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_MODULE_SIG is not set
# CONFIG_MODULE_COMPRESS is not set
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_LBDAF=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
# CONFIG_BLK_CMDLINE_PARSER is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_AIX_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
CONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_DEADLINE is not set
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
# CONFIG_FREEZER is not set
CONFIG_PPC_MSI_BITMAP=y
# CONFIG_PPC_XICS is not set
# CONFIG_PPC_ICP_NATIVE is not set
# CONFIG_PPC_ICP_HV is not set
# CONFIG_PPC_ICS_RTAS is not set
# CONFIG_GE_FPGA is not set

#
# Platform support
#
# CONFIG_PPC_CELL is not set
# CONFIG_PPC_CELL_NATIVE is not set
# CONFIG_PQ2ADS is not set
CONFIG_FSL_SOC_BOOKE=y
CONFIG_HAS_FSL_QBMAN=y
CONFIG_FSL_85XX_CACHE_SRAM=y
# CONFIG_BSC9131_RDB is not set
# CONFIG_C293_PCIE is not set
# CONFIG_BSC9132_QDS is not set
# CONFIG_MPC8540_ADS is not set
# CONFIG_MPC8560_ADS is not set
# CONFIG_MPC85xx_CDS is not set
# CONFIG_MPC85xx_MDS is not set
# CONFIG_MPC8536_DS is not set
# CONFIG_MPC85xx_DS is not set
# CONFIG_MPC85xx_RDB is not set
# CONFIG_P1010_RDB is not set
CONFIG_TABOR=y
# CONFIG_P1022_DS is not set
# CONFIG_P1022_RDK is not set
# CONFIG_P1023_RDB is not set
# CONFIG_TWR_P102x is not set
# CONFIG_SOCRATES is not set
# CONFIG_KSI8560 is not set
# CONFIG_XES_MPC85xx is not set
# CONFIG_STX_GP3 is not set
# CONFIG_TQM8540 is not set
# CONFIG_TQM8541 is not set
# CONFIG_TQM8548 is not set
# CONFIG_TQM8555 is not set
# CONFIG_TQM8560 is not set
# CONFIG_SBC8548 is not set
# CONFIG_PPA8548 is not set
# CONFIG_GE_IMP3A is not set
# CONFIG_MVME2500 is not set
# CONFIG_CYRUS is not set
# CONFIG_PPC_QEMU_E500 is not set
# CONFIG_CORENET_GENERIC is not set
# CONFIG_KVM_GUEST is not set
# CONFIG_EPAPR_PARAVIRT is not set
CONFIG_PPC_SMP_MUXED_IPI=y
# CONFIG_IPIC is not set
CONFIG_MPIC=y
# CONFIG_MPIC_TIMER is not set
# CONFIG_PPC_EPAPR_HV_PIC is not set
# CONFIG_MPIC_WEIRD is not set
# CONFIG_MPIC_MSGR is not set
# CONFIG_PPC_I8259 is not set
# CONFIG_PPC_RTAS is not set
# CONFIG_MMIO_NVRAM is not set
# CONFIG_MPIC_U3_HT_IRQS is not set
# CONFIG_PPC_MPC106 is not set
# CONFIG_PPC_970_NAP is not set
# CONFIG_PPC_P7_NAP is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

#
# CPU frequency scaling drivers
#

#
# CPUIdle driver
#

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y

#
# POWERPC CPU Idle Drivers
#
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
CONFIG_QUICC_ENGINE=y
CONFIG_QE_GPIO=y
CONFIG_CPM2=y
# CONFIG_FSL_ULI1575 is not set
CONFIG_CPM=y
# CONFIG_SIMPLE_GPIO is not set

#
# Kernel options
#
CONFIG_HIGHMEM=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_SCHED_HRTICK=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=y
CONFIG_COREDUMP=y
CONFIG_MATH_EMULATION=y
CONFIG_MATH_EMULATION_FULL=y
# CONFIG_MATH_EMULATION_HW_UNIMPLEMENTED is not set
CONFIG_IOMMU_HELPER=y
CONFIG_SWIOTLB=y
CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_CPU_PROBE_RELEASE=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_HAS_WALK_MEMORY=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_IRQ_ALL_CPUS=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_HAVE_GENERIC_RCU_GUP=y
CONFIG_NO_BOOTMEM=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_COMPACTION is not set
# CONFIG_MIGRATION is not set
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
# CONFIG_CMA is not set
# CONFIG_ZPOOL is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_PPC_4K_PAGES=y
CONFIG_FORCE_MAX_ZONEORDER=11
# CONFIG_PPC_COPRO_BASE is not set
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttyS0,115200 console=tty0"
# CONFIG_CMDLINE_FORCE is not set
CONFIG_EXTRA_TARGETS=""
# CONFIG_SUSPEND is not set
# CONFIG_HIBERNATION is not set
# CONFIG_PM is not set
# CONFIG_SECCOMP is not set
CONFIG_ISA_DMA_API=y

#
# Bus options
#
CONFIG_ZONE_DMA=y
# CONFIG_NEED_DMA_MAP_STATE is not set
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_PPC_INDIRECT_PCI=y
CONFIG_FSL_SOC=y
CONFIG_FSL_PCI=y
CONFIG_FSL_LBC=y
CONFIG_PPC_PCI_CHOICE=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_SYSCALL=y
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y
CONFIG_PCIE_ECRC=y
CONFIG_PCIEAER_INJECT=y
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PCI_MSI=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_PCI_IOV is not set
# CONFIG_PCI_PRI is not set
# CONFIG_PCI_PASID is not set

#
# PCI host controller drivers
#
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_HAS_RAPIDIO is not set
# CONFIG_RAPIDIO is not set
# CONFIG_NONSTATIC_KERNEL is not set

#
# Advanced setup
#
# CONFIG_ADVANCED_OPTIONS is not set

#
# Default settings for advanced configuration options are used
#
CONFIG_LOWMEM_SIZE=0x30000000
CONFIG_LOWMEM_CAM_NUM=3
CONFIG_PAGE_OFFSET=0xc0000000
CONFIG_KERNEL_START=0xc0000000
CONFIG_PHYSICAL_START=0x00000000
CONFIG_PHYSICAL_ALIGN=0x04000000
CONFIG_TASK_SIZE=0xc0000000
# CONFIG_ARCH_RANDOM is not set
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
CONFIG_XFRM=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=y
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_NET_KEY=y
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NET_IPIP=y
# CONFIG_NET_IPGRE_DEMUX is not set
CONFIG_NET_IP_TUNNEL=y
# CONFIG_IP_MROUTE is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_IPVTI is not set
# CONFIG_NET_UDP_TUNNEL is not set
# CONFIG_NET_FOU is not set
# CONFIG_NET_FOU_IP_TUNNELS is not set
# CONFIG_GENEVE is not set
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
CONFIG_INET_TUNNEL=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_LRO=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_INET_UDP_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=y
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
CONFIG_INET6_XFRM_MODE_TRANSPORT=y
CONFIG_INET6_XFRM_MODE_TUNNEL=y
CONFIG_INET6_XFRM_MODE_BEET=y
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
# CONFIG_IPV6_VTI is not set
CONFIG_IPV6_SIT=y
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_GRE is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
# CONFIG_NETWORK_SECMARK is not set
CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
CONFIG_HAVE_NET_DSA=y
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_6LOWPAN is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
# CONFIG_DNS_RESOLVER is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_MMAP is not set
# CONFIG_NETLINK_DIAG is not set
# CONFIG_MPLS is not set
# CONFIG_HSR is not set
# CONFIG_NET_SWITCHDEV is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
# CONFIG_CGROUP_NET_PRIO is not set
# CONFIG_CGROUP_NET_CLASSID is not set
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
# CONFIG_BPF_JIT is not set
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
CONFIG_IRDA=m

#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRNET=m
CONFIG_IRCOMM=m
CONFIG_IRDA_ULTRA=y

#
# IrDA options
#
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
CONFIG_IRDA_DEBUG=y

#
# Infrared-port device drivers
#

#
# SIR device drivers
#
CONFIG_IRTTY_SIR=m

#
# Dongle support
#
CONFIG_DONGLE=y
CONFIG_ESI_DONGLE=m
CONFIG_ACTISYS_DONGLE=m
CONFIG_TEKRAM_DONGLE=m
CONFIG_TOIM3232_DONGLE=m
CONFIG_LITELINK_DONGLE=m
CONFIG_MA600_DONGLE=m
CONFIG_GIRBIL_DONGLE=m
CONFIG_MCP2120_DONGLE=m
CONFIG_OLD_BELKIN_DONGLE=m
CONFIG_ACT200L_DONGLE=m
CONFIG_KINGSUN_DONGLE=m
CONFIG_KSDAZZLE_DONGLE=m
CONFIG_KS959_DONGLE=m

#
# FIR device drivers
#
CONFIG_USB_IRDA=m
CONFIG_SIGMATEL_FIR=m
CONFIG_NSC_FIR=m
CONFIG_WINBOND_FIR=m
CONFIG_TOSHIBA_FIR=m
CONFIG_SMC_IRCC_FIR=m
CONFIG_ALI_FIR=m
CONFIG_VLSI_FIR=m
CONFIG_VIA_FIR=m
CONFIG_MCS_FIR=m
CONFIG_BT=y
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_LE=y
# CONFIG_BT_SELFTEST is not set
CONFIG_BT_DEBUGFS=y

#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=m
CONFIG_BT_BCM=m
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_ATH3K=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
# CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_BCM is not set
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIVHCI=m
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
CONFIG_BT_ATH3K=m
# CONFIG_AF_RXRPC is not set
CONFIG_WIRELESS=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=m
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
# CONFIG_LIB80211 is not set
CONFIG_MAC80211=m
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
# CONFIG_MAC80211_RC_MINSTREL_VHT is not set
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
# CONFIG_MAC80211_MESH is not set
CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
CONFIG_HAVE_BPF_JIT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/tahiti_ce.bin radeon/tahiti_mc.bin radeon/tahiti_me.bin radeon/tahiti_pfp.bin radeon/tahiti_rlc.bin radeon/tahiti_smc.bin radeon/TAHITI_uvd.bin radeon/pitcairn_ce.bin radeon/pitcairn_mc.bin radeon/pitcairn_me.bin radeon/pitcairn_pfp.bin radeon/pitcairn_rlc.bin radeon/pitcairn_smc.bin radeon/verde_ce.bin radeon/verde_mc.bin radeon/verde_me.bin radeon/verde_pfp.bin radeon/verde_rlc.bin radeon/verde_smc.bin radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin radeon/CAICOS_pfp.bin radeon/CAICOS_smc.bin radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CEDAR_smc.bin radeon/CYPRESS_uvd.bin "
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
CONFIG_WANT_DEV_COREDUMP=y
CONFIG_ALLOW_DEV_COREDUMP=y
CONFIG_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_MMIO=y
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_FENCE_TRACE is not set

#
# Bus devices
#
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
CONFIG_DTC=y
CONFIG_OF=y

#
# Device Tree and Open Firmware support
#
# CONFIG_OF_UNITTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_ADDRESS_PCI=y
CONFIG_OF_IRQ=y
CONFIG_OF_NET=y
CONFIG_OF_MDIO=y
CONFIG_OF_PCI=y
CONFIG_OF_PCI_IRQ=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_OF_OVERLAY is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_BLK_DEV_SX8 is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=131072
# CONFIG_BLK_DEV_PMEM is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_BLK_DEV_HD is not set
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_RSXX is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_SRAM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
CONFIG_EEPROM_93CX6=m
# CONFIG_CB710_CORE is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set
# CONFIG_SENSORS_LIS3_I2C is not set

#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set

#
# Intel MIC Bus Driver
#

#
# Intel MIC Host Driver
#

#
# Intel MIC Card Driver
#
# CONFIG_ECHO is not set
# CONFIG_CXL_BASE is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_NETLINK is not set
# CONFIG_SCSI_MQ_DEFAULT is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_CXGB3_ISCSI is not set
# CONFIG_SCSI_CXGB4_ISCSI is not set
# CONFIG_SCSI_BNX2_ISCSI is not set
# CONFIG_BE2ISCSI is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_HPSA is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_3W_SAS is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_MVUMI is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_SCSI_ESAS2R is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT2SAS is not set
# CONFIG_SCSI_MPT3SAS is not set
# CONFIG_SCSI_UFSHCD is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_WD719X is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
CONFIG_SATA_AHCI_PLATFORM=y
CONFIG_SATA_FSL=y
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
# CONFIG_ATA_PIIX is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_AUTODETECT=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=y
CONFIG_MD_RAID456=y
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
# CONFIG_BCACHE is not set
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_MQ_DEFAULT is not set
# CONFIG_DM_DEBUG is not set
# CONFIG_DM_CRYPT is not set
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_THIN_PROVISIONING is not set
# CONFIG_DM_CACHE is not set
# CONFIG_DM_ERA is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_RAID is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_UEVENT is not set
# CONFIG_DM_FLAKEY is not set
# CONFIG_DM_VERITY is not set
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
CONFIG_DUMMY=y
# CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_IPVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_NLMON is not set
# CONFIG_ARCNET is not set

#
# CAIF transport drivers
#

#
# Distributed Switch Architecture drivers
#
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALTEON is not set
# CONFIG_ALTERA_TSE is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
CONFIG_NET_CADENCE=y
# CONFIG_MACB is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
# CONFIG_NET_VENDOR_CISCO is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
# CONFIG_NET_VENDOR_EXAR is not set
CONFIG_NET_VENDOR_FREESCALE=y
CONFIG_FS_ENET=y
# CONFIG_FS_ENET_HAS_SCC is not set
# CONFIG_FS_ENET_HAS_FCC is not set
# CONFIG_FS_ENET_MDIO_FCC is not set
CONFIG_FSL_PQ_MDIO=y
# CONFIG_FSL_XGMAC_MDIO is not set
# CONFIG_UCC_GETH is not set
CONFIG_GIANFAR=y

#
# Frame Manager support
#
# CONFIG_NET_VENDOR_HP is not set
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_IP1000 is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MELLANOX is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_PACKET_ENGINE is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
# CONFIG_NET_VENDOR_REALTEK is not set
# CONFIG_NET_VENDOR_RDC is not set
CONFIG_NET_VENDOR_ROCKER=y
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_SFC is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_XILINX is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PHYLIB=y

#
# MII PHY device drivers
#
# CONFIG_AT803X_PHY is not set
# CONFIG_AMD_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MDIO_BUS_MUX_GPIO is not set
# CONFIG_MDIO_BUS_MUX_MMIOREG is not set
# CONFIG_MDIO_BCM_UNIMAC is not set
CONFIG_PPP=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_FILTER=y
# CONFIG_PPP_MPPE is not set
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPPOE=y
CONFIG_PPP_ASYNC=y
# CONFIG_PPP_SYNC_TTY is not set
# CONFIG_SLIP is not set
CONFIG_SLHC=y
CONFIG_USB_NET_DRIVERS=y
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_RTL8152 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_IPHETH is not set
CONFIG_WLAN=y
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_AIRO is not set
# CONFIG_ATMEL is not set
# CONFIG_AT76C50X_USB is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_RTL8180 is not set
CONFIG_RTL8187=m
CONFIG_RTL8187_LEDS=y
# CONFIG_ADM8211 is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_MWL8K is not set
# CONFIG_ATH_CARDS is not set
CONFIG_B43=m
CONFIG_B43_BCMA=y
CONFIG_B43_SSB=y
CONFIG_B43_BUSES_BCMA_AND_SSB=y
# CONFIG_B43_BUSES_BCMA is not set
# CONFIG_B43_BUSES_SSB is not set
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
# CONFIG_B43_SDIO is not set
CONFIG_B43_BCMA_PIO=y
CONFIG_B43_PIO=y
# CONFIG_B43_PHY_G is not set
# CONFIG_B43_PHY_N is not set
# CONFIG_B43_PHY_LP is not set
# CONFIG_B43_PHY_HT is not set
CONFIG_B43_LEDS=y
CONFIG_B43_HWRNG=y
# CONFIG_B43_DEBUG is not set
# CONFIG_B43LEGACY is not set
# CONFIG_BRCMSMAC is not set
# CONFIG_BRCMFMAC is not set
# CONFIG_HOSTAP is not set
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_IWLWIFI is not set
# CONFIG_IWL4965 is not set
# CONFIG_IWL3945 is not set
# CONFIG_LIBERTAS is not set
# CONFIG_HERMES is not set
# CONFIG_P54_COMMON is not set
# CONFIG_RT2X00 is not set
CONFIG_RTL_CARDS=m
# CONFIG_RTL8192CE is not set
# CONFIG_RTL8192SE is not set
# CONFIG_RTL8192DE is not set
# CONFIG_RTL8723AE is not set
# CONFIG_RTL8723BE is not set
# CONFIG_RTL8188EE is not set
# CONFIG_RTL8192EE is not set
# CONFIG_RTL8821AE is not set
# CONFIG_RTL8192CU is not set
# CONFIG_WL_TI is not set
# CONFIG_ZD1211RW is not set
# CONFIG_MWIFIEX is not set
# CONFIG_CW1200 is not set
# CONFIG_RSI_91X is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not set
# CONFIG_ISDN is not set

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_FF_MEMLESS=y
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_CAP11XX is not set
CONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
CONFIG_INPUT_JOYSTICK=y
CONFIG_JOYSTICK_ANALOG=y
CONFIG_JOYSTICK_A3D=y
CONFIG_JOYSTICK_ADI=y
CONFIG_JOYSTICK_COBRA=y
CONFIG_JOYSTICK_GF2K=y
CONFIG_JOYSTICK_GRIP=y
CONFIG_JOYSTICK_GRIP_MP=y
CONFIG_JOYSTICK_GUILLEMOT=y
CONFIG_JOYSTICK_INTERACT=y
CONFIG_JOYSTICK_SIDEWINDER=y
CONFIG_JOYSTICK_TMDC=y
CONFIG_JOYSTICK_IFORCE=y
CONFIG_JOYSTICK_IFORCE_USB=y
CONFIG_JOYSTICK_IFORCE_232=y
CONFIG_JOYSTICK_WARRIOR=y
CONFIG_JOYSTICK_MAGELLAN=y
CONFIG_JOYSTICK_SPACEORB=y
CONFIG_JOYSTICK_SPACEBALL=y
CONFIG_JOYSTICK_STINGER=y
CONFIG_JOYSTICK_TWIDJOY=y
# CONFIG_JOYSTICK_ZHENHUA is not set
CONFIG_JOYSTICK_AS5011=y
CONFIG_JOYSTICK_JOYDUMP=y
CONFIG_JOYSTICK_XPAD=y
CONFIG_JOYSTICK_XPAD_FF=y
# CONFIG_JOYSTICK_XPAD_LEDS is not set
CONFIG_INPUT_TABLET=y
CONFIG_TABLET_USB_ACECAD=m
CONFIG_TABLET_USB_AIPTEK=m
CONFIG_TABLET_USB_GTCO=m
CONFIG_TABLET_USB_HANWANG=m
CONFIG_TABLET_USB_KBTAB=m
CONFIG_TABLET_SERIAL_WACOM4=m
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_OF_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_AR1021_I2C is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_CHIPONE_ICN8318 is not set
# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP4_CORE is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_EGALAX is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GOODIX is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELAN is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_SUR40 is not set
# CONFIG_TOUCHSCREEN_SX8654 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_TOUCHSCREEN_ZFORCE is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_MPU3050 is not set
# CONFIG_INPUT_GP2A is not set
# CONFIG_INPUT_GPIO_BEEPER is not set
# CONFIG_INPUT_GPIO_TILT_POLLED is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_KXTJ9 is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
# CONFIG_INPUT_UINPUT is not set
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_IMS_PCU is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_DRV260X_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
# CONFIG_SERIO_I8042 is not set
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_XILINX_XPS_PS2 is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
CONFIG_GAMEPORT=y
# CONFIG_GAMEPORT_NS558 is not set
# CONFIG_GAMEPORT_L4 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_FM801 is not set

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
# CONFIG_PPC_EPAPR_HV_BYTECHAN is not set
CONFIG_DEVMEM=y
CONFIG_DEVKMEM=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=2
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_RSA is not set
CONFIG_SERIAL_8250_FSL=y
# CONFIG_SERIAL_8250_DW is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_CPM is not set
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_OF_PLATFORM is not set
CONFIG_SERIAL_QE=y
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
# CONFIG_TTY_PRINTK is not set
# CONFIG_HVC_UDBG is not set
# CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
CONFIG_NVRAM=y
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=256
# CONFIG_TCG_TPM is not set
CONFIG_DEVPORT=y
# CONFIG_XILLYBUS is not set

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=m

#
# Multiplexer I2C Chip support
#
# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set
# CONFIG_I2C_MUX_GPIO is not set
# CONFIG_I2C_MUX_PCA9541 is not set
# CONFIG_I2C_MUX_PCA954x is not set
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=y

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_CBUS_GPIO is not set
CONFIG_I2C_CPM=y
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_GPIO is not set
CONFIG_I2C_MPC=y
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_SLAVE is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not set

#
# PPS support
#
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set

#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_GPIO is not set

#
# PPS generators support
#

#
# PTP clock support
#
CONFIG_PTP_1588_CLOCK=y
CONFIG_PTP_1588_CLOCK_GIANFAR=y

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_DEVRES=y
CONFIG_OF_GPIO=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set

#
# Memory mapped GPIO drivers
#
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_GRGPIO is not set
CONFIG_GPIO_MPC8XXX=y
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_VX855 is not set
# CONFIG_GPIO_XILINX is not set

#
# I2C GPIO expanders
#
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ADNP is not set
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_SX150X is not set

#
# MFD GPIO expanders
#

#
# PCI GPIO expanders
#
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_RDC321X is not set

#
# USB GPIO expanders
#
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_BQ24190 is not set
# CONFIG_CHARGER_BQ24735 is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_AVS is not set
CONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_GPIO_FAN is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_JC42 is not set
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6642 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_HTU21 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SCH56XX_COMMON is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
CONFIG_SSB=m
CONFIG_SSB_SPROM=y
CONFIG_SSB_BLOCKIO=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
CONFIG_SSB_PCIHOST=y
CONFIG_SSB_B43_PCI_BRIDGE=y
CONFIG_SSB_SDIOHOST_POSSIBLE=y
# CONFIG_SSB_SDIOHOST is not set
# CONFIG_SSB_SILENT is not set
# CONFIG_SSB_DEBUG is not set
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
CONFIG_SSB_DRIVER_PCICORE=y
# CONFIG_SSB_DRIVER_GPIO is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
CONFIG_BCMA=m
CONFIG_BCMA_BLOCKIO=y
CONFIG_BCMA_HOST_PCI_POSSIBLE=y
# CONFIG_BCMA_HOST_PCI is not set
# CONFIG_BCMA_HOST_SOC is not set
CONFIG_BCMA_DRIVER_PCI=y
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
# CONFIG_BCMA_DRIVER_GPIO is not set
# CONFIG_BCMA_DEBUG is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_AS3711 is not set
# CONFIG_MFD_AS3722 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_ATMEL_HLCDC is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_AXP20X is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_LPC_ICH is not set
# CONFIG_LPC_SCH is not set
# CONFIG_INTEL_SOC_PMIC is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX77843 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RTSX_PCI is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_RTSX_USB is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_RK808 is not set
# CONFIG_MFD_RN5T618 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_MFD_SMSC is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TPS65218 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS80031 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_REGULATOR is not set
CONFIG_MEDIA_SUPPORT=m

#
# Multimedia core support
#
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
CONFIG_MEDIA_RADIO_SUPPORT=y
CONFIG_MEDIA_SDR_SUPPORT=y
CONFIG_MEDIA_RC_SUPPORT=y
CONFIG_MEDIA_CONTROLLER=y
CONFIG_VIDEO_DEV=m
# CONFIG_VIDEO_V4L2_SUBDEV_API is not set
CONFIG_VIDEO_V4L2=m
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
CONFIG_VIDEOBUF_GEN=m
CONFIG_VIDEOBUF_VMALLOC=m
CONFIG_VIDEOBUF2_CORE=m
CONFIG_VIDEOBUF2_MEMOPS=m
CONFIG_VIDEOBUF2_VMALLOC=m
CONFIG_DVB_CORE=m
CONFIG_DVB_NET=y
# CONFIG_TTPCI_EEPROM is not set
CONFIG_DVB_MAX_ADAPTERS=8
# CONFIG_DVB_DYNAMIC_MINORS is not set

#
# Media drivers
#
CONFIG_RC_CORE=m
# CONFIG_RC_MAP is not set
CONFIG_RC_DECODERS=y
# CONFIG_LIRC is not set
CONFIG_IR_NEC_DECODER=m
CONFIG_IR_RC5_DECODER=m
CONFIG_IR_RC6_DECODER=m
CONFIG_IR_JVC_DECODER=m
CONFIG_IR_SONY_DECODER=m
CONFIG_IR_SANYO_DECODER=m
CONFIG_IR_SHARP_DECODER=m
CONFIG_IR_MCE_KBD_DECODER=m
CONFIG_IR_XMP_DECODER=m
CONFIG_RC_DEVICES=y
CONFIG_RC_ATI_REMOTE=m
# CONFIG_IR_HIX5HD2 is not set
CONFIG_IR_IMON=m
CONFIG_IR_MCEUSB=m
CONFIG_IR_REDRAT3=m
CONFIG_IR_STREAMZAP=m
# CONFIG_IR_IGORPLUGUSB is not set
CONFIG_IR_IGUANA=m
CONFIG_IR_TTUSBIR=m
CONFIG_RC_LOOPBACK=m
CONFIG_IR_GPIO_CIR=m
CONFIG_MEDIA_USB_SUPPORT=y

#
# Webcam devices
#
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_GSPCA=m
# CONFIG_USB_M5602 is not set
# CONFIG_USB_STV06XX is not set
# CONFIG_USB_GL860 is not set
# CONFIG_USB_GSPCA_BENQ is not set
# CONFIG_USB_GSPCA_CONEX is not set
# CONFIG_USB_GSPCA_CPIA1 is not set
# CONFIG_USB_GSPCA_DTCS033 is not set
# CONFIG_USB_GSPCA_ETOMS is not set
# CONFIG_USB_GSPCA_FINEPIX is not set
# CONFIG_USB_GSPCA_JEILINJ is not set
# CONFIG_USB_GSPCA_JL2005BCD is not set
# CONFIG_USB_GSPCA_KINECT is not set
# CONFIG_USB_GSPCA_KONICA is not set
# CONFIG_USB_GSPCA_MARS is not set
# CONFIG_USB_GSPCA_MR97310A is not set
# CONFIG_USB_GSPCA_NW80X is not set
# CONFIG_USB_GSPCA_OV519 is not set
# CONFIG_USB_GSPCA_OV534 is not set
# CONFIG_USB_GSPCA_OV534_9 is not set
# CONFIG_USB_GSPCA_PAC207 is not set
# CONFIG_USB_GSPCA_PAC7302 is not set
# CONFIG_USB_GSPCA_PAC7311 is not set
# CONFIG_USB_GSPCA_SE401 is not set
# CONFIG_USB_GSPCA_SN9C2028 is not set
# CONFIG_USB_GSPCA_SN9C20X is not set
# CONFIG_USB_GSPCA_SONIXB is not set
# CONFIG_USB_GSPCA_SONIXJ is not set
# CONFIG_USB_GSPCA_SPCA500 is not set
# CONFIG_USB_GSPCA_SPCA501 is not set
# CONFIG_USB_GSPCA_SPCA505 is not set
# CONFIG_USB_GSPCA_SPCA506 is not set
# CONFIG_USB_GSPCA_SPCA508 is not set
# CONFIG_USB_GSPCA_SPCA561 is not set
# CONFIG_USB_GSPCA_SPCA1528 is not set
# CONFIG_USB_GSPCA_SQ905 is not set
# CONFIG_USB_GSPCA_SQ905C is not set
# CONFIG_USB_GSPCA_SQ930X is not set
# CONFIG_USB_GSPCA_STK014 is not set
# CONFIG_USB_GSPCA_STK1135 is not set
# CONFIG_USB_GSPCA_STV0680 is not set
# CONFIG_USB_GSPCA_SUNPLUS is not set
# CONFIG_USB_GSPCA_T613 is not set
# CONFIG_USB_GSPCA_TOPRO is not set
# CONFIG_USB_GSPCA_TOUPTEK is not set
# CONFIG_USB_GSPCA_TV8532 is not set
# CONFIG_USB_GSPCA_VC032X is not set
# CONFIG_USB_GSPCA_VICAM is not set
# CONFIG_USB_GSPCA_XIRLINK_CIT is not set
# CONFIG_USB_GSPCA_ZC3XX is not set
CONFIG_USB_PWC=m
# CONFIG_USB_PWC_DEBUG is not set
CONFIG_USB_PWC_INPUT_EVDEV=y
CONFIG_VIDEO_CPIA2=m
CONFIG_USB_ZR364XX=m
CONFIG_USB_STKWEBCAM=m
CONFIG_USB_S2255=m
CONFIG_VIDEO_USBTV=m

#
# Analog TV USB devices
#
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_HDPVR is not set
# CONFIG_VIDEO_USBVISION is not set
# CONFIG_VIDEO_STK1160_COMMON is not set
# CONFIG_VIDEO_GO7007 is not set

#
# Analog/digital TV USB devices
#
# CONFIG_VIDEO_AU0828 is not set
# CONFIG_VIDEO_CX231XX is not set
# CONFIG_VIDEO_TM6000 is not set

#
# Digital TV USB devices
#
# CONFIG_DVB_USB is not set
# CONFIG_DVB_USB_V2 is not set
# CONFIG_DVB_TTUSB_BUDGET is not set
# CONFIG_DVB_TTUSB_DEC is not set
# CONFIG_SMS_USB_DRV is not set
# CONFIG_DVB_B2C2_FLEXCOP_USB is not set
# CONFIG_DVB_AS102 is not set

#
# Webcam, TV (analog/digital) USB devices
#
# CONFIG_VIDEO_EM28XX is not set

#
# Software defined radio USB devices
#
# CONFIG_USB_AIRSPY is not set
# CONFIG_USB_HACKRF is not set
# CONFIG_MEDIA_PCI_SUPPORT is not set
# CONFIG_V4L_PLATFORM_DRIVERS is not set
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
# CONFIG_V4L_TEST_DRIVERS is not set

#
# Supported MMC/SDIO adapters
#
# CONFIG_SMS_SDIO_DRV is not set
CONFIG_RADIO_ADAPTERS=y
# CONFIG_RADIO_SI470X is not set
# CONFIG_RADIO_SI4713 is not set
# CONFIG_USB_MR800 is not set
# CONFIG_USB_DSBR is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_SHARK is not set
# CONFIG_RADIO_SHARK2 is not set
# CONFIG_USB_KEENE is not set
# CONFIG_USB_RAREMONO is not set
# CONFIG_USB_MA901 is not set
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_RADIO_SAA7706H is not set
# CONFIG_RADIO_TEF6862 is not set
# CONFIG_RADIO_WL1273 is not set

#
# Texas Instruments WL128x FM driver (ST based)
#
# CONFIG_CYPRESS_FIRMWARE is not set

#
# Media ancillary drivers (tuners, sensors, i2c, frontends)
#
CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
CONFIG_MEDIA_ATTACH=y
CONFIG_VIDEO_IR_I2C=m

#
# Audio decoders, processors and mixers
#

#
# RDS decoders
#

#
# Video decoders
#

#
# Video and audio decoders
#

#
# Video encoders
#

#
# Camera sensor devices
#

#
# Flash devices
#

#
# Video improvement chips
#

#
# Audio/Video compression chips
#

#
# Miscellaneous helper chips
#

#
# Sensors used on soc_camera driver
#
CONFIG_MEDIA_TUNER=m
CONFIG_MEDIA_TUNER_SIMPLE=m
CONFIG_MEDIA_TUNER_TDA8290=m
CONFIG_MEDIA_TUNER_TDA827X=m
CONFIG_MEDIA_TUNER_TDA18271=m
CONFIG_MEDIA_TUNER_TDA9887=m
CONFIG_MEDIA_TUNER_TEA5761=m
CONFIG_MEDIA_TUNER_TEA5767=m
CONFIG_MEDIA_TUNER_MT20XX=m
CONFIG_MEDIA_TUNER_XC2028=m
CONFIG_MEDIA_TUNER_XC5000=m
CONFIG_MEDIA_TUNER_XC4000=m
CONFIG_MEDIA_TUNER_MC44S803=m

#
# Multistandard (satellite) frontends
#

#
# Multistandard (cable + terrestrial) frontends
#

#
# DVB-S (satellite) frontends
#

#
# DVB-T (terrestrial) frontends
#
# CONFIG_DVB_AS102_FE is not set

#
# DVB-C (cable) frontends
#

#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#

#
# ISDB-T (terrestrial) frontends
#

#
# ISDB-S (satellite) & ISDB-T (terrestrial) frontends
#

#
# Digital terrestrial only tuners/PLL
#

#
# SEC control devices for DVB-S
#

#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set

#
# Graphics support
#
# CONFIG_AGP is not set
# CONFIG_VGA_ARB is not set

#
# Direct Rendering Manager
#
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=y

#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_PTN3460 is not set
# CONFIG_DRM_PS8622 is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
# CONFIG_DRM_RADEON_USERPTR is not set
# CONFIG_DRM_RADEON_UMS is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set

#
# Frame buffer Devices
#
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FB_CMDLINE=y
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_OF is not set
# CONFIG_FB_CT65550 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_FSL_DIU is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SSD1307 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
# CONFIG_LCD_PLATFORM is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_GPIO is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_VGASTATE is not set
CONFIG_HDMI=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_COMPRESS_OFFLOAD=y
CONFIG_SND_JACK=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_HRTIMER is not set
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_VERBOSE=y
# CONFIG_SND_PCM_XRUN_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_RAWMIDI_SEQ=y
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_ALOOP is not set
CONFIG_SND_VIRMIDI=y
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
# CONFIG_SND_HDA_HWDEP is not set
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_INPUT_JACK=y
# CONFIG_SND_HDA_PATCH_LOADER is not set
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
CONFIG_SND_HDA_CODEC_HDMI=y
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_CORE=y
CONFIG_SND_PPC=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_UA101=y
CONFIG_SND_USB_USX2Y=y
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_6FIRE=m
CONFIG_SND_USB_HIFACE=m
# CONFIG_SND_BCD2000 is not set
# CONFIG_SND_USB_POD is not set
# CONFIG_SND_USB_PODHD is not set
# CONFIG_SND_USB_TONEPORT is not set
# CONFIG_SND_USB_VARIAX is not set
CONFIG_SND_SOC=y
# CONFIG_SND_ATMEL_SOC is not set

#
# SoC Audio for Freescale CPUs
#

#
# Common SoC Audio options for Freescale CPUs:
#
# CONFIG_SND_SOC_FSL_ASRC is not set
# CONFIG_SND_SOC_FSL_SAI is not set
CONFIG_SND_SOC_FSL_SSI=y
# CONFIG_SND_SOC_FSL_SPDIF is not set
# CONFIG_SND_SOC_FSL_ESAI is not set
# CONFIG_SND_SOC_IMX_AUDMUX is not set
CONFIG_SND_POWERPC_SOC=y

#
# SoC Audio support for Freescale PPC boards:
#
# CONFIG_SND_SOC_QCOM is not set
# CONFIG_SND_SOC_XTFPGA_I2S is not set
CONFIG_SND_SOC_I2C_AND_SPI=y

#
# CODEC drivers
#
# CONFIG_SND_SOC_ADAU1701 is not set
# CONFIG_SND_SOC_AK4554 is not set
# CONFIG_SND_SOC_AK4642 is not set
# CONFIG_SND_SOC_AK5386 is not set
# CONFIG_SND_SOC_ALC5623 is not set
# CONFIG_SND_SOC_CS35L32 is not set
# CONFIG_SND_SOC_CS42L51_I2C is not set
# CONFIG_SND_SOC_CS42L52 is not set
# CONFIG_SND_SOC_CS42L56 is not set
# CONFIG_SND_SOC_CS42L73 is not set
# CONFIG_SND_SOC_CS4265 is not set
# CONFIG_SND_SOC_CS4270 is not set
# CONFIG_SND_SOC_CS4271_I2C is not set
# CONFIG_SND_SOC_CS42XX8_I2C is not set
# CONFIG_SND_SOC_HDMI_CODEC is not set
# CONFIG_SND_SOC_ES8328 is not set
# CONFIG_SND_SOC_PCM1681 is not set
# CONFIG_SND_SOC_PCM512x_I2C is not set
# CONFIG_SND_SOC_RT5631 is not set
# CONFIG_SND_SOC_RT5677_SPI is not set
# CONFIG_SND_SOC_SGTL5000 is not set
# CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set
# CONFIG_SND_SOC_SPDIF is not set
# CONFIG_SND_SOC_SSM2602_I2C is not set
# CONFIG_SND_SOC_SSM4567 is not set
# CONFIG_SND_SOC_STA32X is not set
# CONFIG_SND_SOC_STA350 is not set
# CONFIG_SND_SOC_TAS2552 is not set
# CONFIG_SND_SOC_TAS5086 is not set
# CONFIG_SND_SOC_TFA9879 is not set
# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
# CONFIG_SND_SOC_TLV320AIC31XX is not set
# CONFIG_SND_SOC_TLV320AIC3X is not set
# CONFIG_SND_SOC_TS3A227E is not set
# CONFIG_SND_SOC_WM8510 is not set
# CONFIG_SND_SOC_WM8523 is not set
# CONFIG_SND_SOC_WM8580 is not set
# CONFIG_SND_SOC_WM8711 is not set
# CONFIG_SND_SOC_WM8728 is not set
# CONFIG_SND_SOC_WM8731 is not set
# CONFIG_SND_SOC_WM8737 is not set
# CONFIG_SND_SOC_WM8741 is not set
# CONFIG_SND_SOC_WM8750 is not set
# CONFIG_SND_SOC_WM8753 is not set
CONFIG_SND_SOC_WM8776=y
# CONFIG_SND_SOC_WM8804_I2C is not set
# CONFIG_SND_SOC_WM8903 is not set
# CONFIG_SND_SOC_WM8962 is not set
# CONFIG_SND_SOC_WM8978 is not set
# CONFIG_SND_SOC_TPA6130A2 is not set
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SOUND_PRIME is not set

#
# HID support
#
CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=y

#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
# CONFIG_HID_ACRUX is not set
CONFIG_HID_APPLE=y
# CONFIG_HID_APPLEIR is not set
# CONFIG_HID_AUREAL is not set
CONFIG_HID_BELKIN=y
# CONFIG_HID_BETOP_FF is not set
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
# CONFIG_HID_PRODIKEYS is not set
# CONFIG_HID_CP2112 is not set
CONFIG_HID_CYPRESS=y
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_ELO is not set
CONFIG_HID_EZKEY=y
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_GT683R is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
# CONFIG_HID_TWINHAN is not set
CONFIG_HID_KENSINGTON=y
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO is not set
CONFIG_HID_LOGITECH=y
# CONFIG_HID_LOGITECH_DJ is not set
# CONFIG_HID_LOGITECH_HIDPP is not set
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_LOGIWHEELS_FF is not set
# CONFIG_HID_MAGICMOUSE is not set
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PENMOUNT is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PLANTRONICS is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_RMI is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THINGM is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_WACOM is not set
# CONFIG_HID_WIIMOTE is not set
# CONFIG_HID_XINMO is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set

#
# USB HID support
#
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set

#
# I2C HID support
#
# CONFIG_I2C_HID is not set
CONFIG_USB_OHCI_BIG_ENDIAN_DESC=y
CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_OTG_FSM is not set
CONFIG_USB_MON=y
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_FSL_MPH_DR_OF=y
CONFIG_USB_EHCI_PCI=y
# CONFIG_XPS_USB_HCD_XILINX is not set
CONFIG_USB_EHCI_FSL=y
CONFIG_USB_EHCI_HCD_PPC_OF=y
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
# CONFIG_USB_FUSBH200_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
CONFIG_USB_OHCI_HCD_PPC_OF_LE=y
CONFIG_USB_OHCI_HCD_PPC_OF=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
# CONFIG_USB_UHCI_HCD is not set
# CONFIG_USB_FHCI_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_BCMA is not set
# CONFIG_USB_HCD_SSB is not set
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=y
CONFIG_USB_WDM=m
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
# CONFIG_USB_UAS is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_CHIPIDEA is not set
# CONFIG_USB_ISP1760 is not set

#
# USB port drivers
#
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SIMPLE=m
CONFIG_USB_SERIAL_AIRCABLE=m
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_CH341 is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
CONFIG_USB_SERIAL_IR=m
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_F81232 is not set
CONFIG_USB_SERIAL_GARMIN=m
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_IUU is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_METRO is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MXUPORT is not set
CONFIG_USB_SERIAL_NAVMAN=m
CONFIG_USB_SERIAL_PL2303=m
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
# CONFIG_USB_SERIAL_SAFE is not set
CONFIG_USB_SERIAL_SIERRAWIRELESS=m
# CONFIG_USB_SERIAL_SYMBOL is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
CONFIG_USB_SERIAL_WWAN=m
CONFIG_USB_SERIAL_OPTION=m
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_XSENS_MT is not set
# CONFIG_USB_SERIAL_WISHBONE is not set
# CONFIG_USB_SERIAL_SSU100 is not set
# CONFIG_USB_SERIAL_QT2 is not set
# CONFIG_USB_SERIAL_DEBUG is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
CONFIG_USB_TRANCEVIBRATOR=m
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_LINK_LAYER_TEST is not set
# CONFIG_USB_CHAOSKEY is not set

#
# USB Physical Layer drivers
#
# CONFIG_USB_PHY is not set
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_USB_ISP1301 is not set
# CONFIG_USB_GADGET is not set
CONFIG_USB_LED_TRIG=y
# CONFIG_UWB is not set
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_CLKGATE is not set

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_WBSD is not set
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_CB710 is not set
# CONFIG_MMC_VIA_SDMMC is not set
# CONFIG_MMC_VUB300 is not set
# CONFIG_MMC_USHC is not set
# CONFIG_MMC_USDHI6ROL0 is not set
# CONFIG_MMC_TOSHIBA_PCI is not set
# CONFIG_MEMSTICK is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
# CONFIG_LEDS_CLASS_FLASH is not set

#
# LED drivers
#
# CONFIG_LEDS_LM3530 is not set
# CONFIG_LEDS_LM3642 is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_LP5521 is not set
# CONFIG_LEDS_LP5523 is not set
# CONFIG_LEDS_LP5562 is not set
# CONFIG_LEDS_LP8501 is not set
# CONFIG_LEDS_LP8860 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA963X is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_TCA6507 is not set
# CONFIG_LEDS_LM355x is not set

#
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
#
# CONFIG_LEDS_BLINKM is not set
# CONFIG_LEDS_PM8941_WLED is not set

#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_CPU is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
# CONFIG_LEDS_TRIGGER_CAMERA is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC=y
CONFIG_EDAC_LEGACY_SYSFS=y
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_MM_EDAC=y
CONFIG_EDAC_MPC85XX=y
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABX80X is not set
CONFIG_RTC_DRV_DS1307=y
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_HYM8563 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_ISL12057 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set

#
# SPI RTC drivers
#

#
# Platform RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_GENERIC is not set
# CONFIG_RTC_DRV_SNVS is not set
# CONFIG_RTC_DRV_XGENE is not set

#
# HID Sensor RTC drivers
#
# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set

#
# DMA Devices
#
CONFIG_ASYNC_TX_ENABLE_CHANNEL_SWITCH=y
# CONFIG_DW_DMAC is not set
# CONFIG_DW_DMAC_PCI is not set
CONFIG_FSL_DMA=y
# CONFIG_HSU_DMA_PCI is not set
CONFIG_FSL_EDMA=y
CONFIG_DMA_ENGINE=y
CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DMA_OF=y

#
# DMA Clients
#
CONFIG_ASYNC_TX_DMA=y
# CONFIG_DMATEST is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_VIRT_DRIVERS is not set

#
# Virtio drivers
#
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set

#
# Hardware Spinlock drivers
#

#
# Clock Source drivers
#
# CONFIG_ATMEL_PIT is not set
# CONFIG_SH_TIMER_CMT is not set
# CONFIG_SH_TIMER_MTU2 is not set
# CONFIG_SH_TIMER_TMU is not set
# CONFIG_EM_TIMER_STI is not set
# CONFIG_MAILBOX is not set
CONFIG_IOMMU_SUPPORT=y

#
# Generic IOMMU Pagetable Support
#

#
# Remoteproc drivers
#
# CONFIG_STE_MODEM_RPROC is not set

#
# Rpmsg drivers
#

#
# SOC (System On Chip) specific Drivers
#
# CONFIG_SOC_TI is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set
CONFIG_IRQCHIP=y
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_FMC is not set

#
# PHY Subsystem
#
CONFIG_GENERIC_PHY=y
# CONFIG_BCM_KONA_USB2_PHY is not set
# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set
CONFIG_RAS=y
# CONFIG_THUNDERBOLT is not set

#
# Android
#
# CONFIG_ANDROID is not set

#
# File systems
#
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT23=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_ENCRYPTION is not set
CONFIG_EXT4_DEBUG=y
CONFIG_JBD2=y
CONFIG_JBD2_DEBUG=y
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
CONFIG_BTRFS_FS=m
CONFIG_BTRFS_FS_POSIX_ACL=y
CONFIG_BTRFS_FS_CHECK_INTEGRITY=y
CONFIG_BTRFS_FS_RUN_SANITY_TESTS=y
CONFIG_BTRFS_DEBUG=y
CONFIG_BTRFS_ASSERT=y
# CONFIG_NILFS2_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_FS_DAX is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
CONFIG_AUTOFS4_FS=y
CONFIG_FUSE_FS=y
# CONFIG_CUSE is not set
# CONFIG_OVERLAY_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_FILE_CACHE=y
# CONFIG_SQUASHFS_FILE_DIRECT is not set
CONFIG_SQUASHFS_DECOMP_SINGLE=y
# CONFIG_SQUASHFS_DECOMP_MULTI is not set
# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set
CONFIG_SQUASHFS_XATTR=y
CONFIG_SQUASHFS_ZLIB=y
# CONFIG_SQUASHFS_LZ4 is not set
CONFIG_SQUASHFS_LZO=y
CONFIG_SQUASHFS_XZ=y
CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
CONFIG_SQUASHFS_EMBEDDED=y
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_SWAP is not set
CONFIG_ROOT_NFS=y
# CONFIG_NFSD is not set
CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=y
# CONFIG_CIFS_STATS is not set
CONFIG_CIFS_WEAK_PW_HASH=y
# CONFIG_CIFS_UPCALL is not set
# CONFIG_CIFS_XATTR is not set
CONFIG_CIFS_DEBUG=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DFS_UPCALL is not set
# CONFIG_CIFS_SMB2 is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
# CONFIG_NLS_UTF8 is not set
# CONFIG_DLM is not set
CONFIG_UCC_SLOW=y
CONFIG_UCC=y
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_RAID6_PQ=y
CONFIG_BITREVERSE=y
# CONFIG_HAVE_ARCH_BITREVERSE is not set
CONFIG_RATIONAL=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IO=y
CONFIG_CRC_CCITT=y
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
CONFIG_CRC_ITU_T=y
CONFIG_CRC32=y
CONFIG_CRC32_SELFTEST=y
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=y
# CONFIG_CRC8 is not set
# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
CONFIG_RANDOM32_SELFTEST=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_XZ_DEC=y
# CONFIG_XZ_DEC_X86 is not set
CONFIG_XZ_DEC_POWERPC=y
# CONFIG_XZ_DEC_IA64 is not set
# CONFIG_XZ_DEC_ARM is not set
# CONFIG_XZ_DEC_ARMTHUMB is not set
# CONFIG_XZ_DEC_SPARC is not set
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_INTERVAL_TREE=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
CONFIG_GLOB_SELFTEST=y
CONFIG_NLATTR=y
CONFIG_GENERIC_ATOMIC64=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_AVERAGE=y
# CONFIG_CORDIC is not set
CONFIG_DDR=y
CONFIG_LIBFDT=y
CONFIG_OID_REGISTRY=y
CONFIG_FONT_SUPPORT=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FONT_6x11=y
CONFIG_FONT_7x14=y
CONFIG_FONT_PEARL_8x8=y
CONFIG_FONT_ACORN_8x8=y
CONFIG_FONT_MINI_4x6=y
CONFIG_FONT_6x10=y
CONFIG_FONT_SUN8x16=y
CONFIG_FONT_SUN12x22=y
CONFIG_FONT_10x18=y
CONFIG_ARCH_HAS_SG_CHAIN=y

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_DYNAMIC_DEBUG is not set

#
# Compile-time checks and compiler options
#
# CONFIG_DEBUG_INFO is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_DEBUG_KERNEL=y

#
# Memory Debugging
#
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Lockups and Hangs
#
# CONFIG_LOCKUP_DETECTOR is not set
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_DEBUG_TIMEKEEPING is not set
CONFIG_TIMER_STATS=y
CONFIG_DEBUG_PREEMPT=y

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
# CONFIG_DEBUG_RT_MUTEXES is not set
CONFIG_DEBUG_SPINLOCK=y
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_STACKTRACE is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_PI_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set

#
# RCU Debugging
#
# CONFIG_PROVE_RCU is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_TORTURE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=21
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_UPROBE_EVENT is not set
# CONFIG_PROBE_EVENTS is not set
# CONFIG_TRACEPOINT_BENCHMARK is not set

#
# Runtime Testing
#
# CONFIG_LKDTM is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_ASYNC_RAID6_TEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_RHASHTABLE is not set
CONFIG_DMA_API_DEBUG=y
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_TEST_BPF is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_MEMTEST is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_PPC_DISABLE_WERROR is not set
CONFIG_PPC_WERROR=y
CONFIG_PRINT_STACK_DEPTH=64
CONFIG_PPC_EMULATED_STATS=y
# CONFIG_CODE_PATCHING_SELFTEST is not set
# CONFIG_FTR_FIXUP_SELFTEST is not set
CONFIG_MSI_BITMAP_SELFTEST=y
# CONFIG_XMON is not set
# CONFIG_BDI_SWITCH is not set
# CONFIG_PPC_EARLY_DEBUG is not set
CONFIG_STRICT_DEVMEM=y

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_PERSISTENT_KEYRINGS is not set
# CONFIG_BIG_KEYS is not set
CONFIG_ENCRYPTED_KEYS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_XOR_BLOCKS=y
CONFIG_ASYNC_CORE=y
CONFIG_ASYNC_MEMCPY=y
CONFIG_ASYNC_XOR=y
CONFIG_ASYNC_PQ=y
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
CONFIG_CRYPTO_GF128MUL=y
CONFIG_CRYPTO_NULL=y
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_MCRYPTD is not set
CONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
CONFIG_CRYPTO_CCM=m
CONFIG_CRYPTO_GCM=m
CONFIG_CRYPTO_SEQIV=y

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_CTS=y
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
CONFIG_CRYPTO_XTS=y

#
# Hash modes
#
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRCT10DIF is not set
CONFIG_CRYPTO_GHASH=m
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MD5_PPC is not set
CONFIG_CRYPTO_MICHAEL_MIC=m
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA1_PPC is not set
# CONFIG_CRYPTO_SHA1_PPC_SPE is not set
CONFIG_CRYPTO_SHA256=y
# CONFIG_CRYPTO_SHA256_PPC_SPE is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_PPC_SPE is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_DRBG_MENU=y
CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set
# CONFIG_CRYPTO_DRBG_CTR is not set
CONFIG_CRYPTO_DRBG=y
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_FSL_CAAM=y
CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y
CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9
# CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y
# CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set
# CONFIG_CRYPTO_DEV_TALITOS is not set
# CONFIG_ASYMMETRIC_KEY_TYPE is not set
CONFIG_PPC_LIB_RHEAP=y
# CONFIG_VIRTUALIZATION is not set

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

* Re: Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board
  2015-02-19  2:56         ` Michael Ellerman
                             ` (3 preceding siblings ...)
  2016-02-02 13:54           ` commit 9178ba294b6839eeff1a91bed95515d783f3ee6c Julian Margetson
@ 2016-08-05 11:26           ` Julian Margetson
  4 siblings, 0 replies; 33+ messages in thread
From: Julian Margetson @ 2016-08-05 11:26 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev, Ian Munsie

On 2/18/2015 10:56 PM, Michael Ellerman wrote:
> On Wed, 2015-02-18 at 21:36 -0400, Julian Margetson wrote:
>> On 2/18/2015 8:13 PM, Michael Ellerman wrote:
>>
>>> On Wed, 2015-02-18 at 15:45 -0400, Julian Margetson wrote:
>>>> On 2/15/2015 8:18 PM, Michael Ellerman wrote:
>>>>
>>>>> On Sun, 2015-02-15 at 08:16 -0400, Julian Margetson wrote:
>>>>>> Hi
>>>>>>
>>>>>> I am unable to get any kernel beyond  the 3.16 branch working on an
>>>>>> Acube Sam460ex
>>>>>>   AMCC 460ex based motherboard. Kernel  up 3.16.7-ckt6 working.
>>>>> Does reverting b0345bbc6d09 change anything?
>>>>>
>>>>>> [    6.364350] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>>>>>> [    6.453794] snd_hda_intel 0001:81:00.1: ppc4xx_setup_msi_irqs: fail mapping irq
>>>>>> [    6.487530] Unable to handle kernel paging request for data at address 0x0fa06c7c
>>>>>> [    6.495055] Faulting instruction address: 0xc032202c
>>>>>> [    6.500033] Vector: 300 (Data Access) at [efa31cf0]
>>>>>> [    6.504922]     pc: c032202c: __reg_op+0xe8/0x100
>>>>>> [    6.509697]     lr: c0014f88: msi_bitmap_free_hwirqs+0x50/0x94
>>>>>> [    6.515600]     sp: efa31da0
>>>>>> [    6.518491]    msr: 21000
>>>>>> [    6.521112]    dar: fa06c7c
>>>>>> [    6.523915]  dsisr: 0
>>>>>> [    6.526190]   current = 0xef8bab00
>>>>>> [    6.529603]     pid   = 115, comm = kworker/0:1
>>>>>> [    6.534163] enter ? for help
>>>>>> [    6.537054] [link register   ] c0014f88 msi_bitmap_free_hwirqs+0x50/0x94
>>>>>> [    6.543811] [efa31da0] c0014f78 msi_bitmap_free_hwirqs+0x40/0x94 (unreliable)
>>>>>> [    6.551001] [efa31dc0] c001aee8 ppc4xx_setup_msi_irqs+0xac/0xf4
>>>>>> [    6.556973] [efa31e00] c03503a4 pci_enable_msi_range+0x1e0/0x280
>>>>>> [    6.563032] [efa31e40] f92c2f74 azx_probe_work+0xe0/0x57c [snd_hda_intel]
>>>>>> [    6.569906] [efa31e80] c0036344 process_one_work+0x1e8/0x2f0
>>>>>> [    6.575627] [efa31eb0] c003677c worker_thread+0x2f4/0x438
>>>>>> [    6.581079] [efa31ef0] c003a3e4 kthread+0xc8/0xcc
>>>>>> [    6.585844] [efa31f40] c000aec4 ret_from_kernel_thread+0x5c/0x64
>>>>>> [    6.591910] mon>  <no input ...>
>>>> Managed to do a third git bisect  with the following results .
>>> Great work.
>>>
>>>> git bisect bad
>>>> 9279d3286e10736766edcaf815ae10e00856e448 is the first bad commit
>>>> commit 9279d3286e10736766edcaf815ae10e00856e448
>>>> Author: Rasmus Villemoes <linux@rasmusvillemoes.dk>
>>>> Date:   Wed Aug 6 16:10:16 2014 -0700
>>>>
>>>>      lib: bitmap: change parameter of bitmap_*_region to unsigned
>>> So the bug is in the 4xx MSI code, and has always been there, in fact I don't
>>> see how that code has *ever* worked. The commit you bisected to just caused the
>>> existing bug to cause an oops.
>>>
>>> Can you try this?
>>>
>>> diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
>>> index 6e2e6aa378bb..effb5b878a78 100644
>>> --- a/arch/powerpc/sysdev/ppc4xx_msi.c
>>> +++ b/arch/powerpc/sysdev/ppc4xx_msi.c
>>> @@ -95,11 +95,9 @@ static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
>>>   
>>>   	list_for_each_entry(entry, &dev->msi_list, list) {
>>>   		int_no = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1);
>>> -		if (int_no >= 0)
>>> -			break;
>>>   		if (int_no < 0) {
>>> -			pr_debug("%s: fail allocating msi interrupt\n",
>>> -					__func__);
>>> +			pr_warn("%s: fail allocating msi interrupt\n", __func__);
>>> +			return -ENOSPC;
>>>   		}
>>>   		virq = irq_of_parse_and_map(msi_data->msi_dev, int_no);
>>>   		if (virq == NO_IRQ) {
>>>
>> Thanks.
>> This works with 3.17-rc1. Will try with the 3.18 Branch .
> OK great.
>
>> Any ideas why drm is not  working ? (It never worked) .
> No sorry. You might have more luck if you post a new thread to the dri list.
>
>> [    5.809802] Linux agpgart interface v0.103
>> [    6.137893] [drm] Initialized drm 1.1.0 20060810
>> [    6.439872] snd_hda_intel 0001:81:00.1: enabling device (0000 -> 0002)
>> [    6.508544] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
> I'm curious why it's failing to allocate MSIs. Possibly it's just run out.
>
> Can you post the output of 'cat /proc/interrupts'?
>
> cheers
>
>
>

Hi Michael

Any chance of this fix being added to the mainline ?


Regards

Julian

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

end of thread, other threads:[~2016-08-05 11:37 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-15 12:16 Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board Julian Margetson
2015-02-16  0:18 ` Michael Ellerman
2015-02-18 19:45   ` Julian Margetson
2015-02-19  0:13     ` Michael Ellerman
2015-02-19  1:36       ` Julian Margetson
2015-02-19  2:56         ` Michael Ellerman
2015-02-19  3:25           ` Julian Margetson
2015-02-20 19:25             ` Julian Margetson
2015-02-24  0:32               ` Michael Ellerman
2015-02-24  2:22                 ` Julian Margetson
2015-02-24 11:08                 ` Julian Margetson
2015-02-24 19:14                   ` Gerhard Pircher
2015-02-24 20:26                     ` Julian Margetson
2015-02-25 13:26                       ` Julian Margetson
2015-02-25 13:32                         ` Julian Margetson
2015-03-04 11:46                         ` Julian Margetson
2015-03-04 23:52                           ` Michael Ellerman
2015-03-05 11:15                             ` Julian Margetson
2015-03-07 16:10                               ` Julian Margetson
2015-03-10  0:30                                 ` Michael Ellerman
2015-03-10  0:53                                   ` Julian Margetson
     [not found]                 ` <45dfe4c8990.73f22654@smtp.gmail.com>
2015-02-24 19:05                   ` Julian Margetson
2015-02-19 15:57           ` Julian Margetson
     [not found]           ` <54EB253F.9020704@candw.ms>
2015-02-23 15:07             ` Problems with DRI " Julian Margetson
2016-02-02 13:54           ` commit 9178ba294b6839eeff1a91bed95515d783f3ee6c Julian Margetson
2016-08-05 11:26           ` Problems with Kernels 3.17-rc1 and onwards on Acube Sam460 AMCC 460ex board Julian Margetson
2015-02-19  2:20     ` Julian Margetson
2015-02-18 20:13   ` Julian Margetson
2015-04-27 10:59   ` Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands Julian Margetson
2015-04-28  1:12     ` Michael Ellerman
2015-04-28  3:49       ` Tejun Heo
2015-05-04 17:18         ` Andy Shevchenko
2015-05-04 18:13           ` Tejun Heo

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