diff options
Diffstat (limited to 'meta-ibs/meta-common/recipes-phosphor')
-rw-r--r-- | meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0036-add-fields.patch | 71 | ||||
-rw-r--r-- | meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend | 1 |
2 files changed, 72 insertions, 0 deletions
diff --git a/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0036-add-fields.patch b/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0036-add-fields.patch new file mode 100644 index 0000000000..6665de9d5d --- /dev/null +++ b/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0036-add-fields.patch @@ -0,0 +1,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 diff --git a/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend b/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend index 3da80680fe..614db6e4d2 100644 --- a/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend +++ b/meta-ibs/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend @@ -20,4 +20,5 @@ SRC_URI += "file://0007-ipmi-set-BIOS-id.patch \ file://0033-update-meson-build-for-PLDM-FWU-interfaces.patch \ file://0034-Add-username-property-to-SessionInfo-interface.patch \ file://0035-Remove-read-only-flag-from-NTPServers.patch \ + file://0036-add-fields.patch \ " |