diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2019-07-19 11:27:43 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-07-23 20:37:18 +0300 |
commit | c13f8ebeb9040e7f99ab3b93854c535271a799ca (patch) | |
tree | d2e44c7033e7aa013dbd6165a2e01cf536c3e3f4 | |
parent | b4878ddc3c7974648e45d18aa23cf5dc23528367 (diff) | |
download | openbmc-c13f8ebeb9040e7f99ab3b93854c535271a799ca.tar.xz |
Add Accelerator Interface to GPU Sensors
This commit adds the xyz.openbmc_project.Inventory.Item.Accelerator
interface to IPMI GPU functional sensors.
This was something done earlier by commit
f510f7b6b708b22db1f08faf369994f01edd0ddc.
The same is being ported now to the new sensor config YAML.
Tested:
Loaded this change up on a witherspoon. Verified that the
inventory objects created by host-ipmid now implement the
xyz.openbmc_project.Inventory.Item.Accelerator interface.
busctl call xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/object_mapper
xyz.openbmc_project.ObjectMapper GetSubTree sias
"/xyz/openbmc_project/inventory" 0 1
"xyz.openbmc_project.Inventory.Item.Accelerator"
a{sa{sas}} 6
"/xyz/openbmc_project/inventory/system/chassis/motherboard/gv100card0"
....
....
(From meta-ibm rev: 2b99559bff775f719fb79a5a770b5267bbbd6dcc)
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Ic132c417aca171e23f5d72705461fe3378e194b0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml index 0a04d93ae2..1c7b6eb82a 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/configuration/acx22-yaml-config/acx22-ipmi-sensors-mrw.yaml @@ -150,6 +150,7 @@ fw_boot_sensor: serviceInterface: org.freedesktop.DBus.Properties gpu_func_sensor: interfaces: + xyz.openbmc_project.Inventory.Item.Accelerator: xyz.openbmc_project.Inventory.Decorator.Replaceable: FieldReplaceable: Offsets: |