public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Michael Dege <michael.dege@renesas.com>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Michael Dege <michael.dege@renesas.com>
Subject: Re: [PATCH net-next v2 13/13] net: renesas: rswitch: add vlan aware switching
Date: Mon, 30 Mar 2026 04:36:50 +0800	[thread overview]
Message-ID: <202603300436.ryIgiB0z-lkp@intel.com> (raw)
In-Reply-To: <20260327-rswitch_add_vlans-v2-13-d7f4358ca57a@renesas.com>

Hi Michael,

kernel test robot noticed the following build errors:

[auto build test ERROR on 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681]

url:    https://github.com/intel-lab-lkp/linux/commits/Michael-Dege/net-renesas-rswitch-improve-port-change-mode-functions/20260329-154812
base:   1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
patch link:    https://lore.kernel.org/r/20260327-rswitch_add_vlans-v2-13-d7f4358ca57a%40renesas.com
patch subject: [PATCH net-next v2 13/13] net: renesas: rswitch: add vlan aware switching
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20260330/202603300436.ryIgiB0z-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260330/202603300436.ryIgiB0z-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/202603300436.ryIgiB0z-lkp@intel.com/

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: drivers/net/ethernet/renesas/rswitch_l2.o: in function `rswitch_port_obj_do_add_gwca':
>> drivers/net/ethernet/renesas/rswitch_l2.c:443:(.text+0x11e0): undefined reference to `br_vlan_enabled'
   aarch64-linux-ld: drivers/net/ethernet/renesas/rswitch_l2.o: in function `rswitch_port_obj_do_add':
   drivers/net/ethernet/renesas/rswitch_l2.c:412:(.text+0x135c): undefined reference to `br_vlan_enabled'
>> aarch64-linux-ld: drivers/net/ethernet/renesas/rswitch_l2.c:423:(.text+0x13bc): undefined reference to `br_vlan_enabled'


vim +443 drivers/net/ethernet/renesas/rswitch_l2.c

   402	
   403	static int rswitch_port_obj_do_add(struct net_device *ndev,
   404					   struct switchdev_obj_port_vlan *p_vlan)
   405	{
   406		struct rswitch_device *rdev = netdev_priv(ndev);
   407		struct rswitch_private *priv = rdev->priv;
   408		struct rswitch_etha *etha = rdev->etha;
   409		int err;
   410	
   411		/* Set Rswitch VLAN mode */
   412		iowrite32(br_vlan_enabled(rdev->brdev) ? FIELD_PREP(FWGC_SVM, C_TAG) : 0,
   413			  priv->addr + FWGC);
   414	
   415		err = rswitch_write_vlan_table(priv, p_vlan->vid, etha->index);
   416		if (err < 0)
   417			return err;
   418	
   419		/* If the default vlan for this port has been set, don't overwrite it. */
   420		if (ioread32(etha->addr + EAVCC))
   421			return NOTIFY_DONE;
   422	
 > 423		if (br_vlan_enabled(rdev->brdev))
   424			rswitch_modify(priv->addr, FWPC0(etha->index), 0, FWPC0_VLANSA | FWPC0_VLANRU);
   425	
   426		rswitch_modify(priv->addr, FWPC2(AGENT_INDEX_GWCA),
   427			       FIELD_PREP(FWPC2_LTWFW, BIT(etha->index)),
   428			       0);
   429	
   430		return rswitch_port_set_vlan_tag(etha, p_vlan, false);
   431	}
   432	
   433	static int rswitch_port_obj_do_add_gwca(struct net_device *ndev,
   434						struct rswitch_private *priv,
   435						struct switchdev_obj_port_vlan *p_vlan)
   436	{
   437		int err;
   438	
   439		if (!(p_vlan->flags & BRIDGE_VLAN_INFO_BRENTRY))
   440			return NOTIFY_DONE;
   441	
   442		/* Set Rswitch VLAN mode */
 > 443		iowrite32(br_vlan_enabled(ndev) ? FIELD_PREP(FWGC_SVM, C_TAG) : 0, priv->addr + FWGC);
   444	
   445		err = rswitch_write_vlan_table(priv, p_vlan->vid, AGENT_INDEX_GWCA);
   446		if (err < 0)
   447			return err;
   448	
   449		/* If the default vlan for this port has been set, don't overwrite it. */
   450		if (ioread32(priv->addr + GWVCC))
   451			return NOTIFY_DONE;
   452	
   453		return rswitch_gwca_set_vlan_tag(priv, p_vlan, false);
   454	}
   455	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2026-03-29 20:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-27  8:27 [net-next PATCH v2 00/13] net: renesas: rswitch: R-Car S4 add VLAN aware switching Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 01/13] net: renesas: rswitch: improve port change mode functions Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 02/13] net: renesas: rswitch: use device instead of net_device Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 03/13] net: renesas: rswitch: fix FWPC2 register access macros Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 04/13] net: renesas: rswitch: add register definitions for vlan support Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 05/13] net: renesas: rswitch: add exception path for packets with unknown dst MAC Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 06/13] net: renesas: rswitch: add forwarding rules for gwca Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 07/13] net: renesas: rswitch: make helper functions available to whole driver Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 08/13] net: renesas: rswitch: add basic vlan init to rswitch_fwd_init Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 09/13] net: renesas: rswitch: update port HW init Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 10/13] net: renesas: rswitch: clean up is_rdev rswitch_device checking Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 11/13] net: renesas: rswitch: add passing of rswitch_private into notifiers Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 12/13] net: renesas: rswitch: add handler for FDB notification Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 13/13] net: renesas: rswitch: add vlan aware switching Michael Dege
2026-03-29 20:36   ` kernel test robot [this message]
2026-03-27 17:36 ` [net-next PATCH v2 00/13] net: renesas: rswitch: R-Car S4 add VLAN " Jakub Kicinski

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=202603300436.ryIgiB0z-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=michael.dege@renesas.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=yoshihiro.shimoda.uh@renesas.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