From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_DBL_BLOCKED_OPENDNS, URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=new2025; t=1754693555; bh=MSOWrqDWF2D2s0K6tC64bc+DGY3dYv6ArPql468xyVo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To:Message-ID:Date:From:Reply-To:Subject:To: Cc:In-Reply-To:References:Resent-Date:Resent-From:Resent-To: Resent-Cc:User-Agent:Content-Type:Content-Transfer-Encoding; b=NoumSNcXKgNrLf5DWqvvE+R9ZRBNMAN+FgVJKo3RUdI9wk4l2Mlth2AW7V2LUMw9J SheTXmN4H+Q8gxPth7JJ825FeZeiTiBATwHJrZ5ZokOiiKkngfdgNP6b60Nbar3z0k 5UyJt71ae0uL0brg64teV1a6LL2zs4Px45LfJM216Ee/G6GRACJyK5I6EoWwteqFbo K4c0gjkZ0CtP4RdwKfyHs3Tyy6RYaeghxyb87CMEblGaxHZ2ixvqs8pGIuWbcsS+PG taos0H9iyX4OXQnRuYgVPUiRBjC2bvmr+yBtZQC+zbopIv9JSmPUnPwnm1cdnLiXTu D22/RqV/1dHxw== Received: from biznet-home.integral.gnuweeb.org (unknown [182.253.126.185]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 855DB3127E05; Fri, 8 Aug 2025 22:52:32 +0000 (UTC) Date: Sat, 9 Aug 2025 07:52:30 +0900 From: Ammar Faizi To: Nam Cao Cc: Thomas Gleixner , Lukas Wunner , Bjorn Helgaas , Linus Torvalds , Linux PCI Mailing List , Linux Kernel Mailing List , Rob Herring , Lorenzo Pieralisi , Manivannan Sadhasivam , Krzysztof Wilczynski , Armando Budianto , Alviro Iskandar Setiawan , gwml@vger.gnuweeb.org Subject: Re: [GIT PULL v2] PCI changes for v6.17 Message-ID: References: <20250801142254.GA3496192@bhelgaas> <175408424863.4088284.13236765550439476565.pr-tracker-bot@kernel.org> <20250807050350.FyWHwsig@linutronix.de> <87ectlr8l4.fsf@yellow.woof> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ectlr8l4.fsf@yellow.woof> List-Id: + Adding tglx as he's involved in reviewing that commit. Context: https://lore.kernel.org/linux-pci/aJXYhfc%2F6DfcqfqF@linux.gnuweeb.org/ On Fri, Aug 08, 2025 at 08:07:03PM +0200, Nam Cao wrote: > There is no point in bisecting before that commit, because the WARN_ON() > is added by that commit, so you wouldn't see anything before that. I didn't notice that. Good you pointed that out earlier. > The WARN_ONCE() tells us that some devices down the PCI tree are > allocating MSI, but VMD supports MSI-X only. > > From the backtrace: > msi_create_device_irq_domain+0x1eb/0x290 > __pci_enable_msi_range+0x106/0x300 > pci_alloc_irq_vectors_affinity+0xc5/0x110 > pcie_portdrv_probe+0x24e/0x610 > > It seems MSI-X are allocated first, but fail for some reason. Then > fallback to MSI, which triggers the WARN_ON(). > > So we need to figure out why MSI-X allocation fail. > > I may need to ask you to insert a bunch of printk() to help me pinpoint > the problem. But let me stare at it first.. I can do that. Send me a git diff. I'll test it and back with the dmesg output. -- Ammar Faizi