Linux CXL
 help / color / mirror / Atom feed
* [PATCH ndctl RESEND 0/2] ndctl: Fix ups for region destroy
@ 2023-12-01  4:06 Ira Weiny
  2023-12-01  4:06 ` [PATCH ndctl RESEND 1/2] ndctl/test: Add destroy region test Ira Weiny
  2023-12-01  4:06 ` [PATCH ndctl RESEND 2/2] cxl/region: Fix memory device teardown in disable-region Ira Weiny
  0 siblings, 2 replies; 10+ messages in thread
From: Ira Weiny @ 2023-12-01  4:06 UTC (permalink / raw)
  To: Vishal Verma; +Cc: Dave Jiang, Dan Williams, nvdimm, linux-cxl, Ira Weiny

The patch to force device tear down on region disable caused a
regression for regions without system ram.

Add a test for such a case and a fix to the patch.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
---
[djiang: RESEND with proper mailing lists.]

---
Ira Weiny (2):
      ndctl/test: Add destroy region test
      cxl/region: Fix memory device teardown in disable-region

 cxl/region.c               |  3 ++
 daxctl/lib/libdaxctl.c     |  4 +--
 daxctl/lib/libdaxctl.sym   |  5 +++
 daxctl/libdaxctl.h         |  1 +
 test/cxl-destroy-region.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++
 test/meson.build           |  2 ++
 6 files changed, 89 insertions(+), 2 deletions(-)
---
base-commit: cbf049039482a56c2b66ede3e10d5e9c652890b7
change-id: 20231130-fix-region-destroy-a85ad1fde87b

Best regards,
-- 
Ira Weiny <ira.weiny@intel.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-12-06  3:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01  4:06 [PATCH ndctl RESEND 0/2] ndctl: Fix ups for region destroy Ira Weiny
2023-12-01  4:06 ` [PATCH ndctl RESEND 1/2] ndctl/test: Add destroy region test Ira Weiny
2023-12-01 17:40   ` Dave Jiang
2023-12-01 19:39   ` Alison Schofield
2023-12-04 18:05     ` Ira Weiny
2023-12-04 20:42       ` Verma, Vishal L
2023-12-05 21:22         ` Ira Weiny
2023-12-06  3:00           ` Verma, Vishal L
2023-12-01  4:06 ` [PATCH ndctl RESEND 2/2] cxl/region: Fix memory device teardown in disable-region Ira Weiny
2023-12-01 17:39   ` Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox