linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: "bhupesh.sharma@freescale.com" <bhupesh.sharma@freescale.com>,
	"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Cc: "arnd@arndb.de" <arnd@arndb.de>,
	"bhupesh.linux@gmail.com" <bhupesh.linux@gmail.com>,
	"Sakar.Arora@freescale.com" <Sakar.Arora@freescale.com>
Subject: Re: [PATCH 3/3] can: flexcan: Add support for non RX-FIFO mode and ERRATA ERR005829
Date: Mon, 27 Apr 2015 08:45:34 +0200	[thread overview]
Message-ID: <553DDB0E.4060205@pengutronix.de> (raw)
In-Reply-To: <BY1PR0301MB1303351EFA537E82A02D2FC682E90@BY1PR0301MB1303.namprd03.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 2231 bytes --]

On 04/27/2015 08:38 AM, bhupesh.sharma@freescale.com wrote:
> Hi Marc,
> 
> Sorry for the late reply.
> 
>> On 04/09/2015 06:17 PM, bhupesh.sharma@freescale.com wrote:
>>>> From: Marc Kleine-Budde [mailto:mkl@pengutronix.de] On 04/09/2015
>>>> 05:53 PM, bhupesh.sharma@freescale.com wrote:
>>>>>> Please look at the mainline commit:
>>>>>>
>>>>>> 25e924450fcb can: flexcan: implement workaround for errata
>>>>>> ERR005829
>>>>>
>>>>> Hmm.. This looks like a fairly simple ERRATA to be handled w/o
>> Kconfig.
>>>>> But with the legacy mode support ERRATA, we have completely
>>>>> different RX setups for the legacy and FIFO mode.
>>>>
>>>> Can you give me link to the "ERRATA ERR005829 (A-008965)" description?
>>>>
>>>> The errata ERR005829 is described here
>>>> http://cache.freescale.com/files/32bit/doc/errata/IMX6DQCE.pdf and
>>>> it's fixed by mainline commit:
>>>>
>>>>     25e924450fcb can: flexcan: implement workaround for errata
>>>> ERR005829
>>>>
>>>> Is your "ERRATA ERR005829 (A-008965)" something different?
>>>
>>> Yes. I mixed up the errata numbers in the git log by mistake.
>>>
>>> Its number A-008965 and is related to LS1021A FlexCAN not being able
>>> to support RX-FIFO mode.
>>
>> Do you have a link to the errata? Where's the corresponding kconfig
>> patch? Why do you have to switch on/off the errata by kconfig? Is there a
>> LS1021A without the bug?
> 
> The errata list is not available for public access on www.freescale.com so far.
> The next version of LS1021A SoC, is fixing this bug and since both are supposed
> to be used by customers, the kconfig trick is required to turn-off this handling
> for one version, while keeping it intact for the other.

Sorry, a compile time switch is not an option here. Please configure it
during runtime via the device tree. This can be done by different
compatibles, one for the broken another one for the fixed SoC.

regards,
Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2015-04-27  6:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 15:24 [PATCH 1/3] can: flexcan: Add ls1021a flexcan device entry Bhupesh Sharma
2015-04-09 15:24 ` [PATCH 2/3] net: can: Remodel FlexCAN register read/write APIs for BE instances Bhupesh Sharma
2015-04-09 15:24 ` [PATCH 3/3] can: flexcan: Add support for non RX-FIFO mode and ERRATA ERR005829 Bhupesh Sharma
2015-04-09 15:40   ` Marc Kleine-Budde
2015-04-09 15:45     ` bhupesh.sharma
2015-04-09 15:46       ` Marc Kleine-Budde
2015-04-09 15:53         ` bhupesh.sharma
2015-04-09 16:12           ` Marc Kleine-Budde
2015-04-09 16:17             ` bhupesh.sharma
2015-04-09 16:33               ` Marc Kleine-Budde
2015-04-27  6:38                 ` bhupesh.sharma
2015-04-27  6:45                   ` Marc Kleine-Budde [this message]
2015-04-27  6:51                     ` bhupesh.sharma
2015-04-27  7:10                       ` Marc Kleine-Budde
2015-04-27  7:11                         ` bhupesh.sharma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=553DDB0E.4060205@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=Sakar.Arora@freescale.com \
    --cc=arnd@arndb.de \
    --cc=bhupesh.linux@gmail.com \
    --cc=bhupesh.sharma@freescale.com \
    --cc=linux-can@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).