cxl/Documentation: Remove 'mixed' from sysfs mode doc
PATCH 1/1 cxl/Documentation: Remove 'mixed' from sysfs mode doc
Commit 188e9529a606 ("cxl: Remove the CXL_DECODER_MIXED mistake") removed the mixed mode.
Remove it from the sysfs documentation.
--- Documentation/ABI/testing/sysfs-bus-cxl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
Documentation/ABI/testing/sysfs-bus-cxl +7 -8
@@ -321,14 +321,13 @@ KernelVersion: v6.0 Contact: [email protected] Description: (RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it - translates from a host physical address range, to a device local - address range. Device-local address ranges are further split - into a 'ram' (volatile memory) range and 'pmem' (persistent - memory) range. The 'mode' attribute emits one of 'ram', 'pmem', - 'mixed', or 'none'. The 'mixed' indication is for error cases - when a decoder straddles the volatile/persistent partition - boundary, and 'none' indicates the decoder is not actively - decoding, or no DPA allocation policy has been set. + translates from a host physical address range, to a device + local address range. Device-local address ranges are further + split into a 'ram' (volatile memory) range and 'pmem' + (persistent memory) range. The 'mode' attribute emits one of + 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is + not actively decoding, or no DPA allocation policy has been + set. 'mode' can be written, when the decoder is in the 'disabled' state, with either 'ram' or 'pmem' to set the boundaries for the
---
base-commit: 8760c1c0bf7eee63a56b5f9edb42d93737a6a378
change-id: 20250224-remove-mixed-sysfs-e3baa7616bcc
Best regards,
Signature · 1 line
Ira Weiny <[email protected]>
Quoted 8 lines · Ira Weiny
Commit
188e9529a606("cxl: Remove theCXL_DECODER_MIXEDmistake") removed the mixed mode.Remove it from the sysfs documentation.
Fixes 188e9529a606 ("cxl: Remove the CXL_DECODER_MIXED mistake")Cc Dan Williams <[email protected]>Signed-off-by Ira Weiny <[email protected]>
Quoted 36 lines
--- Documentation/ABI/testing/sysfs-bus-cxl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)Documentation/ABI/testing/sysfs-bus-cxl +7
-9@@ -321,14 +321,13 @@ KernelVersion: v6.0 Contact: [email protected] Description: (RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it - translates from a host physical address range, to a device local - address range. Device-local address ranges are further split - into a 'ram' (volatile memory) range and 'pmem' (persistent - memory) range. The 'mode' attribute emits one of 'ram', 'pmem', - 'mixed', or 'none'. The 'mixed' indication is for error cases - when a decoder straddles the volatile/persistent partition - boundary, and 'none' indicates the decoder is not actively - decoding, or no DPA allocation policy has been set. + translates from a host physical address range, to a device + local address range. Device-local address ranges are further + split into a 'ram' (volatile memory) range and 'pmem' + (persistent memory) range. The 'mode' attribute emits one of + 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is + not actively decoding, or no DPA allocation policy has been + set. 'mode' can be written, when the decoder is in the 'disabled' state, with either 'ram' or 'pmem' to set the boundaries for the ---base-commit:
8760c1c0bf7eee63a56b5f9edb42d93737a6a378
change-id: 20250224-remove-mixed-sysfs-e3baa7616bccBest regards,
Quoted 6 lines · Ira Weiny
Commit
188e9529a606("cxl: Remove theCXL_DECODER_MIXEDmistake") removed the mixed mode.Remove it from the sysfs documentation.
Fixes 188e9529a606 ("cxl: Remove the CXL_DECODER_MIXED mistake")
I should not have added this fixes line since this patch is just in cxl-next...
Dave please remove it before applying.
Ira
Quoted 8 lines · On Mon, 24 Feb 2025 12:29:29 -0600 Ira Weiny <[email protected]> wrote:
Commit
188e9529a606("cxl: Remove theCXL_DECODER_MIXEDmistake") removed the mixed mode.Remove it from the sysfs documentation.
Fixes 188e9529a606 ("cxl: Remove the CXL_DECODER_MIXED mistake")Cc Dan Williams <[email protected]>Signed-off-by Ira Weiny <[email protected]>
Would be nice to put wrap back in text we aren't changing as creates unnecessary churn / staring at text to see if it is different...
Either way
Quoted 11 lines
--- Documentation/ABI/testing/sysfs-bus-cxl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)Documentation/ABI/testing/sysfs-bus-cxl +0
-0@@ -321,14 +321,13 @@ KernelVersion: v6.0 Contact: [email protected] Description:
Documentation/ABI/testing/sysfs-bus-cxl KernelVersion: v6.0 · line 324
Quoted 10 lines
Documentation/ABI/testing/sysfs-bus-cxl +1
-8(RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it - translates from a host physical address range, to a device local - address range. Device-local address ranges are further split - into a 'ram' (volatile memory) range and 'pmem' (persistent - memory) range. The 'mode' attribute emits one of 'ram', 'pmem', - 'mixed', or 'none'. The 'mixed' indication is for error cases - when a decoder straddles the volatile/persistent partition - boundary, and 'none' indicates the decoder is not actively - decoding, or no DPA allocation policy has been set. + translates from a host physical address range, to a device
Ideally avoid the extra diff from wrap changes in text that isn't changing.
Documentation/ABI/testing/sysfs-bus-cxl KernelVersion: v6.0 · line 327
Quoted 3 lines
Documentation/ABI/testing/sysfs-bus-cxl +3
-0+ local address range. Device-local address ranges are further + split into a 'ram' (volatile memory) range and 'pmem' + (persistent memory) range. The 'mode' attribute emits one of
I think actual changes only happen here.
Quoted 12 lines
Documentation/ABI/testing/sysfs-bus-cxl +3
-1+ 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is + not actively decoding, or no DPA allocation policy has been + set. 'mode' can be written, when the decoder is in the 'disabled' state, with either 'ram' or 'pmem' to set the boundaries for the ---base-commit:
8760c1c0bf7eee63a56b5f9edb42d93737a6a378
change-id: 20250224-remove-mixed-sysfs-e3baa7616bccBest regards,
Quoted 6 lines · Jonathan Cameron
Quoted 3 lines · On Mon, 24 Feb 2025 12:29:29 -0600 Ira Weiny <[email protected]> wrote:
Commit
188e9529a606("cxl: Remove theCXL_DECODER_MIXEDmistake") removed the mixed mode.
Quoted 8 lines
Quoted 5 lines
Remove it from the sysfs documentation.
Fixes 188e9529a606 ("cxl: Remove the CXL_DECODER_MIXED mistake")Cc Dan Williams <[email protected]>Signed-off-by Ira Weiny <[email protected]>Would be nice to put wrap back in text we aren't changing as creates unnecessary churn / staring at text to see if it is different...
100% agree that the review-ability suffers. But keeping the text formatted in the file makes it easier to read. In this case that might not be as true but I'm just kind of particular when I format paragraphs... :-/
I hope Dave will just take it.
Thanks,
Ira
Quoted 48 lines
Either way
Reviewed-by Jonathan Cameron <[email protected]>Quoted 11 lines
--- Documentation/ABI/testing/sysfs-bus-cxl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)Documentation/ABI/testing/sysfs-bus-cxl +0
-0@@ -321,14 +321,13 @@ KernelVersion: v6.0 Contact: [email protected] Description:Documentation/ABI/testing/sysfs-bus-cxl KernelVersion: v6.0 · line 324
Quoted 10 lines
Documentation/ABI/testing/sysfs-bus-cxl +1
-8(RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it - translates from a host physical address range, to a device local - address range. Device-local address ranges are further split - into a 'ram' (volatile memory) range and 'pmem' (persistent - memory) range. The 'mode' attribute emits one of 'ram', 'pmem', - 'mixed', or 'none'. The 'mixed' indication is for error cases - when a decoder straddles the volatile/persistent partition - boundary, and 'none' indicates the decoder is not actively - decoding, or no DPA allocation policy has been set. + translates from a host physical address range, to a deviceIdeally avoid the extra diff from wrap changes in text that isn't changing.
Documentation/ABI/testing/sysfs-bus-cxl KernelVersion: v6.0 · line 327
Quoted 3 lines
Documentation/ABI/testing/sysfs-bus-cxl +3
-0+ local address range. Device-local address ranges are further + split into a 'ram' (volatile memory) range and 'pmem' + (persistent memory) range. The 'mode' attribute emits one ofI think actual changes only happen here.
Quoted 12 lines
Documentation/ABI/testing/sysfs-bus-cxl +3
-1+ 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is + not actively decoding, or no DPA allocation policy has been + set. 'mode' can be written, when the decoder is in the 'disabled' state, with either 'ram' or 'pmem' to set the boundaries for the ---base-commit:
8760c1c0bf7eee63a56b5f9edb42d93737a6a378
change-id: 20250224-remove-mixed-sysfs-e3baa7616bccBest regards,
Dave Jiang
AppliedQuoted 8 lines · Ira Weiny
Commit
188e9529a606("cxl: Remove theCXL_DECODER_MIXEDmistake") removed the mixed mode.Remove it from the sysfs documentation.
Fixes 188e9529a606 ("cxl: Remove the CXL_DECODER_MIXED mistake")Cc Dan Williams <[email protected]>Signed-off-by Ira Weiny <[email protected]>
Applied to cxl/next
Quoted 36 lines
--- Documentation/ABI/testing/sysfs-bus-cxl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)Documentation/ABI/testing/sysfs-bus-cxl +7
-9@@ -321,14 +321,13 @@ KernelVersion: v6.0 Contact: [email protected] Description: (RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it - translates from a host physical address range, to a device local - address range. Device-local address ranges are further split - into a 'ram' (volatile memory) range and 'pmem' (persistent - memory) range. The 'mode' attribute emits one of 'ram', 'pmem', - 'mixed', or 'none'. The 'mixed' indication is for error cases - when a decoder straddles the volatile/persistent partition - boundary, and 'none' indicates the decoder is not actively - decoding, or no DPA allocation policy has been set. + translates from a host physical address range, to a device + local address range. Device-local address ranges are further + split into a 'ram' (volatile memory) range and 'pmem' + (persistent memory) range. The 'mode' attribute emits one of + 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is + not actively decoding, or no DPA allocation policy has been + set. 'mode' can be written, when the decoder is in the 'disabled' state, with either 'ram' or 'pmem' to set the boundaries for the ---base-commit:
8760c1c0bf7eee63a56b5f9edb42d93737a6a378
change-id: 20250224-remove-mixed-sysfs-e3baa7616bccBest regards,