Skip to content

arm64: Add support for configuring the translation granule

Nikos Nikoleris kvm 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesApplied
  2. v12 patches 14 repliesSuperseded

Changes in v3 from the cover letter

- Re-ordered the two changes in the series
- Moved much of the code to check the configured granule from the C preprocessor to run time.
- Avoid block mappings at the PUD level (Thanks Alex!)
- Formatting changes

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: Check if the configured translation granule is supportedlib/arm/mmu.c lib/arm64/asm/processor.h+39 -00 replies
2/2arm64: Add support for configuring the translation granulearm/cstart64.S configure lib/arm/asm/page.h +8 more+210 -380 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexandru Elisei
SeriesR-b T-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [kvm-unit-tests PATCH v3 0/2] arm64: Add support for configuring the translation granule

Hi all,

One more update to the series that allows us to configure the translation granule in arm64. Again, thanks to Drew and Alex for their reviews and their suggestions.

v1:
https://lore.kernel.org/kvm/[email protected]/T
v2:
https://lore.kernel.org/kvm/[email protected]/

Changes in v3:
- Re-ordered the two changes in the series
- Moved much of the code to check the configured granule from the C preprocessor to run time.
- Avoid block mappings at the PUD level (Thanks Alex!)
- Formatting changes

Changes in v2:
- Change the configure option from page-shift to page-size
- Check and warn if the configured granule is not supported

Thanks,

Nikos

Nikos Nikoleris (2):
arm64: Check if the configured translation granule is supported
arm64: Add support for configuring the translation granule

 configure                     | 27 ++++++++++++++
 lib/arm/asm/page.h            |  4 +++
 lib/arm/asm/pgtable-hwdef.h   |  4 +++
 lib/arm/asm/pgtable.h         |  6 ++++
 lib/arm/asm/thread_info.h     |  4 ++-
 lib/arm64/asm/page.h          | 35 ++++++++++++++----
 lib/arm64/asm/pgtable-hwdef.h | 42 +++++++++++++++++-----
 lib/arm64/asm/pgtable.h       | 68 +++++++++++++++++++++++++++++++++--
 lib/arm64/asm/processor.h     | 36 +++++++++++++++++++
 lib/libcflat.h                | 20 ++++++-----
 lib/arm/mmu.c                 | 31 ++++++++++------
 arm/cstart64.S                | 10 +++++-
 12 files changed, 249 insertions(+), 38 deletions(-)
Signature · 1 line
2.17.1