summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0005-Add-DBUS-interface-of-CPU-and-Memory-s-properties.patch
blob: 4cfc4acc807cd1cae6830b516064a71ba2d50b7b (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
From a30a09f58b9ebfb267c0b9cce9ae25994ea025ca Mon Sep 17 00:00:00 2001
From: cyang29 <cheng.c.yang@intel.com>
Date: Tue, 17 Jul 2018 16:04:58 +0800
Subject: [PATCH] Add DBUS interface of CPU properties Feature
 Support:   SMBIOS service interface.   CPU information redfish
 interface. Base on smbios spec DSP0134_3.0.0

Signed-off-by: cyang29 <cheng.c.yang@intel.com>
---
 .../Inventory/Item/Cpu.interface.yaml              | 41 +++++++++++++++++++
 1 files changed, 41 insertions(+)

diff --git a/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml b/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
index ab29cf3..313eada 100644
--- a/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
+++ b/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
@@ -1,4 +1,45 @@
 description: >
     Implement to provide CPU attributes.
+properties:
+    - name: ProcessorSocket
+      type: string
+      description: >
+          Processor Socket on MotherBoard
+    - name: ProcessorType
+      type: string
+      description: >
+          Processor Type of CPU
+    - name: ProcessorFamily
+      type: string
+      description: >
+          Processor Family of CPU
+    - name: ProcessorManufacturer
+      type: string
+      description: >
+          Processor Manufacturer of CPU
+    - name: ProcessorId
+      type: uint32
+      description: >
+          Processor ID of CPU
+    - name: ProcessorVersion
+      type: string
+      description: >
+          Processor Version of CPU
+    - name: ProcessorMaxSpeed
+      type: uint16
+      description: >
+          Max Speed CPU Can Support
+    - name: ProcessorCharacteristics
+      type: string
+      description: >
+          The Characteristics CPU Has
+    - name: ProcessorCoreCount
+      type: uint16
+      description: >
+          The Count of Core in CPU
+    - name: ProcessorThreadCount
+      type: uint16
+      description: >
+          The Count of Thread CPU Can Support
 
 # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
-- 
2.16.2