diff options
author | Eddie James <eajames@linux.ibm.com> | 2021-10-19 22:53:04 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-10-22 01:20:55 +0200 |
commit | 008d3825a805557464c5e75f9eb806a3aa2f5e6d (patch) | |
tree | cea694e044cfae8674f1afc7de26ee48538e3667 /COPYING | |
parent | hwmon: (occ) Remove sequence numbering and checksum calculation (diff) | |
download | linux-008d3825a805557464c5e75f9eb806a3aa2f5e6d.tar.xz linux-008d3825a805557464c5e75f9eb806a3aa2f5e6d.zip |
fsi: occ: Use a large buffer for responses
Allocate a large buffer for each OCC to handle response data. This
removes memory allocation during an operation, and also allows for
the maximum amount of SBE FFDC.
Previously for the putsram and attn commands, only 32 words would have
been available, and for getsram, only up to the size of the transfer.
SBE FFDC might be up to 8Kb.
The SBE interface expects data to be specified in units of words (4
bytes), defined as OCC_MAX_RESP_WORDS.
This change allows the full FFDC capture to be implemented, where before
it was not available.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20211019205307.36946-2-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions