Re: Kernel 5.14
Posted: Sun Jul 04, 2021 5:47 am
I know. Thank you for testing.
Support Forum
https://forum.hyperion-entertainment.com/
https://forum.hyperion-entertainment.com/viewtopic.php?t=4696
I know. Thank you for testing.
I compiled the alpha3 with this patch again.Nirmoy wrote: Hi Christian,
This issue looks similar to the one Mikel Rychliski fixed recently : https://patchwork.freedesktop.org/patch/440791. Let us know if this helps.
Regards,
Nirmoy
No, you aren't doing anything wrong. This is the second issue. I think it is somewhere in the latest PowerPC updates. I have to remove the latest PowerPC updates.kilaueabart wrote: Mon Jul 05, 2021 7:32 pm Am I doing something wrong?
I had to shrink this way down, may be too small to read?
I compiled the alpha3 with this patch again today.Nick wrote: This looks like mtmsrd in the 64e code. I think this should fix it.
QEMU does not seem to trap on this, maybe something to improve.
Thanks,
Nick
--
diff --git a/arch/powerpc/kernel/interrupt_64.S b/arch/powerpc/kernel/interrupt_64.S
index 4063e8a3f704..d4212d2ff0b5 100644
--- a/arch/powerpc/kernel/interrupt_64.S
+++ b/arch/powerpc/kernel/interrupt_64.S
@@ -311,9 +311,13 @@ END_BTB_FLUSH_SECTION
* trace_hardirqs_off().
*/
li r11,IRQS_ALL_DISABLED
- li r12,-1 /* Set MSR_EE and MSR_RI */
stb r11,PACAIRQSOFTMASK(r13)
+#ifdef CONFIG_PPC_BOOK3S
+ li r12,-1 /* Set MSR_EE and MSR_RI */
mtmsrd r12,1
+#else
+ wrteei 1
+#endif
/* Calling convention has r9 = orig r0, r10 = regs */
mr r9,r0
Great! Many thanks for testing! I also tested the alpha3 with the interrupt patch in a virtual e5500 QEMU machine today.Skateman wrote: Tue Jul 06, 2021 9:32 am You fixed it!!
Kernel 5.14 Alpha3 up and running on the AmigaOne X5000
Thanks a lot for testing!