Hi,
would it be acceptable to add an additional function to the struct
spi_controller which handle a transfer inside a NMI context or a panic?
The new function will transfer data via register polling without any lock.
I must execute an SPI transfer inside a fast interrupt request (FIQ)
handler or a panic. The FIQ is handled as a non-maskable interrupt
(NMI). Both the panic and the NMI doesn't support any interrupts.
The background of the request is a non-volatile SPI memory with cached
date in system memory. The cache must be synchronized back to the SPI
memory after a power failure or panic.
Regards
Stefan Herbrechtsmeier
**