mbox series

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

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

Message

Alison Schofield June 24, 2023, 1:24 a.m. UTC
From: Alison Schofield <alison.schofield@intel.com>

Make the cxl/region drivers 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: a70fc4ed20a6118837b0aecbbf789074935f473b