From: kernel test robot <lkp@intel.com>
To: Furong Xu <0x1207@gmail.com>,
netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
Vladimir Oltean <olteanv@gmail.com>, Andrew Lunn <andrew@lunn.ch>,
Simon Horman <horms@kernel.org>,
andrew+netdev@lunn.ch,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Jose Abreu <joabreu@synopsys.com>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
xfr@outlook.com, Furong Xu <0x1207@gmail.com>
Subject: Re: [PATCH net-next v4 3/6] net: stmmac: Refactor FPE functions to generic version
Date: Sat, 26 Oct 2024 01:10:17 +0800 [thread overview]
Message-ID: <202410260025.sME33DwY-lkp@intel.com> (raw)
In-Reply-To: <cfc647f0d031517f9ec9095235a574aad9dc2c95.1729757625.git.0x1207@gmail.com>
Hi Furong,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Furong-Xu/net-stmmac-Introduce-separate-files-for-FPE-implementation/20241024-163526
base: net-next/main
patch link: https://lore.kernel.org/r/cfc647f0d031517f9ec9095235a574aad9dc2c95.1729757625.git.0x1207%40gmail.com
patch subject: [PATCH net-next v4 3/6] net: stmmac: Refactor FPE functions to generic version
config: arm-spear13xx_defconfig (https://download.01.org/0day-ci/archive/20241026/202410260025.sME33DwY-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241026/202410260025.sME33DwY-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410260025.sME33DwY-lkp@intel.com/
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: drivers/net/ethernet/stmicro/stmmac/stmmac_fpe.o: in function `stmmac_fpe_configure':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_fpe.c:205:(.text+0x154): undefined reference to `__ffsdi2'
vim +205 drivers/net/ethernet/stmicro/stmmac/stmmac_fpe.c
191
192 void stmmac_fpe_configure(struct stmmac_priv *priv, u32 num_txq, u32 num_rxq,
193 bool tx_enable, bool pmac_enable)
194 {
195 struct stmmac_fpe_cfg *cfg = &priv->fpe_cfg;
196 const struct stmmac_fpe_reg *reg = cfg->reg;
197 void __iomem *ioaddr = priv->ioaddr;
198 u32 value;
199
200 if (tx_enable) {
201 cfg->fpe_csr = STMMAC_MAC_FPE_CTRL_STS_EFPE;
202 value = readl(ioaddr + reg->rxq_ctrl1_reg);
203 value &= ~reg->fprq_mask;
204 /* Keep this SHIFT, FIELD_PREP() expects a constant mask :-/ */
> 205 value |= (num_rxq - 1) << __bf_shf(reg->fprq_mask);
206 writel(value, ioaddr + reg->rxq_ctrl1_reg);
207 } else {
208 cfg->fpe_csr = 0;
209 }
210 writel(cfg->fpe_csr, ioaddr + reg->mac_fpe_reg);
211
212 value = readl(ioaddr + reg->int_en_reg);
213
214 if (pmac_enable) {
215 if (!(value & reg->int_en_bit)) {
216 /* Dummy read to clear any pending masked interrupts */
217 readl(ioaddr + reg->mac_fpe_reg);
218
219 value |= reg->int_en_bit;
220 }
221 } else {
222 value &= ~reg->int_en_bit;
223 }
224
225 writel(value, ioaddr + reg->int_en_reg);
226 }
227
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-25 17:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 8:31 [PATCH net-next v4 0/6] net: stmmac: Refactor FPE as a separate module Furong Xu
2024-10-24 8:31 ` [PATCH net-next v4 1/6] net: stmmac: Introduce separate files for FPE implementation Furong Xu
2024-10-24 8:31 ` [PATCH net-next v4 2/6] net: stmmac: Rework macro definitions for gmac4 and xgmac Furong Xu
2024-10-24 8:31 ` [PATCH net-next v4 3/6] net: stmmac: Refactor FPE functions to generic version Furong Xu
2024-10-25 17:10 ` kernel test robot [this message]
2024-10-25 17:51 ` kernel test robot
2024-10-24 8:31 ` [PATCH net-next v4 4/6] net: stmmac: xgmac: Rename XGMAC_RQ to XGMAC_FPRQ Furong Xu
2024-10-24 8:31 ` [PATCH net-next v4 5/6] net: stmmac: xgmac: Complete FPE support Furong Xu
2024-10-24 8:31 ` [PATCH net-next v4 6/6] net: stmmac: xgmac: Enable FPE for tc-mqprio/tc-taprio Furong Xu
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=202410260025.sME33DwY-lkp@intel.com \
--to=lkp@intel.com \
--cc=0x1207@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=joabreu@synopsys.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=xfr@outlook.com \
/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).