Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3463623imw; Thu, 7 Jul 2022 02:07:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tSdEJY0O+OkCx/eiouTpbB0JymyEiwYNXrMDcyrenVPNuP90cHArsCzv9mbNSr/tZnmVhd X-Received: by 2002:a05:6402:51c7:b0:437:a22c:60f5 with SMTP id r7-20020a05640251c700b00437a22c60f5mr59096197edd.281.1657184869948; Thu, 07 Jul 2022 02:07:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657184869; cv=none; d=google.com; s=arc-20160816; b=T0L3VHJRaOpCEck3r8+1nSjFaew9KRyLpaSJpxr87u39T8jN6r6qanwU99Vf49pglp 9wgimC0FaXKuqG3mActZ4ThSDS9uSsWoFlqsWQ+T4mnGIbL6snB/EzqooF5nArIzMt8G oHMFLDi2HCX8bwpizJNE4FCRs5a+mCHSSEvFwe5QF1e2hxIcvvgJLvv2yQ+2USrv27se ffEoVPDoZO5MZhj/NbF3XkX2B28aHPTFu7wKUul6WB2fEKJAgYdx6vh955nqb8gDHLvZ I3Exj46V4+oHVo1WAjzFyy2xWjXqnkSw7xPk+i7YSoU/UAwLGbKk3w+w4M/HP4aeeRHW V/6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=GSd72UO/hQ5qghescJMr5K/+JQ2x8UC87b/mURDW8+E=; b=PibFjvX5w+HpyvPV10/wc+HvpSZt/4meyC5t4XUZ6CGLJii9N5Ybb4qX77G10hejr4 Cbw9lFOjrmdpupE/Si9UGB1pp8pCfBaLtsCkzubkz6IBe/3E6pEj/Obzn2fO/9C2jY7g +SOzIgnM/8LUo8yQGq1hpvopUuvaTsddD5nJDnCTXm/as+/I+mRVdq/PovEajZxrIfwV YFVak6Uoh2emkt0vcb/23w6HxcLmHANGyp1QygUzo0NXGBpLBPeEMVjbtGHZEKtzfGE9 vFjSt/lGYH1T3v/1zCVQoPRin+U0qnT/F5H8RgIROXCnM6Vn65+ULB8qWHok20fay0IO lk+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LkArKRsu; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=dNBaa0OQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g21-20020a1709065d1500b006fe77c7f13fsi2269575ejt.734.2022.07.07.02.07.20; Thu, 07 Jul 2022 02:07:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=LkArKRsu; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=dNBaa0OQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235468AbiGGIu0 (ORCPT + 99 others); Thu, 7 Jul 2022 04:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235387AbiGGIuJ (ORCPT ); Thu, 7 Jul 2022 04:50:09 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65B2932ECD for ; Thu, 7 Jul 2022 01:50:08 -0700 (PDT) Date: Thu, 07 Jul 2022 08:50:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1657183807; 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=GSd72UO/hQ5qghescJMr5K/+JQ2x8UC87b/mURDW8+E=; b=LkArKRsuLYoYIq9u4gj7Qh/MX1KxeZ6tAZdnL5NN4T0bzGiwv6EimiYdIsTmKI4GQDj2nN GiMHajAiB8dhB8TDb3tUgJhAuwilmv9v3hTkuzQ3ZfO1bgUGT3Pto6zGLiGWlNabvUGs4e IeSy6EF+Vb0H+s0My3ru4HSjU0PGxNxzZdhcggUsfP7r+qTInO1pjkBLeBcecVN11zOmOP RgOVcWLuoIX+cYYI0ybERY7pT33MFS/9UvgvSKHzKaZH/8Bld6/BrxpQFBlDdYV+niJy1m xbkwmeKrwDC/fYPqA4uCroyUCErhzCrp+T4VzWwHIGb5GEwI/3zYASHKqWiO3A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1657183807; 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=GSd72UO/hQ5qghescJMr5K/+JQ2x8UC87b/mURDW8+E=; b=dNBaa0OQCIsNJomdwZ6b4XOG8G1uixh8g5BGitMtFzMxPOOtWAJ/6DHJ7k873hD6EWbTmF Uaq+sKcTLC1UApBQ== From: "irqchip-bot for Samuel Holland" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] genirq: GENERIC_IRQ_IPI depends on SMP Cc: kernel test robot , Samuel Holland , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20220701200056.46555-3-samuel@sholland.org> References: <20220701200056.46555-3-samuel@sholland.org> MIME-Version: 1.0 Message-ID: <165718380587.15455.10892784709085960785.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 0f5209fee90b4544c58b4278d944425292789967 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/0f5209fee90b4544c58b4278d944425292789967 Author: Samuel Holland AuthorDate: Fri, 01 Jul 2022 15:00:50 -05:00 Committer: Marc Zyngier CommitterDate: Thu, 07 Jul 2022 09:38:03 +01:00 genirq: GENERIC_IRQ_IPI depends on SMP The generic IPI code depends on the IRQ affinity mask being allocated and initialized. This will not be the case if SMP is disabled. Fix up the remaining driver that selected GENERIC_IRQ_IPI in a non-SMP config. Reported-by: kernel test robot Signed-off-by: Samuel Holland Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20220701200056.46555-3-samuel@sholland.org --- drivers/irqchip/Kconfig | 2 +- kernel/irq/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index d26a4ff..5dd98a8 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -177,7 +177,7 @@ config MADERA_IRQ config IRQ_MIPS_CPU bool select GENERIC_IRQ_CHIP - select GENERIC_IRQ_IPI if SYS_SUPPORTS_MULTITHREADING + select GENERIC_IRQ_IPI if SMP && SYS_SUPPORTS_MULTITHREADING select IRQ_DOMAIN select GENERIC_IRQ_EFFECTIVE_AFF_MASK diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig index 10929ed..fc760d0 100644 --- a/kernel/irq/Kconfig +++ b/kernel/irq/Kconfig @@ -82,6 +82,7 @@ config IRQ_FASTEOI_HIERARCHY_HANDLERS # Generic IRQ IPI support config GENERIC_IRQ_IPI bool + depends on SMP select IRQ_DOMAIN_HIERARCHY # Generic MSI interrupt support