mbox series

[v2,0/2] Generic MMU page size selection

Message ID 20211206192732.373740-1-l.stelmach@samsung.com
Headers show
Series Generic MMU page size selection | expand

Message

Łukasz Stelmach Dec. 6, 2021, 7:27 p.m. UTC
On some systems MMUs support more than one page size. It is OS kernel's
task to choose the configuration during boot. Linux kernel can be compiled
to support different page size.  To run on a system with pages larger than
4 kB userland binaries need to be properly aligned during the linking
process. However, binaries prepared for systems with larger pages can
run on systems with smaller pages.

Changes v1 -> v2:
  - make page size selection architecture-independent (needs architecture
    support to be declared)
  - add page size slection for Aarch64 in a separate patch

Łukasz Stelmach (2):
  arch: Make page size configuration architecture-independent.
  arch/arm: Make page size configurable on Aarch64

 arch/Config.in                 | 70 ++++++++++++++++++++++++++++++++++
 arch/Config.in.arc             | 38 ------------------
 arch/arch.mk.arc               |  9 -----
 linux/linux.mk                 | 40 +++++++++++++------
 package/uclibc/uclibc.mk       |  2 +-
 toolchain/toolchain-wrapper.mk | 13 +++++++
 6 files changed, 112 insertions(+), 60 deletions(-)