Linux CXL
 help / color / mirror / Atom feed
* [INTERNAL PATCH 0/2] CXL: Clarify struct cxl_mem
@ 2021-11-02 20:28 ira.weiny
  2021-11-02 20:29 ` [INTERNAL PATCH 1/2] cxl/mbox: Remove bad comment ira.weiny
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: ira.weiny @ 2021-11-02 20:28 UTC (permalink / raw)
  To: Dan Williams
  Cc: Ira Weiny, Alison Schofield, Vishal Verma, Ben Widawsky,
	linux-cxl

From: Ira Weiny <ira.weiny@intel.com>

The first patch is a simple clean up.

The cxl_mem object actually represents the state of a CXL device within the
driver.  Furthermore, there was confusion with the cxl_memdev structure.

Clean this up with a new structure name, function names and kernel docs.

---
Changes made based on Ben's comments.

Ira Weiny (2):
  cxl/mbox: Remove bad comment
  cxl/cxlmem: Change cxl_mem to a more descriptive name

 drivers/cxl/core/mbox.c      | 184 +++++++++++++++++------------------
 drivers/cxl/core/memdev.c    |  48 ++++-----
 drivers/cxl/cxlmem.h         |  35 ++++---
 drivers/cxl/pci.c            | 146 +++++++++++++--------------
 drivers/cxl/pmem.c           |  39 ++++----
 tools/testing/cxl/test/mem.c |  50 +++++-----
 6 files changed, 252 insertions(+), 250 deletions(-)

-- 
2.28.0.rc0.12.gb6a658bd00c9


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

end of thread, other threads:[~2021-11-10 19:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 20:28 [INTERNAL PATCH 0/2] CXL: Clarify struct cxl_mem ira.weiny
2021-11-02 20:29 ` [INTERNAL PATCH 1/2] cxl/mbox: Remove bad comment ira.weiny
2021-11-02 20:29 ` [INTERNAL PATCH 2/2] cxl/cxlmem: Change cxl_mem to a more descriptive name ira.weiny
2021-11-03  1:53   ` Dan Williams
2021-11-03 13:51   ` Jonathan Cameron
2021-11-03 16:38     ` Dan Williams
2021-11-03 20:41       ` [PATCH] cxl/cxlmem: Remove unused cxlmd field ira.weiny
2021-11-03 22:13         ` Dan Williams
2021-11-03 22:34           ` Ben Widawsky
2021-11-10 17:40   ` [INTERNAL PATCH 2/2] cxl/cxlmem: Change cxl_mem to a more descriptive name Jonathan Cameron
2021-11-10 19:01     ` Ira Weiny
2021-11-02 20:34 ` [INTERNAL PATCH 0/2] CXL: Clarify struct cxl_mem Ira Weiny

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