From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E18CC30653 for ; Wed, 3 Jul 2024 11:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DUOByOHOXUnBVfwLB1PmXs8stwBafMgMQ1oWGaS7sFQ=; b=T37V2hSuzZFbnjZ0LoaHWA/EQw Gig0Ur+KKFEx67xoWoZhV1GcbZfEY8+cJ86XAerdbGA7O1XmxYJYSwsZ84PLARiQ5tF4Y+yjuPtXG rIyjWgE30Xu+f3svKBHZ3SXXGGjGsaopuHgYZKAEeicjRrqFQeGrlV0GSoRflkQ4JxTj2phzLHkcM q3UTeDaYClzb+2/8IS7Cw+nKBCHa5rwaGKEom0O//ZWDixBEceOj2md8pZPDXu+gr1TEpdk/Ay63u g2bqqX7znkvzuJOhdYzNrW1tB8zmhJk/TdB0mfVoldEQU/zlFbQLU1kMmk0PmiWq4zTPPpyjWiHXn B3obVUzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOy0H-00000009zVA-2SYz; Wed, 03 Jul 2024 11:18:25 +0000 Received: from mgamail.intel.com ([198.175.65.10]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOy04-00000009zT3-2VUq for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2024 11:18:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720005493; x=1751541493; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sZu3WEtVwQ9fs2ISGrtXyLLe+vIoesZ01sKD9VWZu5o=; b=PEHCE2cp45HrbjV/Z0QO4AVMeHRPxbJoCp3AIEg4mrNNv49fJwYEDv/w O8QU16LauSy1EEjoHjL/8gNYBOy8NOsWa9iZzFr3H6ACnYv/6MbOsshL4 PkgZqDsFkrtgfW1jhSRh2/99rD5dpXlhHxfdvX7HvEJ7sC4VMBy+L5/OF lHIuzu9I65MSXSi/HCEmhk82zBf/pMYzi7v4FClgCUQEMYdABtKlJRJxA /Uhvbabt74dD+ZzzSFKz+3wNa4+Q8AI7NQzjHxcgZ5oR2BjuafmdXKfJj 9I5UThC9U6wPQx0ygWEyq8ccWr4ckLc5vRtfTtzWUqitFf8zgfiKXLOJN g==; X-CSE-ConnectionGUID: N85uDZ6xQO+FK/xd09dwkg== X-CSE-MsgGUID: DHkVi/uhRUCoXUmKx+iL2g== X-IronPort-AV: E=McAfee;i="6700,10204,11121"; a="34677386" X-IronPort-AV: E=Sophos;i="6.09,181,1716274800"; d="scan'208";a="34677386" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2024 04:18:12 -0700 X-CSE-ConnectionGUID: XrOeSyk8TZy62vYVf9OUPw== X-CSE-MsgGUID: fltt//wxQBiTuWRISZn2XA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,181,1716274800"; d="scan'208";a="51411818" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 03 Jul 2024 04:18:06 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sOxzv-000PeM-1b; Wed, 03 Jul 2024 11:18:03 +0000 Date: Wed, 3 Jul 2024 19:17:25 +0800 From: kernel test robot To: Lorenzo Bianconi , netdev@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, nbd@nbd.name, lorenzo.bianconi83@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, conor@kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org, upstream@airoha.com, angelogioacchino.delregno@collabora.com, benjamin.larsson@genexis.eu, rkannoth@marvell.com, sgoutham@marvell.com, andrew@lunn.ch, arnd@arndb.de, horms@kernel.org Subject: Re: [PATCH v4 2/2] net: airoha: Introduce ethernet support for EN7581 SoC Message-ID: <202407031841.Ww5ZFVKk-lkp@intel.com> References: <56f57f37b80796e9706555503e5b4cf194f69479.1719672695.git.lorenzo@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56f57f37b80796e9706555503e5b4cf194f69479.1719672695.git.lorenzo@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_041812_708426_F3FFF4D0 X-CRM114-Status: GOOD ( 11.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Lorenzo, kernel test robot noticed the following build warnings: [auto build test WARNING on net/main] [also build test WARNING on net-next/main linus/master v6.10-rc6] [cannot apply to horms-ipvs/master next-20240703] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Lorenzo-Bianconi/dt-bindings-net-airoha-Add-EN7581-ethernet-controller/20240630-185836 base: net/main patch link: https://lore.kernel.org/r/56f57f37b80796e9706555503e5b4cf194f69479.1719672695.git.lorenzo%40kernel.org patch subject: [PATCH v4 2/2] net: airoha: Introduce ethernet support for EN7581 SoC config: arm-randconfig-r123-20240703 (https://download.01.org/0day-ci/archive/20240703/202407031841.Ww5ZFVKk-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240703/202407031841.Ww5ZFVKk-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202407031841.Ww5ZFVKk-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/net/ethernet/mediatek/airoha_eth.c:848:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __iomem *base @@ got struct airoha_eth *eth @@ drivers/net/ethernet/mediatek/airoha_eth.c:848:19: sparse: expected void [noderef] __iomem *base drivers/net/ethernet/mediatek/airoha_eth.c:848:19: sparse: got struct airoha_eth *eth drivers/net/ethernet/mediatek/airoha_eth.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...): include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false include/linux/page-flags.h:240:46: sparse: sparse: self-comparison always evaluates to false vim +848 drivers/net/ethernet/mediatek/airoha_eth.c 809 810 #define airoha_fe_rr(eth, offset) \ 811 airoha_rr((eth)->fe_regs, (offset)) 812 #define airoha_fe_wr(eth, offset, val) \ 813 airoha_wr((eth)->fe_regs, (offset), (val)) 814 #define airoha_fe_rmw(eth, offset, mask, val) \ 815 airoha_rmw((eth)->fe_regs, (offset), (mask), (val)) 816 #define airoha_fe_set(eth, offset, val) \ 817 airoha_rmw((eth)->fe_regs, (offset), 0, (val)) 818 #define airoha_fe_clear(eth, offset, val) \ 819 airoha_rmw((eth)->fe_regs, (offset), (val), 0) 820 821 #define airoha_qdma_rr(eth, offset) \ 822 airoha_rr((eth)->qdma_regs, (offset)) 823 #define airoha_qdma_wr(eth, offset, val) \ 824 airoha_wr((eth)->qdma_regs, (offset), (val)) 825 #define airoha_qdma_rmw(eth, offset, mask, val) \ 826 airoha_rmw((eth)->qdma_regs, (offset), (mask), (val)) 827 #define airoha_qdma_set(eth, offset, val) \ 828 airoha_rmw((eth)->qdma_regs, (offset), 0, (val)) 829 #define airoha_qdma_clear(eth, offset, val) \ 830 airoha_rmw((eth)->qdma_regs, (offset), (val), 0) 831 832 static void airoha_qdma_set_irqmask(struct airoha_eth *eth, int index, 833 u32 clear, u32 set) 834 { 835 unsigned long flags; 836 837 if (WARN_ON_ONCE(index >= ARRAY_SIZE(eth->irqmask))) 838 return; 839 840 spin_lock_irqsave(ð->irq_lock, flags); 841 842 eth->irqmask[index] &= ~clear; 843 eth->irqmask[index] |= set; 844 airoha_qdma_wr(eth, REG_INT_ENABLE(index), eth->irqmask[index]); 845 /* Read irq_enable register in order to guarantee the update above 846 * completes in the spinlock critical section. 847 */ > 848 airoha_rr(eth, REG_INT_ENABLE(index)); 849 850 spin_unlock_irqrestore(ð->irq_lock, flags); 851 } 852 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki