9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: [9fans] LPAE patch for ARM
Date: Sat, 4 Jun 2022 13:20:53 +0100	[thread overview]
Message-ID: <11526749f3706d057cd8377820cec14f@hamnavoe.com> (raw)

There's a new patch bcm-lpae which uses the 64-bit page table format to
allow 32-bit ARM kernels to support more than 4GB of physical memory. At
present this is mainly of interest for the 8GB Raspberry Pi 4, but there's
nothing Pi-specific in the MMU code so it may have future application for
bigger ARM systems.

The LPAE page table format works on the Pi 2 and Pi 3 as well, where it
may provide a wee performance improvement from simpler page fault handling.
When building a bcm kernel, the choice of page descriptor format is determined
by putting either 'mmu' or 'mmu64' in the 'misc' section of the config file.

The patch has been applied in the current 9legacy SD card image for Raspberry Pi
on http://9legacy.org/download.html, and also in the 9pi SD card image on
http://9p.io/sources/contrib/miller (though nowadays for all practical purposes
I recommend 9legacy as a better choice). If you just want to update the kernel,
source is in http://9p.io/sources/contrib/miller/9/bcm as usual.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T2b3e951db9f7c17f-Mbacd4cfcb29eca6dadc2a77a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

             reply	other threads:[~2022-06-04 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-04 12:20 Richard Miller [this message]
2022-06-04 17:22 ` adr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11526749f3706d057cd8377820cec14f@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).