sf: Add SPI protection mechanism from the kernel