Re: Linux Kernel handling AXI DECERR/SLVERR

From: Mark Rutland
Date: Tue Dec 19 2017 - 05:45:13 EST


On Tue, Dec 19, 2017 at 10:23:25AM +0000, Bharat Kumar Gogada wrote:
> Hi All,

Hi,

> When Linux is booted on ARM64 platform and an access to peripheral returns
> DECERR or SLVERR on AXI.
>
> In the above error cases how would Linux kernel handle these faults ? Will it
> hang/recover ?

I believe that on contemporary CPUs these will result in an SError. As
SErrors are asynchronous, and (in the absence of RAS extensions) their
cause cannot be determined, these are treated as fatal, and the kernel
will panic().

Thanks,
Mark.