Validating namespace size and start address attributes.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 10 repliesIn review
- v36 patches 6 repliesSuperseded
- v26 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 4 patches | 16 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libnvdimm/namespace: Make namespace size validation arch dependentarch/ arch/ arch/ +1 more | +23 | 7 replies | |
| 2/6 | libnvdimm/namespace: Validate namespace start addr and sizedrivers/ | +50 | 1 reply | |
| 3/6 | libnvdimm/namespace: Add arch dependent callback for namespace create time validationarch/ arch/ arch/ +1 more | +25 | 1 reply | |
| 4/6 | libnvdimm/namespace: Validate namespace size when creating a new namespace.drivers/ | +19 | 1 reply | |
| 5/6 | libnvdimm/namespace: Align DPA based on arch restrictionsdrivers/ | +2 | 0 replies | |
| 6/6 | libnvdimm/namespace: Expose arch specific supported size align valuedrivers/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/6] Validating namespace size and start address attributes.
When creating a new namespace, the kernel needs to make sure namespace size and start address are correctly aligned to SUBSECTION_SIZE. This ensures kernel can enable/disable namespace without conflicting with memory hotplug rules. Without this, a namespace that partially covers a SUBSECTION can prevent the creation of an adjacent namespace because the hotplug subsystem will find the subsection already active.
To make sure new kernel don't break an existing install with an unaligned start/size attribute, while initializing the namespace the kernel validates these attribute against direct-map mapping page size rather than subsection size.
Aneesh Kumar K.V (6):
libnvdimm/namespace: Make namespace size validation arch dependent libnvdimm/namespace: Validate namespace start addr and size libnvdimm/namespace: Add arch dependent callback for namespace create
time validation
libnvdimm/namespace: Validate namespace size when creating a new
namespace.
libnvdimm/namespace: Align DPA based on arch restrictions libnvdimm/namespace: Expose arch specific supported size align value
arch/arm64/mm/flush.c | 13 +++++ arch/powerpc/lib/pmem.c | 20 ++++++++ arch/x86/mm/pageattr.c | 13 +++++ drivers/nvdimm/namespace_devs.c | 85 +++++++++++++++++++++++++++++++-- include/linux/libnvdimm.h | 2 + 5 files changed, 128 insertions(+), 5 deletions(-)
Signature · 4 lines
2.24.1 _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]