From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CC7C4E00855; Wed, 17 Sep 2014 20:44:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 086A9E0080F for ; Wed, 17 Sep 2014 20:44:01 -0700 (PDT) Received: from [192.168.1.10] (c-68-38-40-177.hsd1.nj.comcast.net [68.38.40.177]) by smtp.webfaction.com (Postfix) with ESMTP id 342B22258714 for ; Thu, 18 Sep 2014 03:43:59 +0000 (UTC) Message-ID: <541A54FD.7000004@mindchasers.com> Date: Wed, 17 Sep 2014 23:43:57 -0400 From: Bob Cochran User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: Should all T4240 errata be applied to T1040? X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 03:44:07 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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.