# US 2021/0263875 A1 · Method and system for automatic bifurcation of pcie in bios

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

- Number: US 2021/0263875 A1
- Document ID: US20210263875A1
- Status: Published application
- Kind: A1
- Application number: 16/802,161
- Filed: 2020-02-26
- Published: 2021-08-26
- Earliest claimed: 2020-02-26
- Assignees: Quanta Computer Inc.
- Applicants: Quanta Computer Inc.
- Inventors: Yu-Han LIN
- Web page: https://patentgrep.com/patent/US20210263875A1

## CPC

- G06F 13/4045: {where the bus bridge performs an extender function}
- G06F 9/4403: {Processor initialisation}
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F 13/4221: {being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus}
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for automatically generating a control bifurcation signal to configure ports of a PCIe IO unit on a computing device. The lanes of the PCIe IO unit are divided into initial ports of the lowest granularity. It is determined whether a PCIe device is connected to each of the initial ports. The bifurcation port configuration of the PCIe IO unit is determined based on the initial ports having a connected PCIe device. Ports for the PCIe IO unit are configured based on the bifurcation port configuration.

## Claims

### Claim 1

A system for automatic bifurcation detection and configuration of a peripheral component interconnect (PCIe) input/output (TO) unit, the system comprising:
a computing device including a PCIe IO unit having a plurality of configurable lanes;
a PCIe device connected to at least some of the lanes of the PCIe IO unit; and
a bifurcation configuration device operable to:
divide the lanes of the PCIe IO unit into a plurality of initial ports, each of the initial ports having the lowest granularity of the lanes,
detect which of the plurality of initial ports the PCIe device is connected to,
detect which of the ports of the plurality of initial ports that are unused;
determine a bifurcation port configuration for the PCIe IO unit based on a rule correlating one of a plurality of bifurcation port configurations with which of the plurality of initial ports have the PCIe device connected and which of the plurality of initial ports are unused; and
store the bifurcation port configuration for the PCIe IO unit.

### Claim 2 (depends on 1)

The system of claim 1, wherein the configuration device is operable to merge an initial port without a detected PCIe device with another initial port.

### Claim 3 (depends on 1)

The system of claim 1, wherein the configuration device includes a basic input output system (BIOS).

### Claim 4 (depends on 1)

The system of claim 1, wherein the PCIe device is selected from the group consisting of a network interface card (NIC), a non-volatile memory express (NVMe) device, a redundant array of independent disks (RAID) card, a host bus adapter (HBA) card, a video card, a sound card, a graphics processing unit (GPU) card, a field programmable gate array (FPGA) card, and a PCIe switch.

### Claim 5 (depends on 1)

The system of claim 1, wherein the configuration device includes lane reversal rules for the lane connections between the PCIe IO unit and the PCIe device, and wherein the configuration device adjusts the bifurcation configuration for lane reversal.

### Claim 6 (depends on 1)

The system of claim 1, wherein the PCIe IO unit has sixteen configurable lanes and there are four lowest granularity initial ports.

### Claim 7 (depends on 1)

The system of claim 1, wherein the computing device is a central processing unit (CPU).

### Claim 8 (depends on 7)

The system of claim 7, wherein the computing device includes a plurality of PCIe IO units, and each of the PCIe IO units is configured by the bifurcation configuration device.

### Claim 9 (depends on 1)

The system of claim 1, wherein the configuration device is further operable to:
reboot the system after configuring the PCIe IO unit;
determine whether any previously detected PCIe devices are not detected; and
reconfigure the ports of the PCIe IO unit if any previously detected PCIe devices are not detected.

### Claim 10 (depends on 1)

The system of claim 1, wherein the PCIe device is one of a plurality of PCIe devices connected to the lanes of the PCIe IO unit.

### Claim 11

A method of automatically providing a bifurcation control signal to configure a peripheral component interconnect (PCIe) input/output (TO) unit on a computing device, the method comprising:
dividing the lanes of the PCIe IO unit into a plurality of initial ports of the lowest granularity;
detecting whether a PCIe device is connected to each of the plurality of initial ports via the configuration device;
determining the bifurcation port configuration of the PCIe IO unit based on a rule correlating one of a plurality of bifurcation port configurations with which of the plurality of initial ports have the PCIe device connected and which of the plurality of initial ports are unused via the configuration device; and
configuring ports for the PCIe IO unit based on the bifurcation port configuration.

### Claim 12 (depends on 11)

The method of claim 11, further comprising merging an initial port without a detected PCIe device with another initial port.

### Claim 13 (depends on 11)

The method of claim 11, wherein the configuration device includes a basic input output system (BIOS).

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
determining lane reversal of the lane connections between the PCIe IO unit and the PCIe device; and
adjusting the bifurcation configuration for lane reversal.

### Claim 15 (depends on 11)

The method of claim 11, wherein the PCIe IO unit has sixteen configurable lanes, and there are four lowest granularity initial ports.

### Claim 16 (depends on 12)

The method of claim 12, wherein the computing device is a central processing unit (CPU).

### Claim 17 (depends on 16)

The method of claim 16, wherein the computing device includes a plurality of PCIe IO units, and ports of each of the PCIe IO units are configured by the configuration device.

### Claim 18 (depends on 11)

The method of claim 11, further comprising:
rebooting the system after configuring the PCIe IO unit;
determining whether any previously detected PCIe devices are not detected; and
reconfiguring the ports of the PCIe IO unit if any previously detected PCIe devices are not detected.

### Claim 19

A basic input output system firmware executable on a controller, the firmware including instructions that:
divide the lanes of a PCIe IO unit into a plurality of initial ports of the lowest granularity;
detect whether a PCIe device is connected to each of the plurality of initial ports;
determine the bifurcation port configuration of the PCIe IO unit based on a rule correlating one of a plurality of bifurcation port configurations with which of the plurality of initial ports have the PCIe device connected and which of the plurality of initial ports are unused; and
configure ports of the PCIe IO unit based on the bifurcation port configuration.
