Skip to content

Commit a0f39d5

Browse files
sailer1205davejiang
authored andcommitted
cxl: documentation: add missing files to cxl driver-api
Add the missing files into cxl driver api and fix the compile warning. Suggested-by: Dan Williams <[email protected]> Suggested-by: Alison Schofield <[email protected]> Signed-off-by: Yao Xingtao <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
1 parent 84328c5 commit a0f39d5

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

Documentation/driver-api/cxl/memory-devices.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,12 @@ CXL Memory Device
328328
.. kernel-doc:: drivers/cxl/mem.c
329329
:doc: cxl mem
330330

331+
.. kernel-doc:: drivers/cxl/cxlmem.h
332+
:internal:
333+
334+
.. kernel-doc:: drivers/cxl/core/memdev.c
335+
:identifiers:
336+
331337
CXL Port
332338
--------
333339
.. kernel-doc:: drivers/cxl/port.c
@@ -341,6 +347,15 @@ CXL Core
341347
.. kernel-doc:: drivers/cxl/cxl.h
342348
:internal:
343349

350+
.. kernel-doc:: drivers/cxl/core/hdm.c
351+
:doc: cxl core hdm
352+
353+
.. kernel-doc:: drivers/cxl/core/hdm.c
354+
:identifiers:
355+
356+
.. kernel-doc:: drivers/cxl/core/cdat.c
357+
:identifiers:
358+
344359
.. kernel-doc:: drivers/cxl/core/port.c
345360
:doc: cxl core
346361

drivers/cxl/cxlmem.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ enum cxl_devtype {
395395

396396
/**
397397
* struct cxl_dpa_perf - DPA performance property entry
398-
* @dpa_range - range for DPA address
399-
* @coord - QoS performance data (i.e. latency, bandwidth)
400-
* @qos_class - QoS Class cookies
398+
* @dpa_range: range for DPA address
399+
* @coord: QoS performance data (i.e. latency, bandwidth)
400+
* @qos_class: QoS Class cookies
401401
*/
402402
struct cxl_dpa_perf {
403403
struct range dpa_range;
@@ -464,13 +464,14 @@ struct cxl_dev_state {
464464
* @active_persistent_bytes: sum of hard + soft persistent
465465
* @next_volatile_bytes: volatile capacity change pending device reset
466466
* @next_persistent_bytes: persistent capacity change pending device reset
467+
* @ram_perf: performance data entry matched to RAM partition
468+
* @pmem_perf: performance data entry matched to PMEM partition
467469
* @event: event log driver state
468470
* @poison: poison driver state info
469471
* @security: security driver state info
470472
* @fw: firmware upload / activation state
473+
* @mbox_wait: RCU wait for mbox send completely
471474
* @mbox_send: @dev specific transport for transmitting mailbox commands
472-
* @ram_perf: performance data entry matched to RAM partition
473-
* @pmem_perf: performance data entry matched to PMEM partition
474475
*
475476
* See CXL 3.0 8.2.9.8.2 Capacity Configuration and Label Storage for
476477
* details on capacity parameters.

0 commit comments

Comments
 (0)