#
c78d887c |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ia442cdc88aaeaab2f1384cc46a56f5cd5e40f2f5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
414d5aef |
| 04-Mar-2021 |
Alpana Kumari <alpankum@in.ibm.com> |
Support XYZ interface for Location code Update xyz interface for Location code in ibm-read-parser and vpd-manager along with com.ibm.path for Location code. Test Result- bus
Support XYZ interface for Location code Update xyz interface for Location code in ibm-read-parser and vpd-manager along with com.ibm.path for Location code. Test Result- busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard| grep -e "Location" -e "FC" -e "SE" com.ibm.ipzvpd.Location interface - - - .LocationCode property s "U78DA.ND1.WZS004K-P0" emits-change writable .FC property ay 8 65 65 68 65 45 48 48 49 emits-change writable .SE property ay 7 68 68 83 48 48 52 75 emits-change writable .SE property ay 7 49 51 57 70 50 66 48 emits-change writable xyz.openbmc_project.Inventory.Decorator.LocationCode interface - - - .LocationCode property s "UAADA.ND0.DDS004K-P0" emits-change writable Below write command should trigger the LC update for motherboard and other dependent FRUs. busctl call com.ibm.VPD.Manager /com/ibm/VPD/Manager com.ibm.VPD.Manager WriteKeyword ossay "/system/chassis/motherboard" "VCEN" "FC" 2 55 56 busctl call com.ibm.VPD.Manager /com/ibm/VPD/Manager com.ibm.VPD.Manager WriteKeyword ossay "/system/chassis/motherboard" "VCEN" "SE" 2 87 90 busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard| grep -e "Location" -e "FC" -e "SE" com.ibm.ipzvpd.Location interface - - - .LocationCode property s "U78DA.ND0.WZS004K-P0" emits-change writable .FC property ay 8 55 56 68 65 45 48 48 49 emits-change writable .SE property ay 7 87 90 83 48 48 52 75 emits-change writable .SE property ay 7 49 51 57 70 50 66 48 emits-change writable xyz.openbmc_project.Inventory.Decorator.LocationCode interface - - - .LocationCode property s "U78DA.ND0.WZS004K-P0" emits-change writable busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0| grep -e "Location" -e "FC" -e "SE" com.ibm.ipzvpd.Location interface - - - .LocationCode property s "U78DA.ND0.WZS004K-P0-C15" emits-change writable xyz.openbmc_project.Inventory.Decorator.LocationCode interface - - - .LocationCode property s "U78DA.ND0.WZS004K-P0-C15" emits-change writable Change-Id: If8715b8cafcc87d8a46e7083f90f162c5ad4a6b0 Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
show more ...
|
#
6c71c9dc |
| 15-Apr-2021 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Segregate utility methods This commit segregates utility methods required commonly by both openpower-read-vpd and ibm-read-vpd from methods only required by ibm-read-vpd. All dep
Segregate utility methods This commit segregates utility methods required commonly by both openpower-read-vpd and ibm-read-vpd from methods only required by ibm-read-vpd. All dependency required by utility methods specific to ibm-read-vpd is not applicable to utility methods required by openpower-read-vpd. Hence to avoid un-necessary dependency inclusion, this change is introduced. Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: I95f2be27dc0c391a45beb1654a99506317aaa52b
show more ...
|
#
97f8df0e |
| 30-May-2020 |
SunnySrivastava1984 <sunnsr25@in.ibm.com> |
Test cases for VPD-Manager read functionalities Implementation of test cases for read functionalities provided by VPD-Manager app. Signed-off-by: Sunny Srivastava <sunnsr25@in.i
Test cases for VPD-Manager read functionalities Implementation of test cases for read functionalities provided by VPD-Manager app. Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: I83ad6757934a4c28ae26eb11f0b1f380e2c82aa8
show more ...
|
#
fb5815a6 |
| 24-Apr-2020 |
SunnySrivastava1984 <sunnsr25@in.ibm.com> |
Get inventory list using expanded location code This commit implements api to get inventory list with respect to a given location code in expanded format. In case no inventory i
Get inventory list using expanded location code This commit implements api to get inventory list with respect to a given location code in expanded format. In case no inventory is found at the given location or location code is not correct, corresponding error is returned to the caller. Tested on simics. This api is under com.ibm.vpd.Manager interface. So vpd-manager app needs to be running for this api to work. Sample command for simics: busctl call com.ibm.VPD.Manager /com/ibm/VPD/Manager com.ibm.VPD.Manager GetFRUsByUnexpandedLocationCode sq <location_code> <node_number> Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: Ifa47d73a64338cbd228b5be1346027c69695612a
show more ...
|
#
1356d7e0 |
| 24-Apr-2020 |
SunnySrivastava1984 <sunnsr25@in.ibm.com> |
Get Inventory list using unexpanded location code This commit implements an api to get inventory list with respect to a given location code in un-expanded format. Along with location
Get Inventory list using unexpanded location code This commit implements an api to get inventory list with respect to a given location code in un-expanded format. Along with location code node also needs to be passed. In case no inventory is found at the given location or location code is not correct, corresponding error is returned to the caller. Tested on simics. This api is under com.ibm.vpd.Manager interface. So vpd-manager app needs to be running for this api to work. Sample command for simics: busctl call com.ibm.VPD.Manager /com/ibm/VPD/Manager com.ibm.VPD.Manager GetFRUsByUnexpandedLocationCode sq <location_code> <node_number> Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: I87159d2a3c293e82c9e82d21a9d281bd176a30e7
show more ...
|
#
bca5aaa5 |
| 21-Apr-2020 |
SunnySrivastava1984 <sunnsr25@in.ibm.com> |
Un-expanded to expanded location code conversion This commit implements an api to get expanded location code from a given un-expanded location code and node number. In case inva
Un-expanded to expanded location code conversion This commit implements an api to get expanded location code from a given un-expanded location code and node number. In case invalid argument is passed or the location code is not found, corresponding error is returned to the caller. Tested on simics. To build use following command. meson -Dibm-parser=enabled -Dvpd-manager=enabled build ninja -C build Sample bus call. busctl call com.ibm.VPD.Manager /com/ibm/VPD/Manager com.ibm.VPD.Manager GetExpandedLocationCode sq <locationCode> <nodeNumber>. Signed-off-by: SunnySrivastava1984 <sunnsr25@in.ibm.com> Change-Id: I52654a1c34d25dc9b861159a2ae1d15379b44677
show more ...
|