From patchwork Fri Jan 13 12:31:10 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: 43245 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp243628wrt; Fri, 13 Jan 2023 04:36:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXtTrJ4RCAQn9Z5fUQVglhPM4jIr+us8l/Wq1YhHm3O9iAbKBuDbcL7bP8Acx/TQe1le1SRo X-Received: by 2002:a17:907:c11:b0:844:79b1:ab36 with SMTP id ga17-20020a1709070c1100b0084479b1ab36mr3754450ejc.25.1673613380296; Fri, 13 Jan 2023 04:36:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673613380; cv=none; d=google.com; s=arc-20160816; b=o6bz8CkY1fg5a/f8He7c1bBYhLpgj5lHxZoMe+2D6i/en/n2xM4hi6mj0NBFOTmfm8 baTS3FOkB99fy5qVGdnRrcn1FDnd0qASXN2j9/MGLWpUCJPo4jptxua5qtjo/gcMQXBk AhMR51l9piHPB7UlthpSeZ8vuo847xrgMFKeXv8u44UAGrjuP6xSQaSN2SFEh9DmDpOG SwfemAN4K30EQTkr5o6CAR7XKXAZPHKSOxJtdUjci/nBv4qg+1sPAYNOId9y6IKcMJSo B+msN6mjelXgrC1UMtZRbzv2r+j39RQ4qhanQ2QyxIkjiipxqGCtPXjRtqlOBNbk9WCE mThw== 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=/CrHO1LacD6CrltYYEx4DUqXH0tiHHBzGL1Jh1nRb+Y=; b=VBZuq34fPkHvu9iUZ3O7x4kPRnTo/dUGeIRiSJuuXuG1KIlArvu327SwkBlpuH1JgU Qe0z8q2zyY/pP0Q4vQQRChSLWCsirpvS6q2trmRmK1UBzvDViw88/R4GhIG/Imv7Eo/N Bwip93QXwlw3INIEQOH8G36csZBVKCc4Wc2NdGc+EtV9zD7fjOuJyRJYLsAYI0zPHb12 vY4xBe6HJRcUMY113REsl46rd4+wFu24Vm958yD/RURkMYFcFwEaAUutTBpcNYyW6jx1 XBI37uRbEg1lyxuZwSR94FGUSRbVVuYjVduSqkaHabkEjipJTNxx8MTK+gurRnVyGHtS GN2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="teo/VWiF"; 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 hd40-20020a17090796a800b0086b6a3fd247si854148ejc.557.2023.01.13.04.35.55; Fri, 13 Jan 2023 04:36:20 -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="teo/VWiF"; 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 S241657AbjAMMfF (ORCPT + 99 others); Fri, 13 Jan 2023 07:35:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240927AbjAMMcQ (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 F17042AF1; Fri, 13 Jan 2023 04:31:12 -0800 (PST) Date: Fri, 13 Jan 2023 12:31:10 -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=/CrHO1LacD6CrltYYEx4DUqXH0tiHHBzGL1Jh1nRb+Y=; b=teo/VWiFKI2PfUKbpyQdNsT6llD8nPQrHDqZYTFSnvEvnRHYTg0Vr9CuohvupBU0QaPueG zRUkWhGy6OhYbBTJTH3iJq2kyN1Ft8OuhNOoYn3d1OKLjZWhdfqbO7te/qQ/rXmFzd5YhL oAHEAF0iwW/xOQlflCmIXpyZI5/9qeIUtevx4knY8OqqTTJgee+ioridZqHa5h2TCNIzC9 slJHgHHp3qb8IS8XhiVlMfHyVvPJlBxEm9v0fxQrqsO+0fh28EUMID38rfbWjD4CiQKQu/ wFNv1LkX34tpSkfm420zCixy4fm+d6H/nU01NB8yFd6LZqurkjw5xYzw+m4Bew== 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=/CrHO1LacD6CrltYYEx4DUqXH0tiHHBzGL1Jh1nRb+Y=; b=zJd/sjZWv20cwKS8YSqxCKAm9ViFj6Uegaf8oHoF3WiqEyVWR24qgZCWHBb2ylZn0IBD1x pslqemdHqAr+laDQ== 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] printk: Remove trace_.*_rcuidle() usage Cc: "Peter Zijlstra (Intel)" , Ingo Molnar , Tony Lindgren , Ulf Hansson , Sergey Senozhatsky , Petr Mladek , "Rafael J. Wysocki" , Frederic Weisbecker , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230112195540.865735001@infradead.org> References: <20230112195540.865735001@infradead.org> MIME-Version: 1.0 Message-ID: <167361307001.4906.5484032353418766549.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?1754848476207961602?= X-GMAIL-MSGID: =?utf-8?q?1754910823880357309?= The following commit has been merged into the sched/core branch of tip: Commit-ID: 880970b56b732b158385991b232592144256f330 Gitweb: https://git.kernel.org/tip/880970b56b732b158385991b232592144256f330 Author: Peter Zijlstra AuthorDate: Thu, 12 Jan 2023 20:43:39 +01:00 Committer: Ingo Molnar CommitterDate: Fri, 13 Jan 2023 11:48:16 +01:00 printk: Remove trace_.*_rcuidle() usage The problem, per commit fc98c3c8c9dc ("printk: use rcuidle console tracepoint"), was printk usage from the cpuidle path where RCU was already disabled. Per the patches earlier in this series, this is no longer the case. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Tested-by: Tony Lindgren Tested-by: Ulf Hansson Reviewed-by: Sergey Senozhatsky Acked-by: Petr Mladek Acked-by: Rafael J. Wysocki Acked-by: Frederic Weisbecker Link: https://lore.kernel.org/r/20230112195540.865735001@infradead.org --- kernel/printk/printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 7decf1e..1ab53dd 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2194,7 +2194,7 @@ static u16 printk_sprint(char *text, u16 size, int facility, } } - trace_console_rcuidle(text, text_len); + trace_console(text, text_len); return text_len; }