[PATCH v4 2/5] spi: spi-geni-qcom: Mo' betta locking

2020-06-18 Thread Douglas Anderson
If you added a bit of a delay (like a trace_printk) into the ISR for the spi-geni-qcom driver, you would suddenly start seeing some errors spit out. The problem was that, though the ISR itself held a lock, other parts of the driver didn't always grab the lock. One example race was this: CPU0

Re: [PATCH v4 2/5] spi: spi-geni-qcom: Mo' betta locking

2020-06-18 Thread Stephen Boyd
Quoting Douglas Anderson (2020-06-18 08:06:23) > If you added a bit of a delay (like a trace_printk) into the ISR for > the spi-geni-qcom driver, you would suddenly start seeing some errors > spit out. The problem was that, though the ISR itself held a lock, > other parts of the driver didn't alwa