Brad Bishop | a948d26 | 2016-10-05 19:51:48 -0400 | [diff] [blame] | 1 | description: > |
| 2 | Implement to provide CPU attributes. |
Cheng C Yang | 259f49e | 2020-02-25 10:07:32 +0800 | [diff] [blame] | 3 | properties: |
| 4 | - name: Socket |
| 5 | type: string |
| 6 | description: > |
| 7 | Processor Socket designation on MotherBoard. |
Brad Bishop | 6258c4f | 2022-09-14 10:53:57 -0400 | [diff] [blame] | 8 | default: "" |
Cheng C Yang | 259f49e | 2020-02-25 10:07:32 +0800 | [diff] [blame] | 9 | - name: Family |
| 10 | type: string |
| 11 | description: > |
| 12 | A free form string indicates processor family type. |
| 13 | For example, values can be "Intel Xeon |
| 14 | processor", "AS400 Family", etc. |
Brad Bishop | a1a46a9 | 2022-09-14 10:56:01 -0400 | [diff] [blame] | 15 | default: "" |
Brandon Kim | 8d3d5a2 | 2021-10-06 12:51:31 -0700 | [diff] [blame] | 16 | - name: EffectiveFamily |
| 17 | type: uint16 |
| 18 | description: > |
| 19 | The effective Family information as provided by the |
| 20 | manufacturer of this processor in unsigned integer. |
| 21 | Default set to 0x02 which is defined as "Unknown" Processor |
| 22 | Family in DSP0134 section 7.5.2. |
| 23 | default: 0x02 |
| 24 | - name: EffectiveModel |
| 25 | type: uint16 |
Brandon Kim | 40a42aa | 2021-09-09 19:17:04 -0700 | [diff] [blame] | 26 | description: > |
| 27 | The effective Model information as provided by the |
Brandon Kim | 8d3d5a2 | 2021-10-06 12:51:31 -0700 | [diff] [blame] | 28 | manufacturer of this processor in unsigned integer. |
| 29 | default: 0 |
Cheng C Yang | 259f49e | 2020-02-25 10:07:32 +0800 | [diff] [blame] | 30 | - name: Id |
| 31 | type: uint64 |
| 32 | description: > |
| 33 | This Processor ID field contains processor-specific information |
| 34 | that describes the processor's features. Details depend on |
| 35 | processor architecture. |
| 36 | For x86 and ARM processors, DMTF DSP0134 Section 7.5.3 is used. |
| 37 | default: 0 |
| 38 | - name: MaxSpeedInMhz |
| 39 | type: uint32 |
| 40 | description: > |
| 41 | Max Speed in megahertz the CPU can support. |
| 42 | - name: Characteristics |
| 43 | type: array[enum[self.Capability]] |
| 44 | description: > |
| 45 | The set of boolean flags for processor's capability, such as |
| 46 | 64-bit Capable, Multi-Core, Hardware Thread, Execute Protection, |
| 47 | Enhanced Virtualization, Power/Performance Control etc. |
| 48 | - name: CoreCount |
| 49 | type: uint16 |
| 50 | description: > |
| 51 | The number of cores in the processor. |
| 52 | - name: ThreadCount |
| 53 | type: uint16 |
| 54 | description: > |
| 55 | The maximum number of threads the processor can support. |
Brandon Kim | d81cff3 | 2021-09-01 10:00:13 -0700 | [diff] [blame] | 56 | - name: Step |
Brandon Kim | 0170a76 | 2021-10-19 18:51:14 -0700 | [diff] [blame] | 57 | type: uint16 |
Brandon Kim | d81cff3 | 2021-09-01 10:00:13 -0700 | [diff] [blame] | 58 | description: > |
| 59 | The step value for this processor |
Brandon Kim | 0170a76 | 2021-10-19 18:51:14 -0700 | [diff] [blame] | 60 | default: 0 |
Brandon Kim | d81cff3 | 2021-09-01 10:00:13 -0700 | [diff] [blame] | 61 | - name: Microcode |
Brandon Kim | 0170a76 | 2021-10-19 18:51:14 -0700 | [diff] [blame] | 62 | type: uint32 |
Brandon Kim | d81cff3 | 2021-09-01 10:00:13 -0700 | [diff] [blame] | 63 | description: > |
| 64 | The microcode information for this processor |
Brandon Kim | 0170a76 | 2021-10-19 18:51:14 -0700 | [diff] [blame] | 65 | default: 0 |
Cheng C Yang | 259f49e | 2020-02-25 10:07:32 +0800 | [diff] [blame] | 66 | |
| 67 | enumerations: |
| 68 | - name: Capability |
| 69 | description: > |
| 70 | List of capabilities that a processor can support. |
| 71 | Values are based off DMTF DSP0134 specification. |
| 72 | values: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 73 | - name: Capable64bit |
| 74 | description: > |
| 75 | Capable of 64-bit. |
| 76 | - name: MultiCore |
| 77 | description: > |
| 78 | Support multi-core. |
| 79 | - name: HardwareThread |
| 80 | description: > |
| 81 | Support hardware thread. |
| 82 | - name: ExecuteProtection |
| 83 | description: > |
| 84 | Support execute protection. |
| 85 | - name: EnhancedVirtualization |
| 86 | description: > |
| 87 | Support enhanced virtualization. |
| 88 | - name: PowerPerformanceControl |
| 89 | description: > |
| 90 | Support power/performance control. |
Brad Bishop | df55704 | 2021-10-04 15:51:11 -0400 | [diff] [blame] | 91 | |
| 92 | associations: |
| 93 | - name: associated_pcie_slots |
| 94 | description: > |
| 95 | Objects that implement Cpu can optionally implement the |
| 96 | associated_pcie_slots association to provide a link to one or more |
| 97 | PCIe slots. |
Zhenwei Chen | 453957c | 2022-03-31 17:54:17 -0700 | [diff] [blame] | 98 | reverse_names: |
| 99 | - upstream_processor |
Brad Bishop | df55704 | 2021-10-04 15:51:11 -0400 | [diff] [blame] | 100 | required_endpoint_interfaces: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 101 | - xyz.openbmc_project.Inventory.Item.PCIeSlot |