Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2894246rwb; Mon, 15 Aug 2022 13:29:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR5+O4igIGTC/1QhFEx6czxXSOAKTUgtAfB/N0OZ54SU6dWwRDBqRLsQshY5WvjfPlVCHc1s X-Received: by 2002:a17:906:ee8e:b0:730:3646:d178 with SMTP id wt14-20020a170906ee8e00b007303646d178mr11482812ejb.426.1660595387274; Mon, 15 Aug 2022 13:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660595387; cv=none; d=google.com; s=arc-20160816; b=aYVn3nQPP1MdUxoxAu6RXCvGPbRDneCxm6U7j4rwvEOz2CcIdZ1UrIQNUWQ9kQnGxw Fq09JzZg5H0h/c00ZFLJR2HPo0CSnhpAEFLJ75EqMyRc329CJQ2+2DSfgbsc1zSSxoyg TJIPi/uiJP76L8QUJAMqAXuqrfNT9evnwcmsxf04ZZRo4kp+8EDaGPCmeJuiEnNdqYHg JE2N9MgvSk8E39oK1GoWczw9Ahm+b2At0jFq576FYH6CfHPlk3U1HfRpfoz9Ag6zDZRl waAViVNFqePVlG4NPtwpOTBoygozlM+71Iwr+BNhHpGQhdlSksgNasoZO7wT6rtRpMg3 1sTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cPotATYAP0nob4FOMgBXcA4g/gaKjfZFYf/mr8cUOVc=; b=W9tuzzyFZqIurFjCBgWmXUoYafaCKXEwRCFadzkCCaXk0xr52Zhk9eZ076ba00GewK 8ysFvZNsvagHsU2fX1dIg/MyIJkUnRaPyn8Ja1/7aRVY5TU57IebtdbWU5cSjLiRhnAg CYA2mYJROiy4cHGH8YQHaZP6tnJCNQ/3BLeaiUZZRS9l2NPXu2eJkHT4Hcx1fxXAI7we LmziZ8VpOFo6QpAsfBuJ7g72sO+knGsHfXZMeTR3euWbE65AYskltSRBiOymrG7cD5AD lgmetAV/2/u3S4+dcbUPIThQFb+BHMoKJAmOQfOxA2DZ0PYRWHIr27fEYbKvGuEmAKfj 9TXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0BDDDgIM; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020a056402090c00b0043d37773dbasi9907013edz.90.2022.08.15.13.29.16; Mon, 15 Aug 2022 13:29:47 -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=@linuxfoundation.org header.s=korg header.b=0BDDDgIM; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347910AbiHOU0t (ORCPT + 99 others); Mon, 15 Aug 2022 16:26:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347195AbiHOUWC (ORCPT ); Mon, 15 Aug 2022 16:22:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84A009927D; Mon, 15 Aug 2022 12:01:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D36B3B810A2; Mon, 15 Aug 2022 19:01:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E207C433D6; Mon, 15 Aug 2022 19:01:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590079; bh=iyij/7Rda9GzVqk1fhaYf1o1xG310pgMr6a/apnunPY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0BDDDgIMCX4bD7Hd3tLgE3JZX+x++HnOO6eCDrdgrHh4lhbnf3NglVOqXPqvaqsnE YOY1N/LjwQjb5idN5GckaVIAACAEtcT+VAAXhX/PWo441nzZLJFlojJobgU/aGdxQ2 ZucGaB1PYJ44Qj/ndEQoZgI1yXL3xhhGzEA9Zc/Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Samuel Holland , Marc Zyngier , Sasha Levin Subject: [PATCH 5.18 0145/1095] genirq: GENERIC_IRQ_IPI depends on SMP Date: Mon, 15 Aug 2022 19:52:24 +0200 Message-Id: <20220815180435.590938208@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Samuel Holland [ Upstream commit 0f5209fee90b4544c58b4278d944425292789967 ] 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 Signed-off-by: Sasha Levin --- 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 d43d25a411dd..1af26c409cb1 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 10929eda9825..fc760d064a65 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 -- 2.35.1