Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2020818pxu; Sun, 13 Dec 2020 10:49:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpL+VpXhtMstmVg0Apuz3RDW2A17LByxGlbonGG2E7CeuBGrUhtCSdTOvYSeroFph6NWgA X-Received: by 2002:a05:6402:1421:: with SMTP id c1mr21840836edx.247.1607885356965; Sun, 13 Dec 2020 10:49:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607885356; cv=none; d=google.com; s=arc-20160816; b=Qw66ZLD4ipAoeI4SnJslwdSABN/H/mh7lcTd3bmlR5JzVqX0JIUFIKz49PG//WvQUL zSKGmllXXarhXwy5VsvXHIBu2ak68ZNDW6GGvqMm976QefDGZQPrLoA8BGhrzmjLlNP1 on+uLbxFhDprOUJ8wUZFNGUd96dWFCYg18JN/R4+t+wDMYcS7YR9LD9ukopFUlNKMA2Q FDwnTHFMUTfzV74BPSNrnU+7gKEPRUaEcT8Xb6iN1+f2bkZIotrik7tE+MQLu9Xy2ggl FRfNjpRSvZ3F4ew2KWyB1P1EaEGU8Bd+/t8bqsPNcEESwbt0yRXvccO110505fbS5aNc U0Yw== 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:dkim-signature:date; bh=usoRJ/zDFe5LgypDanJilvpzuiovsa0UCj5A2hr9PbI=; b=yXRkXoZkq7mZAK4BUkutHvSRYKQw5Vizme8RK/GGEyZ/IQBK+/Anmbe6wtCUq3GlJQ nKJHuAQrDCgps3uLK26LDPNwxsHpRob/TRV94RxihTZZaLyQ9SFUCf7lpBVDHlBXZSK1 4N9KwmAvkcd2SaSPKCtea5277yehihQA1Wcx/K1rcHfcXgdX/uyqGxBtRFMnZZD3Ve1H GklH+1RZVCZGuV76QIKr06A5UoViDplM8efSO1bL//2MCvGSzuKhNHoTsKllDFaCKrKN bhNuQIV5YI9TuGu9SDv9u3sr6suI732bqaozBDNTUoc7Xhfn18n2BvWU4VFPHsXYvqhu 8icA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A6siXNdc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v22si9262959edt.77.2020.12.13.10.48.54; Sun, 13 Dec 2020 10:49:16 -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=@kernel.org header.s=k20201202 header.b=A6siXNdc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406132AbgLMOMQ (ORCPT + 99 others); Sun, 13 Dec 2020 09:12:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:37894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395199AbgLMOL5 (ORCPT ); Sun, 13 Dec 2020 09:11:57 -0500 Date: Sun, 13 Dec 2020 09:11:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607868677; bh=4iY0ichsoz9AxrcT1VWUCiZr3pTTCjf5adfxu9D6nwg=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=A6siXNdczE7kwUXOYvZQy1uojPOV6wvA01EpOpL9+aoMdtv0OEPkR/+frL6JKC8Xj VD2zJjLkR2AT5wGuanmZRdm7lYAoF1+Bgpu6c44a4MfXkvgh2iGtr+NtPh6J1/eT4t A0LH4sHaWkd/rWNoKJK/jhDx0aye7sLdqDKQpT0Q96NiWzUOTUm6EBRuSXrkwh/Mye nyHTfJvZ04WcakIgxEKgt9JgBnWv2bEtmqEiZvZXECuKJkp3tTxwXBZLRWzwV+lhhy tb8TTX8fMWUApN8prtxLIE+Nev3oNqvL4ggn8X3xxWdeSorzv8+Ys+hEbw1cAnTMxl XB9tlyalA1U5Q== From: Sasha Levin To: Peter Zijlstra 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: <20201213141115.GR643756@sasha-vm> References: <20201203132834.930999-1-sashal@kernel.org> <20201203132834.930999-28-sashal@kernel.org> <20201203171035.GO2414@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20201203171035.GO2414@hirez.programming.kicks-ass.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 06:10:35PM +0100, Peter Zijlstra wrote: >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. I've also grabbed 4d916140bf28 ("intel_idle: Build fix"). Thanks! -- Thanks, Sasha