# US 2020/0394076 A1 · Information Handling System And Method To Allocate Peripheral Component Interconnect Express (PCIE) Bus Resources

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

- Number: US 2020/0394076 A1
- Document ID: US20200394076A1
- Status: Published application
- Kind: A1
- Application number: 16/438,062
- Filed: 2019-06-11
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Chih-Yu Chan; Terry Matula
- Web page: https://patentgrep.com/patent/US20200394076A1

## CPC

- G06F 9/5022: {Mechanisms to release resources}
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 11/2284: {by power-on test, e.g. power-on self test [POST]}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Information handling systems (IHSs) and methods are provided herein to allocate Peripheral Component Interconnect Express (PCIe) bus resources to a plurality of PCIe slots according to various PCIe bus resource allocation option settings. At least one host processor is included within the IHS for executing program instructions to detect a PCIe bus allocation option setting selected from a plurality of options provided in a boot firmware setup menu; determine if the PCIe bus allocation option setting has changed since the IHS was last booted; and allocate PCIe bus resources to the plurality of PCIe slots according to the detected PCIe bus allocation option setting. The plurality of options provided in the boot firmware setup menu include at least an auto detect option, which when selected, enables the at least one host processor to automatically detect unused PCIe slots and reallocate PCIe bus resources to used PCIe slots.

## Claims

### Claim 1

A computer-implemented method executed by a host processor of an information handling system (IHS) having a plurality of Peripheral Component Interconnect Express (PCIe) slots provided on a system motherboard, wherein the computer-implemented method is performed each time the IHS is booted at the start of a Power-On Self-Test (POST), and wherein the computer-implemented method comprises:
detecting a PCIe bus allocation option setting selected from a plurality of options provided in a boot firmware setup menu, wherein said plurality of options comprise at least an auto detect option; and
determining whether or not the PCIe bus allocation option setting has changed since the IHS was last booted;
wherein if the PCIe bus allocation option setting has changed since the last boot and the auto detect option is detected, the method further comprises:
automatically detecting which of the plurality of PCIe slots are used and unused;
releasing PCIe bus resources previously allocated to any PCIe slots determined to be unused; and
reallocating the released PCIe bus resources to one or more of the PCIe slots determined to be used.

### Claim 2 (depends on 1)

The computer-implemented method as recited in claim 1, wherein said automatically detecting which of the plurality of PCIe slots are used and unused comprises:
determining that a PCIe slot is used upon detecting a device present signal supplied from a pin on the PCIe slot; and
determining that the PCIe slot is unused if no device present signal is detected from the pin on the PCIe slot.

### Claim 3 (depends on 1)

The computer-implemented method as recited in claim 1, wherein if said automatically detecting determines that each of the plurality of PCIe slots on the system motherboard are used, the method further comprises allocating PCIe bus resources relatively evenly to the plurality of PCIe slots.

### Claim 4 (depends on 1)

The computer-implemented method as recited in claim 1, wherein if said automatically detecting determines that one or more of the plurality of PCIe slots are unused, said reallocating comprises reallocating the released PCIe bus resources to one or more of the used PCIe slots based, at least in part, on at least one of: a number of the host processors included within the IHS, a number of the PCIe slots provided on the system motherboard and a lane width of the PCIe slots.

### Claim 5 (depends on 4)

The computer-implemented method as recited in claim 4, further comprising determining at least one of: the number of host processors included within the IHS, the number of PCIe slots provided on the system motherboard and the lane width of the PCIe slots prior to said reallocating.

### Claim 6 (depends on 4)

The computer-implemented method as recited in claim 4, further comprising detecting the system motherboard ID to determine the number of host processors included within the IHS, the number of PCIe slots provided on the system motherboard and the lane width of the PCIe slots prior to said reallocating.

### Claim 7 (depends on 4)

The computer-implemented method as recited in claim 4, wherein if said automatically detecting determines that one or more of the plurality of PCIe slots are unused, said reallocating comprises:
reallocating the released PCIe bus resources relatively evenly to only the used PCIe slots having a larger lane width.

### Claim 8 (depends on 4)

The computer-implemented method as recited in claim 4, wherein if said automatically detecting determines that one or more of the plurality of PCIe slots are unused, said reallocating comprises:
reallocating a larger amount of the released PCIe bus resources relatively evenly to the used PCIe slots having a larger lane width; and
reallocating a smaller amount of the released PCIe bus resources to the used PCIe slots having a comparatively smaller lane width.

### Claim 9 (depends on 1)

The computer-implemented method as recited in claim 1, wherein said plurality of options further comprises one or more of: a default option, an optimize for Thunderbolt option, and one or more custom options.

### Claim 10 (depends on 9)

The computer-implemented method as recited in claim 9, further comprising determining if Thunderbolt support is enabled for the IHS prior to said detecting a PCIe bus allocation option setting.

### Claim 11 (depends on 10)

The computer-implemented method as recited in claim 10, wherein if Thunderbolt support is enabled, the method further comprises:
automatically selecting the optimize for Thunderbolt option and rendering the default option, the auto detect option and the one or more custom options unavailable for user selection in the boot firmware setup menu;
allocating sufficient PCIe bus resources to the PCIe slots that support Thunderbolt; and
allocating remaining PCIe bus resources to the other PCIe slots based, at least in part, on at least one of: a number of the host processors included in the system, a number of the PCIe slots provided on the system motherboard and a lane width of the PCIe slots.

### Claim 12 (depends on 10)

The computer-implemented method as recited in claim 10, wherein if Thunderbolt support is disabled, the PCIe bus allocation option setting has changed since the last boot and the auto detect option is not detected, the method further comprises:
allocating PCIe bus resources to the PCIe slots according to the detected PCIe bus allocation option setting, wherein said allocation is based, at least in part, on at least one of: a number of the host processors included within the IHS, a number of the PCIe slots provided on the system motherboard and a lane width of the PCIe slots.

### Claim 13

An information handling system (IHS), comprising:
a plurality of Peripheral Component Interconnect Express (PCIe) slots provided on a system motherboard, wherein each PCIe slot is configured to connect to a PCIe end device;
at least one host processor coupled to one or more of the PCIe slots, wherein the at least one host processor is configured to execute:
a first set of program instructions to detect a PCIe bus allocation option setting selected from a plurality of options provided in a boot firmware setup menu, wherein said plurality of options comprise at least an auto detect option, which when selected, enables the at least one host processor to automatically detect unused PCIe slots and reallocate PCIe bus resources to used PCIe slots;
a second set of program instructions to determine whether or not the PCIe bus allocation option setting has changed since the IHS was last booted; and
a third set of program instructions to allocate PCIe bus resources to the plurality of PCIe slots according to the detected PCIe bus allocation option setting.

### Claim 14 (depends on 13)

The information handling system as recited in claim 13, wherein if the PCIe bus allocation option setting has changed since the last boot and the auto detect option is detected, the third set of program instructions are executed by the host processor to:
automatically detect which of the plurality of PCIe slots are used and unused;
release PCIe bus resources previously allocated to any PCIe slots determined to be unused; and
reallocate the released PCIe bus resources to one or more of the PCIe slots determined to be used.

### Claim 15 (depends on 14)

The information handling system as recited in claim 14, further comprising a platform controller hub (PCH) coupled to the PCIe slots and to the at least one host processor, wherein the PCH comprises a plurality of general purpose input/output (GPIO) pins that are coupled to present pins on the PCIe slots, and wherein the third set of program instructions are executed to:
determine that a particular PCIe slot is used, if a device present signal is detected via a GPIO pin of the PCH and a present pin of the particular PCIe slot; and
determine that the particular PCIe slot is unused, if no device present signal is detected.

### Claim 16 (depends on 14)

The information handling system as recited in claim 14, wherein if one or more of the PCIe slots are determined to be unused, the third set of program instructions are executed by the host processor to reallocate the released PCIe bus resources to one or more of the used PCIe slots based, at least in part, on at least one of: a number of the host processors included within the IHS, a number of the PCIe slots provided on the system motherboard and a lane width of the PCIe slots.

### Claim 17 (depends on 16)

The information handling system as recited in claim 16, wherein if one or more of the PCIe slots are determined to be unused, the third set of program instructions are executed by the host processor to:
reallocate the released PCIe bus resources relatively evenly to only the used PCIe slots having a larger lane width.

### Claim 18 (depends on 16)

The information handling system as recited in claim 16, wherein if one or more of the PCIe slots are determined to be unused, the third set of program instructions are executed by the host processor to:
reallocate a larger amount of the released PCIe bus resources relatively evenly to the used PCIe slots having a larger lane width; and
reallocate a smaller amount of the released PCIe bus resources to the used PCIe slots having a comparatively smaller lane width.

### Claim 19 (depends on 13)

The information handling system as recited in claim 13, wherein said plurality of options further comprises one or more of: a default option, an optimize for Thunderbolt option, and one or more custom options.

### Claim 20 (depends on 19)

The information handling system as recited in claim 19, wherein prior to executing the first set of program instructions to detect the PCIe bus allocation option setting, the at least one host processor is configured to execute a fourth set of program instructions to determine if Thunderbolt support is enabled for the IHS.

### Claim 21 (depends on 20)

The information handling system as recited in claim 20, wherein if Thunderbolt support is enabled, the at least one host processor is configured to execute a fifth set of program instructions to:
automatically select the optimize for Thunderbolt option and render the default option, the auto detect option and the one or more custom options unavailable for user selection in the boot firmware setup menu;
allocate sufficient PCIe bus resources to the PCIe slots that support Thunderbolt; and
allocate remaining PCIe bus resources to the other PCIe slots based, at least in part, on at least one of: a number of the host processors included in the system, a number of the PCIe slots provided on the system motherboard and a lane width of the PCIe slots.

### Claim 22 (depends on 20)

The information handling system as recited in claim 20, wherein if Thunderbolt support is disabled, the PCIe bus allocation option setting has changed since the last boot and the auto detect option is not detected, the at least one host processor is configured to execute the third set of program instructions to allocate PCIe bus resources to the PCIe slots according to the detected PCIe bus allocation option setting, wherein said allocation is based, at least in part, on at least one of: a number of the host processors included within the IHS, a number of the PCIe slots provided on the system motherboard and a lane width of the PCIe slots.
