From patchwork Fri Jan 13 12:31:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 43246 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp243655wrt; Fri, 13 Jan 2023 04:36:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXtBwc0J2CkH1OnAjHEpF9hkvxip9l2YtkYo25aFG97tVCQozt4Pcyb8WaMOkhUEBvAX3dOp X-Received: by 2002:a05:6402:3603:b0:46c:8544:42be with SMTP id el3-20020a056402360300b0046c854442bemr74852678edb.5.1673613383176; Fri, 13 Jan 2023 04:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673613383; cv=none; d=google.com; s=arc-20160816; b=0ga+paSLxwvvZyVPOJ7AEWFbg8uazmYj5Vbj1dTo0IAB3AVzURk2c6qma6fE0sbRoy kXseCxW3e5ayKGbLmLSCKnCLnvhyFJ2qaSI9adt6XvaTG+JX/0TxJb5mZtk4Bln8URzz jTdXQvwU5VzvplZ2xNTFSm0FueYO5AjJF+M00z2WVDAUpKFs6bNHXY0YGy0kV+duQlxF aPBHKeZRcU8Sk86VXirrWn50BnD0d6QmWM+ZfEE8+JF0+ZOofY3azb4gPPj9G2alM7Tr UIzlV4SfJc0z3hgbhOnGjUXJxFLlEMD1RjzylV57KhDXwUkLxxiLtFZFrsNQbB4olHdg JIOw== 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=lpjIidHUzb9GXLO72/VEZJ8q4SC9KSNRvn+qUsbytro=; b=IROlsrIiAhXBgLQnMjxCd/3kXDL/xhkdk+3wl+OtBHoJglxb12WG0NktNWi2UfLHIR R1GyASXcE8RGNeUA77qfUr8gAOoS4G72kAO1sKnLvawryO5RaVy9MDNFYANZACbCx/e4 bp824pNstgb1cuFher5hRRHE/42vMq68jX7pw1+Bai4IdqVzJ5Lrf0qBg8AjC0+gMEXi ssfWVnv1PUQmHHbUQGVDmkPnCzzvmT4pzpdHwHy+sUBMYfLfE75ebQ4BBVU/o1H8h/bW UJ0cRiGNTAJtYEoNRlb2r5nEvtIAOm+EfoXRNGIFC4GerzgLr2FRAkzfV6q/p7btgjAw wyTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Gm3U9xka; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf16-20020a0564021a5000b0047b79b99e58si19297777edb.446.2023.01.13.04.35.59; Fri, 13 Jan 2023 04:36:23 -0800 (PST) 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=Gm3U9xka; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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 S241649AbjAMMfM (ORCPT + 99 others); Fri, 13 Jan 2023 07:35:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241324AbjAMMcQ (ORCPT ); Fri, 13 Jan 2023 07:32:16 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F7A1551F2; Fri, 13 Jan 2023 04:31:13 -0800 (PST) Date: Fri, 13 Jan 2023 12:31:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1673613071; 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=lpjIidHUzb9GXLO72/VEZJ8q4SC9KSNRvn+qUsbytro=; b=Gm3U9xka0fowfk5S/4gHOeupvaQ+Psm3XspaNxRV/NZeFWTelGxHMTwOAgiDIaOUoaWtqC Q8duMuemq49jZ1M4kejDKqW6awcidJtRCA51zvg8Njs8pzT88pHb/0glJ+lPBkLVswUvcF 3MoBFXhCPPmwL5AzcHD/P1rzojzaOxu0QPOoPiDeaIomZO5AiMVDkv184dcvcrDOKWPQhL q5LsOhTKO6b7u6zRvUDb5EhIFr/0omYSeZ74GNYrE0/1JgH50e7Altf6QsaqkviPRWOLWi un2E5yLk2cqBGwtCmbl2F87tnaqmEX3KBRiQvmx8WJB0Mh9ov7ph74j2Pz73EQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1673613071; 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=lpjIidHUzb9GXLO72/VEZJ8q4SC9KSNRvn+qUsbytro=; b=n9Hovsv48zhzj9m0CbgQwDzhDoMYfL3s95uTOlHWaBsAABSokSheirBdTlA1J3qYRjCDs+ S1uq9+CQLLuQyhBw== From: "tip-bot2 for Peter Zijlstra" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] arm64, smp: Remove trace_.*_rcuidle() usage Cc: "Peter Zijlstra (Intel)" , Ingo Molnar , Tony Lindgren , Ulf Hansson , Mark Rutland , Marc Zyngier , "Rafael J. Wysocki" , Frederic Weisbecker , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230112195540.804410487@infradead.org> References: <20230112195540.804410487@infradead.org> MIME-Version: 1.0 Message-ID: <167361307129.4906.3474317514178863759.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754849000196316493?= X-GMAIL-MSGID: =?utf-8?q?1754910826660367876?= The following commit has been merged into the sched/core branch of tip: Commit-ID: 4a3182e6d62c95f8572630c22aafee2306cfea58 Gitweb: https://git.kernel.org/tip/4a3182e6d62c95f8572630c22aafee2306cfea58 Author: Peter Zijlstra AuthorDate: Thu, 12 Jan 2023 20:43:38 +01:00 Committer: Ingo Molnar CommitterDate: Fri, 13 Jan 2023 11:48:15 +01:00 arm64, smp: Remove trace_.*_rcuidle() usage Ever since commit d3afc7f12987 ("arm64: Allow IPIs to be handled as normal interrupts") this function is called in regular IRQ context. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Tested-by: Tony Lindgren Tested-by: Ulf Hansson Acked-by: Mark Rutland Acked-by: Marc Zyngier Acked-by: Rafael J. Wysocki Acked-by: Frederic Weisbecker Link: https://lore.kernel.org/r/20230112195540.804410487@infradead.org --- arch/arm64/kernel/smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index ffc5d76..4e83272 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -865,7 +865,7 @@ static void do_handle_IPI(int ipinr) unsigned int cpu = smp_processor_id(); if ((unsigned)ipinr < NR_IPI) - trace_ipi_entry_rcuidle(ipi_types[ipinr]); + trace_ipi_entry(ipi_types[ipinr]); switch (ipinr) { case IPI_RESCHEDULE: @@ -914,7 +914,7 @@ static void do_handle_IPI(int ipinr) } if ((unsigned)ipinr < NR_IPI) - trace_ipi_exit_rcuidle(ipi_types[ipinr]); + trace_ipi_exit(ipi_types[ipinr]); } static irqreturn_t ipi_handler(int irq, void *data)