Skip to content

Free up a couple of MAIRs

Will Deacon linux-arm-kernel 2 versions – Applied

Status from this message: Applied to arm64 (for-next/mm), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 9 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3arm64: mm: Remove unused support for Device-GRE memory typearch/arm64/include/asm/memory.h arch/arm64/include/asm/sysreg.h arch/arm64/mm/proc.S +1 more+0 -70 replies
2/3arm64: acpi: Map EFI_MEMORY_WT memory as Normal-NCarch/arm64/kernel/acpi.c+17 -50 replies
3/3arm64: mm: Remove unused support for Normal-WT memory typearch/arm64/include/asm/memory.h arch/arm64/include/asm/pgtable-prot.h arch/arm64/include/asm/sysreg.h +1 more+2 -60 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchCatalin MarinasArd Biesheuvel
1/3A-b
2/3A-b A-b
3/3A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Free up a couple of MAIRs

Hi folks,

This is version two of the patches I previously posted here:

v1: https://lore.kernel.org/r/[email protected]

Changes since v1 include:

* Only consider EFI_MEMORY_WT as a last resort
* Emit warning when using Normal-NC for EFI_MEMORY_WT
* Added acks
* Rebased onto -rc3

Catalin pointed out that the Device-GRE memory type is unused, despite having a MAIR allocation. In removing that, I noticed that we also allocate Normal-WT despite it only being used for EFI_MEMORY_WT mappings, which is unheard of in isolation.

With these changes, we free up a couple of MAIR entries for more interesting things (e.g. outer cacheability attributes if we need them in future for the SLC).

Cheers,

Will

Cc Christoph Hellwig <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Ard Biesheuvel <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc Mark Rutland <[email protected]>

--->8

Will Deacon (3):
arm64: mm: Remove unused support for Device-GRE memory type
arm64: acpi: Map EFI_MEMORY_WT memory as Normal-NC
arm64: mm: Remove unused support for Normal-WT memory type

 arch/arm64/include/asm/memory.h       |  6 ++----
 arch/arm64/include/asm/pgtable-prot.h |  1 -
 arch/arm64/include/asm/sysreg.h       |  2 --
 arch/arm64/kernel/acpi.c              | 22 +++++++++++++++++-----
 arch/arm64/mm/proc.S                  |  2 --
 arch/arm64/mm/ptdump.c                |  4 ----
 6 files changed, 19 insertions(+), 18 deletions(-)
Signature · 7 lines
2.31.1.818.g46aad6cb9e-goog


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel