From: Bob Cochran <yocto@mindchasers.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Should all T4240 errata be applied to T1040?
Date: Wed, 17 Sep 2014 23:43:57 -0400 [thread overview]
Message-ID: <541A54FD.7000004@mindchasers.com> (raw)
I find that during initialization of my T1040rdb-64b using the kernel
built with meta-fsl-ppc master, the FMBM_CFG2.TNTASKS field (total
number of BMI tasks) is being overwritten to 0x7b (the reset value is
documented as 0x3b in the T1040 reference manual).
I believe this is being overwritten due to sharing the errata
definitions with the T4240, but this particular erratum may not apply to
the T1040 and may cause undesirable side effects.
The T4240 uses DPAA FMAN_v3H, and the T1040 uses DPAA FMAN_v3L.
Here is my understanding of how this erratum (A005127) is being applied
to the T1040:
1) t1040_64bit_smp_defconfig defines CONFIG_FMAN_T4240
2) By defining CONFIG_FMAN_T4240,
drivers/net/ethernet/freescale/fman/ncsw_config.mk adds
-I$(FMAN)/inc/integrations/T4240 to EXTRA_CFLAGS.
3) dpaa_integration_ext.h is included throughout the fman source files
from drivers/net/ethernet/freescale/fman/inc/integrations/T4240
4) This defines FM_WRONG_RESET_VALUES_ERRATA_FMAN_A005127, but it is my
understanding that this erratum does not apply to the T1040.
5) This results in FMBM_CFG2.TNTASKS being overwritten with a value
approximately twice its default value, and my concern is that the
FMAN_V3L does not have the resources to support this many tasks.
In general, I'm also wondering whether the other errata in the
integration file is appropriate for the T1040 and whether the FMAN_v3L
devices should have their own integration tree.
next reply other threads:[~2014-09-18 3:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 3:43 Bob Cochran [this message]
2014-09-19 10:04 ` Should all T4240 errata be applied to T1040? zhenhua.luo
2014-09-19 11:16 ` Bob Cochran
2014-09-27 15:35 ` Bob Cochran
2014-10-14 7:55 ` zhenhua.luo
2014-10-14 20:19 ` Bob Cochran
2014-10-15 10:12 ` zhenhua.luo
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=541A54FD.7000004@mindchasers.com \
--to=yocto@mindchasers.com \
--cc=meta-freescale@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.