diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-08-07 04:51:52 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-08-08 08:44:47 +0300 |
commit | 15e2a7218c2788d79c5633336d17cb9428c221e7 (patch) | |
tree | 97b666b910312ffb131d7af3ca8784c56bbd148c /drivers/vfio | |
parent | aa1221b2584f06066d1e6b22ef7950fb12d94864 (diff) | |
download | linux-15e2a7218c2788d79c5633336d17cb9428c221e7.tar.xz |
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/vfio')
0 files changed, 0 insertions, 0 deletions