cxl, acpi/hmat, node: Update CXL access coordinates to node directly
Status from this message: Applied to cxl/next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 2 repliesApplied
- v24 patches 3 repliesSuperseded
- v14 patches 16 repliesSuperseded
Changes in v3 from the cover letter
- Fix grammar in comment. (DavidH)
- Use nodemask instead of xarray. (Jonathan)
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/memory_hotplug: Update comment for hotplug memory callback prioritiesinclude/ | +2 | 0 replies | |
| 2/4 | drivers/base/node: Add a helper function node_update_perf_attrs()drivers/ include/ | +46 | 0 replies | |
| 3/4 | cxl, acpi/hmat: Update CXL access coordinates directly instead of through HMATdrivers/ drivers/ drivers/ +2 more | +13 | 1 reply | |
| 4/4 | acpi/hmat: Remove now unused hmat_update_target_coordinates()drivers/ drivers/ drivers/ +1 more | +0 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Jonathan Cameron | Marc Herbert | Dan Williams |
|---|---|---|---|---|
| 1/4 | A-b | R-b | ||
| 2/4 | A-b | R-b | ||
| 3/4 | R-b | T-b | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v3 0/4] cxl, acpi/hmat, node: Update CXL access coordinates to node directly
I plan to take this series through the CXL tree when all the necessary tags are received.
Rafael, please ack patches 3/4 and 4/4 if you are happy with the changes.
Thank you!
v3:
- Fix grammar in comment. (DavidH)
- Use nodemask instead of xarray. (Jonathan)
v2:
- Use clearer comment from DavidH for 1/4. (DavidH)
- Fix comment in 2/4. (DavidH)
- Streamline code in 2/4. (DavidH)
- Add description to observed issue. (Dan)
- Add correct Fixes tag. (Dan)
- Add cc to stable for fix patch. (Dan)
- Add mechansim to only update on first region for the node. (Jonathan)
The series aim to clean up the current CXL memory region hotplug notifier by removing the update path through HMAT and updating the node access coordinates directly. With the existing implementation, the CXL memory hotplug notifier gets called first. It updates the HMAT target access coordinates. And then the HMAT notifier gets called and create the node sysfs attribs. The new implemenation flips the callback ordering and directly updates the sysfs attribs already created in the node and leaves HMAT data structures alone.
Dave Jiang (4):
mm/memory_hotplug: Update comment for hotplug memory callback
priorities
drivers/base/node: Add a helper function node_update_perf_attrs() cxl, acpi/hmat: Update CXL access coordinates directly instead of
through HMAT
acpi/hmat: Remove now unused hmat_update_target_coordinates()
drivers/acpi/numa/hmat.c | 34 ---------------------------------- drivers/base/node.c | 38 ++++++++++++++++++++++++++++++++++++++ drivers/cxl/core/cdat.c | 11 ----------- drivers/cxl/core/core.h | 3 --- drivers/cxl/core/region.c | 20 ++++++++++++-------- include/linux/acpi.h | 12 ------------ include/linux/memory.h | 6 +++--- include/linux/node.h | 8 ++++++++ 8 files changed, 61 insertions(+), 71 deletions(-)
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
Signature · 1 line
2.50.1