summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0036-add-fields.patch
blob: 6665de9d5d4e7236d89158f552ec45e0acd1c315 (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
71
From 57ccd7833ab4a7d91df3431783dfea3ab12c77b8 Mon Sep 17 00:00:00 2001
From: eportnov <eportnov@ibs.ru>
Date: Tue, 5 Jul 2022 11:37:22 +0300
Subject: [PATCH] add fields

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

diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
index 222f117..211673d 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
@@ -61,6 +61,17 @@ properties:
       description: >
           The microcode information for this processor
       default: 0
+    - name: Version
+      type: string
+      description: >
+          Vendor or supplier
+      default: ""
+    - name: InstructionSet
+      type: enum[self.Instruction]
+      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
@@ -86,6 +97,39 @@ enumerations:
           - name: PowerPerformanceControl
             description: >
                 Support power/performance control.
+                
+    - name: Instruction
+      description: >
+          List of capabilities that a processor can support.
+          Values are based off DMTF DSP0134 specification.
+      values:
+          - name: ARM_A32
+            description: >
+                Capable of 64-bit.
+          - name: ARM_A64
+            description: >
+                Support multi-core.
+          - name: IA_64
+            description: >
+                Support hardware thread.
+          - name: MIPS32
+            description: >
+                Support execute protection.
+          - name: MIPS64
+            description: >
+                Support enhanced virtualization.
+          - name: OEM
+            description: >
+                Support power/performance control.
+          - name: PowerISA
+            description: >
+                Support power/performance control.
+          - name: x86
+            description: >
+                Support power/performance control.
+          - name: x86_64
+            description: >
+                Support power/performance control.
 
 associations:
     - name: associated_pcie_slots