From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 447822046BA; Wed, 20 May 2026 17:27:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779298058; cv=none; b=mSrzKmclwpeF5oasXPnib+dc/Mr87l3iGnFt14C+4hf694Ij40B4BQr0c/5d9paNmK5vpqoJAcRoORsqvtYlTjVDY8hQlp4XniWrs9ulQzKDXf2As6wdR2SVP0GTE+0WsHJINQ2fdLGuhO95ZBZHJIoggLw+/F/9I9k6OT4fuzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779298058; c=relaxed/simple; bh=Px/9ee1mHIBAVy6H3fWjPFR9GdjPtUq09GZ2Pv1fw5Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i+IyqgSuFvKIPX/srGkM8JGmlqd7CUl1nDfDTwYbAP/yYLl+ntlAmUogQm8OM4TasI4K/NPwxoFcunaj4iPFssAFJNJTGjGaRPmQDPuDYsTF24sd3Ghwm72cA5C/Kglj70s0QGDgsXWaQX03fKVzhQKd8kkCdJsKm4N/z/e87Ng= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OgYzjIWu; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OgYzjIWu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABA951F00893; Wed, 20 May 2026 17:27:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779298057; bh=O0mCNPghJcL9lbP6lX0gc+R9XJaIFNqOJ7Z1Qdso9jg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OgYzjIWui3JS2uiL5xZT1xxTrm9yVicqgS4MT12FzzMvVSApgKsZK3/olY3yG5u16 0+UF7aLlxplN7aMZYog1P2zd5tKvf4FiD+kCOUrzHnEyTM8lIGXWFNCRFGXp+fP7Np FLEPatTRU+YZPXDmqe0RegiYpHU8GiHbX6E+WaZY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Vincent Chen , Tomasz Jeznach , Jason Gunthorpe , Joerg Roedel , Sasha Levin Subject: [PATCH 6.18 224/957] iommu/riscv: Add missing GENERIC_MSI_IRQ Date: Wed, 20 May 2026 18:11:47 +0200 Message-ID: <20260520162139.399870166@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162134.554764788@linuxfoundation.org> References: <20260520162134.554764788@linuxfoundation.org> User-Agent: quilt/0.69 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.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jason Gunthorpe [ Upstream commit c70d20b25ca30d68b377b9363a2adca6eb2538e3 ] The commit below added MSI related calls to the driver that depends on GENERIC_MSI_IRQ. It is possible to build RISC-V without this selected. This is also necessary to make the driver COMPILE_TEST. Fixes: d5f88acdd6ff ("iommu/riscv: Add support for platform msi") Tested-by: Vincent Chen Tested-by: Tomasz Jeznach Signed-off-by: Jason Gunthorpe Signed-off-by: Joerg Roedel Signed-off-by: Sasha Levin --- drivers/iommu/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/riscv/Kconfig b/drivers/iommu/riscv/Kconfig index c071816f59a67..fb8e217edc3d3 100644 --- a/drivers/iommu/riscv/Kconfig +++ b/drivers/iommu/riscv/Kconfig @@ -4,6 +4,7 @@ config RISCV_IOMMU bool "RISC-V IOMMU Support" depends on RISCV && 64BIT + depends on GENERIC_MSI_IRQ default y select IOMMU_API help -- 2.53.0