powerpc/mm/radix: Memory unplug fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Changes in v1 from the cover letter
==============
- Rebased to latest kernel.
- Took care of p4d changes.
- Addressed Aneesh's review feedback:
- Added comments.
- Indentation fixed.
- Dropped the 1st patch (setting DRCONF_MEM_HOTREMOVABLE lmb flags) as it is debatable if this flag should be set in the device tree by OS and not by platform in case of hotplug. This can be looked at separately. (The fixes in this patchset remain valid without the dropped patch)
- Dropped the last patch that removed split_kernel_mapping() to ensure that spilitting code is available for any radix guest running on platforms that don't set DRCONF_MEM_HOTREMOVABLE.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | powerpc/mm/radix: Create separate mappings for hot-plugged memoryarch/ | +12 | 1 reply | |
| 2/3 | powerpc/mm/radix: Fix PTE/PMD fragment count for early page table mappingsarch/ arch/ arch/ +4 more | +129 | 2 replies | |
| 3/3 | powerpc/mm/radix: Free PUD table when freeing pagetablearch/ | +16 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Aneesh Kumar K.V |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/3] powerpc/mm/radix: Memory unplug fixes
This is the next version of the fixes for memory unplug on radix. The issues and the fix are described in the actual patches.
Changes in v1:
==============
- Rebased to latest kernel.
- Took care of p4d changes.
- Addressed Aneesh's review feedback:
- Added comments.
- Indentation fixed.
- Dropped the 1st patch (setting DRCONF_MEM_HOTREMOVABLE lmb flags) as it is debatable if this flag should be set in the device tree by OS and not by platform in case of hotplug. This can be looked at separately. (The fixes in this patchset remain valid without the dropped patch)
- Dropped the last patch that removed split_kernel_mapping() to ensure that spilitting code is available for any radix guest running on platforms that don't set DRCONF_MEM_HOTREMOVABLE.
v0: https://lore.kernel.org/linuxppc-dev/[email protected]/
Bharata B Rao (3):
powerpc/mm/radix: Create separate mappings for hot-plugged memory powerpc/mm/radix: Fix PTE/PMD fragment count for early page table
mappings
powerpc/mm/radix: Free PUD table when freeing pagetable
arch/powerpc/include/asm/book3s/64/pgalloc.h | 11 +- arch/powerpc/include/asm/book3s/64/radix.h | 1 + arch/powerpc/include/asm/sparsemem.h | 1 + arch/powerpc/mm/book3s64/pgtable.c | 31 +++++- arch/powerpc/mm/book3s64/radix_pgtable.c | 111 +++++++++++++++++-- arch/powerpc/mm/mem.c | 5 + arch/powerpc/mm/pgtable-frag.c | 9 +- 7 files changed, 157 insertions(+), 12 deletions(-)
Signature · 1 line
2.21.3