Page 5 of 6

Re: Kernel 5.7

Posted: Mon May 25, 2020 5:04 pm
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

Re: Kernel 5.7

Posted: Mon May 25, 2020 9:01 pm
by sailorMH
Works on MintPPC, Debian8, Fienix, Debian Sid...
Image

Image

Re: Kernel 5.7

Posted: Tue May 26, 2020 1:57 pm
by xeno74
sailorMH wrote: Mon May 25, 2020 9:01 pm Works on MintPPC, Debian8, Fienix, Debian Sid...
Hi SailorMH,

Great tests! Thank you! :-)

Cheers,
Christian

Re: Kernel 5.7

Posted: Tue Jun 02, 2020 5:56 pm
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

Re: Kernel 5.7

Posted: Thu Jun 04, 2020 8:37 pm
by sailorMH

Re: Kernel 5.7

Posted: Fri Jun 05, 2020 8:14 am
by xeno74
sailorMH wrote: Thu Jun 04, 2020 8:37 pm All is OK, works on fienix, DebianSid Lxqt+Mate
Fantastic! Thanks a lot for testing and many thanks for the screenshots! :-)

Re: Kernel 5.7

Posted: Tue Jun 23, 2020 3:18 pm
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 <[email protected]> know about it.


>From 0bdcfa182506526fbe4e088ff9ca86a31b81828d Mon Sep 17 00:00:00 2001
From: Nicholas Piggin <[email protected]>
Date: Mon, 15 Jun 2020 16:12:47 +1000
Subject: powerpc/64s: Fix KVM interrupt using wrong save area

From: Nicholas Piggin <[email protected]>

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: [email protected] # v5.7+
Reported-by: Christian Zigotzky <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Tested-by: Christian Zigotzky <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 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 [email protected] 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

Re: Kernel 5.7

Posted: Wed Jun 24, 2020 8:00 am
by sailorMH
xeno74 wrote: Tue Jun 23, 2020 3:18 pm The KVM issue has been fixed in the stable kernel 5.7. :-)
Nice work!

Re: Kernel 5.7

Posted: Thu Jun 25, 2020 3:14 pm
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

Re: Kernel 5.7

Posted: Sun Jun 28, 2020 9:48 pm
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