Thread (10 messages) flat view 10 messages, 3 authors, 2022-03-24

Re: SError Interrupt on CPU0, code 0xbf000000 makes kernel panic

From: Marc Zyngier <maz@kernel.org>
Date: 2022-03-24 15:27:31

On Thu, 24 Mar 2022 15:11:42 +0000,
Joakim Tjernlund [off-list ref] wrote:
On Thu, 2022-03-24 at 15:05 +0000, Robin Murphy wrote:
quoted
Well, except when it is... try that on a Qualcomm SoC where the EL2
firmware will trap you and reset the system before you even know you've 
done anything wrong. If you know enough to know that an error triggered 
by accessing some address is truly benign, you know enough to avoid 
making that access in the first place.
of course the error will be dealt with but why make bug finding
harder than it has to be?
Maybe that was not clear enough from our earlier replies. Let me try
again.

There is *nothing* more the kernel can do. We don't even know what
caused the access (read, write, earthquake or foreign power invasion).

By the time we get the SError interrupt, we could well be running
something altogether different because all of that is totally
asynchronous *by nature*. You're just lucky that you get the response
quickly enough that the kernel is still running the offending
userspace.

	M.

-- 
Without deviation from the norm, progress is not possible.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help