Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8DC5C433F5 for ; Tue, 30 Nov 2021 16:47:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244465AbhK3QvD (ORCPT ); Tue, 30 Nov 2021 11:51:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244462AbhK3Qtu (ORCPT ); Tue, 30 Nov 2021 11:49:50 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A13E6C061756 for ; Tue, 30 Nov 2021 08:46:28 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id q3so22958216wru.5 for ; Tue, 30 Nov 2021 08:46:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=bu+khVHHIWl+4rKLspyHMRY9OQl0yNPLkMrhXXmlQ/k=; b=y+K/Vy2gVgt0eOfWWyC/6AZZb4orulIdbmsYSjzygtrLoHC5h33ij6YxrM5Fo11QOE hwM/M6adGottbgLjquHsM1qYHnwobwhuzu3dMhVrjOW5f1Q0l7rilFEp5VdqevQimiSt Tf9fMeh7t4VGWPE5wBy2SKFgXuUNjy1I2r2nWcsrH2LO7VMgIFeXfRzILC4L4WCKBDJM UOpFfnj+56cNB5Bhn4WnlcXWkIaTHQQ9ixpL1S08+JS7ufMXgA3kcTEvxYoJIGsoEZGw fVWdkU54h/YMBVAIEyrVbvwanHtHPmQhsYUjtFc2BuLIDlCK3qZUv5UHyao6Ys8UnVdS roHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bu+khVHHIWl+4rKLspyHMRY9OQl0yNPLkMrhXXmlQ/k=; b=1O2zWV39+pSatZ81AcP3d1l80AJhmRAutjoVXkuIYEYDY8Y/mMsMiKOx89D3I5yI7b Yp2GnEfmUhjgRAL7CrYmcSsoR+VgBAImshw+Y3pFQwk4bYod/9tGSi++FeDHgTKWoeMl Rm+m+8QexlcaVSDVYQ/vK8k0dO+xfpo5Nbpqwrj3WSOKk5rEhUZnoJ4gKo7IFZTJ4DNM VBKGBOr968tOdDaXR9yVQT85KBSkrp0e87yQeD2gs72hBtwvO93nKWkGUVurkj1UtdWd IuMsjLQ8nrqV5pQVlZtuk9hl9Vd33tJSq2EiU0U9mMHSl2cFemgcOjAT29OqY2o8ZCeh h6Rw== X-Gm-Message-State: AOAM531AJP1YFBIfn3kvc8QU6dJfReOeE6CBU+6ZM5ZBr3aYtYufYJry 8KAr+n1wXL4elcXk/G4yPh7P6Q== X-Google-Smtp-Source: ABdhPJykE43HxEqgvzTKWs/qZ9gI+yERaqcBeSJnaM4Ri/fHfYV2IPBs+Ps9r/nfcHXIO8Ozdk0wTg== X-Received: by 2002:a5d:68ce:: with SMTP id p14mr110685wrw.116.1638290787092; Tue, 30 Nov 2021 08:46:27 -0800 (PST) Received: from ?IPv6:2a01:e34:ed2f:f020:ae29:582a:93e5:4eb8? ([2a01:e34:ed2f:f020:ae29:582a:93e5:4eb8]) by smtp.googlemail.com with ESMTPSA id w7sm17112854wru.51.2021.11.30.08.46.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Nov 2021 08:46:26 -0800 (PST) Subject: Re: [PATCH v6 3/7] powercap/drivers/dtpm: Simplify the dtpm table To: "Rafael J. Wysocki" , Doug Smythies Cc: Linux PM list , Linux Kernel Mailing List , Lukasz Luba , Greg Kroah-Hartman References: <20210401183654.27214-1-daniel.lezcano@linaro.org> <20210401183654.27214-3-daniel.lezcano@linaro.org> From: Daniel Lezcano Message-ID: <43213ea5-c65a-a7da-e61c-fefcdd0b3281@linaro.org> Date: Tue, 30 Nov 2021 17:46:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/11/2021 20:29, Rafael J. Wysocki wrote: > On Fri, Nov 26, 2021 at 8:10 PM Doug Smythies wrote: >> >> On Fri, Nov 26, 2021 at 9:22 AM Rafael J. Wysocki wrote: >>> >>> Hi Doug, >>> >>> On Fri, Nov 26, 2021 at 6:08 PM Doug Smythies wrote: >>>> >>>> Hi Daniel, >>>> >>>> This patch introduces a regression, at least on my test system. >>>> I can no longer change CPU frequency scaling drivers, for example >>>> from intel_cpufreq (A.K.A intel_pstate in passive mode) to intel_pstate >>>> (A.K.A. active mode). The task just hangs forever. >>>> >>>> I bisected the kernel and got this commit as the result. >>>> As a double check, I reverted this commit: >>>> 7a89d7eacf8e84f2afb94db5ae9d9f9faa93f01c >>>> on kernel 5.16-rc2 and the issue was resolved. [ ... ] >> -static int __init dtpm_cpu_init(void) >> +static int dtpm_cpu_init(void) >> { >> int ret; > > OK > > This needs to be fixed or we'll need to revert commit > 7a89d7eacf8e84f2afb94db5ae9d9f9faa93f01c for 5.16. I've send a fix for that and Doug tested it (thanks) [1] -- Daniel [1] https://lore.kernel.org/all/CAAYoRsWEXoe_LjuHuQUL3Tdov0JVW887T4ciUTVOC410mZjgvA@mail.gmail.com/ -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog