The present invention relates generally to the data processing field, and more particularly, relates to method and apparatus for implementing modal selection of a bimodal coherent accelerator in a computer system.
Peripheral Component Interconnect Express (PCIE) has become the industry standard IO bus for server computer systems, as well as personal computers (PCs). Traditionally, servers install PCIE IO adapters (IOAs) in slots within a system unit that connect through a PCI host bridge to the system memory and processor buses.
A need exists for an efficient and effective method and apparatus for implementing detection and modal selection of a bimodal coherent accelerator, such as a Coherently Attached Processor Interface (CAPI) accelerator unit in a computer system.
Principal aspects of the present invention are to provide a method and apparatus for implementing detection and modal selection of a bimodal coherent accelerator in a computer system. Other important aspects of the present invention are to provide such method and apparatus substantially without negative effects and that overcome many of the disadvantages of prior art arrangements.
In brief, a method and apparatus are provided for implementing detection and modal selection of a bimodal coherent accelerator in a computer system. Implementing modal selection of a bimodal coherent accelerator using a PCI-Express standard Vendor Specific Extended Capability (VSEC) structure containing CAPI VSEC data in the configuration space of a CAPI-capable PCIE adapter and procedures defined in the Coherent Accelerator Interface Architecture (CAIA) to enable and control a coherent coprocessor adapter over PCIE. A CAPI-capable PCIE adapter is enabled to be bimodal and operate in conventional PCI-Express (PCIE) transaction modes or CAPI modes that utilize CAIA coherence and programming interface capabilities.
In accordance with features of the invention, the CAPI-capable PCIE adapter is enabled to be selectively configured and enabled in either PCIE transaction mode or CAPI mode by configuration firmware in the computer system or server system in which the PCIE IO adapter is installed.
In accordance with features of the invention, firmware first determines if the PCIE slot in which an adapter is plugged is itself capable of operating in CAPI mode. If the slot containing the adapter is CAPI capable, as part of firmware inspection of the adapter PCIE configuration space the firmware searches for a CAPI VSEC structure in a configuration space capability list. As the CAPI VSEC is a vendor defined structure, the firmware includes knowledge of specific PCIE vendor IDs that implement a CAPI VSEC according to the inventive definition of the VSEC. Alternatively, CAPI VSEC data may be encapsulated in other PCIE configuration structures of a CAPI-capable adapter, such as vital product data (VPD) within another space of the adapter, or other configuration registers or structures suitably extended to contain CAPI VSEC data. Firmware may detect and select the operating mode of the adapter irrespective of the particular configuration structure that contains CAPI VSEC data.
In accordance with features of the invention, at any time that firmware detects a CAPI capable adapter in a CAPI capable slot, as part of firmware configuration prior to enabling operating system use of the adapter, firmware utilizes the CAPI VSEC to activate the adapter in CAPI mode.
The present invention together with the above and other objects and advantages may best be understood from the following detailed description of the preferred embodiments of the invention illustrated in the drawings, wherein:
In the following detailed description of embodiments of the invention, reference is made to the accompanying drawings, which illustrate example embodiments by which the invention may be practiced. It is to be understood that other embodiments may be utilized and structural changes may be made without departing from the scope of the invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In accordance with features of the invention, a method and apparatus are provided for implementing detection of a bimodal coherent accelerator adaptor and selection of operating mode.
Having reference now to the drawings, in
PCIE host bridge (PHB) 112 provides an interface for a respective PCI bus 114 to connect to I/O bus 112 and a respective PCI-Express Bus Hierarchy 116 to a plurality of PCIE input/output (IO) adapters 118. The computer system 100 is, for example, logically partitioned such that different PCIE IO adapters 118 may be assigned to different logical partitions. The I/O bridge 110, memory controller/cache 106, and PCIE Host Bridge 112 of the computer system 100 may further include facilities that implement the CAIA so as to enable coherent accelerator adapters to operate in CAPI mode with the processors 102 and memories 108.
As shown in
Computer system 100 is shown in simplified form sufficient for an understanding of the invention. Computer system 100 can be implemented with various computers, for example, with one of the computer servers manufactured by International Business Machines Corporation. Computer system 100 can be implemented with one or a plurality of coherent accelerators 138, each having CAPI VSEC data 136. The illustrated computer system 100 is not intended to imply architectural or functional limitations. The present invention can be used with various hardware implementations and systems and various other internal hardware devices.
In accordance with features of the invention, implementing modal selection of a bimodal coherent accelerator is implemented using a PCI-Express standard Vendor Specific Extended Capability (VSEC) structure or CAPI VSEC data 136 in the configuration space of a CAPI-capable PCIE adapter 118 and procedures defined in the Coherent Accelerator Interface Architecture (CAIA) to enable and control a coherent coprocessor adapter over PCIE. PCIE IO adapter 118 are enabled to be bimodal and operate in conventional PCI-Express transaction modes or CAPI modes that utilize CAIA coherence and programming interface capabilities in the I/O bridge 110, PCIE host bridges 112, and memory controller/cache 106. These adapters 118 are enabled to be selectively configured and enabled in either mode by configuration firmware in the server in which these adapters are installed.
In accordance with features of the invention, the presence or absence of the CAPI VSEC indicates that the adapter 118 is or is not capable of coherent accelerator modes of PCIE IO transactions, respectively. The content of the CAPI VSEC data 136 provides for selective enablement of the coherent accelerator mode of operation, to identify to configuration firmware and higher level operating system functions the capabilities and characteristics of the adapter while operating in CAPI mode, and to enable configuration firmware or higher level operating system functions to establish certain operating characteristics of the adapter while operating in CAPI mode.
Referring now to
The accelerator 301 includes a PCIE configuration space 316 containing CAPI VSEC data in a CAPI VSEC structure 318 linked in the adapter configuration Capability list. Alternatively, the configuration space may contain CAPI VSEC data 318 in other vendor-defined registers within the configuration space 316, vital product data (VPD) or other structures addressed through the configuration space 316, or other structures addresssable through the adapter configuration space 316.
Referring also to
As indicated in a block 408, the content of the CAPI VSEC identifies to configuration firmware and higher level operating system functions the capabilities and characteristics of the adapter while operating in CAPI mode. As indicated in a block 410, firmware uses the content of the CAPI VSEC to enable and establish capabilities and characteristics of the adapter while operating in CAPI mode. Adapter configuration is complete as indicated in a block 412.
Referring now to
A sequence of program instructions or a logical assembly of one or more interrelated modules defined by the recorded program means 504, 506, 508, and 510, direct the systems 100 for implementing modal selection of a bimodal coherent accelerator of the preferred embodiment.
While the present invention has been described with reference to the details of the embodiments of the invention shown in the drawing, these details are not intended to limit the scope of the invention as claimed in the appended claims.
This application is a continuation application of Ser. No. 14/606,296 filed Jan. 27, 2015.
Number | Name | Date | Kind |
---|---|---|---|
7689751 | Feehrer | Mar 2010 | B2 |
7827343 | Frey et al. | Nov 2010 | B2 |
7979592 | Pettrey | Jul 2011 | B1 |
8463969 | Shah et al. | Jun 2013 | B2 |
8495252 | Lais et al. | Jul 2013 | B2 |
8521941 | Regula | Aug 2013 | B2 |
8539134 | Bacher et al. | Sep 2013 | B2 |
20100153685 | Yehia | Jun 2010 | A1 |
20120284446 | Biran | Nov 2012 | A1 |
20130145071 | Chu et al. | Jun 2013 | A1 |
20140108697 | Wagh | Apr 2014 | A1 |
20140201467 | Blaner et al. | Jul 2014 | A1 |
20140379997 | Blaner | Dec 2014 | A1 |
20150220461 | Auernhammer | Aug 2015 | A1 |
20150261707 | Craddock et al. | Sep 2015 | A1 |
20160147984 | Bakke et al. | May 2016 | A1 |
20160188780 | Greenwood | Jun 2016 | A1 |
20160217101 | Johns | Jul 2016 | A1 |
Entry |
---|
Appendix P—List of IBM Patents or Patent Applications Treated as Related—May 8, 2015. |
PCI-SIG Engineering Change Notice, Feb. 12, 2015 pp. 1-9. |
Coherent Accelerator Processor Interface (CAPI) for Power8 Systems, White Paper, Bruce Wile, Sep. 29, 2014, pp. 1-13. |
Overview of Changes to PCI Express September 1.1, Mindshare, Jun. 2005. |
Power8 Processor Packs a Twelve-Core Punch—and Then Some, Sep. 9, 2013. |
PCI Express Base Specification Revision 3.0 Nov. 10, 2010. |
Number | Date | Country | |
---|---|---|---|
20160217101 A1 | Jul 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14606296 | Jan 2015 | US |
Child | 14696929 | US |