[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLUPR0201MB150517EAFAF3A46B8A19489CA50F0@BLUPR0201MB1505.namprd02.prod.outlook.com>
Date: Tue, 19 Dec 2017 11:28:49 +0000
From: Bharat Kumar Gogada <bharatku@...inx.com>
To: Mark Rutland <mark.rutland@....com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"catalin.marinas@....com" <catalin.marinas@....com>,
Will Deacon <Will.Deacon@....com>,
"james.morse@....com" <james.morse@....com>,
"julien.thierry@....com" <julien.thierry@....com>,
"punit.agrawal@....com" <punit.agrawal@....com>,
"tbaicar@...eaurora.org" <tbaicar@...eaurora.org>,
"mingo@...nel.org" <mingo@...nel.org>
Subject: RE: Linux Kernel handling AXI DECERR/SLVERR
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.
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 ?
Regards,
Bharat
Powered by blists - more mailing lists