Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2806402rwb; Mon, 15 Aug 2022 11:43:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR4MB4LFG1IC7bJbcoMAC6h565B/Iv8CQ11m2GajctpSLc5SjfNfrY6aoANVgiJUkWcHXwCJ X-Received: by 2002:a17:907:d88:b0:730:d0bc:977a with SMTP id go8-20020a1709070d8800b00730d0bc977amr11568575ejc.664.1660589012114; Mon, 15 Aug 2022 11:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660589012; cv=none; d=google.com; s=arc-20160816; b=etunj+0oD1IWjAgU/R1X2YNn+ICLm754L/cX2htHImNK5dIQ5FjQkAOU6pG1jbi6i/ Vcnlxvx6GDm39IGv7nVn6qcyqYVF6r9NDVOilzot6BWsv1fhkYvYBF5opP2Fh1qw5keY BID/75pL+iywfj+k/c+tS7Tt2L0+v3ITnb91dWJhUA/33S7cA91QzDAUm/bHZgcu0wJb FhiRbyCp3UayBTjgFcv7247B1eOjtQjl/w7OHO4FNoeXSRrYw1HOvpAacuRzrZ9eauVo sfm3LYANBhl4NtfhUYNOReKnh0q7ELH3d9FAcL+tNLww12U1n2Ue7gKEJI8LKmat2Y9F EDJQ== 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=rEiJ6AiNdXlp6bPw+Lg+D72mp2zm/LpAshxEScrbiPo=; b=M8goB4YQsXRQSPjQivNpNnab0gqehdf8czt9ct2Whas7A/D5q9iKPnf1uvy5rpNabd P77JaFL0L1MwYF+nko4q6IhohS1NxBQlOVEOX/cKwtXXQrQ96ov7sbWytv8Pz7PB8DwM RkhYu2YzF9Vm+AhwoOfo6aLbQ7rd1FGFsz5gzbgWHfBNVFeNSe7RBjWPfkeNegcEwaT6 lYRr0+vb7Hzi5RB/LDn5iMFpXKtPvGHKPVs83tnNgNBJkocSwimPWhNHqURyoUvk66T8 4nASKm2/+h6tIJ9ZPt8hejyG2TjYb86gIBzDP8vpWP5oLa+U90J3FL0972shV7NJmuxl Q+AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TJeWaYLA; 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 qw22-20020a1709066a1600b007303cf80042si8750770ejc.697.2022.08.15.11.43.06; Mon, 15 Aug 2022 11:43:32 -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=TJeWaYLA; 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 S242106AbiHOS2Q (ORCPT + 99 others); Mon, 15 Aug 2022 14:28:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243063AbiHOS0l (ORCPT ); Mon, 15 Aug 2022 14:26:41 -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 121433122A; Mon, 15 Aug 2022 11:19:39 -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 D76CCB81071; Mon, 15 Aug 2022 18:19:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A2CAC433C1; Mon, 15 Aug 2022 18:19:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587576; bh=D8GDK5X2petZO9FBuzzcie9LQ7EsKqqF49b3DRKH8HM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TJeWaYLAIAQ6SX5SgUbbZ7/HSTsPiYPziY/vXr9/oWOIzkC4whnRj2zlK48od8GRd vIaIVwIS21CboXMXcQntRyQNJubLKLyr3ajQ0XJdOLcJut0CwHelmBYrLTZdM6BNtn KxlyK/03A61pOtHceaZrFIJO0a8lpFO7j9hv5wcw= 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.15 120/779] genirq: GENERIC_IRQ_IPI depends on SMP Date: Mon, 15 Aug 2022 19:56:04 +0200 Message-Id: <20220815180342.442547927@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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 8f9c52873338..ae1b9f59abc5 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -171,7 +171,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 fbc54c2a7f23..00d58588ea95 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