summaryrefslogtreecommitdiffstats
path: root/src/import/generic/procedures
diff options
context:
space:
mode:
authorBen Gass <bgass@us.ibm.com>2019-02-21 19:37:38 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-03-28 10:31:53 -0500
commit224517ac925ba45b0ef81e4e153a42b082a28c03 (patch)
tree94cd9cba4218f78869afa4e1827ddaf454d3e07d /src/import/generic/procedures
parent1564d45787cec40d0f80e2db04cd20c55ed1a2e9 (diff)
downloadtalos-hostboot-224517ac925ba45b0ef81e4e153a42b082a28c03.tar.gz
talos-hostboot-224517ac925ba45b0ef81e4e153a42b082a28c03.zip
Update cmd/rsp endian handling in exp_inband
Data written/read from the command/response/data buffers is done so in transaction sizes of 4 or 8 bytes. The data in those transactions will be little endian byte order. The byte order of those transactions must be corrected to represent the data structures stored in the buffers correctly for extraction of field data. The fields themselves will be big endian byte ordering. This patch also adds two attributes: ATTR_MSS_OCMB_EXP_STRUCT_MMIO_ENDIAN_CTRL - Controls whether or not bytes read from and written two the buffer are swapped. The default is to swap the byte order. ATTR_MSS_OCMB_EXP_STRUCT_ENDIAN - Controls whether or not the bytes of buffer structure fields are little endian or not. The default is big endian. Change-Id: I734d25dea2a3e4a864a2d35df2576676cad27cfe Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72314 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Benjamin Gass <bgass@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72920 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/generic/procedures')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud