# US 2024/0202088 A1 · Peripheral component interconnect board programmable link training and status state machine and state branching

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0202088 A1
- Document ID: US20240202088A1
- Status: Published application
- Kind: A1
- Application number: 18/539,593
- Filed: 2023-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Viavi Solutions Inc.
- Applicants: VIAVI Solutions Inc.
- Inventors: Tarik ROSTUM; Marc WERZ
- Web page: https://patentgrep.com/patent/US20240202088A1

## CPC

- G06F 11/27: Built-in tests
- G06F 13/4221: {being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A device may generate a link training and status state machine (LTSSM) test configuration that includes states and paths connecting the states, and may provide the LTSSM test configuration for tracing through by a device under test. The device may receive results associated with tracing through of the LTSSM test configuration by the device under test, and may modify, based on the results, one of the paths of the LTSSM test configuration to include a different one of the states and to generate a modified LTSSM test configuration. The device may provide the modified LTSSM test configuration for tracing through by the device under test.

## Claims

### Claim 1

A method, comprising:
generating, by a device, a link training and status state machine (LTSSM) test configuration that includes states and paths connecting the states;
providing, by the device, the LTSSM test configuration for tracing through by a device under test;
receiving, by the device, results associated with tracing through of the LTSSM test configuration by the device under test;
modifying, by the device and based on the results, one of the paths of the LTSSM test configuration to include a different one of the states and to generate a modified LTSSM test configuration; and
providing, by the device, the modified LTSSM test configuration for tracing through by the device under test.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
providing, in the LTSSM test configuration, a defined path that couples one or more actions to one or more states in the defined path.

### Claim 3 (depends on 2)

The method of claim 2, wherein an LTSSM path comparator of the device enables definition of the path that couples the one or more actions to the one or more states in the path.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
determining whether an actual path of the LTSSM test configuration is equal to the defined path; and
performing an action based on determining that the actual path is equal to the defined path.

### Claim 5 (depends on 4)

The method of claim 4, wherein performing the action comprises one of:
performing no operation;
enabling, disabling, or resetting an ordered state override instance of the LTSSM test configuration;
forcing a transition to a control state of the LTSSM test configuration; or
replacing default transitions of the LTSSM test configuration with a single transition to another control state.

### Claim 6 (depends on 1)

The method of claim 1, wherein the device under test is an endpoint device or a root complex device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving additional results associated with tracing through of the modified LTSSM test configuration by the device under test;
modifying, based on the additional results, the modified LTSSM test configuration to generate a further modified LTSSM test configuration; and
providing the further modified LTSSM test configuration for tracing through by the device under test.

### Claim 8

A device, comprising:
one or more memories; and
one or more processors, coupled to the one or more memories, configured to:
generate a link training and status state machine (LTSSM) test configuration that includes states and paths connecting the states;
provide the LTSSM test configuration for tracing through by a device under test,
wherein the device under test is an endpoint device or a root complex device;
receive results associated with tracing through of the LTSSM test configuration by the device under test;
modify, based on the results, one of the paths of the LTSSM test configuration to include a different one of the states and to generate a modified LTSSM test configuration; and
provide the modified LTSSM test configuration for tracing through by the device under test.

### Claim 9 (depends on 8)

The device of claim 8, wherein the one or more processors are further configured to:
enable traffic, generated based on the LTSSM test configuration, to be overwritten with defined traffic sequences.

### Claim 10 (depends on 9)

The device of claim 9, wherein the one or more processors are further configured to:
select one or more ordered sets from the traffic; and
enable the one or more ordered sets to be overwritten with the defined traffic sequences.

### Claim 11 (depends on 9)

The device of claim 9, wherein the one or more processors are further configured to:
process the traffic overwritten with the defined traffic sequences, with a physical coding sublayer, prior to providing the traffic to the device under test.

### Claim 12 (depends on 8)

The device of claim 8, wherein the one or more processors are further configured to:
enable definition of a control state that modifies the LTSSM test configuration before returning to a regular LTSSM state.

### Claim 13 (depends on 12)

The device of claim 12, wherein the control state is transitioned to immediately after the LTSSM test configuration enters the regular LTSSM state.

### Claim 14 (depends on 12)

The device of claim 12, wherein the control state overrides default transitions provided in the LTSSM test configuration.

### Claim 15

A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising:
one or more instructions that, when executed by one or more processors of a device, cause the device to:
generate a link training and status state machine (LTSSM) test configuration that includes states and paths connecting the states;
provide the LTSSM test configuration for tracing through by a device under test;
receive results associated with tracing through of the LTSSM test configuration by the device under test;
modify, based on the results, the LTSSM test configuration to generate a modified LTSSM test configuration; and
provide the modified LTSSM test configuration for tracing through by the device under test.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the one or more instructions further cause the device to:
provide, in the LTSSM test configuration, a defined path that couples one or more actions to one or more states in the defined path;
determine whether an actual path of the LTSSM test configuration is equal to the defined path; and
perform an action based on determining that the actual path is equal to the defined path.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein the one or more instructions, that cause the device to perform the action, cause the device to one of:
perform no operation;
enable, disable, or reset an ordered state override instance of the LTSSM test configuration;
force a transition to a control state of the LTSSM test configuration; or
replace default transitions of the LTSSM test configuration with a single transition to another control state.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the one or more instructions further cause the device to:
receive additional results associated with tracing through of the modified LTSSM test configuration by the device under test;
modify, based on the additional results, the modified LTSSM test configuration to generate a further modified LTSSM test configuration; and
provide the further modified LTSSM test configuration for tracing through by the device under test.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the one or more instructions further cause the device to:
enable traffic, generated based on the LTSSM test configuration, to be overwritten with defined traffic sequences; and
process the traffic overwritten with the defined traffic sequences, with a physical coding sublayer, prior to providing the traffic to the device under test.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the one or more instructions further cause the device to:
enable definition of a control state that modifies the LTSSM test configuration before returning to a regular LTSSM state,
wherein the control state is transitioned to immediately after the LTSSM test configuration enters the regular LTSSM state, or
wherein the control state overrides default transitions provided in the LTSSM test configuration.
