diff options
author | Benjamin Herrenschmidt | 2018-08-07 03:51:52 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt | 2018-08-08 07:44:47 +0200 |
commit | 15e2a7218c2788d79c5633336d17cb9428c221e7 (patch) | |
tree | 97b666b910312ffb131d7af3ca8784c56bbd148c /drivers/misc/mic/cosm/cosm_scif_server.c | |
parent | fsi: scom: Fix NULL dereference (diff) | |
download | kernel-qcow2-linux-15e2a7218c2788d79c5633336d17cb9428c221e7.tar.gz kernel-qcow2-linux-15e2a7218c2788d79c5633336d17cb9428c221e7.tar.xz kernel-qcow2-linux-15e2a7218c2788d79c5633336d17cb9428c221e7.zip |
fsi: sbefifo: Bump max command length
Otherwise cronus putmem fails istep and BML fails to upload skiboot
To do that, we still use our one-page command buffer for small commands
for speed, and for anything bigger, with a limit of 1MB plus a page,
we vmalloc a temporary buffer.
The limit was chosen because Cronus will break up any data transfer
into 1M chunks (the extra page is for the command header).
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'drivers/misc/mic/cosm/cosm_scif_server.c')
0 files changed, 0 insertions, 0 deletions