<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/provingground.git/hsbp-manager/src, branch master</title>
<subtitle>Intel BMC provingground (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/'/>
<updated>2019-10-22T17:52:05+00:00</updated>
<entry>
<title>Make hsbp-manager expose all redfish properties</title>
<updated>2019-10-22T17:52:05+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-10-16T21:36:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=29c10072c157687c8bce0e9bf63cad87310e71fe'/>
<id>urn:sha1:29c10072c157687c8bce0e9bf63cad87310e71fe</id>
<content type='text'>
Hsbp manager needs to query entity-manager for nvme
fields to populate all driver interfaces. This is needed
so indexing works correctly. This also exposes all M.2
drive interfaces at the end of the hsbp range. This allows
correct numbering. When we find a drive in entity-manager,
we backtrack from the virtual bus on the mux, to find out
what bus the mux is on, this tells us the hsbp. We then
use the virtual bus to identify the channel, this tells us
the drive index.

Tested: Saw 9 drives with a 1 hsbp and 1 M.2 configuration

Change-Id: I8e730a6a4229b3816991c629439ed4639710d114
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Handle power state changes</title>
<updated>2019-10-15T17:14:03+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-10-09T20:15:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=9fecb52a7a5cd0afebb98efcffac1359289914fd'/>
<id>urn:sha1:9fecb52a7a5cd0afebb98efcffac1359289914fd</id>
<content type='text'>
We need to check if power is on as the hsbp goes away
during power off. This copies the power logic from
dbus-sensors and uses it to avoid scanning when power
is off.

Tested: Warnings go away

Change-Id: Ie949e7a98eb70592318710f3eecdfe766f71f110
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Add LED hooks to hsbp manager</title>
<updated>2019-10-15T17:14:03+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-10-09T16:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=342bc446a047313000529538a8250ab2955c5ddf'/>
<id>urn:sha1:342bc446a047313000529538a8250ab2955c5ddf</id>
<content type='text'>
This adds the led group interface so that they can
be activiated by NVMe daemon.

Tested: Set using dbus, went and saw drive flashing

Change-Id: I2e1aa3f9338609370d9758a7c4874428dac5d4ea
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>hsbp-manager: Add drive interface to fru-less drives</title>
<updated>2019-10-09T17:10:16+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-10-07T23:34:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=c1ba6721d6cb703fb1fd71651ef80f8cc287a1a9'/>
<id>urn:sha1:c1ba6721d6cb703fb1fd71651ef80f8cc287a1a9</id>
<content type='text'>
Some drives don't have frus, but should still show up
in redfish. For this reason we need to populate the drive
interface when it is not available in entity-manager.

Tested: All drives showed up in redfish

Change-Id: If3bfa1e3e9c03146a77c896a5c983fbdaff3f4f5
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Create associations for drives with inventory</title>
<updated>2019-10-07T22:23:15+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-10-02T16:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=05cbe7a49a614b554413f8ebbda4306f603112f6'/>
<id>urn:sha1:05cbe7a49a614b554413f8ebbda4306f603112f6</id>
<content type='text'>
This creates associations so that redfish can know which
drives map to which configuration items.

Tested:

root@intel-obmc:~# busctl introspect xyz.openbmc_project.HsbpManager /xyz/openbmc_project/inventory/item/drive/Drive_2 --no-pager
NAME                                                  TYPE      SIGNATURE RESULT/VALUE                             FLAGS
org.freedesktop.DBus.Introspectable                   interface -         -                                        -
.Introspect                                           method    -         s                                        -
org.freedesktop.DBus.Peer                             interface -         -                                        -
.GetMachineId                                         method    -         s                                        -
.Ping                                                 method    -         -                                        -
org.freedesktop.DBus.Properties                       interface -         -                                        -
.Get                                                  method    ss        v                                        -
.GetAll                                               method    s         a{sv}                                    -
.Set                                                  method    ssv       -                                        -
.PropertiesChanged                                    signal    sa{sv}as  -                                        -
xyz.openbmc_project.Association.Definitions           interface -         -                                        -
.Associations                                         property  a(sss)    1 "inventory" "drive" "/xyz/openbmc_p... emits-change
xyz.openbmc_project.Inventory.Item                    interface -         -                                        -
.Present                                              property  b         true                                     emits-change
.PrettyName                                           property  s         "Drive 2"                                emits-change
xyz.openbmc_project.State.Decorator.OperationalStatus interface -         -                                        -
.Functional                                           property  b         true                                     emits-change
xyz.openbmc_project.State.Drive                       interface -         -                                        -
.Rebuilding                                           property  b         false                                    emits-change

Also show up in mapper

Change-Id: Ia050316ac55faa89aad86567c93f9a74594e9180
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Add rebuilding to hsbp manager</title>
<updated>2019-10-07T22:11:09+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-09-27T22:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=54632a9bb2dda405bc1b2d7a2b3d2c13eca925a5'/>
<id>urn:sha1:54632a9bb2dda405bc1b2d7a2b3d2c13eca925a5</id>
<content type='text'>
Interface is pushed here:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/25671

Tested: available on dbus

Change-Id: I79a73bb0e62951b09f4eb8bf0594aa39916b5dd9
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>hsbp-manager: add drive presence and software version</title>
<updated>2019-10-02T23:46:39+00:00</updated>
<author>
<name>James Feist</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-09-27T17:38:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=4d8c6046b4fa508b9693a8fbc8d567358f55891f'/>
<id>urn:sha1:4d8c6046b4fa508b9693a8fbc8d567358f55891f</id>
<content type='text'>
This adds support for reading the sw version and drive
presence from the hsbp cpld.

Tested:

Version is available in redfish

root@intel-obmc:~# busctl tree xyz.openbmc_project.HsbpManager --no-pager
`-/xyz
  `-/xyz/openbmc_project
    |-/xyz/openbmc_project/inventory
    | `-/xyz/openbmc_project/inventory/item
    |   |-/xyz/openbmc_project/inventory/item/drive
    |   | |-/xyz/openbmc_project/inventory/item/drive/Drive_1
    |   | |-/xyz/openbmc_project/inventory/item/drive/Drive_2
    |   | |-/xyz/openbmc_project/inventory/item/drive/Drive_3
    |   | |-/xyz/openbmc_project/inventory/item/drive/Drive_4
    |   | |-/xyz/openbmc_project/inventory/item/drive/Drive_5
    |   | |-/xyz/openbmc_project/inventory/item/drive/Drive_6
    |   | |-/xyz/openbmc_project/inventory/item/drive/Drive_7
    |   | `-/xyz/openbmc_project/inventory/item/drive/Drive_8
    |   `-/xyz/openbmc_project/inventory/item/hsbp
    |     `-/xyz/openbmc_project/inventory/item/hsbp/J85894_HSBP_1

root@intel-obmc:~# busctl introspect xyz.openbmc_project.HsbpManager /xyz/openbmc_project/inventory/item/hsbp/J85894_HSBP_1 --no-pager
NAME                                 TYPE      SIGNATURE RESULT/VALUE                             FLAGS
org.freedesktop.DBus.Introspectable  interface -         -                                        -
.Introspect                          method    -         s                                        -
org.freedesktop.DBus.Peer            interface -         -                                        -
.GetMachineId                        method    -         s                                        -
.Ping                                method    -         -                                        -
org.freedesktop.DBus.Properties      interface -         -                                        -
.Get                                 method    ss        v                                        -
.GetAll                              method    s         a{sv}                                    -
.Set                                 method    ssv       -                                        -
.PropertiesChanged                   signal    sa{sv}as  -                                        -
xyz.openbmc_project.Inventory.Item   interface -         -                                        -
.Present                             property  b         true                                     emits-change
.PrettyName                          property  s         "J85894 HSBP 1"                          emits-change
xyz.openbmc_project.Software.Version interface -         -                                        -
.Version                             property  s         "00.02.01"                               emits-change
.Purpose                             property  s         "xyz.openbmc_project.Software.Version... emits-change

Change-Id: I73fd2669f4a0e9b8e499107a960f2169f63873e3
Signed-off-by: James Feist &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Add HSBP Manager Daemon</title>
<updated>2019-09-30T16:14:46+00:00</updated>
<author>
<name>Feist, James</name>
<email>james.feist@linux.intel.com</email>
</author>
<published>2019-08-29T23:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=86e30d6c5088cce8cb315617615c7f1698d1c995'/>
<id>urn:sha1:86e30d6c5088cce8cb315617615c7f1698d1c995</id>
<content type='text'>
This is the initial commit for the hsbp-manager
daemon. Currently it reads a json configuration
and detects whether the cpld is available. More
feaures will be added in small patches.

Tested:

busctl introspect --no-pager xyz.openbmc_project.HsbpManager /xyz/openbmc_project/inventory/item/hsbp/J85894_HSBP_1
NAME                                TYPE      SIGNATURE RESULT/VALUE    FLAGS
org.freedesktop.DBus.Introspectable interface -         -               -
.Introspect                         method    -         s               -
org.freedesktop.DBus.Peer           interface -         -               -
.GetMachineId                       method    -         s               -
.Ping                               method    -         -               -
org.freedesktop.DBus.Properties     interface -         -               -
.Get                                method    ss        v               -
.GetAll                             method    s         a{sv}           -
.Set                                method    ssv       -               -
.PropertiesChanged                  signal    sa{sv}as  -               -
xyz.openbmc_project.Inventory.Item  interface -         -               -
.Present                            property  b         true            emits-change
.PrettyName                         property  s         "J85894 HSBP 1" emits-change

Change-Id: Ibbce272e045f8643af74b778f273168442623919
Signed-off-by: Feist, James &lt;james.feist@linux.intel.com&gt;
</content>
</entry>
</feed>
