Execute spi transfers inside FIQ (NMI) or panic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

**



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux