blob: 8b3fb6f3c7e900457901911280845d74b78aae04 [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: >
Patrick Williamsa1347412022-12-06 10:56:22 -060012 A free form string indicates processor family type. For example,
13 values can be "Intel Xeon processor", "AS400 Family", etc.
Brad Bishopa1a46a92022-09-14 10:56:01 -040014 default: ""
Brandon Kim8d3d5a22021-10-06 12:51:31 -070015 - name: EffectiveFamily
16 type: uint16
17 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060018 The effective Family information as provided by the manufacturer of
19 this processor in unsigned integer. Default set to 0x02 which is
20 defined as "Unknown" Processor Family in DSP0134 section 7.5.2.
Brandon Kim8d3d5a22021-10-06 12:51:31 -070021 default: 0x02
22 - name: EffectiveModel
23 type: uint16
Brandon Kim40a42aa2021-09-09 19:17:04 -070024 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060025 The effective Model information as provided by the manufacturer of
26 this processor in unsigned integer.
Brandon Kim8d3d5a22021-10-06 12:51:31 -070027 default: 0
Cheng C Yang259f49e2020-02-25 10:07:32 +080028 - name: Id
29 type: uint64
30 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060031 This Processor ID field contains processor-specific information that
32 describes the processor's features. Details depend on processor
33 architecture. For x86 and ARM processors, DMTF DSP0134 Section 7.5.3
34 is used.
Cheng C Yang259f49e2020-02-25 10:07:32 +080035 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: >
Patrick Williamsa1347412022-12-06 10:56:22 -060043 The set of boolean flags for processor's capability, such as 64-bit
44 Capable, Multi-Core, Hardware Thread, Execute Protection, Enhanced
45 Virtualization, Power/Performance Control etc.
Cheng C Yang259f49e2020-02-25 10:07:32 +080046 - 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
Michael Shen2ff10812023-02-13 01:47:11 +000058 default: maxint
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: >
Patrick Williamsa1347412022-12-06 10:56:22 -060068 List of capabilities that a processor can support. Values are based
69 off DMTF DSP0134 specification.
Cheng C Yang259f49e2020-02-25 10:07:32 +080070 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