mbox series

[v3,0/3] Reliability improvements for Microchip MPF FPGA manager

Message ID 20221227100450.2257-1-i.bornyakov@metrotek.ru (mailing list archive)
Headers show
Series Reliability improvements for Microchip MPF FPGA manager | expand

Message

Ivan Bornyakov Dec. 27, 2022, 10:04 a.m. UTC
A couple of reliability improvements for Microchip Polarfire FPGA
manager:
 * move SPI I/O buffers out of stack
 * rewrite status polling routine in a time measurable way

Also improve mpf_ops_write() code readability by separating single data
frame writing routine.

ChangeLog:
  v1:
[https://lore.kernel.org/linux-fpga/20221223123854.8023-1-i.bornyakov@metrotek.ru/]
  v2:
    * split into 3 distinct patches
[https://lore.kernel.org/linux-fpga/20221226142326.8111-1-i.bornyakov@metrotek.ru/]
  v3:
    * fix polling stop condition in mpf_poll_status() as Ilpo suggested.

Ivan Bornyakov (3):
  fpga: microchip-spi: move SPI I/O buffers out of stack
  fpga: microchip-spi: rewrite status polling in a time measurable way
  fpga: microchip-spi: separate data frame write routine

 drivers/fpga/microchip-spi.c | 137 ++++++++++++++++++-----------------
 1 file changed, 72 insertions(+), 65 deletions(-)