Subject: Re: Question about SEA handling process happened in user space

From: Xiaofei Tan <[email-masked]>
Date: Fri, 10 Apr 2020 10:55:29 +0800

Hi James，

On 2020/4/9 22:28, James Morse wrote:
> On 09/04/2020 09:42, Xiaofei Tan wrote:
>> James Morse wrote:
>>> Do you have patches to get linux to do something useful with the processor error nodes?
>>>
>>> We'd need it to handle uncorrected cache errors with a physical address, as if they were
>>> memory errors...
> 
>> Yes, we have some patches to do this thing inside. Then memory_failure() will be called for
>> arm processor error section when physical address is available.
> 
> I look forward to reading them!
> 

https://lkml.org/lkml/2018/1/26/197

Our guy tried to upstream it, but not accepted. :(

> [...]
> 
>> I think this part is worth improving.
> 
>> BTW, should ARM processor record physical address when consumed an memory poison error for SEA?
>> It is helpful to do error recovery. Is this mandatory for arm spec?
> 
> ERR<n>ADDR? Its not mandatory to be filled for any error. It can be some imp-def bus
> address or a virtual address. 

virtual address ? but arm spec called it physical address.

> It can also be left out if ERR<b>STATUS.AV says its not valid.
> 

Yes

> This is really a question for your hardware people. 

Yes

> Does your implementation always give a physical-address for a synchronous external abort?
> 

We hope so. But hardware guys say it is hard to record physical address for every situation.

> Thanks,
> James
> .

-- 
 thanks
tanxiaofei

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel