From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E17C1C48BE6 for ; Mon, 14 Jun 2021 13:57:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C3FCE6128C for ; Mon, 14 Jun 2021 13:57:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234460AbhFNN7I (ORCPT ); Mon, 14 Jun 2021 09:59:08 -0400 Received: from mail-ot1-f46.google.com ([209.85.210.46]:40743 "EHLO mail-ot1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234246AbhFNN7D (ORCPT ); Mon, 14 Jun 2021 09:59:03 -0400 Received: by mail-ot1-f46.google.com with SMTP id l15-20020a05683016cfb02903fca0eacd15so10856153otr.7; Mon, 14 Jun 2021 06:57:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=It8/xfz4qGru+02akan3vPxiBgccrY3v2vjpai/Lw1Q=; b=Z5u1d8cEQq27UaClScsaUK3whsSMBTjena8uQaJGLrFmmg0R3PlYQx0HKzKtejIgkf 3gSVInnTHt6SCRWpOGUiXl8cO5Q8U/sbePDPnE5oBexRjQo1WfzWF5A/iFuufki1PMgq wIhZxeBn300ejugImK8ZwSUDfSsl92VXOUqfUjGW57KohkeBJzDZFsa4b/Y4/YJzs3y5 SNL5FPKuKI87nwKmr7md7j13MTIXEMqsUoDeXh+cJHS3j0D+gQvvHOuXRfa+IoN0jTDD rVKjDrmjmPYD84A75gZJ6EHUKcOW/yfsAiLu4pl7QFi6kzyize5l/84nOuih15tyP808 sovw== X-Gm-Message-State: AOAM5322u7D575xP5PXg4W/XjCc8CkwSpjPf4lG+Qb3ByibKOBHRPgjy GFP5/ZpJzBaqUI53qiQ31BPBl9PHABWHb98yIQQ= X-Google-Smtp-Source: ABdhPJz7765reXNPcw48XWTUNLJWbTmx25V1EuubicWXOhkq4ZqZ+gNXkIOvYaCs2AC31J3YQvWpXrQJK9mu2o2IUDk= X-Received: by 2002:a9d:3e53:: with SMTP id h19mr13436510otg.260.1623679020501; Mon, 14 Jun 2021 06:57:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 14 Jun 2021 15:56:49 +0200 Message-ID: Subject: Re: [PATCH V2] Revert "cpufreq: CPPC: Add support for frequency invariance" To: Viresh Kumar Cc: Rafael Wysocki , Qian Cai , Sudeep Holla , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Ionela Voinescu , Linux PM , "Rafael J. Wysocki" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 5:18 AM Viresh Kumar wrote: > > This reverts commit 4c38f2df71c8e33c0b64865992d693f5022eeaad. > > There are few races in the frequency invariance support for CPPC driver, > namely the driver doesn't stop the kthread_work and irq_work on policy > exit during suspend/resume or CPU hotplug. > > A proper fix won't be possible for the 5.13-rc, as it requires a lot of > changes. Lets revert the patch instead for now. > > Fixes: 4c38f2df71c8 ("cpufreq: CPPC: Add support for frequency invariance") > Reported-by: Qian Cai > Signed-off-by: Viresh Kumar > --- > V2: Revert the original patch instead of marking it broken. Applied as 5.13-rc material, thanks!