Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp648239pxu; Thu, 3 Dec 2020 09:14:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDNITx/FnvuMwjzU+ICCETbSdvVWHyvKvBYtMBM78tOo+Rxx6ny7jbvcJoI17u9CXlc+71 X-Received: by 2002:a05:6402:50c:: with SMTP id m12mr2862835edv.144.1607015651731; Thu, 03 Dec 2020 09:14:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607015651; cv=none; d=google.com; s=arc-20160816; b=yHIwz++BgXv4KJoWxkzBL9WZdtFubDTcdnc6ZOfMycsoRh1c7LPIKWgsCIyMXdPmJS RJSl27/MnnH6n2ct9lsj4Rv1SzFGOrCeqW8XShIGWtAFyCURRnXWzhiAUTv0wWAzPNoO 4hnl/eTIjBROxt+FqlmGXqFMPoiPiaQCRG0xmN7ML7QtwfhGC/CskZyH8YwWZbtLy98C q5GTlWmG4x6NADQSNmUEf23Y0JXSIaN9uK0Uj3+W0fDoSZsM6FUh2xKZPFHS2OAPE3yh 8DK+GcWMqukUsjOoG3uEjd1Fhb7MRDwRhf2+Lp/qPUdAQhhnZIZY53cwzUqjAh3TZzu0 sCkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5EwfhY8EHxYhuDuIhxchGigK6JazuuA9rGBo9L96HNo=; b=QiRK7mxYf/sVn66wF8LdfuxXMb/MypG6SyLr1q1kb6qDINmG8ys+/RU2cLrhQi7J0L yyfalCtxRoe73S4avK16kNoXHtiORBLfcKk05Cu+oWZ3YLwDXPiCuaCo9eJJ/DWwHkpg fCwDJJ5UWJphTgigRpr5URhVxcf3Bakg/cHfL8bAIqXbJpB8zJ+dCOi7NydI5CBuuQLA MOo+SE869GaiYuZrnfgTrK2FWN9RkbguydnpGhg7xsu+Y34W+k5H4owFb9j+39RlfDK9 X0tpVKJ1qPyHoKzZsk6i3F3UhiheQz9ctVqxSt1Eoe5/GV+JYAR7skmOL1Rm/qxMelTv B+9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FUW8pMV5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a29si1339276edm.401.2020.12.03.09.13.47; Thu, 03 Dec 2020 09:14:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=FUW8pMV5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731439AbgLCRLY (ORCPT + 99 others); Thu, 3 Dec 2020 12:11:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731404AbgLCRLX (ORCPT ); Thu, 3 Dec 2020 12:11:23 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB909C061A53; Thu, 3 Dec 2020 09:10:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=5EwfhY8EHxYhuDuIhxchGigK6JazuuA9rGBo9L96HNo=; b=FUW8pMV5owth/c7fRZkh1KU8Ee qP5VRx5fXD0r1zXAtM04FmUb2YNgVBzf8FyvMS7qgK1pNjMb/LRWJ3F7d+QYld2dmfZ6pSN9uB3V+ r2AFtvNXMMV8iZUdX7sYWyW9Be2vsHpqAFRhmt99ZhaFkVqv4dJJtb1WiKqIBQ0wbLzz/lqfvUyq0 sccbRAnV1/PSsML5nXHzcNBEj8Uwq66lLP2ZPDs2buyo7rj6oU+JkdiO6rsIdvQH4vzRFrXwNTsXP 2xgyKQUJ7ic89dylvATe77fYC9bKI7tmTLj7yIvMu7dHJz9Y7bnHYCWfBfx+4T0vzPOwMMrSKSJ0m twBT9Q0g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kks7o-0000DC-6w; Thu, 03 Dec 2020 17:10:37 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id B2D5A3060AE; Thu, 3 Dec 2020 18:10:35 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 53B022C5B7420; Thu, 3 Dec 2020 18:10:35 +0100 (CET) Date: Thu, 3 Dec 2020 18:10:35 +0100 From: Peter Zijlstra To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, "Rafael J . Wysocki" , linux-pm@vger.kernel.org Subject: Re: [PATCH AUTOSEL 5.9 28/39] intel_idle: Fix intel_idle() vs tracing Message-ID: <20201203171035.GO2414@hirez.programming.kicks-ass.net> References: <20201203132834.930999-1-sashal@kernel.org> <20201203132834.930999-28-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201203132834.930999-28-sashal@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 08:28:22AM -0500, Sasha Levin wrote: > From: Peter Zijlstra > > [ Upstream commit 6e1d2bc675bd57640f5658a4a657ae488db4c204 ] > > cpuidle->enter() callbacks should not call into tracing because RCU > has already been disabled. Instead of doing the broadcast thing > itself, simply advertise to the cpuidle core that those states stop > the timer. > > Signed-off-by: Peter Zijlstra (Intel) > Acked-by: Rafael J. Wysocki > Link: https://lkml.kernel.org/r/20201123143510.GR3021@hirez.programming.kicks-ass.net > Signed-off-by: Sasha Levin This patch has a known compile issue, fix is pending.