Cpu: Add EffectiveFamily and update Model to EffectiveModel
Looking at the Redfish Resource and Schema guide:
https://www.dmtf.org/sites/default/files/standards/documents/DSP2046_2021.2.pdf
Section 6.86.6 at page 668, we see:
```
"Manufacturer": "Intel(R) Corporation",
"Model": "Multi-Core Intel(R) Xeon(R) processor 7xxx Series",
"ProcessorId": {
"VendorId": "GenuineIntel",
"IdentificationRegisters": "0x34AC34DC8901274A",
"EffectiveFamily": "0x42",
"EffectiveModel": "0x61",
"Step": "0x1",
"MicrocodeInfo": "0x429943"
},
```
We see that EffectiveFamily and EffectiveModel should be the hex
CPU ID values, while "Model" should be the human-readable name.
Set type of EffectiveFamily and EffectiveModel to uint.
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I1a0893a9ec04d41c2ba8d8737a6d210d1633f73b
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
index 0d5b03a..856465a 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
@@ -11,11 +11,20 @@
A free form string indicates processor family type.
For example, values can be "Intel Xeon
processor", "AS400 Family", etc.
- - name: Model
- type: string
+ - name: EffectiveFamily
+ type: uint16
+ description: >
+ The effective Family information as provided by the
+ manufacturer of this processor in unsigned integer.
+ Default set to 0x02 which is defined as "Unknown" Processor
+ Family in DSP0134 section 7.5.2.
+ default: 0x02
+ - name: EffectiveModel
+ type: uint16
description: >
The effective Model information as provided by the
- manufacturer of this processor.
+ manufacturer of this processor in unsigned integer.
+ default: 0
- name: Id
type: uint64
description: >