The present disclosure relates generally to an information handling system, and more particularly to a method for generation of a configuration descriptor for a chipset in an information handling system.
As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option available to users is information handling systems. An information handling system generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information. Because technology and information handling needs and requirements vary between different users or applications, information handling systems may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated. The variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, information handling systems may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems.
Information handling systems such as for example, servers include a boot system that operates to perform boot operations to initialize a chipset in the server. In some examples, a boot system in a server may include a processor that is coupled to one or more memories. In some examples, the one or more memories may include an non-volatile memory express (NVMe) storage, serial peripheral interface read-only memory (SPI ROM), and/or the like that store a static built-in chipset table and a basic input output system (BIOS). Typically, the BIOS receives the static built-in chipset configuration descriptor from the memory at run-time. The static built-in chipset table includes port configurations of the chipset specific to that server model (e.g., platform) and may not be suitable to initialize the chipset on other platforms. The static built-in chipset table may also not be suitable to update and/or change the port configurations of the chipset on that server model.
Accordingly, it is desirable to provide a configuration descriptor for a chipset that is usable for different platforms and different situations.
The following summary introduces certain aspects of the inventive subject matter in order to provide a basic understanding. This summary is not an extensive overview of the inventive subject matter, and it is not intended to identify key or critical elements or to delineate the scope of the inventive subject matter. Although this summary contains information that is relevant to various aspects and embodiments of the inventive subject matter, its sole purpose is to present some aspects and embodiments in a general form as a prelude to the more detailed description below.
Consistent with some embodiments, a method is provided to generate a configuration descriptor for a chipset in a computing unit. In some embodiments, the method includes receiving, by one or more processors, a plurality of desired interface configurations for the chipset, identifying each of the plurality of the desired interface configurations. The method further includes for each respective one of the plurality of the desired interface configurations, determining one or more ports of the chipset and corresponding platform connectors of the computing unit that satisfy features of the respective desired interface configuration based on a chipset description and a platform description. The method further comprises assigning a port from among the determined one or more ports to the respective desired interface configuration. The method further comprises generating a chipset configuration descriptor based on the assigning of ports to each of the one or more desired interface configurations.
Consistent with some embodiments, a system is provided to generate a configuration descriptor for a chipset in a computing unit. In some embodiments, the system includes a memory and one or more processors coupled to the memory and configured to execute instructions to cause the system to perform operations. The operations include receiving, by one or more processors, a plurality of desired interface configurations for the chipset and identifying each of the plurality of the desired interface configurations. The operations further include for each respective one of the plurality of the desired interface configurations, determining one or more ports of the chipset and corresponding platform connectors of the computing unit that satisfy features of the respective desired interface configuration based on a chipset description and a platform description, assigning a port from among the determined one or more ports to the respective desired interface configuration, and generating a chipset configuration descriptor based on the assigning of ports to each of the one or more desired interface configurations.
These and other aspects of the present disclosure will be more readily apparent from the detailed description of the embodiments set forth below taken in conjunction with the accompanying drawings.
In the figures, elements having the same designations have the same or similar functions.
In the following description, specific details are set forth describing some examples consistent with the present disclosure. It will be apparent, however, to one skilled in the art that some examples may be practiced without some or each of these specific details. The specific examples disclosed herein are meant to be illustrative but not limiting. One skilled in the art may realize other elements that, although not specifically described here, are within the scope and the spirit of this disclosure. In addition, to avoid unnecessary repetition, one or more features shown and described in association with one example may be incorporated into other examples unless specifically described otherwise or if the one or more features would make an example non-functional.
In some examples, chipset 108 typically includes a set of electronic components in an integrated circuit that controls and/or manages data flow between processor 102, memory 106, platforms connectors 110, 112, and 114, etc. via ports 116, 118, 120, and 122. In some examples, chipset 108 is designed to work with a specific family of chipsets and/or processors from specific vendors (e.g., AMD®, Intel®, etc.) and may be integrated together as a System on Chip (SoC). In some examples, chipset 108 may be configured differently to work with different platforms. In some examples, platforms may be a motherboard, a blade, and/or the like on a server (e.g., computing unit 100). In some examples, different chipsets may have a different number of ports. In some examples, chipset 108 may include additional ports or a subset of the illustrated ports.
Chipset 108 is dynamically initialized at run-time. In some embodiments, chipset 108 is dynamically initialized by a chipset initialization procedure using a chipset descriptor. In some examples, the chipset initialization procedure may be stored in one or more system components such as BIOS 104 and/or the like. When the chipset initialization code is executed by processor 102, chipset 108 is initialized by BIOS 104. According to some embodiments, when the chipset initialization procedure is executed, BIOS 104 receives information about chipset 108, the ports of chipset 108, and platform connectors 110, 112, and 114 and desired interfaces for chipset 108 that may be used to initialize chipset 108. In some examples, BIOS 104 receives this information in the form of tables, such as a chipset description table, a platform description table, a desired interface configuration table, and/or the like. In some examples, BIOS 104 receives these tables from one or more system components such as processor 102, memory 106, chipset 108, etc., and/or external devices such as complex programmable logic device (CPLD), a platform management controller (BMC), and/or the like. In some examples, these tables include, but are not limited to, characteristics of a physical layer that lanes of each port of chipset 108 are coupled to (e.g., SATA, PCIe, Glink, Ethernet, etc.), bifurcation of each port of chipset 108 (1×16, 2×8, 4×4, 8×2, etc.), power management states, capabilities (e.g., speed and hotplug, etc.), platform connectors, input/output (I/O) devices, and/or the like. In some examples, BIOS 104 receives these tables via an application programming interface (API) through buses, wires, transmission lines, and/or the like.
A physical connection between a component and a port of chipset 108 is commonly referred to as a link. A port of chipset 108 is an interface on chipset 108 that may be used to communicate with one or more devices external to chipset 108. Ports 116, 118, 120, and 122 are coupled to communication channels used to transfer data between chipset 108, processor 102, memory 106, platforms connectors 110, 112, and 114, etc. In some embodiments, each of ports 116, 118, 120, and 122 may have 16 lanes. Typically, each lane includes two pairs of channels, one to send data and one to receive data. Hence, each lane is a full-duplex connection. In some embodiments, one or more lanes of each of ports 116, 118, 120, and 122 may be used to establish data communication between chipset 108 and an end-point device. In some examples, an end-point device may be a memory, a platform connector, a graphics card, an audio card, an Ethernet card, etc. In some examples, each port may be configured to support different widths to facilitate different bandwidths or speeds for data communication. For example, a port that includes a single lane is called an ×1 port, a port that includes two lanes is called an ×2 port and a port that includes four lanes is called an ×4 port, respectively. In some examples, a port may be configured to support different widths, such as ×1, ×2, ×4, ×8, ×12, ×16, ×32, and/or the like, to meet the different bandwidth requirements of various end-point devices. Thus, a dedicated bus may be 1-lane, 2-lane, 4-lane, 8-lane, 12-lane, 16-lane, 32-lane, and/or the like wide. In some embodiments, a port on chipset 108 may be configured to be bifurcated to communicate with multiple end-point devices concurrently. A port bifurcation may be a factor in determining the distribution of the lanes to multiple end-point devices.
In some examples, a port bifurcation may bifurcate a port with a same and/or different widths to distribute lanes to multiple end-point devices to accommodate for different bandwidths or speeds of the multiple end-point devices. In some examples, in a 1×16 port bifurcation, a port is configured to support a single link with 16 lanes that is coupled to a single end-point device and in a 2×8 port bifurcation, a port is configured to support two links, with each link having 8 lanes. In some examples, a port on chipset 108 may support other port bifurcations such as 8×2, 4×4, etc. In some examples, the ports may support one or more different communication protocols such as peripheral component interconnect (PCI), PCI Express (PCIe), serial at attachment (SATA), gigabyte link (Glink), Ethernet, and/or the like. In some examples, the ports of chipset 108 are configured by BIOS 104. In some examples, ports 116, 118, 120, and 122 of chipset 108 are configured by a chipset configuration descriptor which is built or generated by BIOS 104 at run-time.
Platform connectors 110, 112, and 114 may be platform connectors coupled to different end-point devices such as graphics cards, memories, audio cards, Ethernet cards, flash drives, display ports, and/or the like. to transfer and receive data to and from end-point devices coupled to these platform connectors. In some examples, platform connectors 110, 112, and 114 may have different connector types such as mezzanine slots, backplanes, risers, special connectors (e.g. slimlines), embedded devices, and/or the like. In some examples, platform connectors 110, 112, and 114 may support one or more communication protocols such as PCI, PCIe, SATA, Glink, Ethernet, and/or the like. As further shown in
As discussed above and further emphasized hereafter,
Chipset description table 200 provides information about capabilities and features of each port of a chipset, such as chipset 108. In some examples, silicon type 204 indicates a vendor of the chipset. In the example of row 1 in
In some examples, enable status 206 indicates whether a port on a chipset is enabled. In the example of row 1 in
In some examples, port ID 208 indicates a port identifier of the port on a chipset. In the example of row 1 in
In some examples, port type 210 indicates communication interfaces that the port on a chipset supports such as PCIe, SATA, Glink, and/or the like. In the example of row 1 in
In some examples, global lane offset 212 indicates a global lane offset of the port. In the example of row 1 in
In some examples, Dev. Num. 214 is an end-point device identifier that indicates the end-point device that a port is coupled to. In the example of row 1 in
In some examples, Func. Num. 216 indicates a function, a program code, and/or an operation that the identified end-point device may access and/or operate. In the example of row 1 in
In some examples, bifurcation support 218 indicates the types of bifurcations that the port may support. In the example of row 1 in
In some examples, hotplug support 220, indicates whether the port supports hotplugging (i.e., whether the port detects a new end-point device is coupled to computing unit 100, while computing unit 100 is operating). In the example of row 1 in
In some examples, power capability 222 indicates a maximum power that a port can support in Watts. In the example of row 1 in
It is understood that chipset description table 200 contains examples of types of rows/entries that may occur in a chipset description table. It is also understood that fields described in chipset description table 200 may be represented by different labels and/or numerical values. For example, a port type may be represented as port-1 or a numerical value of 1. In some examples, a chipset description table for an actual chipset may include the same, fewer, and/or more ports/rows and/or columns than are depicted in chipset description table 200. In some examples, others 226 indicates other fields may be included in chipset description table 200.
In some examples, connector ID 306 indicates an identification of a platform connector. In the example of row 1 in
In some examples, lane offset 308 indicates a lane offset from which the platform connector is coupled to a port. In the example of row 1 in
In some examples, lanes field 310 indicates a number of lanes of the platform connector that are coupled to a port. In the example of row 1 in
In some examples, connector type 314 indicates a type of the platform connector. In the example of row 1 in
In some examples, chipset port ID 316 indicates an identification of a port that the platform connector is coupled to. In the example of row 1 in
In some examples, connector hotplug support 318 indicates whether the platform connector supports hotplugging. In the example of row 1 in
In some examples, connector power capability 320 indicates a maximum power that a platform connector can support. In the example of row 1 in
It is understood that platform description table 300 contain examples of types of rows/entries that may occur in a platform description table. It is also understood that fields described in platform description table 300 may be represented by different labels and/or numerical values. For example, connector ID 306 may be represented as Glink001 or a numerical value of 001. In some examples, a platform description table for an actual platform may include the same, fewer, and/or more platform connectors/rows and/or columns than are depicted in platform description table 300. In some examples, others 322 indicates that other fields may be included in platform description table 300 such as lane reversal, type of a platform connector (e.g., a riser, a mezzanine slot, an embedded connector, and/or the like), and/or the like.
Desired interface configuration table 400 provides information about desired interface configurations to be implemented on a chipset and a platform, such as chipset 108 and computing unit 100 of
In some embodiments, when desired interface configuration table corresponds to an already configured chipset, the information in desired interface configuration table 400 is detected and discovered by a CPLD, a BMC, and/or the like. In some examples, the values for each of the fields of desired interface configuration table 400 are detected and discovered by the CPLD, the BMC, and/or the like through pins of chipset 108 that are coupled to I/O pins of the CPLD, the BMC, and/or the like. In some embodiments, fields of desired interface configuration table 400 are detected and discovered at run-time.
In some examples, port type 410 indicates a type of the desired interface. In the example of row 1 in
In some examples, lane count 414 indicates a number of lanes for the desired interface. In the example of row 1 in
In some examples, hotplug support 416 indicates whether the desired interface should support hotplugging. In the example of row 1 in
In some examples, lane offset 418 indicates a desired offset of lanes on a platform connector for the desired interface. In the example of row 1 in
In some examples, lane width 420 indicates a desired lane width of the desired interface. In the example of row 1 in
In some examples, bayld ID 422 indicates a desired drive bay identification of a platform connector for the desired interface. In the example of row 1 in
In some examples, one or more fields in desired interface configuration table 400 may be used to indicate a desired grouping of the desired interface configurations such as a drive bay identification (bayld ID 422), an index (not shown), a connector identifier (not shown), a connector type (not shown), and/or the like.
It is understood that desired interface configuration table 400 contains examples of types of rows/entries that may occur in a desired interface configuration table. It is also understood that fields described in desired interface configuration table 400 may be represented by different labels and/or numerical values. For example, port type 410-1 may be represented as Glink-ID1 or a numerical value of 01. In some examples, a desired interface configuration table may include fewer or more desired interface configurations/rows and/or columns than are depicted in desired interface configuration table 400. In some examples, others 424 indicates that other fields may be included in desired interface configuration table 400 such as lane reversal, and/or the like.
It is understood that desired interface configurations versus platform connector and port combinations table 500 contain examples of desired types of rows/entries that may occur in a desired interface configurations versus platform connector and port combinations table. It is also understood that fields described in desired interface configurations versus platform connector and port combinations table 500 may be represented by different labels and/or numerical values. For example, a cell represented as True may be represented as Yes or a numerical value of 1. In some examples, a desired interface configurations versus platform connector and port combinations table for an actual chipset and/or a platform may include the same, fewer, and/or more desired interface configuration rows and/or columns than are depicted in desired interface configurations versus platform connector and port combinations table 500.
In some embodiments, chipset configuration descriptor 600 may include a header section 602a and a port details section 602b.
In some examples, header section 602a may include, but is not limited to, fields such as a socket ID 604, a table size 606, a table signature 608, and/or the like. In some examples, some or all of header section 602a may be generated after port details section 602b is generated. In some examples, some or all of header section 602a may be updated after each port is added to port details section 602b. In some examples, socket ID 604 is a socket/silicon identifier and indicates a vendor of chipset 108. In some examples, table size 606 indicates a number of bytes of chipset configuration descriptor 600. In some examples, table signature 608 provides a check value for validating chipset configuration descriptor 600. In some examples, table signature 608 may be generated by one or more methods, such as a cyclic redundancy check (CRC), a checksum, and/or the like. In some examples, socket ID 604 may indicate the vendor of the chipset for which the chipset configuration descriptor 600 was generated. In some examples, the values for socket ID 604 may be similar to silicon type 204 in chipset description table 200 in
It is understood that header section 602a contains examples of types of rows/entries that may occur in a chipset configuration descriptor. It is also understood that fields described in header section 602a may be represented by different labels and/or numerical values. For example, socket ID 604 may be represented as a numerical value of 1. In some examples, a header section may include the same, fewer, and/or more rows and/or columns than are depicted in header section 602a.
In some examples, port details section 602b may include, but is not limited to, fields such as a port number 610, a port type 612, a hotplug support 614, a start lane 616, an end lane 618, an enable status 620, a device number (Dev. Num.) 622, a function number (Func. Num.) 624 fields, and/or the like.
In some examples, each row/entry in port details section 602b corresponds to each a row/entry in a desired interface configuration table, such as desired interface configuration table 400 from
In some examples, port type 612 indicates a type of a port. In the example of row 1 in port details section 602b in
In some examples, hotplug support 614 indicates whether a port supports hotplugging. In the example of row 1 in port details section 602b in
In some examples, start lane 616 indicates a start lane of a port. In the example of row 1 in port details section 602b in
In some examples, end lane 618 indicates an end lane of a port. In the example of row 1 in port details section 602b in
In some examples, enable status 620 indicates whether a port is enabled. In the example of row 1 in port details section 602b in
In some examples, Dev. Num. 622 is an end-point device identifier that indicates the end-point device that a port is coupled to. In the example of row 1 in port details section 602b in
In some examples, Func. Num. 624 indicates a function, a program code, and/or an operation that the identified end-point device may access and/or operate. In the example of row 1 in port details section 602b in
It is understood that port details section 602b contains examples of types of rows/entries a port details section. It is also understood that fields described in port details section 602b may be represented by different labels and/or numerical values. For example, port type 612 may be represented as port-01, as a numerical value of 01, and/or the like. In some examples, a port details section may include the same, fewer, and/or more ports/rows and/or columns as indicated by others field 626 than are depicted in port details section 602b.
In some examples, a static chipset table discussed above cannot be used to configure the ports on the chipset as the port and/or platform configurations may be different for different combinations of chipsets and platforms. In some examples, a static chipset table may not be usable with different platforms. As such, a method for generating a dynamic chipset configuration descriptor to configure the ports of the chipset based on the actual chipset and platform to be configured. In some examples, ports on a chipset may be coupled to different platform connectors on different platforms. In some examples, ports and platform connectors may support different features and requirements such as port types, bifurcations, number of lanes, power requirements, hotplug requirements, and/or the like. Therefore, there may be many platform connector and port combination assignment possibilities or candidates to choose therefrom to assign each of the desired interface configurations to a platform connector and port combination that are able to support the desired interface configuration. As such, an algorithm may be applied to choose a best fit or candidate for assigning the desired interface configurations and use it to build a dynamic chipset configuration descriptor for different combinations of chipsets and platforms.
Method 700 may be performed by one or more applications, such as BIOS 104 in processor 102, to configure, update, and validate a configuration descriptor of a chipset at run-time. In some embodiments, a different chipset configuration descriptor is generated for different chipsets, different platforms, and/or the like. In some examples, a different chipset configuration descriptor is generated when the chipset is replaced with a different chipset in a platform. In some embodiments, a different chipset configuration descriptor is generated when the chipset and/or the platform is changed and/or updated. In some embodiments, a different chipset configuration descriptor is generated to change and/or update the port configuration of the chipset without having to update the firmware (i.e., BIOS 104). According to some embodiments, the order of processes 820 and 830 may be revered. Several aspects of method 700 are described via reference to the non-limiting examples of tables and policies in
At a process 710, a chipset description, a chipset policy, and a platform description are determined. In some examples, the chipset description and the platform description may be represented in different formats such as tables and/or the like. In some examples, the chipset description may include information consistent with the entries in chipset description table 200 and the platform description table may be consistent with platform description table 300. According to some embodiments, the chipset description table, the chipset policy, and the platform description table are received by BIOS 104 of
At a process 720, desired interface configurations are determined. In some examples, the desired interface configurations may be represented in different formats such as tables and/or the like. In some examples, the desired interface configuration table may include information consistent with the entries in desired interface configuration table 400. According to some embodiments, the desired interface configuration table is received by BIOS 104 of
At a process 730, each of the desired interface configurations is identified. In some examples, the desired interface configurations are identified and analyzed. In some examples, the desired interface configurations are identified by methods such as parsing, decoding, etc. In some examples, each desired interface configuration may have a specific configuration such as port type, a number of lanes, a hotplugging requirement, and/or the like. Examples of desired interface configurations are shown in
At a process 740, one or more suitable platform connector and port combinations for each desired interface configuration are determined. In some embodiments, a platform connector and a port form a combination when they are coupled. In some embodiments, a platform connector and port combination is considered suitable for a desired interface configuration when it is determined that they support the configuration, features, and requirements specified in the desired interface configuration. In some examples, a platform connector and port combination supports a desired interface configuration when both of the port and its platform connector supports each of the configuration, the features, and the requirements of the desired interface configuration such as a port type, a lane requirement, a hotplug requirement, a power requirement, a bifurcation requirement, and/or the like. In some examples, a platform connector and port combination for a desired interface configuration may be determined by performing methods 800 and 900 for that desired interface configuration.
At a process 810, a port type of a desired interface configuration is identified. In some examples, the port type of the desired interface configuration is identified by a port type field in the desired interface configuration table. In the example of row 1 in
At a process 820, platform connectors that support the port type in the desired interface configuration are identified or found in the platform description table. In some examples, the platform connectors are identified by a corresponding connector type as indicated in a connector type field in the platform description table. In the example of row 1 in
At a process 830, it is determined which ports on the chipset support the port type of the desired interface configuration. Each of the ports on the chipset that are coupled to a platform connector that supports the port type of the desired interface configuration are evaluated to determine whether they also support the port type of the desired interface configuration.
In some embodiments, it is determined that the identified port on the chipset supports the port type of the desired interface configuration when the identified port supports the communication interface of the desired interface configuration. In some examples, the port of the identified platform connectors that support the port type of the desired interface configuration are identified or found by a chipset port identifier in the platform description table. In some examples, the port of each identified platform connector may correspond to a port in the chipset description table by a port identifier based on the chipset port identifier in the platform description table. In some examples, the port types supported by each identified port are identified in a port type field in the chipset description table. In some examples, each identified port may support one or more port types. In some examples, one or more identified port may support the port type of the desired interface configuration.
In the example of row 1 in
In the example of row 2 in
Thus, in the example of row 1 in
At a process 840, it is determined whether the platform connector and the port combination support features and requirements of the desired interface configuration. In some examples, one or both of the platform connector and the port combination may not support each of the features and requirements of the desired interface configuration. In some examples, the features and requirements of the desired interface configuration may include a hotplug requirement, a power requirement, an enable status, a number of lanes requirement, and/or the like. In some examples, if the identified platform connector does not support the lanes requirement of the desired interface configuration, multiple platform connectors may be used to support the lanes requirement of the configuration. In some examples, multiple combinations of platform connectors and the ports may support the features and requirements of the desired interface configuration. In some examples, whether each of the combinations of platform connectors and the ports supports the features and requirements of the desired interface configuration may be determined by performing a method 900 for that desired interface configuration against each of the ports identified in process 830.
At a process 910, it is determined whether the platform connector and port combination support the hotplugging requirements of the desired interface configuration. In some examples, one or both of the platform connector and its corresponding port may not support the hotplugging requirement of the desired interface configuration. In some examples, the hotplug support of the identified platform connector may be indicated in a connector hotplug support field in the platform description table. In some examples, the hotplug support of the port on the chipset may be indicated in hotplug support field in the chipset description table. When the desired interface configuration does not require hotplugging, the hotplugging support by a platform connector and a port may be ignored because a platform connector and/or a port that supports hotplugging also supports a desired interface configuration that does not require hotplugging. When the desired interface requires hotplugging support, both of the platform connector and the port have to support hotplugging, Thus, when the desired interface configuration requires hotplugging support and either of the platform connector and its corresponding port does not support hotplugging, it is determined that the platform connector and port combination do not support a desired interface configuration that requires hotplugging.
In the example of row 1 in the desired interface configuration table 400 requires hotplugging as indicated by 1 in hotplug support 416-1. In the example of the PortId_01/CON-A combination in row 1 in
In the example of the PortId_03/CON-B combination in row 2 in
In the example of the PortId_03/CON-B combination in row 4 in
At a process 920, it is determined whether the platform connector and port combination support the power requirements of the desired interface configuration. In some examples, one or both of the platform connector and its corresponding port may not support the power requirements of the desired interface configuration. In some examples, the power capability of the port on the chipset may be indicated in a power capability field in the chipset description table. In some examples, the power capability of the platform connector may be indicated in a connector power capability field in the platform description. In some embodiments, when each of the power of the platform connector and port is more than or equal to the power requirement of a desired interface configuration, it is determined that the platform connector and port support the power requirements of the desired interface configuration.
In the example of the PortId_01/CON-A combination in row 1 in
In the example of the PortId_03/CON-B combination in row 2 in
At a process 930, it is determined whether the platform connector and port combination support the lane requirements of the desired interface configuration. In some examples, one or both of the platform connector and its corresponding port may not support the lane requirements of the desired interface configuration. In some examples, the number of lanes that the port on the chipset supports may be indicated by the difference between global lane offset fields of the port and the subsequent port in the chipset description. In some examples, the offset and number of the lanes of the platform connector that are coupled to the port may be indicated in a lane offset and lanes field in the platform description. In some embodiments, when the number of lanes available in each of the platform connector and port are more than or equal to the number of lane requirements of the desired interface configuration, it is determined that the platform connector and port combination supports the lane requirements of the desired interface configuration. In some examples, if the platform connector does not have enough lanes to support the lanes requirement of the desired interface configuration and/or if the port does not have enough lanes to support the lanes requirement of the desired interface configuration, the desired interface configuration may be split between multiple platform connectors and/or ports which is discussed in detail further below.
In the example of PortId_01/CON-A combination in row 1 in
In the example of PortId_03/CON-B combination in row 2 in
At a process 940, it is determined whether the platform connector and port combination supports the bifurcation of the desired interface configuration. In some embodiments, it is determined that the platform connector and port combination supports the bifurcation of the desired interface configuration when both the platform connector and port have enough lanes and the port is able to support the bifurcation of the desired interface configuration.
In the example of the PortId_01/CON-A combination in row 1 of
In the example of PortId_03/CON-B combination in row 2 in
Referring back to
In some examples, if both of the platform connector and the port of a combination support each of the features and requirements of a desired interface configuration such as a port type, a hotplug requirement, a power requirement, a lane requirement, a bifurcation requirement and/or the like of a desired interface configuration (e.g., when the platform connector and the port pass each of the tests in process 860 and method 900), the corresponding cell in table 500 is filled out by a True notation. In some examples, if one or both of the platform connector and the port do not support the each of the features and requirements of the desired interface configuration (e.g., when even one of the platform connector and the port does not pass each of the tests in process 860 and method 900), the corresponding cell in table 500 is filled out by a False notation.
In the example of row 1 in
Again, in the example of row 1 in
In the example of row 3 in
Referring back to
In the example of row 1 in
In this example, the greedy algorithm first assigns the desired interface configuration in row 1 to PortId_01 that is coupled to platform connector CON-A 504-1 because there is a True in 504-1, the greedy algorithm then assigns the desired interface configuration in row 2 to PortId_03 that is coupled to platform connector CON-B 506-1 because there is a True in 506-2, and then the greedy algorithm tries to assign the desired interface configuration in row 3, but the only True in that row is already assigned to the desired interface configuration in row 1. Thus, the greedy algorithm is not able to successfully assign all the desired interface configurations in
In some embodiments, a brute force algorithm may be used to assign a platform connector and port combination to the desired interface configurations. In some examples, the brute force algorithm may be such that every candidate, combination, or possibility of assigning a platform connector and port combination to each desired interface configuration is tested and among which, a candidate is chosen from among the True entries. In other words, the brute force algorithm systematically tries every candidate, combination, or possibility of assigning valid ports to each desired interface configuration until every desired interface configuration can be assigned to a supporting platform connector and port combination. Thus, unlike the greedy algorithm, when the brute force algorithm finds a desired interface configuration that it is not able to assign to a platform connector and port combination, it backtracks to see if one of the previously assigned desired interface configurations may be assigned to a different platform connector and port combination.
In some embodiments, one or more heuristic rules may be used to help more efficiently assign one or more platform connector and port combination to one or more desired interface configurations. In some examples, one or more heuristic rules may be applied to assign a more constrained desired interface configuration first. In some examples, a desired interface configuration may be more constrained because it has fewer options of platform connector and port combination to which it can be assigned (e.g., has fewer True entries). In
In some examples, an algorithm is applied to choose a candidate from all the possibilities of desired interface configurations assignments and configurations that is closest or most similar to the currently implemented port assignments and configurations on chipset 108 (i.e., best-known port configurations of the ports of chipset 108).
Similarly, the algorithm may associate each of the determining tests of whether platform connector and port combination satisfy the features, requirements and/or the like of a desired interface configurations with the same numerical values as each of the features, the requirements and/or the like of the desired interface configurations.
Therefore, each of the corresponding cells for the platform connector and port combination and the desired interface configurations in a desired interface configuration versus platform connector and port combinations table (e.g., table 500 in
At a process 760, a chipset configuration descriptor is built or generated, according to some embodiments. According to some embodiments, the chipset configuration descriptor includes a header section and a port details section that provides information about the updated and/or changed port configurations of the chipset for a particular platform. According to some embodiments, the chipset configuration descriptor is built or generated based on the platform connector and port combinations assignments from the desired interface configurations versus ports and platform connectors table (e.g., desired interface configurations versus platform connector and port combinations table 500 in
In the example of row 1 in port details section 602b in
In this example, the port type of row 1 in port details section 602b of
In some examples, process 760 further includes generating a header section (e.g., header section 602a in
In the example of the header section 602a in
At a process 770, the chipset is configured using the chipset configuration descriptor. In some embodiments, the chipset is configured during the initialization of the chipset. In some examples, the chipset configuration descriptor is sent to the chipset to initialize the chipset at run-time. In some examples, BIOS 104 sends the chipset configuration descriptor to the chipset via the API of the chipset.
As discussed above and further emphasized hereafter
In some examples, one or more features and requirements may be considered essential for a desired interface configuration. Thus, in some examples when one or more essential features and requirements are not supported by a platform connector and port combination, the weighted score of the platform and port connector pair is forced to zero.
Additionally, process 750 may be adapted to choose a platform connector and port combination candidate for each of the desired interface configurations such that a total of the weighed scores of the assigned platform connector and port combinations for every desired interface configurations has the highest total with respect to other totals of weighed scores for different assignments of the platform and port connector pairs to the desired interface configurations.
In some examples, the selection based on the highest total of the weighed scores of the platform connector and port combinations assigned to the desired interface configurations, may not result in the assignment of every desired interface configuration. Thus, process 750 may be further adapted to choose the platform connector and port combination combinations so that each of the desired interface configures is assigned to a platform and port connector pair that has a non-zero weighted score even if that does not result in the highest total among the weighted scores
According to some embodiments, method 700 may be adapted to support grouping of two or more desired interface configurations for assignment to a same platform connector and port combination and/or splitting a desired interface configuration and assigning it to two or more platform connector and port combination.
In some embodiments, method 700 may include an additional process before process 750, to determine whether each pair of desired interface configurations may be grouped into a single desired interface configuration. In some examples, a pair of two desired interface configurations may be grouped into a single desired interface configuration when each of the desired interface configurations in the pair have the same features and requirements (e.g., port type, hotplugging, bifurcation, and/or the like), the number of lanes in the pair is less than or equal to the maximum number of lanes allowed to be grouped, and the combined power requirements of the pair is supported at least by one platform connector and port combination. When it is determined that the pair of desired interface configurations can be grouped, the two desired interface configurations in the pair are removed and then replaced by a single desired interface configuration with the same features and a total number of lanes for the pair and a total power for the pair. The new desired interface configuration is then checked against the other desired interface configurations to see if it can be further grouped.
In some examples, the two desired interface configurations in a pair may still be grouped even when they do not have the same features and requirements. For example, for features such as hotplugging support, a desired interface configuration that doesn't require hotplugging support may be grouped with a desired interface configuration that does require hotplugging support as long as the desired interface configuration after the grouping indicates that hotplugging should be supported for that desired interface configuration.
In some embodiments, method 700 may include an additional process before process 750, to determine whether a desired interface configuration should be split into two desired interface configurations. In some examples, when a desired interface configuration has more lanes than the number of lanes available in any of the platform connector and port combinations, the desired interface configuration is split into two desired interface configurations with the same features and requirements as the desired interface configuration being split except that the number of lanes is split between the two new desired interface configurations. In some examples, the power requirements of the two new desired interface configurations may also be prorated based on the number of lanes placed in the two new desired interface configurations.
In some examples, the number of lanes of the desired interface configuration may be split into the two new desired interface configurations based on a default size, the number of lanes supported by the chipset port and/or the platform connector supporting the fewest number of lanes, and/or the like. For example, if a desired interface configuration has 20 lanes, and the largest number of lanes is 16, the two new desired interface configurations may be assigned 16 and 4 lanes, respectively.
Some examples of computing units, such as computing unit 100, may include non-transitory, tangible, machine-readable media that include executable code that when run by one or more processors (e.g., processor 102) may cause the one or more processors to perform the processes of methods 700-900. Some common forms of machine-readable media that may include the processes of methods 700-900 are, for example, floppy disk, flexible disk, hard disk, magnetic tape, any other magnetic medium, CD-ROM, any other optical medium, punch cards, paper tape, any other physical medium with patterns of holes, RAM, PROM, EPROM, FLASH-EPROM, any other memory chip or cartridge, and/or any other medium from which a processor or computer is adapted to read.
Although illustrative embodiments have been shown and described, a wide range of modification, change, and substitution is contemplated in the foregoing disclosure and in some instances, some features of the embodiments may be employed without a corresponding use of other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the embodiments disclosed herein.
The present disclosure is a continuation of U.S. patent application Ser. No. 16/400,715, filed on May 1, 2019, the disclosure of which is incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
6636962 | Sun et al. | Oct 2003 | B1 |
7502803 | Culter et al. | Mar 2009 | B2 |
20020099980 | Olarig | Jul 2002 | A1 |
20040243534 | Culter et al. | Dec 2004 | A1 |
20060112210 | Tseng | May 2006 | A1 |
20060136611 | Futral et al. | Jun 2006 | A1 |
20090006708 | Lim | Jan 2009 | A1 |
20100100657 | Ji et al. | Apr 2010 | A1 |
20120198110 | Wang et al. | Aug 2012 | A1 |
20170090949 | Arms | Mar 2017 | A1 |
20180060268 | Klein | Mar 2018 | A1 |
20190370011 | Liu et al. | Dec 2019 | A1 |
Number | Date | Country | |
---|---|---|---|
20210357355 A1 | Nov 2021 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16400715 | May 2019 | US |
Child | 17389162 | US |