summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0003-Add-new-fields-to-cpu.patch
blob: f10da21652911b9020aceaf121346ff228afe537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
From 4b2a14e510495ef42d638584a62ab3c9ccf24056 Mon Sep 17 00:00:00 2001
From: eportnov <eportnov@ibs.ru>
Date: Thu, 7 Jul 2022 17:52:12 +0300
Subject: [PATCH] Add new fields to cpu

---
 .../Inventory/Item/Cpu.interface.yaml         | 36 ++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
index 211673d..174a80e 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
@@ -37,6 +37,10 @@ properties:
       type: uint32
       description: >
           Max Speed in megahertz the CPU can support.
+    - name: MinSpeedMHz
+      type: uint32
+      description: >
+          Min Speed in megahertz the CPU can support.
     - name: Characteristics
       type: array[enum[self.Capability]]
       description: >
@@ -72,6 +76,12 @@ properties:
           The set of boolean flags for processor's capability, such as
           64-bit Capable, Multi-Core, Hardware Thread, Execute Protection,
           Enhanced Virtualization, Power/Performance Control etc.
+    - name: ProcessorArchitecture
+      type: enum[self.ProcessorArchitecture]
+      description: >
+          The set of boolean flags for processor's capability, such as
+          64-bit Capable, Multi-Core, Hardware Thread, Execute Protection,
+          Enhanced Virtualization, Power/Performance Control etc.
 
 enumerations:
     - name: Capability
@@ -130,7 +140,31 @@ enumerations:
           - name: x86_64
             description: >
                 Support power/performance control.
-
+                
+    - name: ProcessorArchitecture
+      description: >
+        Contain the string that identifies the architecture 
+        of the processor contained in this socket
+      values:
+          - name: ARM
+            description: >
+                ARM.
+          - name: IA_64
+            description: >
+                Intel Itanium.
+          - name: MIPS
+            description: >
+                MIPS.
+          - name: OEM
+            description: >
+                OEM-defined.
+          - name: Power
+            description: >
+                Power.
+          - name: x86
+            description: >
+                x86 or x86-64.
+                
 associations:
     - name: associated_pcie_slots
       description: >