Thread (149 messages) 149 messages, 20 authors, 2025-11-13

Radeon NI: GIT kernel with the nislands_smc commit doesn't boot on a Freescale P5040 board and P.A.Semi Nemo board

From: Christian Zigotzky <hidden>
Date: 2021-05-01 06:45:27
Also in: dri-devel

Hello,

The Nemo board (A-EON AmigaOne X1000) [1] and the FSL P5040 Cyrus+ board 
(A-EON AmigaOne X5000) [2] with installed AMD Radeon HD6970 NI graphics 
cards (Cayman XT) [3] don't boot with the latest git kernel anymore 
after the commit "drm/radeon/nislands_smc.h: Replace one-element array 
with flexible-array member in struct NISLANDS_SMC_SWSTATE branch" [4].  
This git kernel boots in a virtual e5500 QEMU machine with a VirtIO-GPU [5].

I bisected today [6].

Result: drm/radeon/nislands_smc.h: Replace one-element array with 
flexible-array member in struct NISLANDS_SMC_SWSTATE branch 
(434fb1e7444a2efc3a4ebd950c7f771ebfcffa31) [4] is the first bad commit.

I was able to revert this commit [7] and after a new compiling, the 
kernel boots without any problems on my AmigaOnes.

After that I created a patch for reverting this commit for new git test 
kernels. [3]

The kernel compiles and boots with this patch on my AmigaOnes. Please 
find attached the kernel config files.

Please check the first bad commit.

Thanks,
Christian

[1] https://en.wikipedia.org/wiki/AmigaOne_X1000
[2] http://wiki.amiga.org/index.php?title=X5000
[3] https://forum.hyperion-entertainment.com/viewtopic.php?f=35&t=4377
[4] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=434fb1e7444a2efc3a4ebd950c7f771ebfcffa31
[5] qemu-system-ppc64 -M ppce500 -cpu e5500 -m 1024 -kernel uImage 
-drive format=raw,file=MintPPC32-X5000.img,index=0,if=virtio -netdev 
user,id=mynet0 -device virtio-net-pci,netdev=mynet0 -append "rw 
root=/dev/vda" -device virtio-vga -usb -device usb-ehci,id=ehci -device 
usb-tablet -device virtio-keyboard-pci -smp 4 -vnc :1
[6] https://forum.hyperion-entertainment.com/viewtopic.php?p=53074#p53074
[7] git revert 434fb1e7444a2efc3a4ebd950c7f771ebfcffa3

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help