diff options
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-phosphor/dbus')
-rw-r--r-- | meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0028-MCTP-Daemon-D-Bus-interface-definition.patch | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0028-MCTP-Daemon-D-Bus-interface-definition.patch b/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0028-MCTP-Daemon-D-Bus-interface-definition.patch index dc44d7a0d..e6afc0117 100644 --- a/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0028-MCTP-Daemon-D-Bus-interface-definition.patch +++ b/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0028-MCTP-Daemon-D-Bus-interface-definition.patch @@ -1,4 +1,4 @@ -From 9bcc45f1a4d872e9968fdebf675c5fff6921c2f3 Mon Sep 17 00:00:00 2001 +From 65d1772312a76ebfdac6391bb97287c62f18c43f Mon Sep 17 00:00:00 2001 From: "Kowalski, Mariusz" <mariusz.kowalski@intel.com> Date: Thu, 27 Feb 2020 15:48:56 +0100 Subject: [PATCH] MCTP Daemon D-Bus interface definition. @@ -12,14 +12,14 @@ Signed-off-by: Mariusz Kowalski <mariusz.kowalski@intel.com> Signed-off-by: Karol Wachowski <karol.wachowski@intel.com> Change-Id: Ida66f8ffcf00003655edcb0fb0112202797b8e1a --- - xyz/openbmc_project/MCTP/Base.interface.yaml | 231 ++++++++++++++++++ + xyz/openbmc_project/MCTP/Base.interface.yaml | 227 ++++++++++++++++++ .../MCTP/Binding/PCIe.interface.yaml | 29 +++ .../MCTP/Binding/SMBus.interface.yaml | 17 ++ .../MCTP/BusOwner.interface.yaml | 17 ++ - .../MCTP/Endpoint.interface.yaml | 19 ++ - xyz/openbmc_project/MCTP/README.md | 38 +++ + .../MCTP/Endpoint.interface.yaml | 13 + + xyz/openbmc_project/MCTP/README.md | 43 ++++ .../MCTP/SupportedMessageTypes.interface.yaml | 36 +++ - 7 files changed, 387 insertions(+) + 7 files changed, 382 insertions(+) create mode 100644 xyz/openbmc_project/MCTP/Base.interface.yaml create mode 100644 xyz/openbmc_project/MCTP/Binding/PCIe.interface.yaml create mode 100644 xyz/openbmc_project/MCTP/Binding/SMBus.interface.yaml @@ -30,10 +30,10 @@ Change-Id: Ida66f8ffcf00003655edcb0fb0112202797b8e1a diff --git a/xyz/openbmc_project/MCTP/Base.interface.yaml b/xyz/openbmc_project/MCTP/Base.interface.yaml new file mode 100644 -index 0000000..f27c1c7 +index 0000000..9438551 --- /dev/null +++ b/xyz/openbmc_project/MCTP/Base.interface.yaml -@@ -0,0 +1,231 @@ +@@ -0,0 +1,227 @@ +description: > + Mandatory interface for each instance of the MCTP Daemon to expose + the base MCTP daemon and medium type interfaces. @@ -153,10 +153,6 @@ index 0000000..f27c1c7 + type: boolean + description: Support for statically/dynamicly allocated IDs + -+ - name: Uuid -+ type: array[byte] -+ description: Guid - 16bytes -+ + - name: BindingMode + type: enum[self.BindingModeTypes] + description: Bus Owner / Endpoint / Bridge @@ -348,20 +344,14 @@ index 0000000..d46298e + description: Indicates Eid pool is managed by self diff --git a/xyz/openbmc_project/MCTP/Endpoint.interface.yaml b/xyz/openbmc_project/MCTP/Endpoint.interface.yaml new file mode 100644 -index 0000000..b7f9a67 +index 0000000..e4ba4d0 --- /dev/null +++ b/xyz/openbmc_project/MCTP/Endpoint.interface.yaml -@@ -0,0 +1,19 @@ +@@ -0,0 +1,13 @@ +description: + Interface exposed by discovered MCTP endpoints. + +properties: -+ - name: Uuid -+ type: array[byte] -+ description: > -+ Universally unique identifier (UUID), also referred to as a globally -+ unique ID (GUID), for the management controller or management device. -+ + - name: Mode + type: enum[xyz.openbmc_project.MCTP.Base.BindingModeTypes] + description: Endpoint / BusOwner / Bridge @@ -373,10 +363,10 @@ index 0000000..b7f9a67 + MCTP network within a platform. diff --git a/xyz/openbmc_project/MCTP/README.md b/xyz/openbmc_project/MCTP/README.md new file mode 100644 -index 0000000..3255ef2 +index 0000000..c819dbb --- /dev/null +++ b/xyz/openbmc_project/MCTP/README.md -@@ -0,0 +1,38 @@ +@@ -0,0 +1,43 @@ +# MCTP Daemon + +## Overview @@ -405,16 +395,21 @@ index 0000000..3255ef2 +4. Binding interface `xyz.openbmc_project.MCTP.Binding.PCIe` or +`xyz.openbmc_project.MCTP.Binding.SMBus` as per the physical medium in which +this MCTP Daemon is instantiated. ++5. Common UUID interface `xyz.openbmc_project.Common.UUID` which exposes UUID ++in RFC4122 format. + +#### Endpoint object +Exposed under the path `/xyz/openbmc_project/mctp/device/<eid>` with the +following interfaces. +1. `xyz.openbmc_project.MCTP.SupportedMessageTypes` which exposes supported MCTP +message types for the discovered MCTP Endpoint. -+2. `xyz.openbmc_project.MCTP.Endpoint` which exposes properties like UUID and endpoint -+mode (to identify Bus Owner or Bridge or Endpoint) for the discovered MCTP Endpoint. ++2. `xyz.openbmc_project.MCTP.Endpoint` which exposes properties like Network ID ++and endpoint mode (to identify Bus Owner or Bridge or Endpoint) for the discovered ++MCTP Endpoint. +3. `xyz.openbmc_project.MCTP.Bridge` available only for discovered MCTP Bridges to +expose properties like EID pool. (TBD) ++4. Common UUID interface `xyz.openbmc_project.Common.UUID` which exposes UUID ++in RFC4122 format. diff --git a/xyz/openbmc_project/MCTP/SupportedMessageTypes.interface.yaml b/xyz/openbmc_project/MCTP/SupportedMessageTypes.interface.yaml new file mode 100644 index 0000000..fa447ee |