]> git.baikalelectronics.ru Git - kernel.git/commit
fsi: sbefifo: Bump max command length
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 7 Aug 2018 01:51:52 +0000 (11:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 8 Aug 2018 05:44:47 +0000 (15:44 +1000)
commit8dd9c304dbea56521ee2e0628f3339ad12b87156
tree97b666b910312ffb131d7af3ca8784c56bbd148c
parentdeba2f891e4007f0c1cad91af35397a3edf526c4
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>
drivers/fsi/fsi-sbefifo.c