Kernel 5.1

AmigaOne X5000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.1

Post by xeno74 »

The VLC solution is on the way to the official kernel source code:
Michael Ellerman wrote: On 8. Apr 2019, at 15:03, Michael Ellerman <patch-notifications@ellerman.id.au> wrote:

On Thu, 2019-04-04 at 12:20:05 UTC, Christophe Leroy wrote:
Commit b5b4453e7912 ("powerpc/vdso64: Fix CLOCK_MONOTONIC
inconsistencies across Y2038") changed the type of wtom_clock_sec
to s64 on PPC64. Therefore, VDSO32 needs to read it with a 4 bytes
shift in order to retrieve the lower part of it.

Fixes: b5b4453e7912 ("powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038")
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/dd9a99 ... 747e3366c5

cheers
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.1

Post by xeno74 »

FYI:
Date: Tue, 9 Apr 2019 16:03:24 +1000
From: Michael Ellerman <mpe@ellerman.id.au>
To: linuxppc-dev@ozlabs.org
Cc: aneesh.kumar@linux.vnet.ibm.com, hughd@google.com,
schwab@linux-m68k.org, ben@decadent.org.uk
Subject: [PATCH] powerpc/mm: Define MAX_PHYSMEM_BITS for all 64-bit
configs
Message-ID: <20190409060324.16941-1-mpe@ellerman.id.au>

The recent commit 8bc086899816 ("powerpc/mm: Only define
MAX_PHYSMEM_BITS in SPARSEMEM configurations") removed our definition
of MAX_PHYSMEM_BITS when SPARSEMEM is disabled.

This inadvertently broke some 64-bit FLATMEM using configs with eg:

arch/powerpc/include/asm/book3s/64/mmu-hash.h:584:6: error: "MAX_PHYSMEM_BITS" is not defined, evaluates to 0
#if (MAX_PHYSMEM_BITS > MAX_EA_BITS_PER_CONTEXT)
^~~~~~~~~~~~~~~~

Fix it by making sure we define MAX_PHYSMEM_BITS for all 64-bit
configs regardless of SPARSEMEM.

Fixes: 8bc086899816 ("powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations")
Reported-by: Andreas Schwab <schwab@linux-m68k.org>
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

Code: Select all

arch/powerpc/include/asm/mmu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/mmu.h b/arch/powerpc/include/asm/mmu.h
index 598cdcdd1355..8ddd4a91bdc1 100644
--- a/arch/powerpc/include/asm/mmu.h
+++ b/arch/powerpc/include/asm/mmu.h
@@ -352,7 +352,7 @@ static inline bool strict_kernel_rwx_enabled(void)
#if defined(CONFIG_SPARSEMEM_VMEMMAP) && defined(CONFIG_SPARSEMEM_EXTREME) &&    \
   defined (CONFIG_PPC_64K_PAGES)
#define MAX_PHYSMEM_BITS        51
-#elif defined(CONFIG_SPARSEMEM)
+#elif defined(CONFIG_PPC64)
#define MAX_PHYSMEM_BITS        46
#endif
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.1

Post by xeno74 »

FYI: PowerPC fixes 5.1-5

We don’t need the gettimeofday patch anymore.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.1

Post by xeno74 »

Hi All,

I released the RC3-3 of kernel 5.1 last week. This kernel was a RC3 with a lot of Git updates. That means, it didn't make any sense to release the RC4 because the RC3-3 has already included a lot of updates from the RC4.

Today, I released the RC5 of kernel 5.1 including all RC4 updates.

New:
It also includes:
  • X1000: compressed kernel (zImage) and uncompressed kernel (vmlinux)
Issues:
  • X1000: There are some issues with new CF cards if you connected one of these to the onboard CompactFlash Card Slot. Note: The CompactFlash (CF) card slot is wired to the CPU local bus. It is typically used to hold the Linux kernels and initial ramdisks. If you want to use a new CF card then please use the stable kernel 4.20.16. Link to the test thread: Fienix - New PowerPC Distro
  • X5000: Initialization and use of secondary graphics card (FirePro 2260) does not work. Bug report: Bug 109345 - drm-next-2018-12-14 -Linux PPC. If you want to use a secondary graphics card for example a FirePro 2260 then please use the stable kernel 4.20.16.
  • X5000: Network issues with the DPAA ethernet. Further information: Kernel 5.0 thread
Download: linux-image-5.1-rc5-X1000_X5000.tar.gz

Screenshot of Fienix PowerPC with the RC5 of kernel 5.1 on a X1000:

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
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.1

Post by Skateman »

Kernel 5.1 RC5 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 200841.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.1

Post by xeno74 »

Hi Skateman,

Thanks a lot for testing the RC5! :-)

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

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

Re: Kernel 5.1

Post by xeno74 »

Hi All,

I released the RC6 of kernel 5.1 today.

New:
It also includes:
  • X1000: compressed kernel (zImage) and uncompressed kernel (vmlinux)
CF cards test thread

Download: linux-image-5.1-rc6-X1000_X5000.tar.gz

Screenshot of Fienix PowerPC with the RC6 of kernel 5.1:

Image

Please test it.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 861
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.1

Post by Skateman »

Kernel 5.1 RC6 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 171843.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.1

Post by xeno74 »

Skateman wrote:Kernel 5.1 RC6 up and running on the AmigaOne X5000
Many thanks for testing the RC6! :-)

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

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

Re: Kernel 5.1

Post by xeno74 »

Hi All,

Here is the RC7 for testing! :-)

New:
It also includes:
  • X1000: pata_of_platform-v2 patch for solving the issues with new CF cards connected to the onboard CompactFlash Card Slot
  • X1000: Disabling the kernel config options CONFIG_PATA_PCMCIA, CONFIG_PCMCIA, and CONFIG_ELECTRA_CF for the pata_of_platform-v2 patch
  • X1000: compressed kernel (zImage) and uncompressed kernel (vmlinux)
Download: linux-image-5.1-rc7-X1000_X5000.tar.gz

Screenshot of ubuntu MATE 16.04.6 LTS PowerPC with SpiderMail 1.0.0 and with kernel 5.1-rc7:

Image

Screenshot of Xubuntu 16.04.6 LTS PowerPC with SpiderWeb 1.0.0 and with kernel 5.1-rc7:

Image

Please test the RC7.

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply