mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: igal.liberman@freescale.com
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	scottwood@freescale.com, madalin.bucur@freescale.com,
	pebolle@tiscali.nl, joakim.tjernlund@transmode.se,
	ppc@mindchasers.com, stephen@networkplumber.org,
	davem@davemloft.net, Igal Liberman <igal.liberman@freescale.com>
Subject: Re: [v6, 3/6] fsl/fman: Add FMan MAC support
Date: Thu, 29 Oct 2015 17:09:32 +0800	[thread overview]
Message-ID: <201510291757.Jgve5XVg%fengguang.wu@intel.com> (raw)
In-Reply-To: <1446022429-31621-4-git-send-email-igal.liberman@freescale.com>

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

Hi Igal,

[auto build test ERROR on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/igal-liberman-freescale-com/Freescale-DPAA-FMan/20151028-205843
config: arm-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/freescale/fman/fman_dtsec.c: In function 'dtsec_isr':
>> drivers/net/ethernet/freescale/fman/fman_dtsec.c:872:4: error: implicit declaration of function 'in_be32' [-Werror=implicit-function-declaration]
       tpkt1 = in_be32(&regs->tpkt);
       ^
>> drivers/net/ethernet/freescale/fman/fman_dtsec.c:913:5: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration]
        out_be32(&regs->rctrl,
        ^
   cc1: some warnings being treated as errors
--
   drivers/net/ethernet/freescale/fman/fman_memac.c: In function 'memac_init':
>> drivers/net/ethernet/freescale/fman/fman_memac.c:1189:3: error: implicit declaration of function 'in_be32' [-Werror=implicit-function-declaration]
      reg32 = in_be32(&memac->regs->command_config);
      ^
>> drivers/net/ethernet/freescale/fman/fman_memac.c:1191:3: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration]
      out_be32(&memac->regs->command_config, reg32);
      ^
   cc1: some warnings being treated as errors

vim +/in_be32 +872 drivers/net/ethernet/freescale/fman/fman_dtsec.c

   866			if (dtsec->fm_rev_info.major == 2) {
   867				u32 tpkt1, tmp_reg1, tpkt2, tmp_reg2, i;
   868				/* a. Write 0x00E0_0C00 to DTSEC_ID
   869				 *	This is a read only register
   870				 * b. Read and save the value of TPKT
   871				 */
 > 872				tpkt1 = in_be32(&regs->tpkt);
   873	
   874				/* c. Read the register at dTSEC address offset 0x32C */
   875				tmp_reg1 = in_be32(&regs->reserved02c0[27]);
   876	
   877				/* d. Compare bits [9:15] to bits [25:31] of the
   878				 * register at address offset 0x32C.
   879				 */
   880				if ((tmp_reg1 & 0x007F0000) !=
   881					(tmp_reg1 & 0x0000007F)) {
   882					/* If they are not equal, save the value of
   883					 * this register and wait for at least
   884					 * MAXFRM*16 ns
   885					 */
   886					usleep_range((u32)(min
   887						(dtsec_get_max_frame_length(dtsec) *
   888						16 / 1000, 1)), (u32)
   889						(min(dtsec_get_max_frame_length
   890						(dtsec) * 16 / 1000, 1) + 1));
   891				}
   892	
   893				/* e. Read and save TPKT again and read the register
   894				 * at dTSEC address offset 0x32C again
   895				 */
   896				tpkt2 = in_be32(&regs->tpkt);
   897				tmp_reg2 = in_be32(&regs->reserved02c0[27]);
   898	
   899				/* f. Compare the value of TPKT saved in step b to
   900				 * value read in step e. Also compare bits [9:15] of
   901				 * the register at offset 0x32C saved in step d to the
   902				 * value of bits [9:15] saved in step e. If the two
   903				 * registers values are unchanged, then the transmit
   904				 * portion of the dTSEC controller is locked up and
   905				 * the user should proceed to the recover sequence.
   906				 */
   907				if ((tpkt1 == tpkt2) && ((tmp_reg1 & 0x007F0000) ==
   908					(tmp_reg2 & 0x007F0000))) {
   909					/* recover sequence */
   910	
   911					/* a.Write a 1 to RCTRL[GRS] */
   912	
 > 913					out_be32(&regs->rctrl,
   914						 in_be32(&regs->rctrl) | RCTRL_GRS);
   915	
   916					/* b.Wait until IEVENT[GRSC]=1, or at least

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 53727 bytes --]

  reply	other threads:[~2015-10-29  9:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28  8:53 [v6, 0/6] Freescale DPAA FMan igal.liberman
2015-10-28  8:53 ` [v6, 1/6] fsl/fman: Add FMan MURAM support igal.liberman
2015-10-28  8:53 ` [v6, 2/6] fsl/fman: Add FMan support igal.liberman
2015-10-29  8:29   ` kbuild test robot
2015-10-28  8:53 ` [v6, 3/6] fsl/fman: Add FMan MAC support igal.liberman
2015-10-29  9:09   ` kbuild test robot [this message]
2015-10-28  8:53 ` [v6, 4/6] fsl/fman: Add FMan SP support igal.liberman
2015-10-28  8:53 ` [v6, 5/6] fsl/fman: Add FMan Port Support igal.liberman
2015-10-29  9:49   ` kbuild test robot
2015-10-28  8:53 ` [v6, 6/6] fsl/fman: Add FMan MAC driver igal.liberman
2015-10-29 10:21   ` kbuild test robot

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=201510291757.Jgve5XVg%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=igal.liberman@freescale.com \
    --cc=joakim.tjernlund@transmode.se \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=madalin.bucur@freescale.com \
    --cc=netdev@vger.kernel.org \
    --cc=pebolle@tiscali.nl \
    --cc=ppc@mindchasers.com \
    --cc=scottwood@freescale.com \
    --cc=stephen@networkplumber.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

all inboxes | Powered by JetHome®