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 D1ECDCDD0DC for ; Tue, 22 Oct 2024 19:47:27 +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=1KfFtm+itY1vmS8x48TNSm09m05ZIEJ5fjTRIcZJ/+o=; b=yNlhqRrvyTdP+/ug8lIO6PLhdT 1Q9G/NmTEvGRA/fFRDo6TqTykmp6NCN+J8pAHZ7KoD/N0dAd1h6pQewtKmWLz+eorkasYgMuemtif SM1FdYda5lRN0ClG1T42ndWIB7ZXuONoswGdH6QjTI64TXFBp3zZrY7W3ZvUfqpFKSbIJJbRoAxkY TSYVu0QxS1jaLPYMQ1bjf/l38g+2F5TUXFXywLidVyfysyOZqkq8H4mPKV0n9GWvXdD6mo4m1H1pw SJNv2UDm7TZ3CUo7XEfKl8B7R3Qyz9thx6DAkLFoK5zMMcS8MuS8T+alxok1ntQXLfi6M1cQBoB2a YsY7oEhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3KqZ-0000000Bzus-3Q7z; Tue, 22 Oct 2024 19:47:15 +0000 Received: from mgamail.intel.com ([198.175.65.20]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3Klb-0000000Byib-0lDu for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 19:42:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729626127; x=1761162127; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QQc7sW7+SBjdpzhiB9fl4wHUT1zzT8I+K0VfEb+0Hro=; b=XgKxENgb8l/LR/Sf6BrpSHwd1TCDAhT2X4ZawOG3ZYx8hPhTmLzeTwT/ mOvpKSfTeZv6J5Fs4svd8gJ2oQJyh/i5Eruk2z8HEiUzDp29oX2HgwXi0 mC0hVPEgbNgFMmkn02n3Ryftwo94VvLPjS5RV2g4g9W7bZZtJJc2PcCiC o2JaVPR1DApSW1SHbWY+GfXxb5cb4hMZ6vE/GHsFhe65LwcJXLONEamYv UX7DwU5HmohnVX66lKzbIZpSlWq+0Am4HD6jb9MUdtKqY77bf0R7XopUI g52wivQoR/9Z4T84TPTBteWaAatGlNNlcEWy3iKz0ncrx1lUCCXVkkhnQ w==; X-CSE-ConnectionGUID: C/6KYjqdT+qzbYwpCnBzKg== X-CSE-MsgGUID: jpW3LvLGTI2R1h81iYJ23w== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="28964352" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="28964352" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2024 12:42:06 -0700 X-CSE-ConnectionGUID: 2NPEaIm3TUqbE4Fuzm0g3Q== X-CSE-MsgGUID: zh7g0qZTSpKyd6aucQOrKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="84567463" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 22 Oct 2024 12:42:00 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t3KlS-000U1g-1I; Tue, 22 Oct 2024 19:41:58 +0000 Date: Wed, 23 Oct 2024 03:41:08 +0800 From: kernel test robot To: Frank Li , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Abraham I , Saravana Kannan , Jingoo Han , Gustavo Pimentel , Jesper Nilsson , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: oe-kbuild-all@lists.linux.dev, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@axis.com, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li Subject: Re: [PATCH v3 1/4] PCI: dwc: ep: Add bus_addr_base for outbound window Message-ID: <202410230328.BTHareG1-lkp@intel.com> References: <20241021-pcie_ep_range-v3-1-b13526eb0089@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241021-pcie_ep_range-v3-1-b13526eb0089@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_124207_297426_5D0DC756 X-CRM114-Status: GOOD ( 14.46 ) 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 Frank, kernel test robot noticed the following build errors: [auto build test ERROR on afb15ca28055352101286046c1f9f01fdaa1ace1] url: https://github.com/intel-lab-lkp/linux/commits/Frank-Li/PCI-dwc-ep-Add-bus_addr_base-for-outbound-window/20241022-041043 base: afb15ca28055352101286046c1f9f01fdaa1ace1 patch link: https://lore.kernel.org/r/20241021-pcie_ep_range-v3-1-b13526eb0089%40nxp.com patch subject: [PATCH v3 1/4] PCI: dwc: ep: Add bus_addr_base for outbound window config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20241023/202410230328.BTHareG1-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241023/202410230328.BTHareG1-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/202410230328.BTHareG1-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/pci/controller/dwc/pcie-designware-ep.c: In function 'dw_pcie_ep_init': >> drivers/pci/controller/dwc/pcie-designware-ep.c:885:49: error: passing argument 3 of 'of_property_read_reg' from incompatible pointer type [-Wincompatible-pointer-types] 885 | of_property_read_reg(np, index, &ep->bus_addr_base, NULL); | ^~~~~~~~~~~~~~~~~~ | | | phys_addr_t * {aka unsigned int *} In file included from drivers/pci/controller/dwc/pcie-designware-ep.c:12: include/linux/of_address.h:75:64: note: expected 'u64 *' {aka 'long long unsigned int *'} but argument is of type 'phys_addr_t *' {aka 'unsigned int *'} 75 | int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size); | ~~~~~^~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] vim +/of_property_read_reg +885 drivers/pci/controller/dwc/pcie-designware-ep.c 846 847 /** 848 * dw_pcie_ep_init - Initialize the endpoint device 849 * @ep: DWC EP device 850 * 851 * Initialize the endpoint device. Allocate resources and create the EPC 852 * device with the endpoint framework. 853 * 854 * Return: 0 if success, errno otherwise. 855 */ 856 int dw_pcie_ep_init(struct dw_pcie_ep *ep) 857 { 858 int ret; 859 struct resource *res; 860 struct pci_epc *epc; 861 struct dw_pcie *pci = to_dw_pcie_from_ep(ep); 862 struct device *dev = pci->dev; 863 struct platform_device *pdev = to_platform_device(dev); 864 struct device_node *np = dev->of_node; 865 int index; 866 867 INIT_LIST_HEAD(&ep->func_list); 868 869 ret = dw_pcie_get_resources(pci); 870 if (ret) 871 return ret; 872 873 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "addr_space"); 874 if (!res) 875 return -EINVAL; 876 877 ep->phys_base = res->start; 878 ep->bus_addr_base = ep->phys_base; 879 880 if (pci->using_dtbus_info) { 881 index = of_property_match_string(np, "reg-names", "addr_space"); 882 if (index < 0) 883 return -EINVAL; 884 > 885 of_property_read_reg(np, index, &ep->bus_addr_base, NULL); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki