Re: Linux Kernel handling AXI DECERR/SLVERR

From: Mark Rutland
Date: Tue Dec 19 2017 - 06:38:57 EST


On Tue, Dec 19, 2017 at 11:28:49AM +0000, Bharat Kumar Gogada wrote:
> In our case the peripheral returns SLVERR first time and we see the following print but kernel do not hang.
> [ 231.484186] Unhandled fault: synchronous external abort (0x92000210) at 0x0000007f9241f880
> Bus error
>
> And from simulation we know that subsequent access to peripheral
> returns OKAY response, however we see subsequent access fail with same
> above bus error when we boot Linux.
>
> Is there a way to handle these synchronous abort gracefully in Linux
> or are these fatal ?

We don't currently have any mechanism to handle these, though it might
be possible for synchronous aborts.

Do you know why the device is returning SLVERR in this case?

Thanks,
Mark.