All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cxl: DVSEC Range emulation fixups
@ 2023-02-22  1:51 Dan Williams
  2023-02-22  1:51 ` [PATCH 1/2] cxl/hdm: Fix double allocation of @cxlhdm Dan Williams
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Dan Williams @ 2023-02-22  1:51 UTC (permalink / raw)
  To: linux-cxl; +Cc: Jonathan Cameron, dave.jiang

Jonathan points out that the kernel is too agressive in assuming that
DVSEC range registers are in use, reliably skip emulation if
'mem_enabled' is not set. The helper devm_cxl_setup_emulated_hdm() is
needlessly redoing an allocation, clean that up.

---

Dan Williams (2):
      cxl/hdm: Fix double allocation of @cxlhdm
      cxl/hdm: Skip emulation when driver manages mem_enable


 drivers/cxl/core/hdm.c |   65 ++++++++++++++++++------------------------------
 drivers/cxl/cxl.h      |    4 ++-
 drivers/cxl/port.c     |    2 +
 3 files changed, 28 insertions(+), 43 deletions(-)

base-commit: 23c198e3dfaabbc891681aecb0855b9e0ac791e1

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

end of thread, other threads:[~2023-03-31 16:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22  1:51 [PATCH 0/2] cxl: DVSEC Range emulation fixups Dan Williams
2023-02-22  1:51 ` [PATCH 1/2] cxl/hdm: Fix double allocation of @cxlhdm Dan Williams
2023-02-22 12:53   ` Jonathan Cameron
2023-02-22 16:57   ` Dave Jiang
2023-02-22  1:51 ` [PATCH 2/2] cxl/hdm: Skip emulation when driver manages mem_enable Dan Williams
2023-02-22 13:22   ` Jonathan Cameron
2023-02-23  5:05     ` Dan Williams
2023-02-22 16:59   ` Dave Jiang
2023-03-31 16:33   ` Fan Ni
2023-02-24  1:14 ` [PATCH 0/2] cxl: DVSEC Range emulation fixups Gregory Price
2023-03-01 18:46   ` Dan Williams
2023-02-26  7:28     ` Gregory Price
2023-03-03 16:43     ` Gregory Price
2023-03-21 17:17     ` Gregory Price
2023-03-23 17:56       ` Dan Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.