Trusted Platform Telemetry Mechanism

By adopting a firmware-based trusted platform telemetry mechanism in the data center, the problem of untrustworthiness and security of telemetry data in the data center is solved, safe and reliable data collection and storage is achieved, and the accuracy and integrity of the data are ensured. .

CN108829525BActive Publication Date: 2024-08-23INTEL CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201810384382.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-05-03
Filing Date
2018-04-26
Publication Date
2024-08-23
Estimated Expiration
2038-04-26

AI Technical Summary

Technical Problem

Existing technologies have trust and security issues when collecting telemetry data in data centers. Software untrustworthiness leads to risks of data manipulation and attacks, making it difficult to ensure the accuracy and integrity of telemetry data.

Method used

A firmware-based trusted platform telemetry mechanism is used to securely collect and store telemetry data on the computing platform through secure communication channels and trusted firmware components, ensuring that the data cannot be tampered with by software and preventing intrusion by external threats.

Benefits of technology

It realizes safe and credible telemetry data collection and storage in the data center, prevents data tampering and attacks, ensures data accuracy and integrity, and enhances the reliability and security of telemetry data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108829525B_ABST
    Figure CN108829525B_ABST
Patent Text Reader

Abstract

The present application relates to a trusted platform telemetry mechanism and associated methods, apparatus, and firmware components. A trusted telemetry mechanism is provided to securely collect platform telemetry data from telemetry data sources on a computing platform, such as machine-specific registers (MSRs), device registers, system management bus (SMBus), and storage controllers. Various mechanisms are used to collect telemetry data from telemetry data sources and to securely store the telemetry data on the computing platform in a manner that is inaccessible to software running on the computing platform. A submission queue and completion queue model may also be implemented to facilitate the collection of telemetry data. In addition, a memory mapped input output (MMIO) aliasing scheme is provided to facilitate the collection of telemetry data from platform telemetry data sources using various access mechanisms.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Growth in processor speed, memory, storage, and network bandwidth technology has led to the build-out and deployment of networks with ever-increasing capacity. More recently, the introduction of cloud-based services such as those provided by Amazon (e.g., Amazon Elastic Compute Cloud (EC2) and Simple Storage Service (S3)) and Microsoft (e.g., Azure and Office 365) has led to additional network build-out for public network architectures, in addition to the deployment of massive data centers to support these services utilizing private network architectures.

[0002] Cloud-based services are typically facilitated by a large number of interconnected high-speed servers, where the host facilities are generally referred to as server "farms" or data centers. These server farms and data centers typically include a large number of massive rack arrays and / or blade servers placed in specially designed facilities. Many larger cloud-based services are hosted via multiple data centers distributed across geographic regions or even around the world. For example, Microsoft Azure has multiple very large data centers in each of the United States, Europe, and Asia. Amazon uses co-located and separate data centers to host its EC2 and AWS services, including more than a dozen AWS data centers in the United States alone.

[0003] In order to manage data center resources more effectively, telemetry data related to various data center resources is collected and analyzed, which is called data center analytics or cloud analytics. An example of telemetry data is the amount of L2 / L3 cache consumed on a processor, which can reveal much more detailed information about processor (and platform) utilization and usage than traditional CPU utilization measurements. Telemetry data is also used to verify performance metrics for service level agreements (SLAs) when data center resources are leased, such as for infrastructure as a service (Iaas) SLAs.

[0004] The current approach is to use software to collect telemetry data. For example, modern operating systems provide units for accessing various processor performance data, memory utilization, processes, threads, etc. This is facilitated by software code running in memory on the host system, which is inherently untrustworthy because such code can be easily manipulated and / or attacked. For example, a cloud service provider can change telemetry data to meet SLA requirements, and there will be few ways for the customer to refute the data. It would be advantageous to be able to ensure that telemetry data is accurate and trustworthy. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] The foregoing aspects of the present invention and many of the attendant advantages will become more readily appreciated as the same will become better understood by reference to the ensuing detailed description when taken in conjunction with the accompanying drawings in which like reference numerals refer to like parts throughout the various views unless otherwise specified.

[0006] Figure 1 is a schematic diagram illustrating an architecture for a security mechanism for performing telemetry measurements using firmware-based components according to one embodiment;

[0007] Figure 1a Yes Description Figure 1 An expanded schematic diagram of the architecture, where telemetry data is stored in SRAM;

[0008] Figure 2a is a block diagram illustrating a first configuration in which the telemetry driver is part of a type 1 hypervisor implemented in firmware;

[0009] Figure 2b is a block diagram illustrating a second configuration in which a telemetry driver is implemented in a firmware portion of a split type 1 hypervisor implemented via a combination of firmware and software;

[0010] Figure 2c is a block diagram illustrating a third configuration in which the telemetry driver is part of an operating system virtualization layer implemented in firmware;

[0011] Figure 2d is a block diagram illustrating a fourth configuration in which a telemetry driver is implemented in a firmware portion of a split operating system virtualization layer implemented via a combination of firmware and software;

[0012] Figure 3 is a flow chart illustrating operations and logic performed in configuring a secure telemetry mechanism implemented in firmware according to one embodiment;

[0013] Figure 4 is a flow chart illustrating operations for acquiring telemetry data via a firmware-based telemetry driver and forwarding the telemetry data to a POD manager according to one embodiment;

[0014] FIG5 is a block diagram illustrating a conventional mechanism for accessing telemetry data and a provider of the telemetry data;

[0015] Figure 6 is a combined architecture and flow chart illustrating a telemetry data acquisition mechanism using a submission queue and a completion queue according to one embodiment;

[0016] Figure 7 It is explained based on Figure 6A flowchart of an embodiment of the present invention is used to set the operation of the submission queue and the completion queue;

[0017] Figure 8 According to one embodiment, Figure 6 A schematic diagram of a platform architecture for a first push-based mechanism for collecting telemetry data from multiple telemetry data providers using a submission and completion queue model in;

[0018] Figure 8a According to one embodiment, Figure 6 A schematic diagram of a platform architecture for implementing a second push-based mechanism for collecting telemetry data from multiple telemetry data providers, wherein the telemetry data is collected by a telemetry driver and then pushed to a completion queue;

[0019] Fig. 9 is a schematic diagram of a platform architecture for implementing a memory mapped input output (MMIO) aliasing scheme in which telemetry data is accessed via MMIO addresses in a baseboard management controller; and

[0020] Fig.10 is a method for using Fig. 9 A flow chart of the operation of the MMIO alias usage scheme to collect telemetry data. DETAILED DESCRIPTION

[0021] Embodiments of trusted platform telemetry mechanisms and associated methods, devices, and firmware components are described in this application. In the description that follows, many specific details are given to provide a thorough understanding of embodiments of the present invention. However, those skilled in the relevant art will recognize that the present invention can be implemented without one or more of these specific details, or using other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the present invention.

[0022] References throughout this specification to "one embodiment" or "an embodiment" refer to particular features, structures, or characteristics described in conjunction with the embodiment included in at least one embodiment of the present invention. Thus, the phrases "in one embodiment" or "in an embodiment" appearing in various places throughout this specification do not necessarily all refer to the same embodiment. Furthermore, in one or more embodiments, particular features, structures, or characteristics may be combined in any suitable manner.

[0023] For clarity, individual components in the figures in this application may also be referred to by their labels in the figures rather than by specific reference numerals. In addition, reference numerals referring to specific types of components (as opposed to specific components) may be shown with a reference numeral followed by "(ty)" meaning "typical". It will be understood that the configuration of these components will be typical of similar components that, for simplicity and clarity, may be present in the figures but not shown, or similar components that are otherwise labeled with separate reference numerals. In contrast, "(typ)" is not to be interpreted as referring to a component, element, etc., and is typically used for its disclosed function, implementation, purpose, etc.

[0024] According to aspects of the embodiments disclosed in the present application, a mechanism for securely collecting platform telemetry data on a computing platform is disclosed. The above mechanism is implemented by using a trusted firmware component in conjunction with a secure communication channel. The above mechanism is also transparent to the software running on the computing platform and is configured so that they cannot be tampered with by using software or are not subject to external threats such as intrusions through network access to the computing platform.

[0025] Figure 1 An architecture 100 including a setup for implementing a trusted telemetry mechanism according to one embodiment is shown. The architecture 100 includes a computing platform 102 including various hardware and firmware components shown in the portion of the figure below the software / hardware split bar, including a processor 104. The processor 104 includes a processor core 106 including N processor cores 108 (also described as core 1...core N). Each processor core 108 includes a set of machine specific registers (MSRs) 110, a level 1 (L1) cache, and a level 2 (L2) cache. Each processor core 108 is coupled to a coherent interconnect 112, wherein a pair of integrated memory controllers (IMCs) 114 and 116 and a last level cache (LLC) 118 are coupled to the coherent interconnect 112. The processor 104 is further depicted as including input / output (I / O) interfaces 120 and 122 and manageability components including a manageability engine / innovation engine (ME / IE) 124.

[0026] The architecture 100 further depicts memory address spaces 126 and 128 allocated in respective memory devices such as DDR4 or DDR5 dual inline memory modules (DIMMs) coupled to IMCs 114 and 116, non-volatile flash memory devices 130, network interface controllers (NICs) 132, and baseboard management controllers (BMCs) 134. Various platform firmware 136 components are stored in the flash memory devices 130, including Unified Extensible Firmware Interface (UEFI) firmware including BIOS (Basic Input Output System) 138, manageability engine firmware 140, innovation engine firmware 142, NIC firmware 144, and hypervisor firmware 146. As further shown, the hypervisor firmware 146 includes a telemetry driver 147 for generating telemetry data 149.

[0027] The computing platform 102 is further shown connected to various system components, including a centralized system management engine (PSME) 148 and a POD manager (PODM) 150. Generally speaking, the BMC 134 may be connected to the PSME 148 and / or the POD manager 150. In embodiments where the BMC 134 is connected to the PSME 148, the PSME 148 facilitates communications between the BMC 134 and the POD manager 150. The POD manager, in turn, is connected to a network 152 that facilitates communications between the various system components and a remote management station 154. The NIC 132 is also coupled to the network 152.

[0028] For simplicity and to reduce clutter, network 152 is shown as a single cloud; however, network 152 is illustrative of one or more networks that may use the same technology and protocols or different technologies and protocols. For example, some components in the system, such as BMC 134, PSME 148, and POD manager 150 may use a network that is separate from the network accessed by NIC 132. In one embodiment, the network used by BMC 134, PSME 148, and POD manager 150 is a dedicated network that is not accessible to software running on the computing platform.

[0029] In an alternative configuration, the platform may not include a BMC, but the BMC may be located external to the platform, such as depicted by external BMC 156. In one embodiment, external BMC 156 is connected to ME / IE 124 via an out-of-band (OOB) communication channel. Alternatively, the BMC may be connected to the platform using a network connection.

[0030] During platform initialization, as described below, firmware code including hypervisor 146 will be loaded into a secure area of ​​the platform's memory address space that is not exposed to any software running on the platform, such as depicted by secure area 158 in memory address space 126. For purposes of illustration, memory address spaces 126 and 128 are shown as separate address spaces because they are shown coupled to IMCs 114 and 116. However, in practice, the physical memory address space used to access memory devices coupled to IMCs 114 and 116 is mapped to one or more virtual address spaces. As further shown, memory address space 128 is depicted as containing an OS kernel 174 and a user space 176, with use applications running in user space 176.

[0031] After the platform hardware is initialized, software such as an operating system is started, and a portion of the virtual memory address space is exposed to the software. The exposed portion of the virtual memory address space does not include the secure area 158, and thus the software is unaware of the existence of the address space. In addition, in some embodiments, the processor 104 is configured to prevent any non-privileged firmware or software from accessing the secure area 158.

[0032] In depicting Figure 1a In an optional configuration of the architecture 100a in FIG. 1 , all or a portion of the telemetry data 149 is stored in SRAM 160. Again, the memory address space of SRAM 160 is not exposed to any software running on the platform hardware 102 and is thus protected from access by the platform software. In another configuration, all or a portion of the telemetry data is stored in a set of registers that are part of the platform hardware.

[0033] The computing platform 102 is further configured to host various software components, depicted as m operating systems 162a...162m, each of which runs a respective application 164a...164m. In general, the operating system can run on the platform hardware locally or in a virtual machine (VM) or container. Figure 2a In one embodiment, shown as firmware / software architecture 200a, hypervisor firmware 146a is configured as a type 1 hypervisor for hosting multiple virtual machines VM 1 ... VM M. Under conventional schemes, the functions for a type 1 hypervisor can be implemented in a software layer. However, under firmware / software architecture 200a, the type 1 hypervisor functions are implemented in a firmware layer.

[0034] exist Figure 2b, the Type 1 hypervisor functionality is divided between the Type 1 hypervisor firmware 146a and the Type 1 hypervisor software 202. In this embodiment, the telemetry driver 147 is still implemented in the firmware portion of the hypervisor, and the hypervisor software 202 is implemented as an abstraction layer that can pass data down to the hypervisor firmware 146a but cannot access the data in the secure memory area 158. Optionally, if the telemetry data 149 is stored in the SRAM 160, the hypervisor software 202 is also prevented from accessing it.

[0035] Other embodiments support a container-based software execution environment in which applications are executed in containers. The use of container-based execution environments, such as Docker-based containers, has been widely adopted in data centers recently. (Note that other container-based implementations that do not use Docker can also be deployed.) In the firmware / hardware architecture 200c and FIG. Figure 2d Two exemplary embodiments of a container-based software execution environment are shown in the firmware / hardware architecture 200d of FIG. 1 . In the firmware / hardware architecture 200c, the hypervisor firmware 146c includes an operating system virtualization layer 204 configured to implement multiple containers, such as depicted as container 1…container M. Under the firmware / hardware architecture 200d, the operating system virtualization layer 206 is implemented in software as an abstraction layer located above the hypervisor firmware 146d. Although shown as a single layer for convenience, in some embodiments, the OS virtualization layer may include multiple layers of components, such as an operating system kernel and a virtualization layer located above the OS kernel. For example, under the Docker architecture, the Docker layer is located between the host OS and the container. Figure 2c and 2d In the embodiment of FIG. 1 , each container includes a set of binary executable files and libraries (binaries / libraries) 163 for facilitating execution of one or more applications 164 within the container.

[0036] In another embodiment (not shown), the implementation of the operating system virtualization layer functionality is divided between firmware components and software components. Under both the firmware / hardware architectures 200c and 200d, all software components are prevented from accessing the secure region 158 of the memory address space 126, or alternatively, are prevented from accessing the telemetry data 149 in the SRAM 160.

[0037] Figure 3A flow chart 300 is shown that illustrates the operations and logic performed during platform initialization according to one embodiment. The process begins with a platform reset or cold boot event, as shown in start block 302. In block 304, the UEFI BIOS begins loading and executing. UEFI provides an extensible firmware interface that enables platform firmware to be extended beyond the basic BIOS code by way of UEFI firmware modules, including ME firmware 140, IE firmware 142, and NIC firmware 144. In block 306, ME firmware 140 is loaded. If the innovation engine is implemented, IE firmware 142 is loaded in block 308. Then, NIC firmware 144 is loaded in block 310.

[0038] In an alternative configuration, the hypervisor firmware 146 may be stored on the onboard computing platform, such as with other platform firmware stored in flash memory 130, or may be securely loaded over the network 152. As shown in decision block 312, a determination is made as to whether the hypervisor firmware is local or is to be loaded via a secure network channel. If the hypervisor is stored locally, it is loaded from the onboard storage in block 314. If it is to be securely loaded over the network, a secure network channel is established in block 316, and the hypervisor firmware is loaded over the secure network channel in block 318. Figure 1 In one embodiment depicted in FIG, hypervisor firmware 146 is stored as an iPXE firmware image accessed from a network storage location. iPXE supports various loading mechanisms, including accessing the iPXE firmware image from an iSCSI storage attached network (SAN). The iPXE firmware image can also be loaded from a network server via HTTP, from a Fibre Channel via FCOE (Fibre Channel over Ethernet), and over an InfiniBand network. In one embodiment, the iPXE firmware image is encrypted, and a corresponding decryption key stored on the platform is used to decrypt the iPXE firmware image.

[0039] The hypervisor firmware is loaded into the secure memory in block 320. For example, the hypervisor firmware 146 will be loaded from the flash memory 130 into the secure memory 158 if stored locally, or will be loaded over the network and into the secure memory 158 if stored in the network.

[0040] In block 322, the hypervisor firmware establishes a secure channel between itself and the ME / IE. Figure 1166. In one embodiment, the secure channel is established using certificates 170 and 172. In one embodiment, certificates 170 and 172 are stored in and retrieved from BMC 134. In addition to using a certificate-based security scheme, various other well-known schemes may be used to establish secure channel 166, as will be appreciated by those skilled in the art.

[0041] In block 324, the platform firmware loading is completed, after which the software is loaded and / or one or more operating systems are started in end block 326. For example, in the case where the hypervisor firmware 146 implements a type 1 hypervisor, software for implementing one or more virtual machines will be loaded, and then the operating system image will be started on the VM. If the hypervisor firmware 146 is configured to be implemented in an operating system virtualization layer, the corresponding container software is loaded, and then the operating system image running in the container is loaded and started.

[0042] Figure 4 A flowchart 400 illustrating ongoing operations for collecting and securely forwarding telemetry data is shown. As shown in blocks 402 and 404, the telemetry driver collects telemetry data related to software running on a computing platform and stores the collected software telemetry data in secure memory. In parallel, the telemetry driver also collects telemetry data from platform hardware registers in block 406 and stores the collected hardware telemetry data in secure memory in block 408.

[0043] In block 410, the ME / IE reads the processor core MSR telemetry data. In block 412, the telemetry driver uses the secure channel established with the ME / IE to access the MSR telemetry data from the ME / IE, and then, in block 414, stores the MSR telemetry data in secure memory.

[0044] As through Figure 4 In general, each of the operations in blocks 402, 404, 406, 408, 410, 412, and 414 is performed on an ongoing basis, as depicted by the loop described in . Periodically, or in response to a request for telemetry data, the telemetry driver provides the collected software, hardware, and processor core MSR telemetry data to the BMC, as shown in block 416. Similarly, periodically or on demand, the POD manager accesses the collected software, hardware, and processor core MSR telemetry data from the BMC, as shown in block 418.

[0045] Processor telemetry event generation using submission, completion queue model

[0046] As shown in Figure 5, there are many sources of telemetry data on today's computing platforms. However, generally speaking, there is no consolidation for exposing telemetry information even at the RAS feature level. In addition, the information format can differ between platform generations. There is also a conflict of interest between the platform vendor and the operating system; for example, the OS wants to see every error, while the vendor wants to abstract errors to avoid unnecessary support calls. As a result, the same telemetry feature is exposed differently on different computing platforms.

[0047] According to further aspects of the embodiments disclosed in the present application, a submission and completion queue model is implemented, under which queue commands are submitted to a submission queue, retrieved from the submission queue, and processed to generate and / or collect telemetry data. A completion queue is implemented, in which a completion queue entry is entered, the completion queue entry containing one or more of the following: data identifying the queue command, telemetry data generated and / or collected via processing the queue command, and the location of such telemetry data, while a consumer of the telemetry data reads the completion queue entry and accesses the telemetry data based on the data in the completion queue entry.

[0048] exist Figure 6 6. As depicted, the model includes a host 600 and a queue change notification block 602. In the illustrated embodiment, each of the submission queue 604 and the completion queue 606 is implemented in a host memory 608. However, this is merely exemplary, as the model can be implemented in other memories, such as SRAM 160. In the illustrated embodiment, the submission queue 604 is implemented as a circular FIFO (first-in-first-out) queue including a head pointer 610 and a tail pointer 612. Similarly, the completion queue 606 is implemented as a circular FIFO queue including a head pointer 614 and a tail pointer 616.

[0049] As further depicted by the circled numbers and associated operations, processing telemetry data under this mechanism proceeds as follows. First, a queue command is submitted at the slot currently pointed to by the tail pointer 612 in the submission queue 604, and the tail pointer is advanced by one slot. In the depicted embodiment, the queue command is submitted by the BMC / IE 605 representing a BMC or IE; however, this is merely exemplary, as other management controllers or management entities on the host or in communication with the host can issue the queue command.

[0050] The queue command identifies telemetry data to be generated and / or forwarded by one of the telemetry data providers. In a second operation, the BMC / IE 605 presses the submission queue doorbell to notify the host hardware that a new queue command has been submitted to the submission queue 604, as indicated by the submission queue tail doorbell 618. As depicted by the third operation, the host hardware (e.g., an IP block, processor microcode, or SMM on the host) retrieves the previously submitted queue command pointed to by the head pointer 610 and advances the head pointer by one slot. The queue command is then processed by the telemetry data provider during a fourth operation.

[0051] In one example, the BMC or IE requests the host hardware to provide memory bandwidth information in a specific telemetry queue number (which may be a public queue by default) at 10 second intervals, the host hardware accepts the command and responds if it can provide the requested operation, indicating that the command is successful. Next, the host hardware starts streaming the memory bandwidth information to the telemetry queue number every 10 seconds.

[0052] In another example, the BMC or IE requests the host hardware to provide a notification in a telemetry queue number whenever the processor core temperature reaches a threshold, such as 85° C. (Alternatively, a filter can be used to identify a specific core or socket number.) The host hardware monitors the processor core temperature and whenever the core temperature exceeds the threshold, it sends a notification to the telemetry queue number.

[0053] After processing of the queue command is completed, a fifth operation is performed, under which a completion queue entry is entered into the completion queue 606 at the time currently pointed to by the tail pointer 616 and the tail pointer is advanced by one time slot. In general, a completion queue entry may include one or more of the following: data identifying a queue command that has been completed, telemetry data generated and / or collected via processing the queue command, or a pointer to such telemetry data. Following this, in one embodiment, an interrupt is generated during the sixth operation to notify the consumer that new telemetry data is available. Alternatively, under the pull model, the consumer will periodically pull telemetry data in response to polling or doorbell ringing. During the seventh operation, the position of the head pointer 614 is read, and the head pointer 614 is advanced by one time slot. Then, a doorbell ring identifying the new head is submitted to the consumer, as indicated by the completion queue head doorbell 620.

[0054] In the depicted embodiment, the BMC / IE 605 is a consumer of telemetry data, but, as previously described, this is merely exemplary and non-limiting, as other entities on the host or other entities communicating with the host may be consumers of telemetry data. Under various schemes, the submission and completion queue models may place the generated telemetry data in a location accessible to consumers, or make the appropriate consumers aware that telemetry data is available via a doorbell ring or interrupt. Under this latter scheme, the consumer may know in advance where the telemetry data is (so it can obtain it from that location), or the completion queue entry may contain information identifying the location of the telemetry data to be obtained.

[0055] As will be appreciated by those skilled in the art, submission queue commands and processing queue commands are typically asynchronous, wherein the tail pointer 612 for the submission queue 604 will be "ahead" of the head pointer 610 if there is any outstanding work (command processing) to be done. Similarly, the head pointer 614 will be "ahead" of the tail pointer 616 for any processing that has not yet completed. Furthermore, those skilled in the art will appreciate that the data in the circular FIFO slots may be implemented as pointers to data stored separately from the queue itself.

[0056] Figure 7 A flowchart 700 is shown for setting up a submission queue and completion queue model according to one embodiment. In block 702, a telemetry data source to be used as a data provider is identified. For example, in one embodiment, the telemetry data source is predetermined based on a known host configuration. In another embodiment, all or a portion of the telemetry data source may be determined dynamically, such as a portion of an initialization host. In block 704, one or more telemetry data consumers are identified. Then, the submission and completion queues are set up, as depicted by completion block 706.

[0057] In optional block 708, the telemetry data provider is directed where to submit its telemetry data (for use with a push model, as described below). As discussed above, in some embodiments, the telemetry data provider includes information in the completion queue entry identifying where its telemetry data is, or the consumer will know in advance where to read or "pull" the telemetry data from.

[0058] Figure 8An architecture 800 illustrating an exemplary implementation of submission and completion queues when applied to the collection of processor telemetry data by a BMC is shown. In addition to the components of the computing platform 102 having similar reference numerals as previously discussed, the computing platform 102 also includes PCIe (Peripheral Component Interconnect Express) interfaces 802 and 804 having corresponding registers 806 and 808. The IMC 114 is further shown having registers 810, and the IMC 116 further includes registers 812. The NIC 132 is further shown having registers 814.

[0059] Under conventional schemes, the BMC will read values ​​from each of registers 806, 808, 810, 812, and 814, generally periodically, and together with reading other registers (not shown). In contrast, under the depicted embodiment, there is logic on the computing platform, such as in the IMC and PCIe interface, for pushing (i.e., writing) the corresponding telemetry data stored in registers 806, 808, 810, 812, and 814 to SRAM 149, memory address space 128, and / or other registers (not shown) (as depicted by a "push" operation). When new data is written to a completion queue slot, the queue completion doorbell is rung. In response, the BMC / IE 605, operating as a consumer, reads the data that has been written to the slot, as depicted by a "pull" operation. In one embodiment, the telemetry provider sends its data to a predetermined address, and logic associated with where the telemetry data is to be stored or buffered writes the data at a location identified by an entry in the completion queue or a predetermined location known to the consumer of the telemetry data.

[0060] In another embodiment, the consumer pulls telemetry data from a location (e.g., a memory address) identified by a pointer in a completion queue entry. For example, the consumer will read a completion queue entry that includes a pointer and read (pull) the telemetry data pointed to by the pointer.

[0061] Figure 8a An architecture 800a is shown where data collected by the telemetry driver 147 is pushed into a submission queue slot in the SRAM 149 and then the telemetry data is pulled in response to the completion queue doorbell being rung by the BMC / IE 605. Figure 8140, except in this case the telemetry driver 147 collects data and then pushes the data into the completion queue slots rather than into the logic associated with registers 806, 808, 810, 812, and 814. It is noted that the code for the telemetry driver 147 is still located in the secure area 158, while the telemetry data 149 is stored in the SRAM 149. One reason for this is that, in one embodiment, the secure area 158 is configured so that only the hypervisor firmware 146 is allowed to access the secure area 158. Thus, in order to run firmware or software from a storage location outside of the secure area 158, the telemetry data has to be stored somewhere else outside of the secure area 158 as well. By storing the data in the SRAM 160, the telemetry data remains inaccessible to software running on the computing platform because the existence or availability of the SRAM 160 is never exposed to any software and it is not part of the memory address space 126 or 128.

[0062] Except in Figure 6 In addition to the single submission and completion queues shown in and described above, multiple submission and / or completion queues may be used. For example, a first queue (telemetry selection queue) may be used for a BMC or IE to tell the host which telemetry items it wants to access, while a second queue (telemetry data queue) may be used by the host to stream telemetry data based on telemetry items selected in another queue. In the first queue, the submission queue doorbell is rung by the BME / IE and consumed by the host hardware, and the response queue doorbell is rung by the host hardware and consumed by the BMC / IE.

[0063] In the second queue, there is no command submission queue, only a completion queue, where the host hardware submits telemetry data, which is acquired by the BMC / IE. The doorbell is rung by the host hardware every time it submits new data, which in one embodiment will cause an interrupt to the BMC / IE (if enabled by the BMC / IE).

[0064] Figure 6 BMC / IE 605 is shown reading telemetry data. In another embodiment, the submission queue indicates which telemetry data is to be enabled or read, and the actual result may be available on another telemetry queue where the host hardware streams the telemetry data based on the conditions specified in the telemetry enable queue.

[0065] In current implementations, the communication between the host and the management controller is very low. Thus, it is very difficult to use the management controller to offload host functions. Under the following embodiments, a mechanism is implemented that uses one or more memory mapped input-output (MMIO) memory regions to use aliases for access to the management controller memory regions. Under this scheme, various mechanisms can be used to access telemetry data and write the telemetry data to the MMIO region so that the telemetry data appears to the management controller as part of its onboard memory, allowing the management controller to directly access the telemetry data.

[0066] Fig. 9 One embodiment for implementing an MMIO aliasing scheme is shown. The MMIO region of memory 902 is divided into a plurality of address ranges, each of which is associated with a corresponding access mechanism. In the depicted example, these include MSR range 904, IMC range 906, system management bus (SMBus) range 908, and PCIe range 910. Architecture 900 further includes a portion of an MMIO logic block 912 used to implement MMIO operations. To avoid clutter, Fig. 9 MMIO logic block 912 is depicted on top of processor 104; however, it is part of the non-computing core and is coupled to an IO interconnect on processor 104, such as, but not limited to, a PCIe interconnect or a Universal Path Interconnect (UPI), thereby enabling MMIO logic block 912 to communicate with other components on computing platform 102.

[0067] Each of the ranges uses an associated access mechanism to access data in the range. For example, MSR range 904 is depicted as including addresses labeled MSR Core 1 ... MSR Core N. Similarly, IMC range 906 is depicted as including addresses labeled IMC Register 1 and IMC Register 2, while SMBus range 908 is depicted as including addresses labeled Telemetry 1 ... Telemetry M, and PCIe range 910 is depicted as including addresses labeled PCIe 1, PCIe2 ... PCIe Q. In general, the MMIO address range is the onboard memory address space of the management controller or other memory address space on the platform board that the management controller can access.

[0068] Fig.10Flowchart 1000 in FIG. 1 depicts operations for configuring MMIO access and then performing persistent operations that enable a telemetry consumer, such as a management controller, to access telemetry data simply by issuing a read request to an MMIO address. Configuration operations are shown in blocks 1002, 1004, and 1006, while persistent operations are shown in blocks 1008, 1010, and 1012. In general, configuration operations may be performed during system initialization or during runtime. Persistent operations are performed during runtime.

[0069] In block 1002, telemetry data, location, and access mechanism are identified. Fig. 9 In the example shown in , these include MSR 110 associated with processor cores 1-N, IMC registers 810 and 812, PCIe registers 806, 808 and 814, and various telemetry data (not shown) related to SMBus operation. Each of these has a different type of access mechanism, which is also identified. For example, in one embodiment, MSR 110 is accessed through ME / IE 124. Therefore, MMIO logic 912 constructs an access record that defines an access mechanism through ME / IE 124 for MSR 110, and ME / IE 124 is configured to implement the access mechanism. IMC registers 810 and 812 can be accessed via IMC 114 and 116, respectively. PCIe registers 806, 808 and 814 can be accessed through the PCIe architecture. SMBus data can be accessed via a processor mechanism for accessing the SMBus (not shown).

[0070] In block 1004, MMIO ranges are allocated in the MMIO memory region and the MMIO memory region is divided by access mechanism. Dividing the MMIO region by access mechanism simplifies the information used to implement MMIO operations, instead of having an access mechanism identified by a telemetry data source MMIO address, a range of addresses can share the same access mechanism via corresponding address range mapping information.

[0071] In block 1006, the MMIO logic block is programmed to implement MMIO operations based on MMIO memory partitioning. This may further involve creating a mapping record that maps a given MMIO memory address to its location defined by its access mechanism. For example, during system startup, the number of PCIe components is determined so that each PCI component (including its registers) has a unique address in the PCIe hierarchy.

[0072] Once the configuration operations in blocks 1002, 1004, and 1006 have been completed, ongoing runtime operations may be performed to enable a telemetry data consumer, such as a management controller (eg, BMC), to access telemetry data simply by reading its own onboard memory.

[0073] In block 1008, the telemetry data consumer issues a read request to the MMIO address via which specific telemetry data is accessed. In block 1010, an access mechanism associated with the telemetry data is used to access the telemetry data, which results in the telemetry data being placed in the MMIO address corresponding to the consumer's read request. Then, in block 1012, the telemetry data is returned to the telemetry data consumer to service the read request.

[0074] Back to Fig. 9 , using bidirectional "get" arrows to depict various telemetry data sources. These are used to logically depict what data is returned to which MMIO address. As discussed above, this is achieved via appropriate access mechanisms. For the purposes of the following discussion, it is assumed that the BMC 134 is connected to the ME / IE 124 or processor 104 via a PCIe link, and that the ME / IE 124 is internally connected to the coherent interconnect 112, which in one embodiment is a UPI interconnect.

[0075] We will start with the PCIe telemetry data. The BMC 134 issues a read request to the memory address marked as PCIe 1 in the PCIe range 910 of the MMIO 902. In response to the read request at this access, the logic has been programmed (during the aforementioned configuration operation) so that data is obtained from the PCIe register 806. If the BMC 134 is connected to the processor 104 via the PCIe interconnect (but not to the ME / IE 124), the data is physically accessed through the PCIe interconnect architecture and returned to the address PCIe 1, at which point the telemetry data in the PCIe register 806 is returned to the BMC 134 to service the read request. If the BMC 134 is connected to the ME / IE 124, the ME / IE 124 will access the data via the UPI to PCIe bridge (not shown).

[0076] A similar sequence is used to access any of the MSRs, IMCs, and SMBus telemetry data; however, the access mechanism is different because none of the telemetry data sources are directly coupled to the PCIe interconnect architecture. In an implementation where the BMC 134 is connected to the ME / IE 124, the ME / IE 124 is able to access each of the IMC registers 810 and 812 via the coherent interconnect 112. Similarly, the MSR 110 can be accessed via the coherent interconnect 112. (It should be noted that the coherence aspect of the coherent interconnect 112 is not used for these purposes because the caches and local agents used to support memory coherence are not used.) In order to access the MSR 110 and / or SMBus telemetry data, the processor 104 may need to be set to system management mode (SMM) first. Thus, the access mechanism for accessing these telemetry data will call an SMM interrupt, and the appropriate SMM interrupt service routine (ISR) will be used to obtain the data. Such an SMM ISR will generally be implemented as part of the BIOS 138.

[0077] In addition to the embodiments depicted in the foregoing figures, aspects of these embodiments may also be combined to collect telemetry data. Figure 8 and 8a In addition to the architectures 800 and 800a shown in FIG. 8 , the producer-consumer submission completion queue model can also be applied to Figure 1 , 1a and 2a-2d firmware-based architectures or Fig. 9 MMIO architecture.

[0078] As used in this application, including the subsequent claims, software and firmware are different types of codes and / or instructions. In general, a firmware component may include code or instructions that are part of the platform firmware (e.g., part of the UEFI firmware code). In general, the platform firmware is loaded and / or configured to execute during the initialization of the platform hardware. In contrast, software includes code or instructions that are executed after the platform hardware is initialized, such as, but not limited to, operating system components, application software running on the operating system, software portions of a hypervisor or OS virtualization layer, and software code for implementing a virtual machine or container hosted by a hypervisor or OS virtualization layer.

[0079] Further aspects of the subject matter described in this application are set out in the following numbered clauses:

[0080] 1. A method comprising:

[0081] Implementing a trusted telemetry mechanism for securely collecting platform telemetry data from multiple telemetry data sources on a computing platform;

[0082] collecting telemetry data from the plurality of telemetry data sources; and

[0083] Securely store collected telemetry data,

[0084] The trusted telemetry mechanism is inaccessible to software running on the computing platform, and the telemetry data is securely stored in a manner that is inaccessible to software running on the computing platform.

[0085] 2. The method of clause 1, wherein the computing platform comprises a plurality of firmware components, and wherein the trusted telemetry mechanism comprises at least one of the plurality of firmware components.

[0086] 3. The method of clause 2, wherein the firmware includes a telemetry driver as part of a Unified Extensible Firmware Interface (UEFI) firmware component.

[0087] 4. The method of clause 2 or 3, wherein the computing platform includes a system memory and at least one of the plurality of firmware components includes a telemetry driver, the method further comprising:

[0088] implementing a secure area in the system memory that is inaccessible to software running on the computing platform; and

[0089] The telemetry driver is loaded into the secure area of ​​the system memory.

[0090] 5. The method of clause 4, further comprising storing telemetry data collected by the telemetry driver in the secure area in the system memory.

[0091] 6. The method of clause 4 or 5, further comprising storing telemetry data collected by the telemetry driver in a secure area in at least one of: static random access memory (SRAM) and a plurality of registers on the computing platform.

[0092] 7. The method of any of clauses 4-6, wherein the computing platform comprises a processor having a plurality of machine specific registers (MSRs) and a manageability component enabled to access the plurality of MSRs, the method further comprising:

[0093] creating a secure communication channel between the telemetry driver and a manageability entity;

[0094] collecting telemetry data from the plurality of MSRs via the manageability entity; and

[0095] The telemetry data is transmitted to the telemetry driver via the secure communication channel.

[0096] 8. The method of any of the preceding clauses, wherein the computing platform comprises a processor having a plurality of machine specific registers (MSRs) and comprises a plurality of components having respective sets of one or more component registers, the method further comprising:

[0097] Collecting telemetry data from at least one MSR; and

[0098] Telemetry data is collected from at least one component register.

[0099] 9. The method according to any of the preceding clauses, further comprising:

[0100] A submission queue and a completion queue are implemented to facilitate collecting at least a portion of the telemetry data.

[0101] 10. The method according to clause 9, further comprising:

[0102] identifying a plurality of telemetry data sources in the computing platform;

[0103] submitting a queue command to a time slot in the submission queue, the queue command identifying telemetry data to be at least one of generated and forwarded by one of the telemetry data providers;

[0104] Retrieving the queue command from the submission queue;

[0105] processing the queue command to perform at least one of a generation and forwarding action on telemetry data identified by the queue command;

[0106] inputting a processing completion entry into the completion queue, the processing completion entry including at least one of: data identifying a queue command being processed, the telemetry data, and a location of the telemetry data;

[0107] accessing the telemetry data using data contained in a process completion queue entry; and securely storing the telemetry data.

[0108] 11. The method according to any of the preceding clauses, further comprising:

[0109] implementing a memory mapped input output (MMIO) alias for each of a plurality of telemetry data sources in the computing platform, each MMIO alias mapping a telemetry data source to a corresponding address in memory on the computing platform that is inaccessible to software running on the computing platform;

[0110] receiving a memory read request including a memory address to access the memory;

[0111] using a telemetry data access mechanism associated with the memory address such that telemetry data provided by a telemetry data source corresponding to an MMIO alias for the memory address is placed in the memory at a location defined by the memory address; and

[0112] The telemetry data is returned to service the read request.

[0113] 12. The method according to clause 11, further comprising:

[0114] dividing the memory into a plurality of regions;

[0115] associating a telemetry data access mechanism with each of the plurality of zones;

[0116] In response to receiving the memory read request,

[0117] identifying a region in which the memory address is located; and

[0118] The telemetry data access mechanism associated with the region identified as accessing the telemetry data source is used to access the telemetry data.

[0119] 13. A computing platform comprising:

[0120] a processor comprising at least one memory controller;

[0121] one or more memory devices, each coupled to a memory controller in the processor;

[0122] platform firmware, including one or more telemetry firmware components for facilitating collection of platform telemetry data;

[0123] Wherein, the platform firmware is configured to, when executed by the processor:

[0124] configuring a portion of memory in the memory device as a secure memory region;

[0125] loading one or more firmware components to facilitate collecting platform telemetry data into the secure memory area;

[0126] The one or more telemetry firmware components in the secure memory area are executed to collect platform telemetry data.

[0127] 14. The computing platform of clause 13, further comprising:

[0128] software stored on the computing platform, the software being configured to be executed by the processor,

[0129] Wherein executing the platform firmware causes the computing platform configuration to allocate at least one virtual memory space for executing the software, and wherein the software is prevented from accessing a secure area of ​​memory.

[0130] 15. A computing platform according to clause 13 or 14, wherein the search platform firmware includes a telemetry driver as part of the Unified Extensible Firmware Interface (UEFI) firmware.

[0131] 16. A computing platform according to any of clauses 13-15, wherein the telemetry firmware is further configured to, when executed, store at least a portion of the collected telemetry data in the secure memory area.

[0132] 17. A computing platform according to any of clauses 13-16, wherein the telemetry firmware is further configured to, when executed, store at least a portion of the telemetry data in at least one of: a static random access memory (SRAM) and a plurality of registers on the computing platform.

[0133] 18. The computing platform of any of clauses 13-17, wherein the telemetry firmware comprises a telemetry driver, wherein the processor comprises a plurality of machine specific registers (MSRs) and a manageability component enabled to access the plurality of MSRs, and wherein the platform firmware is further configured to, when executed:

[0134] creating a secure communication channel between the telemetry driver and a manageability entity;

[0135] collecting telemetry data from the plurality of MSRs via the manageability entity; and

[0136] The telemetry data is transmitted to the telemetry driver via the secure communication channel.

[0137] 19. The computing platform of any of clauses 13-18, wherein the platform firmware is further configured, when executed, to implement a submission queue and a completion queue to facilitate collecting at least a portion of the telemetry data.

[0138] 20. The computing platform of clause 19, wherein the platform firmware is further configured, when executed:

[0139] identifying a plurality of telemetry data sources in the computing platform;

[0140] submitting a queue command to a time slot in the submission queue, the queue command identifying telemetry data to be at least one of generated and forwarded by one of the telemetry data providers;

[0141] Retrieving the queue command from the submission queue;

[0142] processing a queue command to perform at least one of a generation and forwarding action on telemetry data identified by the queue command;

[0143] entering a processing completion entry into a time slot in the completion queue, the processing completion entry comprising at least one of: data identifying a queue command being processed, the telemetry data, and a location of the telemetry data;

[0144] accessing the telemetry data using data contained in a process completion queue entry; and

[0145] The telemetry data is securely stored on the computing platform.

[0146] 21. A computing platform according to any of clauses 13-20, wherein the computing platform comprises a management controller having on-board memory, and the platform firmware is further configured, when executed:

[0147] implementing a memory mapped input output (MMIO) alias for each of a plurality of telemetry data sources in the computing platform, each MMIO alias mapping a telemetry data source to a corresponding address in the onboard memory of the management controller;

[0148] receiving a memory read request including a memory address to access the onboard memory of the management controller;

[0149] using a telemetry data access mechanism associated with the memory address such that telemetry data provided by a telemetry data source corresponding to an MMIO alias for the memory address is placed in the onboard memory at a location defined by the memory address; and

[0150] The telemetry data is returned to service the read request.

[0151] 22. The computing platform of clause 21, further comprising:

[0152] dividing the on-board memory into a plurality of regions;

[0153] associating a telemetry data access mechanism with each of the plurality of zones;

[0154] In response to receiving the memory read request,

[0155] identifying a region in which the memory address is located; and

[0156] The telemetry data is accessed using an access mechanism associated with the region identified as accessing the telemetry data source.

[0157] 23. A non-transitory machine-readable medium having firmware instructions stored thereon, the firmware instructions comprising one or more telemetry firmware components, the firmware instructions configured to be executed by a processor in a computing platform including a system memory, wherein the firmware instructions, when executed, enable the computing platform to:

[0158] configuring a portion of system memory as a secure memory area;

[0159] loading one or more telemetry firmware components into the secure memory area;

[0160] The one or more telemetry firmware components in the secure memory area are executed to collect platform telemetry data.

[0161] 24. The non-transitory machine-readable medium of clause 23, further comprising:

[0162] software stored on the computing platform, the software being configured to be executed by the processor,

[0163] Wherein execution of the firmware instructions causes the computing platform to configure at least one virtual memory space allocated for execution of the software, and wherein the software is prevented from accessing a secure area of ​​memory.

[0164] 25. The non-transitory machine-readable medium of clause 23 or 24, wherein the one or more telemetry firmware components include a telemetry driver as part of Unified Extensible Firmware Interface (UEFI) firmware.

[0165] 26. The non-transitory machine-readable medium of any of clauses 23-25, wherein the firmware instructions are further configured, when executed, to store at least a portion of the collected telemetry data in the secure memory area.

[0166] 27. A non-transitory machine-readable medium as described in any of clauses 23-26, wherein the firmware instructions are further configured to, when executed, store at least a portion of the collected telemetry data in at least one of: a static random access memory (SRAM) and a plurality of registers on the computing platform.

[0167] 28. The non-transitory machine-readable medium of any of clauses 23-27, wherein the one or more telemetry firmware components include a telemetry driver, wherein the processor includes a plurality of machine specific registers (MSRs) and a manageability component enabled to access the plurality of MSRs, and wherein the firmware instructions are further configured to, when executed:

[0168] creating a secure communication channel between the telemetry driver and a manageability entity;

[0169] collecting telemetry data from the plurality of MSRs via the manageability entity; and

[0170] The telemetry data is transmitted to the telemetry driver via the secure communication channel.

[0171] 29. The non-transitory machine-readable medium of any of clauses 23-28, wherein the firmware instructions are further configured, when executed, to implement a submission queue and a completion queue to facilitate collecting at least a portion of the telemetry data.

[0172] 30. The non-transitory machine-readable medium of clause 29, wherein the firmware instructions are further configured, when executed:

[0173] identifying a plurality of telemetry data sources in the computing platform;

[0174] Submitting a queue command to a time slot in the submission queue, the queue command identifying telemetry data, the stress measurement data to be at least one of generated and forwarded by one of the telemetry data providers;

[0175] Retrieving the queue command from the submission queue;

[0176] processing the queue command to perform at least one of a generation and forwarding action on telemetry data identified by the queue command;

[0177] entering a processing completion entry into a time slot in the completion queue, the processing completion entry comprising at least one of: data identifying a queue command being processed, the telemetry data, and a location of the telemetry data;

[0178] accessing the telemetry data using data contained in a process completion queue entry; and

[0179] The telemetry data is securely stored on the computing platform.

[0180] 31. A method comprising:

[0181] Identify multiple telemetry data sources in a computing platform;

[0182] submitting a queue command to a time slot in a submission queue, the queue command identifying telemetry data to be at least one of generated and forwarded by one of the telemetry data providers;

[0183] Retrieving the queue command from the submission queue;

[0184] processing the queue command to perform at least one of a generation and forwarding action on telemetry data identified by the queue command;

[0185] Entering a processing completion entry into a time slot in a completion queue, the processing completion entry comprising at least one of: a queue command being processed, the telemetry data, and a location of the telemetry data; and

[0186] The telemetry data is accessed via a telemetry data consumer.

[0187] 32. The method of clause 31, further comprising implementing each of the submission queue and the completion queue as a circular queue including a head pointer and a tail pointer.

[0188] 33. The method according to clause 31 or 32 further comprises ringing a submission queue doorbell when the queue command is submitted to the submission queue.

[0189] 34. The method of any one of clauses 31-33, further comprising ringing a completion queue doorbell when a processing completion entry is entered into the completion queue.

[0190] 35. The method of any of clauses 31-34, wherein the queue commands are submitted by a management controller included on or in communication with the computing platform.

[0191] 36. A method according to any of clauses 31-35, wherein the telemetry data consumer comprises a management controller, the management controller being included on or in communication with the computing platform.

[0192] 37. The method according to any one of clauses 31-36, further comprising:

[0193] generating an interrupt when a full queue entry is entered into the completion queue; and

[0194] An interrupt service routine is executed in response to the interrupt, the interrupt service routine being operable to perform at least one of an access or forwarding action on telemetry data associated with the completion queue entry.

[0195] 38. A method according to any of clauses 31-37, wherein processing the queue command pushes telemetry data into the time slot in the completion queue.

[0196] 39. A method as described in any of clauses 31-38, wherein the computing platform includes a processor having a plurality of machine-specific registers (MSRs), and processing the queue commands is performed at least in part via a trusted firmware-based telemetry driver implemented to access telemetry data in the MSRs and push the telemetry data into the time slot in the completion queue.

[0197] 40. A method according to any one of clauses 31-39, wherein the telemetry data consumer accesses the telemetry data by one of: reading the telemetry data from a time slot in the completion queue and reading the telemetry data from a location identified by data in a time slot in the completion queue.

[0198] 41. A computing platform comprising:

[0199] a processor comprising at least one memory controller;

[0200] one or more memory devices, each memory device coupled to a memory controller in the processor;

[0201] The computing platform is used for:

[0202] identifying a plurality of telemetry data sources in the computing platform;

[0203] submitting a queue command to a time slot in a submission queue, the queue command identifying telemetry data to be at least one of generated and forwarded by one of the telemetry data providers;

[0204] Retrieving the queue command from the submission queue;

[0205] processing the queue command to perform at least one of a generation and forwarding action on telemetry data identified by the queue command;

[0206] Entering a processing completion entry into a time slot in a completion queue, the processing completion entry comprising at least one of: a queue command being processed, the telemetry data, and a location of the telemetry data; and

[0207] The telemetry data is enabled to be accessed by a telemetry data consumer.

[0208] 42. The computing platform of clause 41, wherein the computing platform is further configured to implement each of the submission queue and the completion queue as a circular queue including a head pointer and a tail pointer.

[0209] 43. A computing platform according to clause 41 or 42, wherein the computing platform is further used to ring a submission queue doorbell when a queue command is submitted to the submission queue.

[0210] 44. The computing platform of any of clauses 41-43, wherein the computing platform is further configured to ring a completion queue doorbell when a processing completion entry is entered into the completion queue.

[0211] 45. The computing platform of any of clauses 41-44, wherein the queue commands are submitted by a management controller included on or in communication with the computing platform.

[0212] 46. ​​A computing platform as described in any of clauses 41-45, wherein the telemetry data consumer includes a management controller, which is included on the computing platform or in communication with the computing platform.

[0213] 47. A computing platform according to any of clauses 41-46, wherein the computing platform is further configured to:

[0214] generating an interrupt when a completion queue entry is entered into the completion queue; and

[0215] An interrupt service routine is executed in response to the interrupt, the interrupt service routine being operable to perform at least one of accessing and forwarding actions on telemetry data associated with the completion queue entry.

[0216] 48. A computing platform as described in any of clauses 41-47, wherein processing the queue command pushes telemetry data into a time slot in the completion queue.

[0217] 49. A computing platform as described in any of clauses 41-48, wherein the processor includes a plurality of machine-specific registers (MSRs) and performs processing of the queue commands at least in part via a trusted firmware-based telemetry driver implemented to access telemetry data in the MSRs and push the telemetry data into a time slot in the completion queue.

[0218] 50. A method according to any one of clauses 41-49, wherein the telemetry data consumer is enabled to store the telemetry data by one of: reading the telemetry data from a timing sequence in the completion queue and reading the telemetry data from a location identified by data in a time slot in the completion queue.

[0219] 51. A non-transitory machine-readable medium having instructions stored thereon, the instructions being configured to be executed by one or more processing elements in a computing platform comprising at least one memory device, wherein the instructions, when executed, cause the computing platform to perform the method of any one of clauses 31-40.

[0220] 52. A method comprising:

[0221] implementing a memory mapped input output (MMIO) alias for each of a plurality of telemetry data sources in a computing platform, each MMIO alias mapping a telemetry data source to a corresponding address in a memory on the computing platform;

[0222] receiving a memory read request including an address to access the memory;

[0223] using a telemetry data access mechanism associated with the memory address so that telemetry data provided by a telemetry data source corresponding to an MMIO alias for the memory address is placed in the memory address; and

[0224] The telemetry data is returned to service the read request.

[0225] 53. The method of clause 52, wherein the memory is located in a management controller on the computing platform.

[0226] 54. The method according to clause 52 or 53, further comprising:

[0227] dividing the memory into a plurality of regions;

[0228] associating a telemetry data access mechanism with each of the plurality of zones;

[0229] In response to receiving the memory read request,

[0230] identifying a region in which the memory address is located; and

[0231] The telemetry data is accessed using an access mechanism associated with the region identified as accessing the telemetry data source.

[0232] 55. A method as described in any of clauses 52-54, wherein the computing platform includes a processor having a plurality of machine-specific registers (MSRs), and wherein the telemetry data access mechanism accesses a source of telemetry data including the MSRs.

[0233] 56. A method as described in any of clauses 52-55, wherein the computing platform includes a processor having at least one memory controller, each memory controller having at least one associated register, and wherein the telemetry data access mechanism accesses registers associated with the memory controller.

[0234] 57. A method according to any of clauses 52-56, wherein the computing platform includes a processor having a system management bus (SMBus), and wherein the telemetry data access mechanism accesses telemetry data generated by a telemetry data source accessed via the SMBus.

[0235] 58. A method according to any of clauses 52-57, wherein accessing the telemetry data via the SMBus is performed by:

[0236] Call the system management mode (SMM) interrupt;

[0237] In response to the SMM interrupt, placing the processor in SMM;

[0238] An SMM interrupt service routine (ISR) is executed to service the SMM interrupt, the SMM ISR returning telemetry data accessed from the telemetry data source via the SMBus.

[0239] 59. A method according to any of clauses 52-57, wherein the computing platform includes a plurality of Peripheral Component Interconnect Express (PCIe) devices, each PCIe device having one or more associated registers, and the telemetry data access mechanism accesses telemetry data in the PCIe device registers.

[0240] 60. A computing platform comprising:

[0241] a processor comprising at least one memory controller;

[0242] one or more memory devices, each memory device coupled to a memory controller in the processor;

[0243] The computing platform is used to:

[0244] implementing a memory mapped input output (MMIO) alias for each of a plurality of telemetry data sources in a computing platform, each MMIO alias mapping a telemetry data source to a corresponding address in a memory on the computing platform;

[0245] receiving a memory read request including an address to access the memory;

[0246] using a telemetry data access mechanism associated with the memory address so that telemetry data provided by a telemetry data source corresponding to an MMIO alias for the memory address is placed in the memory address; and

[0247] The telemetry data is returned to service the read request.

[0248] 61. The computing platform of clause 60, wherein the computing platform further comprises a management controller having on-board memory, and the MMIO alias is mapped to the on-board memory in the management controller.

[0249] 62. The computing platform of clause 60 or 61, wherein the computing platform is further configured to:

[0250] dividing the memory into a plurality of regions;

[0251] associating a telemetry data access mechanism with each of the plurality of zones;

[0252] In response to receiving the memory read request,

[0253] identifying a region in which the memory address is located; and

[0254] The telemetry data is accessed using an access mechanism associated with the region identified as accessing the telemetry data source.

[0255] 63. A computing platform as described in any of clauses 60-63, wherein the processor includes a plurality of machine specific registers (MSRs), and wherein the telemetry data access mechanism accesses a source of telemetry data including the MSRs.

[0256] 64. A computing platform as described in any of clauses 60-63, wherein each memory controller has at least one associated register, and wherein the telemetry data access mechanism accesses registers associated with the memory controller.

[0257] 65. A computing platform as described in any of clauses 60-64, wherein the computing platform includes a processor having a system management bus (SMBus), and wherein the telemetry data access mechanism accesses telemetry data generated by a telemetry data source accessed via the SMBus.

[0258] 66. The computing platform of any of clauses 60-65, wherein accessing the telemetry data via the SMBus is performed by:

[0259] Call the system management mode (SMM) interrupt;

[0260] In response to the SMM interrupt, placing the processor in SMM;

[0261] An SMM interrupt service routine (ISR) is executed to service the SMM interrupt, the SMM ISR returning telemetry data accessed from the telemetry data source via the SMBus.

[0262] 67. A computing platform as described in any of clauses 60-66, wherein the computing platform includes multiple Peripheral Component Interconnect Express (PCIe) devices, each PCIe device has one or more associated registers, and the telemetry data access mechanism accesses telemetry data in the PCIe device registers.

[0263] 68. A non-transitory machine-readable medium having instructions stored thereon, the instructions being configured to be executed by one or more processing elements in a computing platform comprising at least one memory device, wherein the instructions, when executed, cause the computing platform to perform the method of any one of clauses 52-59.

[0264] In addition, the embodiments in this specification can be implemented not only in semiconductor chips but also in machine-readable media. For example, the design described above can be stored on a machine-readable medium associated with a design tool for designing semiconductor devices and / or embedded in a machine-readable medium associated with a design tool for designing semiconductor devices. Examples include netlists in VHSIC hardware description language (VHDL) language, Verilog language, or SPICE language formats. Some netlist examples include: behavioral level netlists, register transfer level (RTL) netlists, gate-level netlists, and transistor-level netlists. Machine-readable media also include media with layout information such as GDS-II files. In addition, netlist files or other machine-readable media for semiconductor chip design can be used in a simulation environment for performing the method for teaching described above.

[0265] Although some embodiments have been described with reference to specific implementations, other implementations are possible according to some embodiments. In addition, the arrangement and / or order of the elements or other features illustrated in the drawings and / or described in this application need not be arranged in the particular manner depicted and described. According to some embodiments, many other arrangements are possible.

[0266] In each system shown in the figures, in some cases, the above-mentioned elements may each have the same reference numeral or different reference numerals to indicate that the represented elements may be different and / or similar. However, the elements may be flexible enough to have different implementations and work with some or all of the systems shown or described in the present application. The various elements shown in the drawings may be the same or different. Which one is called the first element and which one is called the second element is arbitrary.

[0267] In the specification and claims, the terms "coupled" and "connected" and their derivatives may be used. It should be understood that these terms are not intended to be synonymous with each other. Rather, in a particular embodiment, "connected" may be used to indicate that two or more elements are in direct physical or electrical contact with each other. "Coupled" may refer to two or more elements being in direct physical or electrical contact. However, "coupled" may also refer to two or more elements not being in direct contact with each other, but still cooperating or interacting with each other.

[0268] An embodiment is an implementation or example of the present invention. References in the specification to "an embodiment," "one embodiment," "some embodiments," or "other embodiments" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least some embodiments of the present invention but not necessarily in all embodiments of the present invention. Various appearances of "an embodiment," "one embodiment," or "some embodiments" do not necessarily all refer to the same embodiment.

[0269] Not all components, features, structures, characteristics, etc. described and depicted in this application need to be included in a particular embodiment or embodiments. If the specification states that a component, feature, structure, or characteristic "may", "might", "can", or "can" be included, for example, then the inclusion of that particular component, feature, structure, or characteristic is not required. If the specification or claims refer to "one" or "an" element, this does not mean that there is only one of the elements. If the specification or claims refer to "another" element, this does not exclude the presence of more than one other element.

[0270] Italic letters, such as 'm', 'n' 'M', 'N', etc., in the foregoing detailed description are used to describe integer numbers, and the use of specific letters is not limited to a particular embodiment. In addition, the same letters may be used in separate claims to represent separate integer numbers, or different letters may be used. In addition, the use of specific letters in the detailed description may or may not match the letters used in the claims related to the same subject matter in the detailed description.

[0271] As discussed above, various aspects of the implementation of the embodiments may be facilitated by corresponding firmware components such as firmware codes or instructions executed by a processor, etc. Portions of the firmware may also be executed on an embedded processor, etc. Thus, embodiments of the present invention may be used as or to support firmware components, modules, codes, and / or instructions that are executed on some form of processor, processing core, or embedded processor or are otherwise implemented or implemented on or in a non-transitory computer-readable or machine-readable storage medium. A non-transitory computer-readable or machine-readable storage medium includes any mechanism for storing or sending information in a form readable by a machine (e.g., a computer). For example, a non-transitory computer-readable or machine-readable storage medium includes any mechanism for providing (i.e., storing and / or sending) information in a form that can be accessed by a computer or computing machine (e.g., a computing device, an electronic system, etc.), such as a recordable / non-recordable medium (e.g., a read-only memory (ROM), a random access memory (RAM), a disk storage medium, an optical storage medium, a flash memory device, etc.). The content may be directly executable ("object" or "executable" form), source code, or differential code ("delta" or "patch" code). A non-transitory computer-readable or machine-readable storage medium may also include a storage device or database from which the content may be downloaded. A non-transitory computer-readable or machine-readable storage medium may also include a device or product that has the content stored thereon when sold or shipped. Thus, shipping a device with stored firmware code and / or instructions may be understood as providing an article of manufacture including a non-transitory computer-readable or machine-readable storage medium with such content described in this application.

[0272] The various components referred to above as the process, server or tool described in the present application can be modules for performing the described functions. The operations and functions performed by the various components described in the present application can be implemented by software running on a processing element, via embedded hardware, etc., or any combination of hardware and software. Such components can be implemented as software modules, hardware modules, special purpose hardware (e.g., dedicated hardware, ASIC, DSP, etc.), embedded controllers, hard-wired circuits, hardware logic, etc. Software content (e.g., data, instructions, configuration information, etc.) can be provided via an article comprising a non-temporary computer-readable or machine-readable storage medium, which provides the content of instructions that can be executed. The above content can cause a computer to perform the various functions / operations described in the present application.

[0273] As used in this application, a list of items connected by the term "at least one" may refer to any combination of the listed terms. For example, the phrase "at least one of A, B, or C" may refer to A; B; C; A and B; A and C; B and C; or A, B, and C.

[0274] The above description of the depicted embodiments of the invention, including what is described in the Abstract, is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Although specific embodiments and examples of the invention have been described for illustrative purposes, various equivalent modifications within the scope of the invention are possible, as will be recognized by those skilled in the relevant art.

[0275] These modifications may be made to the present invention in light of the above specific embodiments. The terms used in the following claims should not be interpreted as limiting the present invention to the specific embodiments disclosed in the specification and the drawings. Rather, the scope of the present invention will be determined entirely by the following claims, which will be interpreted according to the established principles of claim interpretation.

Claims

1. A method for processing telemetry data, comprising: Implementing a trusted telemetry mechanism for securely collecting platform telemetry data from multiple telemetry data sources on a computing platform; collecting telemetry data from the plurality of telemetry data sources; as well as Securely store collected telemetry data, The trusted telemetry mechanism is inaccessible to software running on the computing platform, and the telemetry data is securely stored in a manner that is inaccessible to software running on the computing platform.

2. The method according to claim 1, wherein: The computing platform includes a plurality of firmware components, and wherein the trusted telemetry mechanism includes at least one of the plurality of firmware components.

3. The method according to claim 2, wherein: The firmware includes a telemetry driver as part of a Unified Extensible Firmware Interface (UEFI) firmware component.

4. The method according to claim 2, wherein: The platform includes a system memory, and at least one of the plurality of firmware components includes a telemetry driver, the method further comprising: implementing a secure area in the system memory that is inaccessible to software running on the computing platform; and The telemetry driver is loaded into the secure area of ​​the system memory. 5 . The method of claim 4 , further comprising storing telemetry data collected by the telemetry driver in the secure area in the system memory.

6. The method of claim 4, further comprising storing telemetry data collected by the telemetry driver in a secure area in at least one of: a static random access memory (SRAM) and a plurality of registers on the computing platform.

7. The method according to claim 4, wherein: The platform includes a processor having a plurality of machine specific registers (MSRs) and a manageability component enabled to access the plurality of MSRs, the method further comprising: creating a secure communication channel between the telemetry driver and a manageability entity; collecting telemetry data from the plurality of MSRs via the manageability entity; and The telemetry data is transmitted to the telemetry driver via the secure communication channel.

8. The method according to any one of claims 1 to 7, wherein: The platform includes a processor having a plurality of machine specific registers (MSRs) and includes a plurality of components having respective sets of one or more component registers, the method further comprising: Collecting telemetry data from at least one MSR; and Telemetry data is collected from at least one component register.

9. The method according to any one of claims 1 to 7, further comprising: A submission queue and a completion queue are implemented to facilitate collection of at least a portion of the telemetry data.

10. The method according to claim 9, further comprising: identifying a plurality of telemetry data sources in the computing platform; submitting a queue command to a time slot in the submission queue, the queue command identifying telemetry data for which at least one of a generation and a forwarding action is to be performed by one of the telemetry data providers; Retrieving the queue command from the submission queue; processing the queue command to perform at least one of a generation and a forwarding action on telemetry data identified by the queue command; entering a processing completion entry into a time slot in the completion queue, the processing completion entry comprising at least one of: data identifying a queue command being processed, the telemetry data, and a location of the telemetry data; accessing the telemetry data using data contained in a process completion queue entry; as well as The telemetry data is securely stored.

11. The method according to any one of claims 1 to 7, further comprising: implementing a memory mapped input / output MMIO alias for each of a plurality of telemetry data sources in the computing platform, each MMIO alias mapping a telemetry data source to a corresponding address in a memory on the computing platform that is inaccessible to software running on the computing platform; receiving a memory read request including a memory address to access the memory; employing a telemetry data access mechanism associated with the memory address such that telemetry data provided by the telemetry data source corresponding to the MMIO alias for the memory address is placed in the memory at a location defined by the memory address; as well as The telemetry data is returned to service the read request.

12. The method according to claim 11, further comprising: dividing the memory into a plurality of regions; associating a telemetry data access mechanism with each of the plurality of zones; In response to receiving the memory read request, identifying a region in which the memory address is located; as well as The telemetry data source is accessed using a telemetry data access mechanism associated with the identified region.

13. A computing platform comprising: a processor comprising at least one memory controller; one or more memory devices, each memory device coupled to a memory controller in the processor; platform firmware including one or more telemetry firmware components for facilitating collection of platform telemetry data; Wherein, when the platform firmware is executed by the processor, it is configured to: configuring a portion of memory in the memory device as a secure memory region; loading one or more firmware components to facilitate collecting platform telemetry data into the secure memory area; The one or more telemetry firmware components in the secure memory area are executed to collect platform telemetry data.

14. The computing platform of claim 13, further comprising: software stored on the computing platform, the software being configured to be executed by the processor, wherein executing the platform firmware causes the computing platform to configure at least one virtual memory space allocated for execution of the software, and wherein the software is blocked from accessing secure areas of memory.

15. The computing platform according to claim 13 or 14, wherein: The platform firmware includes a telemetry driver as part of the Unified Extensible Firmware Interface (UEFI) firmware.

16. The computing platform according to claim 13 or 14, wherein: The telemetry firmware is further configured, when executed, to store at least a portion of the collected telemetry data in the secure memory area.

17. The computing platform according to claim 13 or 14, wherein: The telemetry firmware is further configured to, when executed, store at least a portion of the telemetry data in at least one of: a static random access memory (SRAM) and a plurality of registers on the computing platform.

18. The computing platform according to claim 13 or 14, wherein: The telemetry firmware comprises a telemetry driver, wherein the processor comprises a plurality of machine specific registers (MSRs) and a manageability component enabled to access the plurality of MSRs, and wherein the platform firmware is further configured to, when executed: creating a secure communication channel between the telemetry driver and a manageability entity; collecting telemetry data from the plurality of MSRs via the manageability entity; and The telemetry data is transmitted to the telemetry driver via the secure communication channel.

19. The computing platform according to claim 13 or 14, wherein: The platform firmware is further configured to, when executed, implement a submission queue and a completion queue to facilitate collection of at least a portion of the telemetry data.

20. The computing platform of claim 19, wherein: The platform firmware is further configured to, when executed: identifying a plurality of telemetry data sources in the computing platform; submitting a queue command to a time slot in the submission queue, the queue command identifying telemetry data for which at least one of a generation and a forwarding action is to be performed by one of the telemetry data providers; Retrieving the queue command from the submission queue; processing the queue command to perform at least one of a generation and a forwarding action on telemetry data identified by the queue command; entering a processing completion entry into a time slot in the completion queue, the processing completion entry comprising at least one of: data identifying a queue command being processed, the telemetry data, and a location of the telemetry data; accessing the telemetry data using data contained in a process completion queue entry; as well as The telemetry data is securely stored on the computing platform.

21. The computing platform of claim 13 or 14, wherein: The computing platform includes a management controller having an onboard memory, and the platform firmware is further configured, when executed: implementing a memory mapped input / output MMIO alias for each of a plurality of telemetry data sources in the computing platform, each MMIO alias mapping a telemetry data source to a corresponding address in the onboard memory of the management controller; receiving a memory read request including a memory address to access the on-board memory of the management controller; employing a telemetry data access mechanism associated with the memory address such that telemetry data provided by a telemetry data source corresponding to the MMIO alias for the memory address is placed in the onboard memory at a location defined by the memory address; and The telemetry data is returned to service the read request.

22. The computing platform of claim 21, further comprising: dividing the on-board memory into a plurality of regions; associating a telemetry data access mechanism with each of the plurality of zones; In response to receiving the memory read request, identifying a region in which the memory address is located; as well as The telemetry data source is accessed using a telemetry data access mechanism associated with the identified region.

23. A non-transitory machine-readable medium having firmware instructions stored thereon, the firmware instructions comprising one or more telemetry firmware components, the firmware instructions configured to be executed by a processor in a computing platform including a system memory, wherein: The firmware instructions, when executed, enable the computing platform to: configuring a portion of the system memory as a secure memory area; loading one or more telemetry firmware components into the secure memory area; The one or more telemetry firmware components in the secure memory area are executed to collect platform telemetry data.

24. The non-transitory machine-readable medium of claim 23, further comprising: software stored on the computing platform, the software being configured to be executed by the processor, wherein execution of the firmware instructions causes the computing platform to configure at least one virtual memory space allocated for execution of the software, and wherein the software is blocked from accessing secure areas of memory.

25. The non-transitory machine-readable medium of claim 23 or 24, wherein: The one or more telemetry firmware components include a telemetry driver as part of a Unified Extensible Firmware Interface (UEFI) firmware.

26. The non-transitory machine-readable medium of claim 23 or 24, wherein: The firmware instructions are further configured, when executed, to store at least a portion of the collected telemetry data in the secure memory area.

27. The non-transitory machine-readable medium of claim 23 or 24, wherein: The firmware instructions are further configured to, when executed, store at least a portion of the collected telemetry data in at least one of: a static random access memory (SRAM) and a plurality of registers on the computing platform.

28. The non-transitory machine-readable medium of claim 23 or 24, wherein: The one or more telemetry firmware components include a telemetry driver, wherein the processor includes a plurality of machine specific registers (MSRs) and a manageability component enabled to access the plurality of MSRs, and wherein the firmware instructions are further configured to, when executed: creating a secure communication channel between the telemetry driver and a manageability entity; collecting telemetry data from the plurality of MSRs via the manageability entity; and The telemetry data is transmitted to the telemetry driver via the secure communication channel.

29. The non-transitory machine-readable medium of claim 23 or 24, wherein: The firmware instructions are further configured to, when executed, implement a submission queue and a completion queue to facilitate collection of at least a portion of the telemetry data.

30. The non-transitory machine-readable medium of claim 29, wherein: The firmware instructions are further configured to, when executed: identifying a plurality of telemetry data sources in the computing platform; submitting a queue command to a time slot in the submission queue, the queue command identifying telemetry data for which at least one of a generation and a forwarding action is to be performed by one of the telemetry data providers; Retrieving the queue command from the submission queue; processing the queue command to perform at least one of a generation and a forwarding action on telemetry data identified by the queue command; Entering a processing completion entry into a time slot in the completion queue, the processing completion entry comprising at least one of: data identifying a queue command being processed, the telemetry data, and a location of the telemetry data; and accessing the telemetry data using data contained in a process completion queue entry; as well as The telemetry data is securely stored on the computing platform.

31. A computer program product comprising instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1-12.

Citation Information

Patent Citations

  • Reporting of Intra-Device Failure Data

    CN102521111A

  • Methods and systems for communicating between trusted and non-trusted virtual machines

    CN102763098A

  • Secure application debugging

    CN105981333A

  • Memory encryption exclusion method and apparatus

    US20160378686A1

  • Technologies for scalable security architecture of virtualized networks

    WO2016126347A1