Re: [BUG] Radeon TAHITI_vce.bin firmware casuses oops on Acube Sam460ex amcc 460ex and other Power PC motherboards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 21, 2016 at 7:12 PM, Julian Margetson <runaway@xxxxxxxx> wrote:
> On 12/28/2015 11:58 AM, Julian Margetson wrote:
>
> Having an isssue when adding Radeon TAHITI_vce.bin firmware to kernel.
> When not compiled into 4.4.0rc kernels system boots but with error messages
> :
>
>   Direct firmware load for radeon/TAHITI_vce.bin failed with error -2
>   Can't load firmware "radeon/TAHITI_vce.bin
>
> When I add the TAHITI_vce.bin firmware into the kernel it results in an
> oops:
>
>  Unable to handle kernel paging request for data at address 0xf000001c

I think the firmware is little endian, so you'll probably need to byte
swap it before interpreting it in the driver.  Something like the
attached patch should avoid the crash, but I'm not sure if that is
enough for the firmware to load properly.

Alex

>
> -------------------------------------------------------------------------------------------------------
> [    2.521012] [drm] Initialized drm 1.1.0 20060810
> [    2.525742] [drm] radeon kernel modesetting enabled.
> [    2.531460] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F
> 0x1545:0x7750).
> [    2.539486] [drm] register mmio base: 0xe90000000
> [    2.544238] [drm] register mmio size: 262144
> [    2.880317] ATOM BIOS: C44501
> [    2.883578] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 -
> 0x000000003FFFFFFF (1024M used)
> [    2.892508] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 -
> 0x00000000BFFFFFFF
> [    2.900194] [drm] Detected VRAM RAM=1024M, BAR=256M
> [    2.905088] [drm] RAM width 128bits DDR
> [    2.909139] [TTM] Zone  kernel: Available graphics memory: 379040 kiB
> [    2.915623] [TTM] Zone highmem: Available graphics memory: 1034400 kiB
> [    2.922174] [TTM] Initializing pool allocator
> [    2.926577] [TTM] Initializing DMA pool allocator
> [    2.931395] [drm] radeon: 1024M of VRAM memory ready
> [    2.936404] [drm] radeon: 2048M of GTT memory ready.
> [    2.941455] [drm] Loading verde Microcode
> [    2.945521] [drm] Internal thermal controller with fan control
> [    2.951602] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
> [    3.005149] [drm] radeon: dpm initialized
> [    3.009408] radeon 0000:81:00.0: Direct firmware load for
> radeon/TAHITI_vce.bin failed with error -2
> [    3.018621] radeon 0000:81:00.0: radeon_vce: Can't load firmware
> "radeon/TAHITI_vce.bin"
> [    3.026800] [drm] GART: num cpu pages 524288, num gpu pages 524288
> [    3.043542] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
> [    3.099201] [drm] PCIE GART of 2048M enabled (table at
> 0x0000000000277000).
> [    3.106540] radeon 0000:81:00.0: WB enabled
> [    3.110781] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr
> 0x0000000040000c00 and cpu addr 0xee503c00
> [    3.120909] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr
> 0x0000000040000c04 and cpu addr 0xee503c04
> [    3.131031] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr
> 0x0000000040000c08 and cpu addr 0xee503c08
> [    3.141153] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr
> 0x0000000040000c0c and cpu addr 0xee503c0c
> [    3.151274] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr
> 0x0000000040000c10 and cpu addr 0xee503c10
> [    3.191527] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr
> 0x0000000000075a18 and cpu addr 0xf5135a18
> [    3.201688] radeon 0000:81:00.0: VCE init error (-22).
> [    3.206858] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    3.213492] [drm] Driver supports precise vblank timestamp query.
> [    3.219614] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
> [    3.225540] genirq: Setting trigger mode 3 for irq 45 failed
> (uic_set_irq_type+0x0/0x160)
> [    3.233816] radeon 0000:81:00.0: radeon: using MSI.
> [    3.238773] [drm] radeon: irq initialized.
> [    3.996237] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed
> (scratch(0x850C)=0xCAFEDEAD)
> [    4.005096] radeon 0000:81:00.0: disabling GPU acceleration
> [    4.213502] [drm] Radeon Display Connectors
> [    4.217783] [drm] Connector 0:
> [    4.220868] [drm]   HDMI-A-1
> [    4.223768] [drm]   HPD4
> [    4.226324] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c
> 0x657c
> [    4.233742] [drm]   Encoders:
> [    4.236728] [drm]     DFP1: INTERNAL_UNIPHY2
> [    4.241016] [drm] Connector 1:
> [    4.244088] [drm]   DVI-I-1
> [    4.246901] [drm]   HPD2
> [    4.249456] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c
> 0x656c
> [    4.256875] [drm]   Encoders:
> [    4.259861] [drm]     DFP2: INTERNAL_UNIPHY
> [    4.264063] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [    4.381167] [drm] fb mappable at 0x80678000
> [    4.385382] [drm] vram apper at 0x80000000
> [    4.389496] [drm] size 8294400
> [    4.392569] [drm] fb depth is 24
> [    4.395816] [drm]    pitch is 7680
> [    4.689698] Console: switching to colour frame buffer device 240x67
> [    4.767746] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
> [    4.777118] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on
> minor 0
> ------------------------------------------------------------------------------------------------------------------------------
> [    2.520756] [drm] Initialized drm 1.1.0 20060810
> [    2.525482] [drm] radeon kernel modesetting enabled.
> [    2.531229] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F
> 0x1545:0x7750).
> [    2.539245] [drm] register mmio base: 0xe90000000
> [    2.543992] [drm] register mmio size: 262144
> [    2.880057] ATOM BIOS: C44501
> [    2.883322] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 -
> 0x000000003FFFFFFF (1024M used)
> [    2.892250] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 -
> 0x00000000BFFFFFFF
> [    2.899935] [drm] Detected VRAM RAM=1024M, BAR=256M
> [    2.904828] [drm] RAM width 128bits DDR
> [    2.908861] [TTM] Zone  kernel: Available graphics memory: 379144 kiB
> [    2.915347] [TTM] Zone highmem: Available graphics memory: 1034504 kiB
> [    2.921898] [TTM] Initializing pool allocator
> [    2.926298] [TTM] Initializing DMA pool allocator
> [    2.931123] [drm] radeon: 1024M of VRAM memory ready
> [    2.936125] [drm] radeon: 2048M of GTT memory ready.
> [    2.941178] [drm] Loading verde Microcode
> [    2.945243] [drm] Internal thermal controller with fan control
> [    2.951328] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
> [    3.004861] [drm] radeon: dpm initialized
> [    3.011392] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
> [    3.017654] [drm] GART: num cpu pages 524288, num gpu pages 524288
> [    3.034353] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
> [    3.093668] [drm] PCIE GART of 2048M enabled (table at
> 0x00000000002E8000).
> [    3.101048] radeon 0000:81:00.0: WB enabled
> [    3.105281] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr
> 0x0000000040000c00 and cpu addr 0xee503c00
> [    3.115406] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr
> 0x0000000040000c04 and cpu addr 0xee503c04
> [    3.125527] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr
> 0x0000000040000c08 and cpu addr 0xee503c08
> [    3.135649] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr
> 0x0000000040000c0c and cpu addr 0xee503c0c
> [    3.145770] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr
> 0x0000000040000c10 and cpu addr 0xee503c10
> [    3.186010] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr
> 0x0000000000075a18 and cpu addr 0xf5135a18
> [    5.264438] Unable to handle kernel paging request for data at address
> 0xf000001c
> [    5.271975] Faulting instruction address: 0xc03f0718
> [    5.276964] Vector: 300 (Data Access) at [ea84db60]
> [    5.281853]     pc: c03f0718: vce_v1_0_load_fw+0x90/0x158
> [    5.287321]     lr: c03eed04: radeon_vce_resume+0xe4/0x198
> [    5.292860]     sp: ea84dc10
> [    5.295750]    msr: 29000
> [    5.298380]    dar: f000001c
> [    5.301272]  dsisr: 0
> [    5.303554]   current = 0xea848000
> [    5.306968]     pid   = 1, comm = swapper
> [    5.311005] enter ? for help
> [    5.313900] [ea84dc30] c03eed04 radeon_vce_resume+0xe4/0x198
> [    5.319614] [ea84dc60] c039b64c si_startup+0x1e74/0x246c
> [    5.324978] [ea84dcc0] c039e228 si_init+0x9d8/0xa84
> [    5.329910] [ea84dd10] c030ff0c radeon_device_init+0x99c/0xb7c
> [    5.335804] [ea84dd40] c0311d1c radeon_driver_load_kms+0xa4/0x134
> [    5.341949] [ea84dd60] c02ede60 drm_dev_register+0x84/0xc8
> [    5.347496] [ea84dd80] c02efd24 drm_get_pci_dev+0xf0/0x18c
> [    5.353034] [ea84dda0] c028a264 pci_device_probe+0x78/0xcc
> [    5.358581] [ea84ddc0] c03fa014 driver_probe_device+0x11c/0x264
> [    5.364562] [ea84ddf0] c03fa1d4 __driver_attach+0x78/0xa0
> [    5.370013] [ea84de10] c03f8598 bus_for_each_dev+0x8c/0x9c
> [    5.375551] [ea84de40] c03f974c bus_add_driver+0xe0/0x1f0
> [    5.381003] [ea84de60] c03fa8cc driver_register+0xb4/0xf8
> [    5.386454] [ea84de80] c00016f4 do_one_initcall+0x118/0x1a0
> [    5.392088] [ea84def0] c09aeaac kernel_init_freeable+0x130/0x1cc
> [    5.398156] [ea84df30] c0001cf8 kernel_init+0x14/0xf4
> [    5.403260] [ea84df40] c000ad90 ret_from_kernel_thread+0x5c/0x64
> [    5.409336] mon>  <no input ...>
> [    7.412634] Oops: Kernel access of bad area, sig: 11 [#1]
> [    7.418050] PREEMPT Canyonlands
> [    7.421210] Modules linked in:
> [    7.424289] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-rc7-Sam460ex #5
> [    7.431092] task: ea848000 ti: ea84c000 task.ti: ea84c000
> [    7.436506] NIP: c03f0718 LR: c03eed04 CTR: c03f06f0
> [    7.441481] REGS: ea84db60 TRAP: 0300   Not tainted  (4.4.0-rc7-Sam460ex)
> [    7.448284] MSR: 00029000 <CE,EE,ME>  CR: 48000048  XER: 20000000
> [    7.454492] DEAR: f000001c ESR: 00000000
> GPR00: c03eed04 ea84dc10 ea848000 eeb24000 f5e00000 00000000 f5e70ffc
> f0000010
> GPR08: 05000000 03cfad35 01000015 ea84dc30 88000024 00000000 c0001ce4
> 00000000
> GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 c09ae260
> 00028350
> GPR24: 00000003 00000002 00000001 00000002 eeb24000 c0731058 f5e00000
> 013052cb
> [    7.487276] NIP [c03f0718] vce_v1_0_load_fw+0x90/0x158
> [    7.492429] LR [c03eed04] radeon_vce_resume+0xe4/0x198
> [    7.497581] Call Trace:
> [    7.500041] [ea84dc10] [20000000] 0x20000000 (unreliable)
> [    7.505485] [ea84dc30] [c03eed04] radeon_vce_resume+0xe4/0x198
> [    7.511342] [ea84dc60] [c039b64c] si_startup+0x1e74/0x246c
> [    7.516855] [ea84dcc0] [c039e228] si_init+0x9d8/0xa84
> [    7.521934] [ea84dd10] [c030ff0c] radeon_device_init+0x99c/0xb7c
> [    7.527966] [ea84dd40] [c0311d1c] radeon_driver_load_kms+0xa4/0x134
> [    7.534260] [ea84dd60] [c02ede60] drm_dev_register+0x84/0xc8
> [    7.539946] [ea84dd80] [c02efd24] drm_get_pci_dev+0xf0/0x18c
> [    7.545632] [ea84dda0] [c028a264] pci_device_probe+0x78/0xcc
> [    7.551318] [ea84ddc0] [c03fa014] driver_probe_device+0x11c/0x264
> [    7.557437] [ea84ddf0] [c03fa1d4] __driver_attach+0x78/0xa0
> [    7.563036] [ea84de10] [c03f8598] bus_for_each_dev+0x8c/0x9c
> [    7.568722] [ea84de40] [c03f974c] bus_add_driver+0xe0/0x1f0
> [    7.574321] [ea84de60] [c03fa8cc] driver_register+0xb4/0xf8
> [    7.579919] [ea84de80] [c00016f4] do_one_initcall+0x118/0x1a0
> [    7.585692] [ea84def0] [c09aeaac] kernel_init_freeable+0x130/0x1cc
> [    7.591899] [ea84df30] [c0001cf8] kernel_init+0x14/0xf4
> [    7.597151] [ea84df40] [c000ad90] ret_from_kernel_thread+0x5c/0x64
> [    7.603353] Instruction dump:
> [    7.606341] 614a0017 48000008 614a0015 811d0008 3be00000 2f880000
> 39280001 40bc0024
> [    7.614222] 39200001 4800001c 1cff0028 7cfd3a14 <80e7000c> 7f075000
> 419a0014 3bff0001
> [    7.622306] ---[ end trace fcdb15e53089034a ]---
> [    7.626939]
> [    8.628614] Kernel panic - not syncing: Attempted to kill init!
> exitcode=0x0000000b
> [    8.628614]
> [    8.637786] Rebooting in 180 seconds..
>
> Problem seems to also be affecting A-Eon X1000 PA-Semi Nemo boards as well
> with Alpha 4.5 kernels .
> [HELO][DRAM]SDRAM: ECC off, Non-ECC DIMM used on channel 0.
> SDRAM: ECC off, Non-ECC DIMM used on channel 1.
> [RELO][L1CF][GOLO][GOT
> ][ZBSS][INIT][MAIN][KMEM][EXCP][CONS][CIOK][AREN][PCIH][PCIB][PCIS][DEVI]
>
> CFE version PAS-2.0.30 for NEMO (64bit,MP,BE,PPC)
> Build Date: Fri Jun  8 16:04:49 CEST 2012 (hfrieden@jumpgate)
> Copyright (C) 2000,2001,2002,2003,2004,2005 Broadcom Corporation.
> Portions Copyright (C) 2005-2008 PA Semi, Inc.
> Portions Copyright (C) 2010 Hyperion Entertainment CVBA
>
> Initializing Arena.
> Initializing PCI. []
> PCI bus 0 slot 17/1: PCIe: port 5 could not be activated
> PCI bus 0 slot 17/2: PCIe: port 6 could not be activated
> PCI bus 0 slot 17/3: PCIe: port 7 could not be activated
> SB600 revision A21 in Intel P4 mode
> PCI bus 1 slot 0/0: ATI Technologies product 0x683d (VGA display)
> PCI bus 1 slot 0/1: ATI Technologies product 0xaab0 (multimedia subclass
> 0x03)
> PCI bus 5 slot 18/0: ATI Technologies product 0x4380 (IDE mass storage,
> interface 0x8f)
> PCI bus 5 slot 19/0: ATI Technologies product 0x4387 (USB serial bus,
> interface 0x10)
> PCI bus 5 slot 19/1: ATI Technologies product 0x4388 (USB serial bus,
> interface 0x10)
> PCI bus 5 slot 19/2: ATI Technologies product 0x4389 (USB serial bus,
> interface 0x10)
> PCI bus 5 slot 19/3: ATI Technologies product 0x438a (USB serial bus,
> interface 0x10)
> PCI bus 5 slot 19/4: ATI Technologies product 0x438b (USB serial bus,
> interface 0x10)
> PCI bus 5 slot 19/5: ATI Technologies product 0x4386 (USB serial bus,
> interface 0x20)
> PCI bus 5 slot 20/0: ATI Technologies product 0x4385 (SMBus serial bus, rev
> 0x14)
> PCI bus 5 slot 20/1: ATI Technologies product 0x438c (IDE mass storage,
> interface 0x83)
> PCI bus 5 slot 20/2: ATI Technologies product 0x4383 (multimedia subclass
> 0x03)
> PCI bus 5 slot 20/3: ATI Technologies product 0x438d (ISA bridge)
> PCI bus 5 slot 20/4: ATI Technologies product 0x4384 (PCI bridge)
> PCI bus 6 slot 5/0: Realtek Semiconductor 8139 10/100 Ethernet (ethernet
> network, rev 0x10)
> Initializing Devices.
> GPIOLV10 Jumper: Not fitted (default VGA console)
> GPIOLV11 Jumper: Not fitted (default ?)
>  PHY: mb, addr 0x00, vendor 03f1 device 15 (1)
> GFX: PCIe Slot
> GFX: Disable SB600 legacy decode
> VGA (1/0/0): ISA memory space mapped to f8000000000
> Initializing VGA.
> Found 800x600x32 mode: 0x0103 (259)
> Current VBE mode is now: 0x0103 (259)
>   Mode Attribs: 00BB  [Graphics] [LinearFrameBuffer]
>   Resolution:   800 x 600
>   BitsPerPixel: 8
>   BytesPerScan: 0x0340
>   PhysBasePtr:  0x90000000
> Enabling ATI frame buffer byte-swap
> GFX: PCIe Slot
> GFX: Enable SB600 legacy decode
> VGA initialization successful.
> cf0: Card inserted (3V)
> IDE unit 0: Disk, "ST2000DM001-9YN164", Capacity:1863GB (lba48)
> ATAPI unit 1: Optical Drive, "TSSTcorp CDDVDW SH-222BB"
> PCIIDE: 2 controllers found
> Initializing USB.
> PCI bus 5 slot 19/5: EHCI USB controller found at A0209800
> USB bus 0 device 1: vendor 0000 product 0000 class 09: USB Hub
> PCI bus 5 slot 19/0: OHCI USB controller found at A0208000
> USB bus 1 device 1: vendor 0000 product 0000 class 09: USB Hub
> PCI bus 5 slot 19/1: OHCI USB controller found at A0207000
> USB bus 2 device 1: vendor 0000 product 0000 class 09: USB Hub
> PCI bus 5 slot 19/2: OHCI USB controller found at A0206000
> USB bus 3 device 1: vendor 0000 product 0000 class 09: USB Hub
> PCI bus 5 slot 19/3: OHCI USB controller found at A0204000
> USB bus 4 device 1: vendor 0000 product 0000 class 09: USB Hub
> PCI bus 5 slot 19/4: OHCI USB controller found at A0205000
> USB bus 5 device 1: vendor 0000 product 0000 class 09: USB Hub
> CPU type 0x900102: 500MHz
> Total memory: 0x100000000 bytes (4096MB)
>
> Total memory used by CFE:  0x7FD1DF60 - 0x80000000 (3023008)
> Initialized Data:          0x7FDD8420 - 0x7FDF8B00 (132832)
> BSS Area:                  0x7FDF8B00 - 0x7FDFF000 (25856)
> Local Heap:                0x7FDFF000 - 0x7FFFF000 (2097152)
> Stack Area:                0x7FFFF000 - 0x80000000 (4096)
> Text (code) segment:       0x7FD1DF60 - 0x7FDCBE60 (712448)
> Relocation Factor:         I:7FE1DF60 - D:7FE1DF60
> [ENVI]
> [OFW ][UI  ]port 0:1/1 released (full speed)
> USB: New device connected to bus 1 hub 1 port 1 (full speed)
> USB bus 1 device 2: vendor 0F39 product 1083 class 03: Human-Interface
> Device
> USBHID: Keyboard Configured.
> Requested state A4 (1800MHz)
> To get back into the menu, type 'menu' on the CFE command prompt
> [CFE ]CFE> port 0:1/10 enabled (high speed)
> USB bus 0 device 2: vendor 13FE product 5500 class 08: Mass-Storage Device
> USBMASS: Unit 0 connected
> CFE> printenv
> Variable Name        Value
> -------------------- --------------------------------------------------
> ETH0_HWADDR          00:50:C2:20:DA:54
> MENU_0_LABEL         AmigaOS
> MENU_1_LABEL         AmigaOS CD Boot
> MENU_1_COMMAND       setenv amigaboot_quiet Y ;boot -fs=iso
> atapi0.1:amigaboot.of
> MENU_DEFAULT         0
> MENU_TIMEOUT         3
> speed                set pmu -astate=A4
> STARTUP              speed ; menu
> MENU_0_COMMAND       boot -fs=amigafs ide0.0:amigaboot.of
> MENU_3_COMMAND       boot -elf -noints -fatfs cf0:vmlinux-4.1
> os4_commandline      SERIAL DEBUGLEVEL=5
> bootargs             root=/dev/sda4 ro
> MENU_3_LABEL         Ubuntu 16.04 - Kernel 4.1
> MENU_2_LABEL         Ubuntu 16.04 - Kernel 4.4
> MENU_2_COMMAND       boot -elf -noints -fatfs cf0:vmlinux-4.4
> framebuffer          800/600/8/0x90000000/832
> BOOT_CONSOLE         pcconsole0
> CFE_VERSION          PAS-2.0.30
> CFE_BOARDNAME        NEMO
> CFE_MEMORYSIZE       4096
> *** command status = 0
> CFE> setenv bootargs "root=/dev/sda4 console=ttyS0,115200"
> *** command status = 0
> CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-4.5
> Loader:elf Filesys:fat Dev:usbdisk0 File:vmlinux-4.5 Options:(null)
> Loading: 0x0000000000000000/26185344 0x00000000018F8E80/1719308 Entry at
> 0x0000000000000000
> Starting program at 0x0000000000000000
> [RUN!]OF stdout device is: /bootconsole
> Preparing to boot Linux version
> 4.5.0alpha7_A-EON_AmigaONE_X1000_Nemo-08950-g2b4015e-dirty
> (christian@AmigaoneX1000) (gcc version 4.9.2 (Debian 4.9.2-21) ) #3 SMP Wed
> Jan 20 12:08:15 CET 2016
> Detected machine type: 0000000000000500
> command line: root=/dev/sda4 console=ttyS0,115200
> memory layout at init:
>   memory_limit : 0000000000000000 (16 MB aligned)
>   alloc_bottom : 0000000001aa1000
>   alloc_top    : 0000000030000000
>   alloc_top_hi : 0000000180000000
>   rmo_top      : 0000000030000000
>   ram_top      : 0000000180000000
> starting cpu hw idx 0... failed: ffffffffffffffff
> starting cpu hw idx 1... [run1]done
> copying OF device tree...
> Building dt strings...
> Building dt structure...
> Device tree strings 0x0000000001aa2000 -> 0x0000000001aa2457
> Device tree struct  0x0000000001aa3000 -> 0x0000000001aa7000
> Quiescing Open Firmware ...
> Booting Linux via __start() ...
> ¦IOBMAP L2 allocated at: c00000007fe00000
> Using PA Semi PWRficient machine description
> Page sizes from device-tree:
> base_shift=12: shift=12, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=0
> base_shift=16: shift=16, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=3
> base_shift=20: shift=20, sllp=0x0030, avpnm=0x00000000, tlbiel=0, penc=31
> base_shift=24: shift=24, sllp=0x0100, avpnm=0x00000001, tlbiel=0, penc=0
> Using 1TB segments
> CPU maps initialized for 1 thread per core
> Starting Linux ppc64 #3 SMP Wed Jan 20 12:08:15 CET 2016
> -----------------------------------------------------
> ppc64_pft_size    = 0x0
> phys_mem_size     = 0x100000000
> dcache_line_size  = 0x40
> icache_line_size  = 0x40
> cpu_features      = 0x0800020018500048
>   possible        = 0x1f7fffef18500649
>   always          = 0x0000000018100040
> cpu_user_features = 0xdc000802 0x00000000
> mmu_features      = 0x6e000001
> firmware_features = 0x0000000000000000
> htab_address      = 0xc00000017c000000
> htab_hash_mask    = 0x7ffff
> -----------------------------------------------------
> Linux version 4.5.0alpha7_A-EON_AmigaONE_X1000_Nemo-08950-g2b4015e-dirty
> (christian@AmigaoneX1000) (gcc version 4.9.2 (Debian 4.9.2-21) ) #3 SMP Wed
> Jan 20 12:08:15 CET 2016
> Found PA-PXP PCI host bridge.
> PCI host bridge /pxp@0,e0000000 (primary) ranges:
>   IO 0x00000000fc800000..0x00000000fcffffff -> 0x0000000000000000
> Initialised io_base_virt 0xd000080000000000 _IO_BASE 0xd000080000000000
>  MEM 0x0000000080000000..0x00000000e00fffff -> 0x0000000080000000
>  MEM 0x00000000fd800000..0x00000000fd800fff -> 0x00000000fd800000
>  MEM 0x0000080000000000..0x00000bffffffffff -> 0x0000080000000000
> Zone ranges:
>   DMA      [mem 0x0000000000000000-0x000000017fffffff]
>   DMA32    empty
>   Normal   empty
> Movable zone start for each node
> Early memory node ranges
>   node   0: [mem 0x0000000000000000-0x000000007fffffff]
>   node   0: [mem 0x0000000100000000-0x000000017fffffff]
> Initmem setup node 0 [mem 0x0000000000000000-0x000000017fffffff]
> PERCPU: Embedded 21 pages/cpu @c000000176a00000 s45592 r0 d40424 u524288
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1027072
> Kernel command line: root=/dev/sda4 console=ttyS0,115200
> PID hash table entries: 4096 (order: 3, 32768 bytes)
> Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
> Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Sorting __ex_table...
> Memory: 4006756K/4194304K available (10920K kernel code, 2040K rwdata,
> 11748K rodata, 828K init, 1678K bss, 187548K reserved, 0K cma-reserved)
> Hierarchical RCU implementation.
>         Build-time adjustment of leaf fanout to 64.
> NR_IRQS:512 nr_irqs:512 16
> mpic: Setting up MPIC "PASEMI-OPIC" version 1.3 at fc000000, max 2 CPUs
> mpic: ISU size: 1024, shift: 10, mask: 3ff
> mpic: Initializing for 1024 sources
> Init i8259
> About to write to i8259
> Done write to i8259
> i8259 legacy interrupt controller initialized
> clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xf6018975a,
> max_idle_ns: 440795204712 ns
> clocksource: timebase mult[f000003] shift[24] registered
> Console: colour dummy device 80x25
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
> Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
> ftrace: allocating 33806 entries in 199 pages
> mpic: requesting IPIs...
> Brought up 2 CPUs
> devtmpfs: initialized
> clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:
> 1911260446275000 ns
> xor: measuring software checksum speed
>    8regs     :  3044.000 MB/sec
>    8regs_prefetch:  3024.000 MB/sec
>    32regs    :  3520.000 MB/sec
>    32regs_prefetch:  3064.000 MB/sec
>    altivec   :  5736.000 MB/sec
> xor: using function: altivec (5736.000 MB/sec)
> NET: Registered protocol family 16
> PCI: Probing PCI hardware
> PCI host bridge to bus 0000:00
> pci_bus 0000:00: root bus resource [io  0x0000-0x7fffff]
> pci_bus 0000:00: root bus resource [mem 0x80000000-0xe00fffff]
> pci_bus 0000:00: root bus resource [mem 0xfd800000-0xfd800fff]
> pci_bus 0000:00: root bus resource [mem 0x80000000000-0xbffffffffff]
> pci_bus 0000:00: root bus resource [bus 00-ff]
> NEMO SB600 IOB base e0000000
> IOMMU table initialized, virtual merging enabled
> pci 0000:00:10.0: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.2: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.3: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.0: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.2: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.3: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:14.0: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:14.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:14.2: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:15.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.0: PCI bridge to [bus 01]
> pci 0000:00:10.1: PCI bridge to [bus 02]
> pci 0000:00:10.2: PCI bridge to [bus 03]
> pci 0000:00:10.3: PCI bridge to [bus 04]
> pci 0000:05:12.0: set SATA to AHCI mode
> pci 0000:05:14.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
> pci 0000:05:14.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
> pci 0000:00:11.0: PCI bridge to [bus 05-06]
> pci 0000:05:14.4: PCI bridge to [bus 06]
> pci 0000:00:11.1: PCI bridge to [bus 07]
> pci 0000:00:11.2: PCI bridge to [bus 08]
> pci 0000:00:11.3: PCI bridge to [bus 09]
> pci 0000:00:10.0: BAR 9: assigned [mem 0x80000000000-0x800001fffff 64bit
> pref]
> pci 0000:00:11.0: BAR 9: assigned [mem 0x80000200000-0x800003fffff 64bit
> pref]
> pci 0000:00:11.1: BAR 8: assigned [mem 0x80000000-0x801fffff]
> pci 0000:00:11.1: BAR 9: assigned [mem 0x80000400000-0x800005fffff 64bit
> pref]
> pci 0000:00:11.2: BAR 8: assigned [mem 0x80200000-0x803fffff]
> pci 0000:00:11.2: BAR 9: assigned [mem 0x80000600000-0x800007fffff 64bit
> pref]
> pci 0000:00:11.3: BAR 8: assigned [mem 0x80400000-0x805fffff]
> pci 0000:00:11.3: BAR 9: assigned [mem 0x80000800000-0x800009fffff 64bit
> pref]
> pci 0000:00:11.1: BAR 7: assigned [io  0x4000-0x4fff]
> pci 0000:00:11.2: BAR 7: assigned [io  0x5000-0x5fff]
> pci 0000:00:11.3: BAR 7: assigned [io  0x6000-0x6fff]
> pci 0000:00:10.0: PCI bridge to [bus 01]
> pci 0000:00:10.0:   bridge window [io  0x2000-0x2fff]
> pci 0000:00:10.0:   bridge window [mem 0x90000000-0xa00fffff]
> pci 0000:00:10.0:   bridge window [mem 0x80000000000-0x800001fffff 64bit
> pref]
> pci 0000:00:10.1: PCI bridge to [bus 02]
> pci 0000:00:10.2: PCI bridge to [bus 03]
> pci 0000:00:10.3: PCI bridge to [bus 04]
> pci 0000:05:14.4: PCI bridge to [bus 06]
> pci 0000:05:14.4:   bridge window [io  0x3000-0x3fff]
> pci 0000:05:14.4:   bridge window [mem 0xa0300000-0xa03fffff]
> pci 0000:00:11.0: PCI bridge to [bus 05-06]
> pci 0000:00:11.0:   bridge window [io  0x0000-0x3fff]
> pci 0000:00:11.0:   bridge window [mem 0xa0100000-0xa03fffff]
> pci 0000:00:11.0:   bridge window [mem 0x80000200000-0x800003fffff 64bit
> pref]
> pci 0000:00:11.1: PCI bridge to [bus 07]
> pci 0000:00:11.1:   bridge window [io  0x4000-0x4fff]
> pci 0000:00:11.1:   bridge window [mem 0x80000000-0x801fffff]
> pci 0000:00:11.1:   bridge window [mem 0x80000400000-0x800005fffff 64bit
> pref]
> pci 0000:00:11.2: PCI bridge to [bus 08]
> pci 0000:00:11.2:   bridge window [io  0x5000-0x5fff]
> pci 0000:00:11.2:   bridge window [mem 0x80200000-0x803fffff]
> pci 0000:00:11.2:   bridge window [mem 0x80000600000-0x800007fffff 64bit
> pref]
> pci 0000:00:11.3: PCI bridge to [bus 09]
> pci 0000:00:11.3:   bridge window [io  0x6000-0x6fff]
> pci 0000:00:11.3:   bridge window [mem 0x80400000-0x805fffff]
> pci 0000:00:11.3:   bridge window [mem 0x80000800000-0x800009fffff 64bit
> pref]
> HugeTLB registered 64 KB page size, pre-allocated 0 pages
> HugeTLB registered 1 MB page size, pre-allocated 0 pages
> HugeTLB registered 16 MB page size, pre-allocated 0 pages
> raid6: altivecx1 gen()  2250 MB/s
> raid6: altivecx2 gen()  2683 MB/s
> raid6: altivecx4 gen()  3218 MB/s
> raid6: altivecx8 gen()  3183 MB/s
> raid6: int64x1  gen()   914 MB/s
> raid6: int64x1  xor()   501 MB/s
> raid6: int64x2  gen()  1621 MB/s
> raid6: int64x2  xor()   880 MB/s
> raid6: int64x4  gen()  1628 MB/s
> raid6: int64x4  xor()   998 MB/s
> raid6: int64x8  gen()  1058 MB/s
> raid6: int64x8  xor()   847 MB/s
> raid6: using algorithm altivecx4 gen() 3218 MB/s
> raid6: using intx1 recovery algorithm
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> EDAC MC: Ver: 3.0.0
> Advanced Linux Sound Architecture Driver Initialized.
> clocksource: Switched to clocksource timebase
> NET: Registered protocol family 2
> TCP established hash table entries: 32768 (order: 6, 262144 bytes)
> TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
> TCP: Hash tables configured (established 32768 bind 32768)
> UDP hash table entries: 2048 (order: 4, 65536 bytes)
> UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
> NET: Registered protocol family 1
> RPC: Registered named UNIX socket transport module.
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RPC: Registered tcp NFSv4.1 backchannel transport module.
> libphy: pasemi gpio mdio bus: probed
> futex hash table entries: 512 (order: 4, 65536 bytes)
> squashfs: version 4.0 (2009/01/31) Phillip Lougher
> ntfs: driver 2.1.32 [Flags: R/W].
> fuse init (API version 7.23)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> console [ttyS0] disabled
> serial8250.0: ttyS0 at I/O 0x7f03f8 (irq = 73, base_baud = 8333333) is a
> 16550A
> console [ttyS0] enabled
> serial8250.0: ttyS1 at I/O 0x7f02f8 (irq = 74, base_baud = 8333333) is a
> 16550A
> console [ttyS0] disabled
> ¦IOBMAP L2 allocated at: c00000007fe00000
> Using PA Semi PWRficient machine description
> Page sizes from device-tree:
> base_shift=12: shift=12, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=0
> base_shift=16: shift=16, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=3
> base_shift=20: shift=20, sllp=0x0030, avpnm=0x00000000, tlbiel=0, penc=31
> base_shift=24: shift=24, sllp=0x0100, avpnm=0x00000001, tlbiel=0, penc=0
> Using 1TB segments
> CPU maps initialized for 1 thread per core
> Starting Linux ppc64 #3 SMP Wed Jan 20 12:08:15 CET 2016
> -----------------------------------------------------
> ppc64_pft_size    = 0x0
> phys_mem_size     = 0x100000000
> dcache_line_size  = 0x40
> icache_line_size  = 0x40
> cpu_features      = 0x0800020018500048
>   possible        = 0x1f7fffef18500649
>   always          = 0x0000000018100040
> cpu_user_features = 0xdc000802 0x00000000
> mmu_features      = 0x6e000001
> firmware_features = 0x0000000000000000
> htab_address      = 0xc00000017c000000
> htab_hash_mask    = 0x7ffff
> -----------------------------------------------------
> Linux version 4.5.0alpha7_A-EON_AmigaONE_X1000_Nemo-08950-g2b4015e-dirty
> (christian@AmigaoneX1000) (gcc version 4.9.2 (Debian 4.9.2-21) ) #3 SMP Wed
> Jan 20 12:08:15 CET 2016
> Found PA-PXP PCI host bridge.
> PCI host bridge /pxp@0,e0000000 (primary) ranges:
>   IO 0x00000000fc800000..0x00000000fcffffff -> 0x0000000000000000
> Initialised io_base_virt 0xd000080000000000 _IO_BASE 0xd000080000000000
>  MEM 0x0000000080000000..0x00000000e00fffff -> 0x0000000080000000
>  MEM 0x00000000fd800000..0x00000000fd800fff -> 0x00000000fd800000
>  MEM 0x0000080000000000..0x00000bffffffffff -> 0x0000080000000000
> Zone ranges:
>   DMA      [mem 0x0000000000000000-0x000000017fffffff]
>   DMA32    empty
>   Normal   empty
> Movable zone start for each node
> Early memory node ranges
>   node   0: [mem 0x0000000000000000-0x000000007fffffff]
>   node   0: [mem 0x0000000100000000-0x000000017fffffff]
> Initmem setup node 0 [mem 0x0000000000000000-0x000000017fffffff]
> PERCPU: Embedded 21 pages/cpu @c000000176a00000 s45592 r0 d40424 u524288
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1027072
> Kernel command line: root=/dev/sda4 console=ttyS0,115200
> PID hash table entries: 4096 (order: 3, 32768 bytes)
> Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
> Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Sorting __ex_table...
> Memory: 4006756K/4194304K available (10920K kernel code, 2040K rwdata,
> 11748K rodata, 828K init, 1678K bss, 187548K reserved, 0K cma-reserved)
> Hierarchical RCU implementation.
>         Build-time adjustment of leaf fanout to 64.
> NR_IRQS:512 nr_irqs:512 16
> mpic: Setting up MPIC "PASEMI-OPIC" version 1.3 at fc000000, max 2 CPUs
> mpic: ISU size: 1024, shift: 10, mask: 3ff
> mpic: Initializing for 1024 sources
> Init i8259
> About to write to i8259
> Done write to i8259
> i8259 legacy interrupt controller initialized
> clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xf6018975a,
> max_idle_ns: 440795204712 ns
> clocksource: timebase mult[f000003] shift[24] registered
> Console: colour dummy device 80x25
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
> Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
> ftrace: allocating 33806 entries in 199 pages
> mpic: requesting IPIs...
> Brought up 2 CPUs
> devtmpfs: initialized
> clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:
> 1911260446275000 ns
> xor: measuring software checksum speed
>    8regs     :  3044.000 MB/sec
>    8regs_prefetch:  3024.000 MB/sec
>    32regs    :  3520.000 MB/sec
>    32regs_prefetch:  3064.000 MB/sec
>    altivec   :  5736.000 MB/sec
> xor: using function: altivec (5736.000 MB/sec)
> NET: Registered protocol family 16
> PCI: Probing PCI hardware
> PCI host bridge to bus 0000:00
> pci_bus 0000:00: root bus resource [io  0x0000-0x7fffff]
> pci_bus 0000:00: root bus resource [mem 0x80000000-0xe00fffff]
> pci_bus 0000:00: root bus resource [mem 0xfd800000-0xfd800fff]
> pci_bus 0000:00: root bus resource [mem 0x80000000000-0xbffffffffff]
> pci_bus 0000:00: root bus resource [bus 00-ff]
> NEMO SB600 IOB base e0000000
> IOMMU table initialized, virtual merging enabled
> pci 0000:00:10.0: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.2: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.3: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.0: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.2: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:11.3: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:14.0: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:14.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:14.2: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:15.1: of_irq_parse_pci() failed with rc=-22
> pci 0000:00:10.0: PCI bridge to [bus 01]
> pci 0000:00:10.1: PCI bridge to [bus 02]
> pci 0000:00:10.2: PCI bridge to [bus 03]
> pci 0000:00:10.3: PCI bridge to [bus 04]
> pci 0000:05:12.0: set SATA to AHCI mode
> pci 0000:05:14.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
> pci 0000:05:14.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
> pci 0000:00:11.0: PCI bridge to [bus 05-06]
> pci 0000:05:14.4: PCI bridge to [bus 06]
> pci 0000:00:11.1: PCI bridge to [bus 07]
> pci 0000:00:11.2: PCI bridge to [bus 08]
> pci 0000:00:11.3: PCI bridge to [bus 09]
> pci 0000:00:10.0: BAR 9: assigned [mem 0x80000000000-0x800001fffff 64bit
> pref]
> pci 0000:00:11.0: BAR 9: assigned [mem 0x80000200000-0x800003fffff 64bit
> pref]
> pci 0000:00:11.1: BAR 8: assigned [mem 0x80000000-0x801fffff]
> pci 0000:00:11.1: BAR 9: assigned [mem 0x80000400000-0x800005fffff 64bit
> pref]
> pci 0000:00:11.2: BAR 8: assigned [mem 0x80200000-0x803fffff]
> pci 0000:00:11.2: BAR 9: assigned [mem 0x80000600000-0x800007fffff 64bit
> pref]
> pci 0000:00:11.3: BAR 8: assigned [mem 0x80400000-0x805fffff]
> pci 0000:00:11.3: BAR 9: assigned [mem 0x80000800000-0x800009fffff 64bit
> pref]
> pci 0000:00:11.1: BAR 7: assigned [io  0x4000-0x4fff]
> pci 0000:00:11.2: BAR 7: assigned [io  0x5000-0x5fff]
> pci 0000:00:11.3: BAR 7: assigned [io  0x6000-0x6fff]
> pci 0000:00:10.0: PCI bridge to [bus 01]
> pci 0000:00:10.0:   bridge window [io  0x2000-0x2fff]
> pci 0000:00:10.0:   bridge window [mem 0x90000000-0xa00fffff]
> pci 0000:00:10.0:   bridge window [mem 0x80000000000-0x800001fffff 64bit
> pref]
> pci 0000:00:10.1: PCI bridge to [bus 02]
> pci 0000:00:10.2: PCI bridge to [bus 03]
> pci 0000:00:10.3: PCI bridge to [bus 04]
> pci 0000:05:14.4: PCI bridge to [bus 06]
> pci 0000:05:14.4:   bridge window [io  0x3000-0x3fff]
> pci 0000:05:14.4:   bridge window [mem 0xa0300000-0xa03fffff]
> pci 0000:00:11.0: PCI bridge to [bus 05-06]
> pci 0000:00:11.0:   bridge window [io  0x0000-0x3fff]
> pci 0000:00:11.0:   bridge window [mem 0xa0100000-0xa03fffff]
> pci 0000:00:11.0:   bridge window [mem 0x80000200000-0x800003fffff 64bit
> pref]
> pci 0000:00:11.1: PCI bridge to [bus 07]
> pci 0000:00:11.1:   bridge window [io  0x4000-0x4fff]
> pci 0000:00:11.1:   bridge window [mem 0x80000000-0x801fffff]
> pci 0000:00:11.1:   bridge window [mem 0x80000400000-0x800005fffff 64bit
> pref]
> pci 0000:00:11.2: PCI bridge to [bus 08]
> pci 0000:00:11.2:   bridge window [io  0x5000-0x5fff]
> pci 0000:00:11.2:   bridge window [mem 0x80200000-0x803fffff]
> pci 0000:00:11.2:   bridge window [mem 0x80000600000-0x800007fffff 64bit
> pref]
> pci 0000:00:11.3: PCI bridge to [bus 09]
> pci 0000:00:11.3:   bridge window [io  0x6000-0x6fff]
> pci 0000:00:11.3:   bridge window [mem 0x80400000-0x805fffff]
> pci 0000:00:11.3:   bridge window [mem 0x80000800000-0x800009fffff 64bit
> pref]
> HugeTLB registered 64 KB page size, pre-allocated 0 pages
> HugeTLB registered 1 MB page size, pre-allocated 0 pages
> HugeTLB registered 16 MB page size, pre-allocated 0 pages
> raid6: altivecx1 gen()  2250 MB/s
> raid6: altivecx2 gen()  2683 MB/s
> raid6: altivecx4 gen()  3218 MB/s
> raid6: altivecx8 gen()  3183 MB/s
> raid6: int64x1  gen()   914 MB/s
> raid6: int64x1  xor()   501 MB/s
> raid6: int64x2  gen()  1621 MB/s
> raid6: int64x2  xor()   880 MB/s
> raid6: int64x4  gen()  1628 MB/s
> raid6: int64x4  xor()   998 MB/s
> raid6: int64x8  gen()  1058 MB/s
> raid6: int64x8  xor()   847 MB/s
> raid6: using algorithm altivecx4 gen() 3218 MB/s
> raid6: using intx1 recovery algorithm
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> EDAC MC: Ver: 3.0.0
> Advanced Linux Sound Architecture Driver Initialized.
> clocksource: Switched to clocksource timebase
> NET: Registered protocol family 2
> TCP established hash table entries: 32768 (order: 6, 262144 bytes)
> TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
> TCP: Hash tables configured (established 32768 bind 32768)
> UDP hash table entries: 2048 (order: 4, 65536 bytes)
> UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
> NET: Registered protocol family 1
> RPC: Registered named UNIX socket transport module.
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RPC: Registered tcp NFSv4.1 backchannel transport module.
> libphy: pasemi gpio mdio bus: probed
> futex hash table entries: 512 (order: 4, 65536 bytes)
> squashfs: version 4.0 (2009/01/31) Phillip Lougher
> ntfs: driver 2.1.32 [Flags: R/W].
> fuse init (API version 7.23)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> console [ttyS0] disabled
> serial8250.0: ttyS0 at I/O 0x7f03f8 (irq = 73, base_baud = 8333333) is a
> 16550A
> console [ttyS0] enabled
> serial8250.0: ttyS1 at I/O 0x7f02f8 (irq = 74, base_baud = 8333333) is a
> 16550A
> console [ttyS0] disabled
> 0000:00:1d.0: ttyS0 at I/O 0x7f03f8 (irq = 73, base_baud = 8333333) is a
> 16550A
> console [ttyS0] enabled
> 0000:00:1d.1: ttyS1 at I/O 0x7f02f8 (irq = 74, base_baud = 8333333) is a
> 16550A
> Registering PA Semi RNG
> Linux agpgart interface v0.103
> [drm] Initialized drm 1.1.0 20060810
> [drm] radeon kernel modesetting enabled.
> [drm] initializing kernel modesetting (VERDE 0x1002:0x683D 0x174B:0xA002).
> [drm] register mmio base: 0xA0000000
> [drm] register mmio size: 262144
> ATOM BIOS: C69801
> radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
> (1024M used)
> radeon 0000:01:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
> [drm] Detected VRAM RAM=1024M, BAR=256M
> [drm] RAM width 128bits DDR
> [TTM] Zone  kernel: Available graphics memory: 2003888 kiB
> [TTM] Initializing pool allocator
> [drm] radeon: 1024M of VRAM memory ready
> [drm] radeon: 2048M of GTT memory ready.
> [drm] Loading verde Microcode
> [drm] Internal thermal controller with fan control
> [drm] probing gen 2 caps for device 1959:a002 = 180d01/0
> [drm] radeon: dpm initialized
> [drm] Found VCE firmware/feedback version 50.0.1 / 17!
> [drm] GART: num cpu pages 524288, num gpu pages 524288
> [drm] probing gen 2 caps for device 1959:a002 = 180d01/0
> [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
> radeon 0000:01:00.0: WB enabled
> radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
> and cpu addr 0xc000000175ee2c00
> radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04
> and cpu addr 0xc000000175ee2c04
> radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08
> and cpu addr 0xc000000175ee2c08
> radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
> and cpu addr 0xc000000175ee2c0c
> radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10
> and cpu addr 0xc000000175ee2c10
> radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18
> and cpu addr 0xd0000800901b5a18
> Unable to handle kernel paging request for data at address
> 0xd000080111420100
> Faulting instruction address: 0xc0000000006379c8
> cpu 0x0: Vector: 300 (Data Access) at [c0000001750fedc0]
>     pc: c0000000006379c8: .vce_v1_0_load_fw+0x154/0x180
>     lr: c0000000006379b8: .vce_v1_0_load_fw+0x144/0x180
>     sp: c0000001750ff040
>    msr: 9000000002009032
>    dar: d000080111420100
>  dsisr: 42000000
>   current = 0xc0000001750f8d10
>   paca    = 0xc00000000ffff000   softe: 0        irq_happened: 0x01
>     pid   = 1, comm = swapper/0
> Linux version 4.5.0alpha7_A-EON_AmigaONE_X1000_Nemo-08950-g2b4015e-dirty
> (christian@AmigaoneX1000) (gcc version 4.9.2 (Debian 4.9.2-21) ) #3 SMP Wed
> Jan 20 12:08:15 CET 2016
> enter ? for help
> [c0000001750ff040] c0000001750ff150 (unreliable)
> [c0000001750ff0e0] c000000000635c38 .radeon_vce_resume+0x120/0x204
> [c0000001750ff190] c0000000005d651c .si_startup+0x1524/0x23c8
> [c0000001750ff280] c0000000005d9d4c .si_init+0xa60/0xbec
> [c0000001750ff360] c00000000053afb4 .radeon_device_init+0x8d0/0xb48
> [c0000001750ff400] c00000000053d2c8 .radeon_driver_load_kms+0xcc/0x178
> [c0000001750ff490] c00000000051235c .drm_dev_register+0x9c/0xe8
> [c0000001750ff520] c000000000514ab4 .drm_get_pci_dev+0x120/0x1c8
> [c0000001750ff5c0] c0000000005390e4 .radeon_pci_probe+0xb4/0xc8
> [c0000001750ff650] c00000000048f8d0 .pci_device_probe+0x90/0x100
> [c0000001750ff6e0] c0000000006af8c0 .driver_probe_device+0x15c/0x2c8
> [c0000001750ff780] c0000000006afac8 .__driver_attach+0x9c/0xcc
> [c0000001750ff810] c0000000006ad62c .bus_for_each_dev+0xac/0xc0
> [c0000001750ff8b0] c0000000006af2a0 .driver_attach+0x34/0x40
> [c0000001750ff930] c0000000006aece8 .bus_add_driver+0x104/0x244
> [c0000001750ff9d0] c0000000006b03dc .driver_register+0xc0/0x110
> [c0000001750ffa60] c00000000048f014 .__pci_register_driver+0x58/0x64
> [c0000001750ffaf0] c000000000514bc4 .drm_pci_init+0x68/0x10c
> [c0000001750ffb90] c000000001667b84 .radeon_init+0xac/0xd0
> [c0000001750ffc10] c000000000009484 .do_one_initcall+0x14c/0x1e8
> [c0000001750ffd00] c00000000162fb5c .kernel_init_freeable+0x180/0x23c
> [c0000001750ffdb0] c000000000009b10 .kernel_init+0x20/0x120
> [c0000001750ffe30] c000000000007eb0 .ret_from_kernel_thread+0x58/0xa8
> 0:mon>  <no input ...>
> Oops: Kernel access of bad area, sig: 11 [#1]
> SMP NR_CPUS=2 PA Semi PWRficient
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper/0 Not tainted
> 4.5.0alpha7_A-EON_AmigaONE_X1000_Nemo-08950-g2b4015e-dirty #3
> task: c0000001750f8d10 ti: c0000001750fc000 task.ti: c0000001750fc000
> NIP: c0000000006379c8 LR: c0000000006379b8 CTR: 0000000000000000
> REGS: c0000001750fedc0 TRAP: 0300   Not tainted
> (4.5.0alpha7_A-EON_AmigaONE_X1000_Nemo-08950-g2b4015e-dirty)
> MSR: 9000000002009032 <SF,HV,VEC,EE,ME,IR,DR,RI>  CR: 4225004c  XER:
> 20000000
> DAR: d000080111420100 DSISR: 42000000 SOFTE: 1
> GPR00: 00000000ffffffff c0000001750ff040 c0000000018ed400 0000000000000000
> GPR04: c000000000fc59e0 0000000000000008 ffffffff00000000 ffffffff00000000
> GPR08: ffffffff00000000 d000080111420100 00000000cccc984a 0000000000000020
> GPR12: ffffffff00000000 c00000000ffff000 c000000000009af0 0000000000000000
> GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR20: 0000000000000000 0000000000000000 0000000000000000 c000000001556dca
> GPR24: 0000000000007964 c000000001552d5e c00000000820eb68 c000000175718000
> GPR28: d000080090880000 0000000080ba0100 c000000000fb9cc0 0000000007254ea8
> NIP [c0000000006379c8] .vce_v1_0_load_fw+0x154/0x180
> LR [c0000000006379b8] .vce_v1_0_load_fw+0x144/0x180
> Call Trace:
> [c0000001750ff040] [c0000001750ff150] 0xc0000001750ff150 (unreliable)
> [c0000001750ff0e0] [c000000000635c38] .radeon_vce_resume+0x120/0x204
> [c0000001750ff190] [c0000000005d651c] .si_startup+0x1524/0x23c8
> [c0000001750ff280] [c0000000005d9d4c] .si_init+0xa60/0xbec
> [c0000001750ff360] [c00000000053afb4] .radeon_device_init+0x8d0/0xb48
> [c0000001750ff400] [c00000000053d2c8] .radeon_driver_load_kms+0xcc/0x178
> [c0000001750ff490] [c00000000051235c] .drm_dev_register+0x9c/0xe8
> [c0000001750ff520] [c000000000514ab4] .drm_get_pci_dev+0x120/0x1c8
> [c0000001750ff5c0] [c0000000005390e4] .radeon_pci_probe+0xb4/0xc8
> [c0000001750ff650] [c00000000048f8d0] .pci_device_probe+0x90/0x100
> [c0000001750ff6e0] [c0000000006af8c0] .driver_probe_device+0x15c/0x2c8
> [c0000001750ff780] [c0000000006afac8] .__driver_attach+0x9c/0xcc
> [c0000001750ff810] [c0000000006ad62c] .bus_for_each_dev+0xac/0xc0
> [c0000001750ff8b0] [c0000000006af2a0] .driver_attach+0x34/0x40
> [c0000001750ff930] [c0000000006aece8] .bus_add_driver+0x104/0x244
> [c0000001750ff9d0] [c0000000006b03dc] .driver_register+0xc0/0x110
> [c0000001750ffa60] [c00000000048f014] .__pci_register_driver+0x58/0x64
> [c0000001750ffaf0] [c000000000514bc4] .drm_pci_init+0x68/0x10c
> [c0000001750ffb90] [c000000001667b84] .radeon_init+0xac/0xd0
> [c0000001750ffc10] [c000000000009484] .do_one_initcall+0x14c/0x1e8
> [c0000001750ffd00] [c00000000162fb5c] .kernel_init_freeable+0x180/0x23c
> [c0000001750ffdb0] [c000000000009b10] .kernel_init+0x20/0x120
> [c0000001750ffe30] [c000000000007eb0] .ret_from_kernel_thread+0x58/0xa8
> Instruction dump:
> 4b9fc315 60000000 e93b23b0 387c0100 389e014c e8a90000 38a5feb4 4b9fd84d
> 60000000 815a0024 7d3cea14 38600000 <7d5ce92e> 815a0028 91490004 815a002c
> ---[ end trace 70c04666cc8ef3da ]---
>
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
>
> Rebooting in 180 seconds..
>
>
From 88ee458e1258c73dae7d2956a134caacf0fe160f Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@xxxxxxx>
Date: Fri, 22 Jan 2016 00:13:15 -0500
Subject: [PATCH] drm/radeon: properly byte swap vce firmware setup

Firmware is LE.  Need to properly byteswap some of the fields
so they are interpreted correctly by the driver on BE systems.

Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
---
 drivers/gpu/drm/radeon/vce_v1_0.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/radeon/vce_v1_0.c b/drivers/gpu/drm/radeon/vce_v1_0.c
index 07a0d37..a01efe3 100644
--- a/drivers/gpu/drm/radeon/vce_v1_0.c
+++ b/drivers/gpu/drm/radeon/vce_v1_0.c
@@ -178,12 +178,12 @@ int vce_v1_0_load_fw(struct radeon_device *rdev, uint32_t *data)
 		return -EINVAL;
 	}
 
-	for (i = 0; i < sign->num; ++i) {
-		if (sign->val[i].chip_id == chip_id)
+	for (i = 0; i < le32_to_cpu(sign->num); ++i) {
+		if (le32_to_cpu(sign->val[i].chip_id) == chip_id)
 			break;
 	}
 
-	if (i == sign->num)
+	if (i == le32_to_cpu(sign->num))
 		return -EINVAL;
 
 	data += (256 - 64) / 4;
@@ -191,18 +191,18 @@ int vce_v1_0_load_fw(struct radeon_device *rdev, uint32_t *data)
 	data[1] = sign->val[i].nonce[1];
 	data[2] = sign->val[i].nonce[2];
 	data[3] = sign->val[i].nonce[3];
-	data[4] = sign->len + 64;
+	data[4] = cpu_to_le32(le32_to_cpu(sign->len) + 64);
 
 	memset(&data[5], 0, 44);
 	memcpy(&data[16], &sign[1], rdev->vce_fw->size - sizeof(*sign));
 
-	data += data[4] / 4;
+	data += le32_to_cpu(data[4]) / 4;
 	data[0] = sign->val[i].sigval[0];
 	data[1] = sign->val[i].sigval[1];
 	data[2] = sign->val[i].sigval[2];
 	data[3] = sign->val[i].sigval[3];
 
-	rdev->vce.keyselect = sign->val[i].keyselect;
+	rdev->vce.keyselect = le32_to_cpu(sign->val[i].keyselect);
 
 	return 0;
 }
-- 
2.5.0

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux