Re: [PATCH] EDAC, altera: Disable IRQ while injecting SDRAM errors

2016-10-22 Thread Borislav Petkov
On Wed, Oct 19, 2016 at 02:53:47PM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Disable IRQs while injecting SDRAM errors. The RT patches exposed > a spinlock deadlock where the spinlock taken for the regmap write > deadlocked with the IRQ clear regmap write. > Error inject

[PATCH] EDAC, altera: Disable IRQ while injecting SDRAM errors

2016-10-19 Thread tthayer
From: Thor Thayer Disable IRQs while injecting SDRAM errors. The RT patches exposed a spinlock deadlock where the spinlock taken for the regmap write deadlocked with the IRQ clear regmap write. Error injection is not normally enabled for ECC but only for testing. Signed-off-by: Thor Thayer ---