Public bug reported:

linux-raspi 5.4 in Focal is the first kernel that supports Pi 4B which
requires LPAE to be enabled for armhf. Since we currently don't support
board-specific kernels but follow a one-kernel-fits-all strategy, the
LPAE kernel is also used on Pi 3 and 2 boards. Back then, running an
armhf LPAE kernel on a Pi 3/2 resulted in additional kernel memory
consumption of ~70MB compared to arm64 and non-LPAE kernels. For that
reason I decided to introduce a raspi-nolpae flavor which can be used on
Pi 3 and 2 (only). That flavor was never officially announced nor
installed automatically anywhere. A user has to install in manually. We
never had any complaints about kernel memory consumption so never
directed anybody at installing this flavor. Therefore I'm assuming it's
not being used...

Turns out that the early 5.4 kernels were broken and incorrectly
initialized a 64MB SWIOTLB buffer which is the reason for the above
additional memory consumption. This was fixed here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fcf044891c84e38fc90eb736b818781bccf94e38

With this commit, the memory consumption of both the armhf raspi and
raspi-nolpae flavor are pretty much on par and there is really no reason
anymore to keep the raspi-nolpae flavor around. So let's get rid of it
and introduce a transitional package that replaces installed raspi-
nolpae packages with raspi packages.

** Affects: linux-raspi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-raspi (Ubuntu Focal)
     Importance: Undecided
         Status: Invalid

** Affects: linux-raspi (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Affects: linux-raspi (Ubuntu Kinetic)
     Importance: Undecided
         Status: New

** Affects: linux-raspi (Ubuntu Lunar)
     Importance: Undecided
         Status: New

** Affects: linux-raspi (Ubuntu Mantic)
     Importance: Undecided
         Status: New

** Also affects: linux-raspi (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: linux-raspi (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux-raspi (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux-raspi (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: linux-raspi (Ubuntu Mantic)
   Importance: Undecided
       Status: New

** Summary changed:

- -nolpae flavor is pointless nowadays
+ raspi-nolpae flavor is pointless nowadays

** Changed in: linux-raspi (Ubuntu Focal)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi in Ubuntu.
https://bugs.launchpad.net/bugs/2023359

Title:
  raspi-nolpae flavor is pointless nowadays

Status in linux-raspi package in Ubuntu:
  New
Status in linux-raspi source package in Focal:
  Invalid
Status in linux-raspi source package in Jammy:
  New
Status in linux-raspi source package in Kinetic:
  New
Status in linux-raspi source package in Lunar:
  New
Status in linux-raspi source package in Mantic:
  New

Bug description:
  linux-raspi 5.4 in Focal is the first kernel that supports Pi 4B which
  requires LPAE to be enabled for armhf. Since we currently don't
  support board-specific kernels but follow a one-kernel-fits-all
  strategy, the LPAE kernel is also used on Pi 3 and 2 boards. Back
  then, running an armhf LPAE kernel on a Pi 3/2 resulted in additional
  kernel memory consumption of ~70MB compared to arm64 and non-LPAE
  kernels. For that reason I decided to introduce a raspi-nolpae flavor
  which can be used on Pi 3 and 2 (only). That flavor was never
  officially announced nor installed automatically anywhere. A user has
  to install in manually. We never had any complaints about kernel
  memory consumption so never directed anybody at installing this
  flavor. Therefore I'm assuming it's not being used...

  Turns out that the early 5.4 kernels were broken and incorrectly
  initialized a 64MB SWIOTLB buffer which is the reason for the above
  additional memory consumption. This was fixed here:
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fcf044891c84e38fc90eb736b818781bccf94e38

  With this commit, the memory consumption of both the armhf raspi and
  raspi-nolpae flavor are pretty much on par and there is really no
  reason anymore to keep the raspi-nolpae flavor around. So let's get
  rid of it and introduce a transitional package that replaces installed
  raspi-nolpae packages with raspi packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2023359/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to