Re: [PATCH v5 04/13] arm64: kernel: Survive corrected RAS errors notified by SError

gengdongjiu
2017-12-16T04:05:31Z

On 2017/12/15 23:50, James Morse wrote:
> + case ESR_ELx_AET_UER: /* Uncorrected Recoverable */
> + /*
> + * The CPU can't make progress. The exception may have
> + * been imprecise.
> + */
> + return true;
For Recoverable error (UER), the error has not been silently propagated,
and has not been architecturally consumed by the PE, and
The exception is precise and PE can recover execution from the preferred return address of the exception.
so I do not think it should be panic here if the SError come from user space instead of coming from kernel space.
> +