The SPI driver should, if possible, use as large buffer as possible. Currently, only xfer3 is adhering to the requested max blk size specified in /sys/module/spidev/parameters/bufsiz but is sending it in chunks. For all other xfer functions, the block size is limited to 4096.
I believe that xfer3 was introduced to fix this, however, it is still limited to 4096 chunks.
This PR aims to clarify xfer3 behavior and allow for arbitrary xfer buffer size.
The SPI driver should, if possible, use as large buffer as possible. Currently, only
xfer3
is adhering to the requested max blk size specified in/sys/module/spidev/parameters/bufsiz
but is sending it in chunks. For all otherxfer
functions, the block size is limited to 4096.I believe that
xfer3
was introduced to fix this, however, it is still limited to 4096 chunks.This PR aims to clarify
xfer3
behavior and allow for arbitrary xfer buffer size.