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 C57AECDD0CB for ; Tue, 22 Oct 2024 19:34:33 +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=xKrib+pAdaCtQxQoJD/Z9oDc9kjGxOx/C8ElOS6/D/c=; b=VXOvasl/oU4H2sqr+BDJm6rSSg vqkaWQKgzkcf69q6SKRULNnbbkOh2DoDR2zkKeau/lhWvfeBpaxCoSH3AJ6Js0d0HMxIJ0LiaX+qW RcgpAmAAen7D07OL9FxU/aP4xP0mb0EM71aE8bWXywSXNr6YAQ+clJXgMWcuFFsD8Om5L+HDik80j +Lwosq0wAwVblFieagzAi3dh+ZlBIGuq7ieKNmovzzS2pAgqtL0zxi/Rmpc/x9xbDvh3kXSRjhCRx ioSo172hpo4Lo9ilqtp65he66WySYhun9IC3rNu+YEs+VciItU58CRJK1zD2zjzmfMf1xWj4bbRnt 3zyU3ZeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3Ke4-0000000BxDs-0RwL; Tue, 22 Oct 2024 19:34:23 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3Kaw-0000000BwDV-1t0t for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 19:31:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729625466; x=1761161466; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=I96gy9L2CueZ1inOdskqZYTcTAN8yiQLuBuZyuhO8bU=; b=CIx8QETAh1ixsce63wTxkx7dgsD1NQycVzTx9FaSPt9UyhE34Dd9YzNT EWNxhXOAnbVMpjSulNFLRVAMmjFQN8etgbbFvc5UrczuQlTc5mY5qmLwx fJuDqJug2BRPJt85plb20puR1+lzj4cG86vOgGM4KACDPusoHmxejb3ap p5zCUtUg3imODz5Wfnwhbq+f1b+W/SH9QtkaA1bV4MeaTIbKxcVSGI/6t NXCIsBA/cz+edwiNwud2izxqD5N+l6nC+zTqL7bwO8Jhgpkvy1cxkkeou wk6qa0hlPAbm6UpkVN9aYw1qDEZaNg2q+dvB5VvGDS7fg78bIzgAp/TA7 w==; X-CSE-ConnectionGUID: KIQUtXZcThKv6WvI6m8hDg== X-CSE-MsgGUID: hxe9CfIxTE6PH03NMBF/KA== X-IronPort-AV: E=McAfee;i="6700,10204,11233"; a="29077408" X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="29077408" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2024 12:31:06 -0700 X-CSE-ConnectionGUID: K93RX3e4SKSLbeqw2r8gJA== X-CSE-MsgGUID: l+lO5qg7TimnUo6kutzWnw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="84759781" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 22 Oct 2024 12:30:59 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1t3Kan-000U0a-2E; Tue, 22 Oct 2024 19:30:57 +0000 Date: Wed, 23 Oct 2024 03:30:47 +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: llvm@lists.linux.dev, 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: <202410230325.DxAdrnbW-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_123106_559035_789E03B3 X-CRM114-Status: GOOD ( 12.81 ) 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: i386-buildonly-randconfig-002-20241023 (https://download.01.org/0day-ci/archive/20241023/202410230325.DxAdrnbW-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241023/202410230325.DxAdrnbW-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/202410230325.DxAdrnbW-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/pci/controller/dwc/pcie-designware-ep.c:885:35: error: incompatible pointer types passing 'phys_addr_t *' (aka 'unsigned int *') to parameter of type 'u64 *' (aka 'unsigned long long *') [-Werror,-Wincompatible-pointer-types] 885 | of_property_read_reg(np, index, &ep->bus_addr_base, NULL); | ^~~~~~~~~~~~~~~~~~ include/linux/of_address.h:75:64: note: passing argument to parameter 'addr' here 75 | int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size); | ^ 1 error generated. vim +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