Skip to contentSkip to conversation

CxlCorErrorType member @retry-threshold is undocumented

DISCUSSION Markus Armbruster 2 participants 3 messages Aug 8, 2024 – Aug 9, 2024

lore
Share & tools
lore
#0 lore raw

Hi Jonathan,

You added the type in commit 415442a1b4a (hw/mem/cxl_type3: Add CXL RAS Error Injection Support.) The doc comment is missing a description of @retry-threshold. Can you supply me one? I'm happy to do the actual patch.

#1 lore raw
Quoted 7 lines · On Thu, 08 Aug 2024 19:51:26 +0200 Markus Armbruster <[email protected]> wrote:

Hi Jonathan,

You added the type in commit 415442a1b4a (hw/mem/cxl_type3: Add CXL RAS Error Injection Support.) The doc comment is missing a description of @retry-threshold. Can you supply me one? I'm happy to do the actual patch.

Sorry!

The CXL spec text is

Retry Threshold Hit. (NUM_RETRY >= MAX_NUM_RETRY). Applicable only to 68B Flit Mode.
+ a reference to the local retry state machine (LRSM)

So maybe

"Retry threshold hit in the Local Retry State Machine, 68B Flits only."

#2 lore raw
Quoted 12 lines · Jonathan Cameron
Quoted 7 lines · On Thu, 08 Aug 2024 19:51:26 +0200 Markus Armbruster <[email protected]> wrote:

Hi Jonathan,

You added the type in commit 415442a1b4a (hw/mem/cxl_type3: Add CXL RAS Error Injection Support.) The doc comment is missing a description of @retry-threshold. Can you supply me one? I'm happy to do the actual patch.

Sorry!

Quoted 8 lines

The CXL spec text is

Retry Threshold Hit. (NUM_RETRY >= MAX_NUM_RETRY). Applicable only to 68B Flit Mode.
+ a reference to the local retry state machine (LRSM)

So maybe

"Retry threshold hit in the Local Retry State Machine, 68B Flits only."

Is "Local Retry State Machine" a name or a description? The former may be capitalized, the latter not.