fsi: occ: Store the SBEFIFO FFDC in the user response buffer
authorEddie James <eajames@linux.ibm.com>
Tue, 19 Oct 2021 20:53:05 +0000 (15:53 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 23:24:32 +0000 (09:54 +1030)
commit8ec3cc9fb51dc973ea6886cc6ba3dcea4eee98ec
treee721536ba2e519f5b82176037926e5c8f6a9b67f
parent008d3825a805557464c5e75f9eb806a3aa2f5e6d
fsi: occ: Store the SBEFIFO FFDC in the user response buffer

If the SBEFIFO response indicates an error, store the response in the
user buffer and return an error. Previously, the user had no way of
obtaining the SBEFIFO FFDC.

The user's buffer now contains data in the event of a failure. No change
in the event of a successful transfer.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211019205307.36946-3-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-occ.c