Could somebody with the hardware also do a test with the following lines commented out in 'intel-spi.c', commenting out the writel() that disables SMI interrupt generation, re-compile the kernel and retest:
/* Disable #SMI generation */
val = readl(ispi->base + HSFSTS_CTL);
val &= ~HSFSTS_CTL_FSMIE;
writel(val, ispi->base + HSFSTS_CTL); // comment out this line (hardware sequencer)
/* Disable #SMI generation from SW sequencer */
val = readl(ispi->sregs + SSFSTS_CTL);
val &= ~SSFSTS_CTL_FSMIE;
writel(val, ispi->sregs + SSFSTS_CTL); // comment out this line (software sequencer)
Could somebody with the hardware also do a test with the following lines commented out in 'intel-spi.c', commenting out the writel() that disables SMI interrupt generation, re-compile the kernel and retest:
https:/ /github. com/torvalds/ linux/blob/ 8afda8b26d01ee2 6a60ef2f0284a7f 01a5ed96f8/ drivers/ mtd/spi- nor/intel- spi.c#L324
/* Disable #SMI generation */
val = readl(ispi->base + HSFSTS_CTL);
val &= ~HSFSTS_CTL_FSMIE;
writel(val, ispi->base + HSFSTS_CTL); // comment out this line (hardware sequencer)
and:
https:/ /github. com/torvalds/ linux/blob/ 8afda8b26d01ee2 6a60ef2f0284a7f 01a5ed96f8/ drivers/ mtd/spi- nor/intel- spi.c#L354
/* Disable #SMI generation from SW sequencer */
val = readl(ispi->sregs + SSFSTS_CTL);
val &= ~SSFSTS_CTL_FSMIE;
writel(val, ispi->sregs + SSFSTS_CTL); // comment out this line (software sequencer)