IP Library › Granted Patent US 9,015,396
Granted Patent B2
US 9,015,396 · App. 13/622,266 · Granted Apr 21, 2015

Reducing latency in a peripheral component interconnect express link

Inventors: Michael W. Murphy (Menlo Park, CA); Joshua P. de Cesare (Campbell, CA); Timothy R. Paaske (San Jose, CA)
Assignee: Apple Inc.
G06F13/24G06F1/3253Y02B60/1235
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,015,396
App. No.
13/622,266
Granted
Apr 21, 2015
Kind
B2
Abstract

A method and system are described for reducing latency in a peripheral component interconnect express (PCIe) link between a host and an endpoint. In the described embodiments, an interrupt is issued from the endpoint to the host using the PCIe link. Then, while the interrupt is pending at the host, the PCIe link is prevented from entering a power-saving mode with an exit latency greater than a predetermined time period.

Claims (42)

1. A method for reducing a latency in a peripheral component interconnect express (PCIe) link between a host and an endpoint, comprising:

issuing an interrupt from the endpoint to the host using the PCIe link; and

while the interrupt is pending at the host, preventing the PCIe link from entering a power-saving mode from a set of power-saving modes with an exit latency greater than a predetermined time period, but permitting the PCIe link to enter at least one acceptable power-saving mode from the set of power-saving modes, wherein the exit latency for the at least one acceptable power-saving mode is equal to or less than the predetermined time period.

2. The method of claim 1 , wherein:

the predetermined time period is determined based on information including an acceptable response delay for the host.

3. The method of claim 1 , wherein:

preventing the PCIe link from entering the power-saving mode includes preventing the PCIe link from entering an L1 link state mode.

4. The method of claim 1 , wherein:

preventing the PCIe link from entering the power-saving mode includes preventing the PCIe link from entering L1 link sub-state modes L1.1 and L1.2.

5. The method of claim 1 , wherein:

preventing the PCIe link from entering the power-saving mode includes setting a latency tolerance reporting (LTR) value based on the predetermined time period.

6. The method of claim 1 , wherein:

when the interrupt is no longer pending at the host, cease preventing the PCIe link from entering the power-saving mode with the exit latency greater than the predetermined time period.

7. The method of claim 1 , wherein:

when the endpoint has no pending request at the host that requires a response from the endpoint, cease preventing the PCIe link from entering the power-saving mode with the exit latency greater than the predetermined time period.

8. An endpoint that reduces a latency in a peripheral component interconnect express (PCIe) link between a host and the endpoint, comprising:

a processing subsystem in the endpoint, wherein the processing subsystem is configured to communicate with the host over the PCIe link and configured so that after an interrupt is issued by the endpoint to the host using the PCIe link and while the interrupt is pending at the host, the processing subsystem prevents the PCIe link from entering a power-saving mode from a set of power-saving modes with an exit latency greater than a predetermined time period, but permits the PCIe link to enter at least one acceptable power-saving mode from the set of power-saving modes, wherein the exit latency for the at least one acceptable power-saving mode is equal to or less than the predetermined time period.

9. The endpoint of claim 8 , wherein:

the processing subsystem is configured to determine the predetermined time period based on information including an acceptable response delay for the host.

10. The endpoint of claim 8 , wherein:

the processing subsystem is configured to prevent the PCIe link from entering the power-saving mode by preventing the PCIe link from entering an L1 link state mode.

11. The endpoint of claim 8 , wherein:

the processing subsystem is configured to prevent the PCIe link from entering the power-saving mode by preventing the PCIe link from entering L1 link sub-state modes L1.1 and L1.2.

12. The endpoint of claim 8 , wherein:

the processing subsystem is configured to prevent the PCIe link from entering the power-saving mode by setting a latency tolerance reporting (LTR) value based on the predetermined time period.

13. The endpoint of claim 8 , wherein:

the processing subsystem is configured to cease preventing the PCIe link from entering the power-saving mode when the interrupt is no longer pending at the host.

14. A non-transitory computer-readable storage medium containing instructions that, when executed by a processing subsystem in an endpoint, cause the endpoint to perform a method for reducing a latency in a peripheral component interconnect express (PCIe) link between a host and the endpoint, the method comprising:

issuing an interrupt from the endpoint to the host using the PCIe link; and

while the interrupt is pending at the host, preventing the PCIe link from entering a power-saving mode from a set of power-saving modes with an exit latency greater than a predetermined time period, but permitting the PCIe link to enter at least one acceptable power-saving mode from the set of power-saving modes, wherein the exit latency for the at least one acceptable power-saving mode is equal to or less than the predetermined time period.

15. The computer-readable storage medium of claim 14 , wherein:

the predetermined time period is determined based on information including an acceptable response delay for the host.

16. The computer-readable storage medium of claim 14 , wherein:

preventing the PCIe link from entering the power-saving mode includes preventing the PCIe link from entering an L1 link state mode.

17. The computer-readable storage medium of claim 14 , wherein:

preventing the PCIe link from entering the power-saving mode includes preventing the PCIe link from entering L1 link sub-state modes L1.1 and L1.2.

18. The computer-readable storage medium of claim 14 , wherein:

preventing the PCIe link from entering the power-saving mode includes setting a latency tolerance reporting (LTR) value based on the predetermined time period.

19. The computer-readable storage medium of claim 14 , wherein:

when the interrupt is no longer pending at the host, cease preventing the PCIe link from entering the power-saving mode with the exit latency greater than the predetermined time period.

20. The computer-readable storage medium of claim 14 , wherein:

when the endpoint has no pending request at the host that requires a response from the endpoint, cease preventing the PCIe link from entering the power-saving mode with the exit latency greater than the predetermined time period.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 5, 2012
From: MURPHY, MICHAEL W.; DE CESARE, JOSHUA P.; PAASKE, TIMOTHY R.
To: APPLE INC.
Reel/Frame 029239/0821 →
Continuity (1)
Related Publication 20140082242A1 · Mar 20, 2014