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 9E600C4332F for ; Tue, 31 Oct 2023 16:18:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Owner; bh=FmQ9cDisdXmW3lgVlIpNDteVTHgmNdcKNJE+QM5I73I=; b=IIGT0XCaVFJyJK bPreY1YdGU/30wgSdJUZqTSE3N4hfWlFQhCPDIwe1akckwatJ/++VxN/wbvGAm56wWuXI5REp9MJJ c7uLmDD3k7o0oJ4YBZV/uc1Wkiy5aG1qoyjSPk9e7Kuzj7+7BFMBQbEsXbtrsxYjs7LQDIyCB/kOZ U9/zkj6Y1Hz7J1DQW4pF+HDAvS/BPOAhxwX2kTBu82U4+UwnQGRxNHBYoHHbkKrVrzNDTCaXwWrIz c+MzcoisZaKCc7UVzTB58fbtHu5c5vLIHHNLOB1bQqTd4cBgXrDW6AfTfVAIcDnJciOkMaGs/bgFU bBQSRk52jqfafqYPehRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxrRX-005alK-1G; Tue, 31 Oct 2023 16:18:15 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxrRU-005akY-04 for linux-riscv@lists.infradead.org; Tue, 31 Oct 2023 16:18:13 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 4813FB80E97; Tue, 31 Oct 2023 16:18:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC49EC433C7; Tue, 31 Oct 2023 16:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698769080; bh=HCX1df8KCBHXTAnQTau8yrSKPJ1ZZEmzSDDHwuNCfSQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=K8ukv2xCzOKe8u1Ay0pk568Vgiy0KmGaE6zOcWpgpdwjdD16//wndhmVNzfHDgrPp ZHPCDTqWVCqD8Ky2Ivs0b514MqOHv1+AF/hYY7TtHNXLvTaSPSpSy25/ctPvw5j+2t 43QCikypsHfu09DPmbe/m9CJ/2WW+NCoB6etcNBcmS9dp9/RjYIg0rnvBgflPJs/qr RhaCxfM5dzQ5jkiThISeioN1AaoJJqIKRpA4hqMGGWnmnUicgkMVaTrEGAd0igG4Uh E3wLtLk+tRLoSYwNYHdC30Uwx1xIsu3/4NbxqqJywZAb6q9swVP6S7rVjiIEeaTFrI Rwna0lW1ysMOA== Date: Tue, 31 Oct 2023 11:17:57 -0500 From: Bjorn Helgaas To: Robert Richter , Terry Bowman , Dan Williams , Yoshihiro Shimoda , Siddharth Vadapalli Cc: linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, kernel test robot Subject: Re: [linux-next:master] BUILD REGRESSION c503e3eec382ac708ee7adf874add37b77c5d312 Message-ID: <20231031161757.GA11354@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202310310457.5LusQqF6-lkp@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231031_091812_386055_7A23BFAA X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, Oct 31, 2023 at 04:35:23AM +0800, kernel test robot wrote: > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: c503e3eec382ac708ee7adf874add37b77c5d312 Add linux-next specific files for 20231030 > > Error/Warning reports: > ... > https://lore.kernel.org/oe-kbuild-all/202310302206.Pkr5eBDi-lkp@intel.com > Error/Warning: (recently discovered and may have been fixed) > > Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/iio/imu/bosch,bma400.yaml > aarch64-linux-ld: drivers/cxl/core/pci.c:921:(.text+0xbbc): undefined reference to `pci_print_aer' > ... > arch/riscv/include/asm/mmio.h:67:(.text+0xd66): undefined reference to `pci_print_aer' > csky-linux-ld: pci.c:(.text+0x6e8): undefined reference to `pci_print_aer' > drivers/cxl/core/pci.c:921: undefined reference to `pci_print_aer' > drivers/cxl/core/pci.c:921:(.text+0xbc0): undefined reference to `pci_print_aer' > ... > ld: drivers/cxl/core/pci.c:921: undefined reference to `pci_print_aer' > loongarch64-linux-ld: drivers/cxl/core/pci.c:921:(.text+0xa38): undefined reference to `pci_print_aer' > pci.c:(.text+0x662): undefined reference to `pci_print_aer' > powerpc-linux-ld: pci.c:(.text+0xf10): undefined reference to `pci_print_aer' > riscv64-linux-ld: pci.c:(.text+0x11ec): undefined reference to `pci_print_aer' I have no idea about the above (and all the similar ones below); I assume they all have to do with https://lore.kernel.org/r/20231018171713.1883517-13-rrichter@amd.com > Unverified Error/Warning (likely false positive, please contact us if interested): > > drivers/pci/controller/dwc/pcie-rcar-gen4.c:439:15: warning: cast to smaller integer type 'enum dw_pcie_device_mode' from 'const void *' [-Wvoid-pointer-to-enum-cast] Safe but annoying. Yoshihiro, can you fix this by adding structs for the of_device_id.data member instead of casting DW_PCIE_RC_TYPE and DW_PCIE_EP_TYPE? Examples here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pci-dra7xx.c?id=v6.6#n557 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pci-keystone.c?id=v6.6#n1069 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pcie-artpec6.c?id=v6.6#n452 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pcie-designware-plat.c?id=v6.6#n159 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pcie-keembay.c?id=v6.6#n437 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pcie-tegra194.c?id=v6.6#n2431 Siddharth, since you're looking at keystone v3.65, it looks to me like DW_PCIE_VER_365A is currently broken because ks_pcie_rc_of_data doesn't set .mode, so it defaults to zero, and it looks like we should end up at the INVALID device type case here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/controller/dwc/pci-keystone.c?id=v6.6#n1285 > |-- arm64-buildonly-randconfig-r003-20220511 > | `-- aarch64-linux-ld:drivers-cxl-core-pci.c:(.text):undefined-reference-to-pci_print_aer > |-- csky-randconfig-001-20231030 > | |-- csky-linux-ld:pci.c:(.text):undefined-reference-to-pci_print_aer > | `-- pci.c:(.text):undefined-reference-to-pci_print_aer > |-- i386-randconfig-141-20231030 > | |-- ld:drivers-cxl-core-pci.c:undefined-reference-to-pci_print_aer > |-- loongarch-randconfig-r014-20230225 > | `-- drivers-cxl-core-pci.c:(.text):undefined-reference-to-pci_print_aer > |-- loongarch-randconfig-r032-20220926 > | `-- loongarch64-linux-ld:drivers-cxl-core-pci.c:(.text):undefined-reference-to-pci_print_aer > |-- powerpc-randconfig-003-20231016 > | `-- powerpc-linux-ld:pci.c:(.text):undefined-reference-to-pci_print_aer > |-- riscv-randconfig-r002-20220124 > | `-- arch-riscv-include-asm-mmio.h:(.text):undefined-reference-to-pci_print_aer > |-- riscv-randconfig-r011-20220606 > | `-- riscv64-linux-ld:pci.c:(.text):undefined-reference-to-pci_print_aer > |-- x86_64-randconfig-x052-20230810 > | `-- drivers-cxl-core-pci.c:undefined-reference-to-pci_print_aer _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv