Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp103209rwi; Wed, 26 Oct 2022 21:28:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4xZ5O3IQI6giBRETvD25kJfO79cPtHwluudv8+u0c95gfjkvt8DGLuleQGFBWHgiIt201V X-Received: by 2002:a17:907:94c6:b0:796:f9ed:ceb3 with SMTP id dn6-20020a17090794c600b00796f9edceb3mr33096451ejc.197.1666844885636; Wed, 26 Oct 2022 21:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666844885; cv=none; d=google.com; s=arc-20160816; b=y2Eg6+DSgEnlEkSoKri55tZ6KbAQEI0Ca+r9PYZQZye5sy6bN/dMPE4R4nXe7FVPlb f6n/UDh3cBDOzuU04ZrBDyAxmWsGczlVoU83fhx06tcoKdxcYJnzVIYglLdGn9Q8sqUW NM8OJkg/Knwum5ZJKFqH7F2ztFF9bMaGdrj06GJAflvVY4OMoDR9wX0GDesYSc+rFgwW 4El3Oqqs0fOzKIrjzzeix35rR3E350IGRlWPAvyc5lAkeGIRDu33KKNBmkk55VqK9xUO FNx6vbl5g1NbyUXdGPiU+F5c9Q2TbL9luwZUIzRr9ajTgTtdSzcSluG93LfYvqYE1FMQ yLpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=DrGFEbidWE2z3VNNN3AScmOwCj/cUmTKtmmFLfirylw=; b=eC/lSuoW80a0y1yViGIqKPnX9HwjVH/+HKw5X0T5Y46XDqW7FmkP3tgNJgf/wNRFwP pKoIH6G3BcGCm7T2Jgfsm/VfeB3My7v1xxU2Kj2vTKzQeYBqG9Y59TVliP5eWn/gpoh3 G7uf0elhML1QiABbpmXHRxqpBLHgGRddCAaFcBm7PzsKz8g051yq9ZrXqPXoLiIVQ3yL 6PRGDufrMnmk2AiPwXa/Cb7X7jNKOTif9F/7Uo5BeoItqQ/xnpyZZfJJ5VRhDoh2PorQ KM99hxJrpCZamY/O8BkM0g8/zNNUbErOmdS1cffoTZ2fdaxyM9rG3QzFqFNMF7UC7wbr CKbw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht11-20020a170907608b00b007799e328e10si357459ejc.999.2022.10.26.21.27.34; Wed, 26 Oct 2022 21:28:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233817AbiJ0DjQ (ORCPT + 99 others); Wed, 26 Oct 2022 23:39:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233481AbiJ0DjN (ORCPT ); Wed, 26 Oct 2022 23:39:13 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 787E34CA26 for ; Wed, 26 Oct 2022 20:39:11 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Dxvrde_VljdMQCAA--.5689S3; Thu, 27 Oct 2022 11:39:10 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dxr+Bd_VljmpAFAA--.20479S2; Thu, 27 Oct 2022 11:39:09 +0800 (CST) From: Tiezhu Yang To: Thomas Gleixner , Marc Zyngier Cc: linux-kernel@vger.kernel.org Subject: [PATCH v2] irqchip: LoongArch: Select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP Date: Thu, 27 Oct 2022 11:39:09 +0800 Message-Id: <1666841949-5244-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8Dxr+Bd_VljmpAFAA--.20479S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW7GFW3XryxGFy7XF13uF1rJFb_yoW3Cwc_Cr W2vFs7C3WUCryUAryIvr4fZryjkan0gFs7ua1qv345Xw1xZr13JF4UtFn8XrsrGa1UKF1S vrWIkr129w1IvjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY 17kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r1I6r4UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS 0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0V AKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUGVWUXwAv7VC2z280aVAFwI0_Jr0_Gr1l Ox8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxC20s 026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_ JrI_JrWlx4CE17CEb7AF67AKxVWUXVWUAwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14 v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xva j40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJV W8JbIYCTnIWIevJa73UjIFyTuYvjxUzZ2-UUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS 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 An IRQ's effective affinity can only be different from its configured affinity if there are multiple CPUs. Make it clear that this option is only meaningful when SMP is enabled. Signed-off-by: Tiezhu Yang --- v2: rebased on 6.1-rc2 drivers/irqchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 7ef9f5e..8461915 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -575,7 +575,7 @@ config IRQ_LOONGARCH_CPU bool select GENERIC_IRQ_CHIP select IRQ_DOMAIN - select GENERIC_IRQ_EFFECTIVE_AFF_MASK + select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP select LOONGSON_LIOINTC select LOONGSON_EIOINTC select LOONGSON_PCH_PIC -- 2.1.0