IP Library › Granted Patent US 11,983,136
Granted Patent B2
US 11,983,136 · App. 17/504,884 · Granted May 14, 2024

PCIe device and operating method thereof

Inventors: Yong Tae Jeon (Icheon, KR); Sang Hyun Yoon (Icheon, KR); Se Hyeon Han (Icheon, KR)
Assignee: SK hynix Inc.
G06F13/4221G06F1/08G06F13/364G06F13/4045G06F2213/0026
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 11,983,136
App. No.
17/504,884
Granted
May 14, 2024
Kind
B2
Abstract

A Peripheral Component Interconnect Express (PCIe) device performing communication with a host through a PCIe link includes a first physical function, a plurality of second physical functions, and a function mode controller. The first physical function manages the PCIe link and receives function mode control information from the host. Each of the plurality of second physical functions may be enabled or disabled according to a respective operation mode. Based on the function mode control information, the function mode controller sets the operation modes of the plurality of second physical functions to one of an active mode and an inactive mode.

Claims (30)

1. A Peripheral Component Interconnect Express (PCIe) device, the PCIe device comprising:

a first physical function managing a PCIe link and receiving function mode control information from a host;

a plurality of second physical functions assigned to a plurality of system images and respectively enabled or disabled according to respective operation modes; and

a function mode controller setting the operation modes of the plurality of second physical functions based on the function mode control information, each of the operation modes being set to one of an active mode and an inactive mode,

wherein one or more second physical functions set to the active mode, among the plurality of second physical functions, perform a configuration operation in which configuration spaces respectively corresponding to the one or more second physical functions are set, and provides physical resources of the PCIe device to one or more system images assigned to the one or more second physical functions among the plurality of system images, and

wherein remaining second physical functions set to the inactive mode, among the plurality of second physical functions, stop providing the physical resources to remaining system images assigned to the remaining second physical functions among the plurality of system images according to clock gating.

2. The PCIe device of claim 1 , wherein the function mode control information includes at least one of a number of second physical functions to be enabled among the plurality of second physical functions, identification information of the second physical functions to be enabled, a number of second physical functions to be disabled among the plurality of second physical functions, and identification information of the second physical functions to be disabled.

3. The PCIe device of claim 1 , wherein the first physical function receives the function mode control information using one of a vendor-defined message, a vendor-defined capability, a new PCIe capability defined by a user, Management Component Transport Protocol (MCTP) over SMbus (System Manager bus), and MCTP over PCIe.

4. The PCIe device of claim 1 , wherein the first physical function provides the host with unsupported request (UR) information when the PCIe device receives from the host a request intended for a second physical function of the plurality of second physical functions and the second physical function is set to the inactive mode.

5. The PCIe device of claim 1 , further comprising a function status manager storing information related to a second physical function among the plurality of second physical functions when the second physical function is set to the inactive mode.

6. The PCIe device of claim 5 , wherein the function status manager provides the host with unsupported request (UR) information when the PCIe device receives from the host a request for the second physical function and the second physical function is set to the inactive mode.

7. The PCIe device of claim 1 , wherein a second physical function among the plurality of second physical functions provides the host with Configuration Request Retry Status (CRS) information when the second physical function receives a request from the host while the second physical functions is in a process of being set to the active mode or is in a process of being set to the inactive mode.

8. The PCIe device of claim 1 , wherein a second physical function among the plurality of second physical functions provides the host with successful completion (SC) information when the second physical function receives a request from the host and the second physical function is set to the active mode.

9. The PCIe device of claim 1 , wherein

each of the configuration spaces include information for configuring a corresponding second physical function; and

the one or more second physical functions operate based on the information included in the configuration spaces.

10. The PCIe device of claim 9 , wherein the one or more second physical functions provide the host with the information included in the configuration spaces.

11. A method of operating a Peripheral Component Interconnect Express (PCIe) device including a first physical function and a plurality of second physical functions, the first physical function managing a PCIe link coupled to a host, the method comprising:

receiving function mode control information from the host through the first physical function;

setting an operation mode of each of the plurality of second physical functions based on the function mode control information, each operation mode being respectively set to one of an active mode and an inactive mode;

performing a configuration operation in which configuration spaces respectively corresponding to one or more second physical functions set to the active mode, among the plurality of second physical functions, are set to provide physical resources of the PCIe device to one or more system images assigned to the one or more second physical functions; and

clock gating remaining second physical functions set to the inactive mode, among the plurality of second physical functions, to stop providing the physical resources to system images assigned to the remaining second physical functions.

12. The method of claim 11 , wherein the function mode control information includes at least one of a number of second physical functions to be enabled among the plurality of second physical functions, identification information of the second physical functions to be enabled, a number of second physical functions to be disabled among the plurality of second physical functions, and identification information of the second physical functions to be disabled.

13. The method of claim 11 , wherein receiving the function mode control information comprises receiving the function mode control information using one of a vendor-defined message, a vendor-defined capability, a new PCIe capability defined by a user, Management Component Transport Protocol (MCTP) over SMbus (System Manager bus), and MCTP over PCIe.

14. The method of claim 11 , further comprising providing the host with Unsupported Request (UR) information in response to receiving from the host a request intended for a second physical function set to the inactive mode among the plurality of second physical functions.

15. The method of claim 11 , further comprising providing the host with Configuration Request Retry Status (CRS) information in response to receiving from the host a request intended for a second physical function among the plurality of second physical functions while the second physical function is being set to the active mode or the inactive mode.

16. The method of claim 11 , further comprising providing the host with Successful Completion (SC) information in response to receiving from the host a request intended for a second physical function set to the active mode among the plurality of second physical functions.

17. The method of claim 11 , wherein the configuration operation is performed in response to receiving from the host a configuration request intended for a second physical function.

18. The method of claim 11 , wherein performing the configuration operation further comprises:

providing the host with information included in the configuration space of the second physical function.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 20, 2021
From: JEON, YONG TAE; YOON, SANG HYUN; HAN, SE HYEON
To: SK HYNIX INC.
Reel/Frame 057864/0169 →
Priority Claims (1)
KR 10-2021-0048073 · Apr 13, 2021 · national
Continuity (1)
Related Publication 20220327081A1 · Oct 13, 2022