blob: 74f5671c8ecaea797a6bd738ff0aee01553070a8 [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.
Brad Bishop6258c4f2022-09-14 10:53:57 -04008 default: ""
Cheng C Yang259f49e2020-02-25 10:07:32 +08009 - 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 Bishopa1a46a92022-09-14 10:56:01 -040015 default: ""
Brandon Kim8d3d5a22021-10-06 12:51:31 -070016 - 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 Kim40a42aa2021-09-09 19:17:04 -070026 description: >
27 The effective Model information as provided by the
Brandon Kim8d3d5a22021-10-06 12:51:31 -070028 manufacturer of this processor in unsigned integer.
29 default: 0
Cheng C Yang259f49e2020-02-25 10:07:32 +080030 - 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 Kimd81cff32021-09-01 10:00:13 -070056 - name: Step
Brandon Kim0170a762021-10-19 18:51:14 -070057 type: uint16
Brandon Kimd81cff32021-09-01 10:00:13 -070058 description: >
59 The step value for this processor
Brandon Kim0170a762021-10-19 18:51:14 -070060 default: 0
Brandon Kimd81cff32021-09-01 10:00:13 -070061 - name: Microcode
Brandon Kim0170a762021-10-19 18:51:14 -070062 type: uint32
Brandon Kimd81cff32021-09-01 10:00:13 -070063 description: >
64 The microcode information for this processor
Brandon Kim0170a762021-10-19 18:51:14 -070065 default: 0
Cheng C Yang259f49e2020-02-25 10:07:32 +080066
67enumerations:
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 Williams8da396c2022-03-14 14:21:02 -050073 - 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 Bishopdf557042021-10-04 15:51:11 -040091
92associations:
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 Chen453957c2022-03-31 17:54:17 -070098 reverse_names:
99 - upstream_processor
Brad Bishopdf557042021-10-04 15:51:11 -0400100 required_endpoint_interfaces:
Patrick Williams8da396c2022-03-14 14:21:02 -0500101 - xyz.openbmc_project.Inventory.Item.PCIeSlot