Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp841009lqj; Mon, 3 Jun 2024 02:24:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMgCwuIc3ePJtPC583SO7Sw/eL6ER6OZ67nDvHHoU0V5tcFY1F9ud4XerNUL/B7FrEzjfZAXQhrGPYBUJx9mm5OkiMtpC6l5O4MTf6YA== X-Google-Smtp-Source: AGHT+IGx+47qYzWSOLI+s69EdMA6QK30k+/4dMLzANvQ8A9eVxMMlq4697Y3kEyz0mmLHczBI7Dd X-Received: by 2002:a05:6358:3128:b0:18a:62fd:b874 with SMTP id e5c5f4694b2df-19b48d5018dmr1228558755d.17.1717406687769; Mon, 03 Jun 2024 02:24:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717406687; cv=pass; d=google.com; s=arc-20160816; b=sDgImisY8QSC1lb0sb0Vi1iIpQKOEfYoWuh7jYegN/Ux+2Aos00/xjIl/4JSbErw5H tJuTl6sSnQJQwTFmB6TyzdS4eCS+2IJTTvSWOz0Jr9Ui+hYEwtXw65yF+p6Hd86lVM0P NujI8ECm9IVsurbEiPGN6LIZ6+gDtNcUPEiCmtDbNyCW4yc9gdj9guI9DPZtFn0unDFF DHmbY/7hSp6+4k59E5V0G7TT7x5NLO+WNpmUKuDfXyGSFeg4dlJ4YoVo7lx7aMvUnsyc 9mK9MyLrvxwp4czY8jdUWkiZdQ0Vq1mXucsuzPOVj3If2xyrfmHdzFG2/4qEoPrXuvpV /AgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=4BPrmksCSYYF0YoAvQOx1MdXjMUjY3TOtCFspO/clO8=; fh=uZaHmXEW6G1XaplCJrocF+ttLI067NXFUQPYpFmxrUM=; b=u/CW3ZkMj/glrteKfxsg2qCZfu9p/a+C+7oL8Rx6U7QWygothGRiph3dwfopehwErz a+kRxRAVszl6RN+i/zmP4Vk45rOcqpeU8vhhxVZWKzYE4kbHiljeDsZIAsOEJZWd8TwT EGccp4oEawHWmGz4TGg7qYo9T1fWqMzrPn352rUo2/iTFSxlqo05M1wA8HR1aixYGnlt cjqpUiymUPeAsPRVvijyArn0fVzvidcm1oGwkzP2SGH5p2RA1A/s07X+7Pd7Et/ljLhv uTl14fHaqzEYA41lDrwGGXWc+lmFzgUoa0khy/g2beQ0JRjrqCSHXKBwWWZqq2lWz5xU GaJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=GEi6pGeA; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-198862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198862-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c359e0a28esi6080681a12.358.2024.06.03.02.24.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 02:24:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=GEi6pGeA; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-198862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198862-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1C853283259 for ; Mon, 3 Jun 2024 09:24:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 190947F7D5; Mon, 3 Jun 2024 09:24:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b="GEi6pGeA" Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 067B153392; Mon, 3 Jun 2024 09:24:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717406677; cv=none; b=e0bblhG1Km+ouwtnkUhAV+hpxjtQ4aIBd1BCvE1C3xkP3jK13o1aShAZA1WK8t/HwwZLvkmriOywkLbats7DV/NF8T2jZ5e8CiBrUTxLy3WQzRrUKbhOqAx7LF93V0dld0dnkHbadIYvdqwu2Ui7fFTWI7Lut0Wf2UkB4USsHEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717406677; c=relaxed/simple; bh=sZV9sGIYSh32X5aVunx+X2ZqSTjZPK2NT/Sq952/+IM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=p0raopD2Lhmg24eKXHKjW0fn8+gm3ktbMoT9ErwfQkpcJqIq7t52WmA4zZ6MC3Ure/oOcVt18lNJTF11lDf3X7ETXuv2NotEMfzi5yDtQgUwlrd2OxSRymqe9gjaealHqvkC/mH37nCRhsDv7rH3ncvKcqbbzrnSDoGzbLVkPrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b=GEi6pGeA; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=leemhuis.info; s=he214686; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:In-Reply-To: References; bh=4BPrmksCSYYF0YoAvQOx1MdXjMUjY3TOtCFspO/clO8=; t=1717406675; x=1717838675; b=GEi6pGeA0SqqzsGnSeST0BR+0GEbolCOMP5GEQFl2JQUd5NmU9WWNsx+tsS5Y woa6oQUtzS89cfn0gaplwUVd6sKIwT/479LlWPhk4cgPvh6W4IJ4TUj39lhgZThHFCemHo6YHrfJF K5WwWvr12ERnK+1G13eVUgShzsRKdfWYRMuwk7xr2Tuxndnxu4p1o5H4YNC1IK1QuxLwMdST2JFuG 0Fy4V8TlvIawALgfBD/PrjdEla4UJT3fBwRqAaQnBDI9kwuma34aKxPmms47XMkv02VZo2HHR1C62 0ihOGdchLqLW8f9yva8buh48l9hWHzQbGSAN1tJZFL44c3sjSA==; Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1sE3vU-00070K-Ue; Mon, 03 Jun 2024 11:24:25 +0200 Message-ID: <7d22ac7e-c505-430b-82cc-6b14b04f3c90@leemhuis.info> Date: Mon, 3 Jun 2024 11:24:23 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: "ERROR: modpost: "icssg_queue_pop" [...] undefined" on arm64 To: MD Danish Anwar , Dan Carpenter , Jan Kiszka , Simon Horman , Andrew Lunn , Vladimir Oltean , Wolfram Sang , Niklas Schnelle , Arnd Bergmann , Diogo Ivo , Roger Quadros , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, srk@ti.com, Vignesh Raghavendra References: <20240528113734.379422-1-danishanwar@ti.com> <20240528113734.379422-2-danishanwar@ti.com> From: Thorsten Leemhuis Content-Language: en-US, de-DE Autocrypt: addr=linux@leemhuis.info; keydata= xsFNBFJ4AQ0BEADCz16x4kl/YGBegAsYXJMjFRi3QOr2YMmcNuu1fdsi3XnM+xMRaukWby47 JcsZYLDKRHTQ/Lalw9L1HI3NRwK+9ayjg31wFdekgsuPbu4x5RGDIfyNpd378Upa8SUmvHik apCnzsxPTEE4Z2KUxBIwTvg+snEjgZ03EIQEi5cKmnlaUynNqv3xaGstx5jMCEnR2X54rH8j QPvo2l5/79Po58f6DhxV2RrOrOjQIQcPZ6kUqwLi6EQOi92NS9Uy6jbZcrMqPIRqJZ/tTKIR OLWsEjNrc3PMcve+NmORiEgLFclN8kHbPl1tLo4M5jN9xmsa0OZv3M0katqW8kC1hzR7mhz+ Rv4MgnbkPDDO086HjQBlS6Zzo49fQB2JErs5nZ0mwkqlETu6emhxneAMcc67+ZtTeUj54K2y Iu8kk6ghaUAfgMqkdIzeSfhO8eURMhvwzSpsqhUs7pIj4u0TPN8OFAvxE/3adoUwMaB+/plk sNe9RsHHPV+7LGADZ6O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T+56IiiU2gszQ+oxR/1Aq+VZHdUeC6lijFiQblqV6EjenJu+pR9A 7EElGPPmYdO1WQbBrmuOrFuO6wQrbo0TbUiaxYWyoM9cA7v7eFyaxgwXBSWKbo/bcAAViqLW ysaCIZqWxrlhHWWmJMvowVMkB92uPVkxs5IMhSxHS4c2PfZ6D5kvrs3URvIc6zyOrgIaHNzR 8AF4PXWPAuZu1oaG/XKwzMqN/Y/AoxWrCFZNHE27E1RrMhDgmyzIzWQTffJsVPDMQqDfLBhV ic3b8Yec+Kn+ExIF5IuLfHkUgIUs83kDGGbV+wM8NtlGmCXmatyavUwNCXMsuI24HPl7gV2h n7RI In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1717406675;4e76c9a1; X-HE-SMSGID: 1sE3vU-00070K-Ue On 03.06.24 10:14, MD Danish Anwar wrote: > On 03/06/24 12:39 pm, Thorsten Leemhuis wrote: >> On 28.05.24 13:37, MD Danish Anwar wrote: >>> Introduce helper functions to configure firmware FDB tables, VLAN tables >>> and Port VLAN ID settings to aid adding Switch mode support. >>> >>> Signed-off-by: MD Danish Anwar >> >> Hi! Since Friday I get a compile error in my -next builds for Fedora: >> >> ERROR: modpost: "icssg_queue_push" >> [drivers/net/ethernet/ti/icssg-prueth-sr1.ko] undefined! >> ERROR: modpost: "icssg_queue_pop" >> [drivers/net/ethernet/ti/icssg-prueth-sr1.ko] undefined! > > Before posting the patches I had tested them with defconfig and I didn't > see any ERRORs. > > I think in the config that you are using most probably > CONFIG_TI_ICSSG_PRUETH_SR1 is enabled. The patch adds APIs in > icssg_config.c which uses APIs added in icssg_qeueus.c. > > Now CONFIG_TI_ICSSG_PRUETH_SR1 also uses icssg_config.c but > icssg_queues.c is not built for SR1 as a result this error is coming. > > Fix for this will be to build icssg_queues as well for SR1 driver. > > I will test the fix and post it to net-next soon. thx! >> Looks like this problem was found and reported mid May by the kernel >> test robot already, which identified a earlier version of the patch I'm >> replying to to be the cause: >> https://lore.kernel.org/all/202405182038.ncf1mL7Z-lkp@intel.com/ >> >> That and the fact that the patch showed up in -next on Friday makes me >> assume that my problem is caused by this change as well as well. A build >> log can be found here: >> https://download.copr.fedorainfracloud.org/results/@kernel-vanilla/next/fedora-39-aarch64/07523690-next-next-all/builder-live.log.gz >> >> I don't have the .config at hand, but can provide it when needed. > > Yes that would be helpful. If possible just check in the .config what > symbols are enabled related to ICSS. (`cat .config | grep ICSS`) I can't easily access the .config used the build system used for the build, but unless I did something stupid it should be identical to this one: https://www.leemhuis.info/files/misc/kernel-6.10.0-aarch64.config FWIW, that .config is generated by some scripts Fedora uses when building their kernels. $ grep ICSS kernel-6.10.0-aarch64.config CONFIG_TI_ICSSG_PRUETH=m CONFIG_TI_ICSSG_PRUETH_SR1=m CONFIG_TI_ICSS_IEP=m HTH, Ciao, Thorsten