libnvdimm/e820: Add a new parameter to configure many regions per e820 entry
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 5 repliesIn review
- v21 patch 8 repliesSuperseded
- v11 patch 0 repliesSuperseded
Changes in v3 from the cover letter
- Added a second commit.
- Reworked string parsing.
- I was asked to rename the parameter to 'split' but I'm not sure it fits anymore with the conversion functionality, so I didn't do that yet. LMK.
v2: Fixed a crash when pmem parameter is omitted.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libnvdimm/e820: Add a new parameter to split e820 entry into many regionsDocumentation/ drivers/ | +163 | 0 replies | |
| 2/2 | libnvdimm: add nd_e820.pmem automatic devdax conversionDocumentation/ drivers/ drivers/ +4 more | +189 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] libnvdimm/e820: Add a new parameter to configure many regions per e820 entry
This includes:
1. Splitting one e820 entry into many regions.
2. Conversion to devdax during boot.
This change is needed for the hypervisor live update. VMs' memory will be backed by those emulated pmem devices. To support various VM shapes I want to create devdax devices at 1GB granularity similar to hugetlb. Also detecting those devices as devdax during boot speeds up the whole process. Conversion in userspace would be much slower which is unacceptable while trying to minimize
v3:
- Added a second commit.
- Reworked string parsing.
- I was asked to rename the parameter to 'split' but I'm not sure it fits anymore with the conversion functionality, so I didn't do that yet. LMK.
v2: Fixed a crash when pmem parameter is omitted.
Michal Clapinski (2):
libnvdimm/e820: Add a new parameter to split e820 entry into many
regions
libnvdimm: add nd_e820.pmem automatic devdax conversion
.../admin-guide/kernel-parameters.txt | 10 + drivers/dax/pmem.c | 2 +- drivers/nvdimm/dax_devs.c | 5 +- drivers/nvdimm/e820.c | 211 +++++++++++++++++- drivers/nvdimm/nd.h | 6 + drivers/nvdimm/pfn_devs.c | 158 +++++++++---- include/linux/libnvdimm.h | 3 + 7 files changed, 346 insertions(+), 49 deletions(-)
Signature · 1 line
2.50.0.rc1.591.g9c95f17f64-goog