Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp794259pxb; Tue, 12 Apr 2022 13:39:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/dL8yd67oK6h0OzRRmh8jwRsICqKn2H2gDtZH1c7V1tIAC6gAZnYeVHcPrnuALvqWMcCm X-Received: by 2002:a05:6a00:218d:b0:4fd:f7a4:d4ad with SMTP id h13-20020a056a00218d00b004fdf7a4d4admr39187548pfi.83.1649795944551; Tue, 12 Apr 2022 13:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649795944; cv=none; d=google.com; s=arc-20160816; b=Up5PCG0xHE8q+jgbuxDyZ4B0iGxPXfxLTc6IT6R3Zb7IuaPNUbJYp1uPfZh5SsETEv UQmf7lfMWBYK5MH2mRz4OkjYfeN+ah3GYoHmUAMjVehqyXztO7WZej81EM1HEqUmb4ug J+FoAcTtFXNVnVkldXi3rLldP9NPfcNh7If7MbwUlb4V7giH3x3y/cR3XAKf7xXLFVKd LdRdIkZI8U3vKTy4dorRIU+uoUTSGE+7XfB9cP+B46sOuTMsH3oRkR59/NHS8XmXqHkf AH1NZHkcACVaSzPzmNKr9WPqB67c8+JqylFyZwbHA9XjBizK3jbuP7lJ7mI2h/DV6wpk bQlQ== 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=/hYOyxSs+As8A65cCK/of3PWJ1BayHM6HW6k86JAhlA=; b=Vg3HGHIkMaL2KR878JuiBhR0GO5fjxDWCa768Pxzp61IMnDsXO/9vtN3LU5BZS1WVk Je33Yezl2iMmeI/6uXXRzMYrmWl8I7wk8r50Zl5M5XSIyALwg12vFdRoMDMQmPrd+65r q7uzhG2PHFbvE8MeLrjGMIj0dnu9V9F6bpS5TgCvmXYmmLXcwtWP7jk29cqayqU1LJ9w JpZCSZd0WEwclSdkMldcG0FmRQFY+D+Fjco/vuso9aiikNBmQ50N8ZBJZ1/1MiXYnZGR 9QQDE8rjPvzL9Vi+m5wyyIpiZaM1Tvg8ugeMBMXqNhvTTVSKfiiZFyjzoSIqugcKL6k/ yy9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dA2l+0ha; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=XPAPxixb; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s201-20020a632cd2000000b0039d15a1e26csi3670075pgs.874.2022.04.12.13.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 13:39:04 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=dA2l+0ha; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=XPAPxixb; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 84B0EB53D8; Tue, 12 Apr 2022 13:12:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241185AbiDJTPT (ORCPT + 99 others); Sun, 10 Apr 2022 15:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233987AbiDJTPO (ORCPT ); Sun, 10 Apr 2022 15:15:14 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9313860CFF; Sun, 10 Apr 2022 12:13:02 -0700 (PDT) Date: Sun, 10 Apr 2022 19:12:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649617980; 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=/hYOyxSs+As8A65cCK/of3PWJ1BayHM6HW6k86JAhlA=; b=dA2l+0haX40Je1PFmx+RoCp+pH5LKNpzceRKEDApQMVJwEZQ8wDIAi5ofyQsw3K7FmtJMC IN1Y9aq9kkYdUYejhwiNq2D/ctewnSJ90hj8deLCdMDESy1HNGgNhzkTlFhqEagbsx3Y55 Jy7dAAtpowJtXaB4lfIIs+9vfC1ODBs/mxxj9IkffOpK/uCbhInYBIjbUaWDyd1wiYiIie I3yYzVC1Y60b1aiV3ntbYuY3ZPQ+4mzGeDWk77b06OqlWYWj+tJmS/DoFX0srb6vkP1caS VNqe3ug4T2v+yWhbhSt7WgWtDLRibbpYDV6B7B+6e71t8kZQ9H1CwuvFDvt1xA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649617980; 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=/hYOyxSs+As8A65cCK/of3PWJ1BayHM6HW6k86JAhlA=; b=XPAPxixb6k3uZbbMTBxcR9OonFCSuSqAffrdq/FMMMHWa/B7BNbP8HMiY0M4WcsaeBjdjL eJzh0KZm0heUIbCg== From: "tip-bot2 for Marc Zyngier" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] irqchip/gic-v3: Always trust the managed affinity provided by the core code Cc: Marc Zyngier , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220405185040.206297-4-maz@kernel.org> References: <20220405185040.206297-4-maz@kernel.org> MIME-Version: 1.0 Message-ID: <164961797902.4207.18196570030635135623.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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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/core branch of tip: Commit-ID: 3f893a5962d31c0164efdbf6174ed0784f1d7603 Gitweb: https://git.kernel.org/tip/3f893a5962d31c0164efdbf6174ed0784f1d7603 Author: Marc Zyngier AuthorDate: Tue, 05 Apr 2022 19:50:40 +01:00 Committer: Thomas Gleixner CommitterDate: Sun, 10 Apr 2022 21:06:30 +02:00 irqchip/gic-v3: Always trust the managed affinity provided by the core code Now that the core code has been fixed to always give us an affinity that only includes online CPUs, directly use this affinity when computing a target CPU. Signed-off-by: Marc Zyngier Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20220405185040.206297-4-maz@kernel.org --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index cd77297..2656efd 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -1624,7 +1624,7 @@ static int its_select_cpu(struct irq_data *d, cpu = cpumask_pick_least_loaded(d, tmpmask); } else { - cpumask_and(tmpmask, irq_data_get_affinity_mask(d), cpu_online_mask); + cpumask_copy(tmpmask, aff_mask); /* If we cannot cross sockets, limit the search to that node */ if ((its_dev->its->flags & ITS_FLAGS_WORKAROUND_CAVIUM_23144) &&