From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 749182F83B4; Tue, 12 Aug 2025 19:25:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755026703; cv=none; b=h6xUsQC1rml20/R18tK+BunwAELvJ4pRgeusAXByvOUNAHHEheftzADb+NpoaRJk9901ryS3W93hkkD3zdP2lisnNk5jCDc/G1uCzx217bkTZ1gbqirYuj8FLwOYa19TXhkHSjbgVf2Rpx+hH7WhT6KMPThjrvY4idy5jCcrzo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755026703; c=relaxed/simple; bh=meuNRDyuG2K3noFUgFkhNjZ5GfDC9uigNZ7+jbsOODE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=l7lZPTssDV+htgYW7Oq1fJ5KGHAzLNUnIj+URseZvoo7WvDlzYGaEBFbV/Dujx4YuxR774ggVqgOSrCEQVLoHKlsNmhgoxRtHbJy1aXr5eIobc1pk6zK1V3sJ9lY0Xmur64sgM9qbw1V1UvWuF9i0y/BTlClGSGF+cVgC7zoliI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CapKqgmB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CapKqgmB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5C29C4CEF8; Tue, 12 Aug 2025 19:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755026703; bh=meuNRDyuG2K3noFUgFkhNjZ5GfDC9uigNZ7+jbsOODE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CapKqgmBDb0J7FTfx1i6Hs3FAyUqu0b9PSKJELRucXQyTv78iZwTPt3oWZsskzTNV /XLICPWB9jpB3V14/ed+7hdV+AEsTBN/2uLDd1DrdpbEd2t4DG9qQqT5aOn/ay1zEW 9SnTig972hq8SwxnY9tFLY25X1PysQt442NjlgOg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Arnd Bergmann , Thomas Gleixner , Sasha Levin Subject: [PATCH 6.15 416/480] irqchip: Build IMX_MU_MSI only on ARM Date: Tue, 12 Aug 2025 19:50:24 +0200 Message-ID: <20250812174414.574835184@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250812174357.281828096@linuxfoundation.org> References: <20250812174357.281828096@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann [ Upstream commit 3b6a18f0da8720d612d8a682ea5c55870da068e0 ] Compile-testing IMX_MU_MSI on x86 without PCI_MSI support results in a build failure: drivers/gpio/gpio-sprd.c:8: include/linux/gpio/driver.h:41:33: error: field 'msiinfo' has incomplete type drivers/iommu/iommufd/viommu.c:4: include/linux/msi.h:528:33: error: field 'alloc_info' has incomplete type Tighten the dependency further to only allow compile testing on Arm. This could be refined further to allow certain x86 configs. This was submitted before to address a different build failure, which was fixed differently, but the problem has now returned in a different form. Fixes: 70afdab904d2d1e6 ("irqchip: Add IMX MU MSI controller driver") Signed-off-by: Arnd Bergmann Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/20250805160952.4006075-1-arnd@kernel.org Link: https://lore.kernel.org/all/20221215164109.761427-1-arnd@kernel.org/ Signed-off-by: Sasha Levin --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 6539869759b9..087e30bab758 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -534,6 +534,7 @@ config IMX_MU_MSI tristate "i.MX MU used as MSI controller" depends on OF && HAS_IOMEM depends on ARCH_MXC || COMPILE_TEST + depends on ARM || ARM64 default m if ARCH_MXC select IRQ_DOMAIN select IRQ_DOMAIN_HIERARCHY -- 2.39.5