mbox series

[v2,0/2] cxl/region: Improve Soft Reserved resource handling

Message ID cover.1691176651.git.alison.schofield@intel.com
Headers show
Series cxl/region: Improve Soft Reserved resource handling | expand

Message

Alison Schofield Aug. 4, 2023, 7:31 p.m. UTC
From: Alison Schofield <alison.schofield@intel.com>

Changes in v2:
- Rebase to 6.5-rc1

v1: https://lore.kernel.org/linux-cxl/cover.1687568084.git.alison.schofield@intel.com/


Make the cxl/region driver handle these 2 observed scenarios:

1) Soft reserved resources were observed as sometimes being the parent
and sometimes being the child of a region resource. Patch 1 clears up
that inconsistency.

2) Soft reserved resources were also observed as stranded after region 
teardown, making the address space the region released unavailable for
reallocation. Patch 2 implements soft reserved resource removal.

Alison Schofield (2):
  cxl/region: Try to add a region resource to a soft reserved parent
  cxl/region: Remove a soft reserved resource at region teardown

 drivers/cxl/core/region.c | 164 +++++++++++++++++++++++++++++++++++---
 1 file changed, 153 insertions(+), 11 deletions(-)


base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5