Kernel 5.7

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 6322
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.7

Post by xeno74 »

Hi All,

I released the RC7 of kernel 5.7 for testing today.

New:
Download: linux-image-5.7-rc7-X1000_X5000.tar.gz

Screenshot of a SuSE 6.0 guest (Kernel 2.0.36) from 1999 and a S.u.S.E. Linux 4.2 guest (Kernel 1.99.4) from 1996 on Xubuntu 16.04.6 PowerPC (host) with kernel 5.7-rc7:

Image

Please test the kernels.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 121
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Kernel 5.7

Post by sailorMH »

Works on MintPPC, Debian8, Fienix, Debian Sid...
Image

Image
Pegasos 2, AmigaOne X1000, Powebook G4, iMac G5, Powermac G5 Quad
MorphOS, AmigaOS, linux: MintPPC 11, Debian, Ubuntu ..., MacOS X
User avatar
xeno74
Posts: 6322
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.7

Post by xeno74 »

sailorMH wrote: Mon May 25, 2020 8:01 pm Works on MintPPC, Debian8, Fienix, Debian Sid...
Hi SailorMH,

Great tests! Thank you! :-)

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6322
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.7

Post by xeno74 »

Hi All,

The final kernel 5.7 is available for our AmigaOnes. Many thanks to all for helping me with testing, reporting, and fixing problems during the kernel 5.7 test time.

New:
Download: linux-image-5.7-X1000_X5000.tar.gz

Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 121
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Kernel 5.7

Post by sailorMH »

Pegasos 2, AmigaOne X1000, Powebook G4, iMac G5, Powermac G5 Quad
MorphOS, AmigaOS, linux: MintPPC 11, Debian, Ubuntu ..., MacOS X
User avatar
xeno74
Posts: 6322
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.7

Post by xeno74 »

sailorMH wrote: Thu Jun 04, 2020 7:37 pm All is OK, works on fienix, DebianSid Lxqt+Mate
Fantastic! Thanks a lot for testing and many thanks for the screenshots! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6322
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.7

Post by xeno74 »

The KVM issue has been fixed in the stable kernel 5.7. :-)

Code: Select all

This is a note to let you know that I've just added the patch titled

    powerpc/64s: Fix KVM interrupt using wrong save area

to the 5.7-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     powerpc-64s-fix-kvm-interrupt-using-wrong-save-area.patch
and it can be found in the queue-5.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 0bdcfa182506526fbe4e088ff9ca86a31b81828d Mon Sep 17 00:00:00 2001
From: Nicholas Piggin <npiggin@gmail.com>
Date: Mon, 15 Jun 2020 16:12:47 +1000
Subject: powerpc/64s: Fix KVM interrupt using wrong save area

From: Nicholas Piggin <npiggin@gmail.com>

commit 0bdcfa182506526fbe4e088ff9ca86a31b81828d upstream.

The CTR register reload in the KVM interrupt path used the wrong save
area for SLB (and NMI) interrupts.

Fixes: 9600f261acaa ("powerpc/64s/exception: Move KVM test to common code")
Cc: stable@vger.kernel.org # v5.7+
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200615061247.1310763-1-npiggin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/powerpc/kernel/exceptions-64s.S |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -270,7 +270,7 @@ BEGIN_FTR_SECTION
 END_FTR_SECTION_IFSET(CPU_FTR_CFAR)
 	.endif
 
-	ld	r10,PACA_EXGEN+EX_CTR(r13)
+	ld	r10,IAREA+EX_CTR(r13)
 	mtctr	r10
 BEGIN_FTR_SECTION
 	ld	r10,IAREA+EX_PPR(r13)
@@ -298,7 +298,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR)
 
 	.if IKVM_SKIP
 89:	mtocrf	0x80,r9
-	ld	r10,PACA_EXGEN+EX_CTR(r13)
+	ld	r10,IAREA+EX_CTR(r13)
 	mtctr	r10
 	ld	r9,IAREA+EX_R9(r13)
 	ld	r10,IAREA+EX_R10(r13)


Patches currently in stable-queue which might be from npiggin@gmail.com are

queue-5.7/powerpc-64s-kuap-add-missing-isync-to-kuap-restore-p.patch
queue-5.7/powerpc-64s-exceptions-machine-check-reconcile-irq-s.patch
queue-5.7/powerpc-64s-fix-kvm-interrupt-using-wrong-save-area.patch
queue-5.7/powerpc-book3s64-radix-tlb-determine-hugepage-flush-.patch
queue-5.7/powerpc-64s-exception-fix-machine-check-no-loss-idle.patch
queue-5.7/powerpc-pseries-ras-fix-fwnmi_valid-off-by-one.patch
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 121
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Kernel 5.7

Post by sailorMH »

xeno74 wrote: Tue Jun 23, 2020 2:18 pm The KVM issue has been fixed in the stable kernel 5.7. :-)
Nice work!
Pegasos 2, AmigaOne X1000, Powebook G4, iMac G5, Powermac G5 Quad
MorphOS, AmigaOS, linux: MintPPC 11, Debian, Ubuntu ..., MacOS X
User avatar
xeno74
Posts: 6322
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.7

Post by xeno74 »

Hi All,

I released the stable kernel 5.7.6 today.

New:
Download: linux-image-5.7.6-X1000_X5000.tar.gz

The stable kernel 5.7.6 works with an ATi Radeon X1950 PRO Extreme:

Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 121
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Kernel 5.7

Post by sailorMH »

Works with DebianSid, qemu-system-ppc with KVM-PR OK. Thanks.
https://img40.rajce.idnes.cz/d4002/16/1 ... -5.7.6.jpg
Image
Pegasos 2, AmigaOne X1000, Powebook G4, iMac G5, Powermac G5 Quad
MorphOS, AmigaOS, linux: MintPPC 11, Debian, Ubuntu ..., MacOS X
Post Reply