Re: [EXT] Re: [PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-08-27 Thread Borislav Petkov
On Wed, Aug 26, 2020 at 03:03:15AM +, Alison Wang wrote: > [Alison] I have a look at this patch. This patch doesn't complete all > the functions in my patch. Yep, but pls work together to see if a single driver can support your hw too. > It is just to report errors, but error injection

RE: [EXT] Re: [PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-08-25 Thread Alison Wang
Hi, James, > On 25/08/2020 03:31, Alison Wang wrote: > >> On 09/07/2020 09:22, Alison Wang wrote: > >>> Add error detection for A53 and A72 cores. Hardware error injection > >>> is supported on A53. Software error injection is supported on both. > >> > > > >> > >> As we can't safely write to

Re: [EXT] Re: [PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-08-25 Thread James Morse
Hi Alison, On 25/08/2020 03:31, Alison Wang wrote: >> On 09/07/2020 09:22, Alison Wang wrote: >>> Add error detection for A53 and A72 cores. Hardware error injection is >>> supported on A53. Software error injection is supported on both. >> > >> >> As we can't safely write to these registers

RE: [EXT] Re: [PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-08-24 Thread Alison Wang
Hi, James, > On 09/07/2020 09:22, Alison Wang wrote: > > Add error detection for A53 and A72 cores. Hardware error injection is > > supported on A53. Software error injection is supported on both. > > > As we can't safely write to these registers from linux, so I think this means > all > the

Re: [PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-08-21 Thread James Morse
Hi Alison, On 09/07/2020 09:22, Alison Wang wrote: > Add error detection for A53 and A72 cores. Hardware error injection is > supported on A53. Software error injection is supported on both. > For hardware error injection on A53 to work, proper access to > L2ACTLR_EL1, CPUACTLR_EL1 needs to be

Re: [PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-08-15 Thread Borislav Petkov
On Thu, Jul 09, 2020 at 04:22:15PM +0800, Alison Wang wrote: > Add error detection for A53 and A72 cores. Hardware error injection is > supported on A53. Software error injection is supported on both. > For hardware error injection on A53 to work, proper access to > L2ACTLR_EL1, CPUACTLR_EL1 needs

[PATCH] edac: nxp: Add L1 and L2 error detection for A53 and A72 cores

2020-07-09 Thread Alison Wang
Add error detection for A53 and A72 cores. Hardware error injection is supported on A53. Software error injection is supported on both. For hardware error injection on A53 to work, proper access to L2ACTLR_EL1, CPUACTLR_EL1 needs to be granted by EL3 firmware. This is done by making an SMC call in