blob: 222f117e01d8a2556fb35e73ff0f7d36ae05f925 [file] [log] [blame]
Brad Bishopa948d262016-10-05 19:51:48 -04001description: >
2 Implement to provide CPU attributes.
Cheng C Yang259f49e2020-02-25 10:07:32 +08003properties:
4 - name: Socket
5 type: string
6 description: >
7 Processor Socket designation on MotherBoard.
8 - name: Family
9 type: string
10 description: >
11 A free form string indicates processor family type.
12 For example, values can be "Intel Xeon
13 processor", "AS400 Family", etc.
Brandon Kim8d3d5a22021-10-06 12:51:31 -070014 - name: EffectiveFamily
15 type: uint16
16 description: >
17 The effective Family information as provided by the
18 manufacturer of this processor in unsigned integer.
19 Default set to 0x02 which is defined as "Unknown" Processor
20 Family in DSP0134 section 7.5.2.
21 default: 0x02
22 - name: EffectiveModel
23 type: uint16
Brandon Kim40a42aa2021-09-09 19:17:04 -070024 description: >
25 The effective Model information as provided by the
Brandon Kim8d3d5a22021-10-06 12:51:31 -070026 manufacturer of this processor in unsigned integer.
27 default: 0
Cheng C Yang259f49e2020-02-25 10:07:32 +080028 - name: Id
29 type: uint64
30 description: >
31 This Processor ID field contains processor-specific information
32 that describes the processor's features. Details depend on
33 processor architecture.
34 For x86 and ARM processors, DMTF DSP0134 Section 7.5.3 is used.
35 default: 0
36 - name: MaxSpeedInMhz
37 type: uint32
38 description: >
39 Max Speed in megahertz the CPU can support.
40 - name: Characteristics
41 type: array[enum[self.Capability]]
42 description: >
43 The set of boolean flags for processor's capability, such as
44 64-bit Capable, Multi-Core, Hardware Thread, Execute Protection,
45 Enhanced Virtualization, Power/Performance Control etc.
46 - name: CoreCount
47 type: uint16
48 description: >
49 The number of cores in the processor.
50 - name: ThreadCount
51 type: uint16
52 description: >
53 The maximum number of threads the processor can support.
Brandon Kimd81cff32021-09-01 10:00:13 -070054 - name: Step
Brandon Kim0170a762021-10-19 18:51:14 -070055 type: uint16
Brandon Kimd81cff32021-09-01 10:00:13 -070056 description: >
57 The step value for this processor
Brandon Kim0170a762021-10-19 18:51:14 -070058 default: 0
Brandon Kimd81cff32021-09-01 10:00:13 -070059 - name: Microcode
Brandon Kim0170a762021-10-19 18:51:14 -070060 type: uint32
Brandon Kimd81cff32021-09-01 10:00:13 -070061 description: >
62 The microcode information for this processor
Brandon Kim0170a762021-10-19 18:51:14 -070063 default: 0
Cheng C Yang259f49e2020-02-25 10:07:32 +080064
65enumerations:
66 - name: Capability
67 description: >
68 List of capabilities that a processor can support.
69 Values are based off DMTF DSP0134 specification.
70 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050071 - name: Capable64bit
72 description: >
73 Capable of 64-bit.
74 - name: MultiCore
75 description: >
76 Support multi-core.
77 - name: HardwareThread
78 description: >
79 Support hardware thread.
80 - name: ExecuteProtection
81 description: >
82 Support execute protection.
83 - name: EnhancedVirtualization
84 description: >
85 Support enhanced virtualization.
86 - name: PowerPerformanceControl
87 description: >
88 Support power/performance control.
Brad Bishopdf557042021-10-04 15:51:11 -040089
90associations:
91 - name: associated_pcie_slots
92 description: >
93 Objects that implement Cpu can optionally implement the
94 associated_pcie_slots association to provide a link to one or more
95 PCIe slots.
Zhenwei Chen453957c2022-03-31 17:54:17 -070096 reverse_names:
97 - upstream_processor
Brad Bishopdf557042021-10-04 15:51:11 -040098 required_endpoint_interfaces:
Patrick Williams8da396c2022-03-14 14:21:02 -050099 - xyz.openbmc_project.Inventory.Item.PCIeSlot