RE: [PATCH 6/6] can: flexcan: fix ECC function on LS1021A/LX2160A

2020-10-15 Thread Joakim Zhang
g; Pankaj Bansal ; > net...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 6/6] can: flexcan: fix ECC function on LS1021A/LX2160A > > On 10/16/20 3:43 PM, Joakim Zhang wrote: > > After double check with Layerscape CAN owner (Pan

Re: [PATCH 6/6] can: flexcan: fix ECC function on LS1021A/LX2160A

2020-10-15 Thread Marc Kleine-Budde
On 10/16/20 3:43 PM, Joakim Zhang wrote: > After double check with Layerscape CAN owner (Pankaj Bansal), confirm > that LS1021A doesn't support ECC, and LX2160A indeed supports ECC. > > For SoCs with ECC supported, even use FLEXCAN_QUIRK_DISABLE_MECR quirk to > disable non-correctable errors inter

[PATCH 6/6] can: flexcan: fix ECC function on LS1021A/LX2160A

2020-10-15 Thread Joakim Zhang
After double check with Layerscape CAN owner (Pankaj Bansal), confirm that LS1021A doesn't support ECC, and LX2160A indeed supports ECC. For SoCs with ECC supported, even use FLEXCAN_QUIRK_DISABLE_MECR quirk to disable non-correctable errors interrupt and freeze mode, had better use FLEXCAN_QUIRK_