From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 C02A431354F; Wed, 3 Sep 2025 15:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756912354; cv=none; b=MVjETHx+MwQWP4RZCl7tb0hW9dH9Qzsx7d8KqEvIPpEXBls8gHK1XjreHXIrLcPLUQ214Jvh6aRBO9tgSgJ17InCx4SzftjtL3skPSE+MLAIiQ//y/1z9bRUfuH+2/0CRpulEwpyW1c1yQGgQA6RsIlaYrW6rrG4UpEwRwnKd+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756912354; c=relaxed/simple; bh=GPHmmVLF8BvpIW10xeMP7KYKiBdEEXnW3U/+BjM6P4A=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=FPpDPAmNEV08lKYjL9H/SorFI0RNlh0DjLJiZRKGXwZyxIxE7tFiV7QyQiy4+uIv/1GXYebtYaHHLgvRcLCBRIp30LAKLGRAYu/rQkcrbDe+I7BfVY/6uWGj9hWwWF2veIBuiNWdRGOGYeebqVt3CTawevEu0hVcZqj4CVjLIpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=VRbpyb/0; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=/Wreew29; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="VRbpyb/0"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="/Wreew29" Date: Wed, 03 Sep 2025 15:12:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1756912350; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fYzDQNR1K0GCN9DPuBc+1Qc78qFuo/FtGbaOwsbpdn0=; b=VRbpyb/0nRA1cVp3tWE/yBG/1+8HgNmmjd9MCZ2QXJCEHjlpklLE0vLpQ1Bh8uDK4F8QeH tzDn4J5DjRPXA2Qd8pYmwSxopTidiG0hIIZJeOPXSKQykqpuI8zpiDqfVMW/NVMsoayaNM Nzqn2dkAcVp0uSmgsVRdoYW/3zvZVSl3SeDZjg95oEfAqCej7JUkY2axOgeeKFGLf0N5Dy 61Pr9l9IrVCEdQNKdlCjy3UJfrzHuciMBbP9ZyhNnUOtIP+WoSGgYOKw9ObftjJUWo4+LG 3TXhxw5Svwn36A0S+wwEqS0uyHIVaDwmQAzOQ/w+dkfNuDqOVWf2bGKKcFG7KQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1756912350; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fYzDQNR1K0GCN9DPuBc+1Qc78qFuo/FtGbaOwsbpdn0=; b=/Wreew29GHFimw0spt3PjQRBxjIJnrQ3Vnnd06O5k06Lbpk0YJPv/HMZLrXR/JpE9f4mjB XyulmPrXxfRa6PCg== From: "tip-bot2 for Brian Norris" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] genirq/test: Depend on SPARSE_IRQ Cc: Guenter Roeck , Brian Norris , Thomas Gleixner , David Gow , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20250822190140.2154646-5-briannorris@chromium.org> References: <20250822190140.2154646-5-briannorris@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <175691234916.1920.4451339008631967133.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/core branch of tip: Commit-ID: 0c888bc86d672e551ce5c58b891c8b44f8967643 Gitweb: https://git.kernel.org/tip/0c888bc86d672e551ce5c58b891c8b44f89= 67643 Author: Brian Norris AuthorDate: Fri, 22 Aug 2025 11:59:05 -07:00 Committer: Thomas Gleixner CommitterDate: Wed, 03 Sep 2025 17:04:52 +02:00 genirq/test: Depend on SPARSE_IRQ Some architectures have a static interrupt layout, with a limited number of interrupts. Without SPARSE_IRQ, the test may not be able to allocate any fake interrupts, and the test will fail. (This occurs on ARCH=3Dm68k, for example.) Additionally, managed-affinity is only supported with CONFIG_SPARSE_IRQ=3Dy, so irq_shutdown_depth_test() and irq_cpuhotplug_test() would fail without it. Add a 'SPARSE_IRQ' dependency to avoid these problems. Many architectures 'select SPARSE_IRQ', so this is easy to miss. Notably, this also excludes ARCH=3Dum from running any of these tests, even though some of them might work. Fixes: 66067c3c8a1e ("genirq: Add kunit tests for depth counts") Reported-by: Guenter Roeck Signed-off-by: Brian Norris Signed-off-by: Thomas Gleixner Tested-by: Guenter Roeck Reviewed-by: David Gow Link: https://lore.kernel.org/all/20250822190140.2154646-5-briannorris@chromi= um.org --- kernel/irq/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig index 8bc4de3..1b4254d 100644 --- a/kernel/irq/Kconfig +++ b/kernel/irq/Kconfig @@ -143,6 +143,7 @@ config GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD config IRQ_KUNIT_TEST bool "KUnit tests for IRQ management APIs" if !KUNIT_ALL_TESTS depends on KUNIT=3Dy + depends on SPARSE_IRQ default KUNIT_ALL_TESTS select IRQ_DOMAIN imply SMP