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 96A4AC636D4 for ; Wed, 1 Feb 2023 18:16:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231888AbjBASQH (ORCPT ); Wed, 1 Feb 2023 13:16:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjBASQF (ORCPT ); Wed, 1 Feb 2023 13:16:05 -0500 X-Greylist: delayed 93820 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 01 Feb 2023 10:16:03 PST Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58E5B10254; Wed, 1 Feb 2023 10:16:03 -0800 (PST) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4P6VTp3jWPz9sjr; Wed, 1 Feb 2023 19:15:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1675275358; h=from:from: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=JTa13PkDyAD5Fq00WCKRPhtlL382Rc6MKBWbBS0vN8U=; b=anz+I5B7rcrJv6dHk6f+Fs58QbKAObnFuF75K65qNfjem6PEjB+mNYe/dcg68Ja1i+0i7g 2Ae2MrMs5rNwhGssVKgAFEn0nDCmc5yOW8CD9ALtr1WsvaA56amvrw6VRPp88At7UvTjZy zfLO0xkxaAmidwXgW2TwbGMCANkM0bKG6SUBeNnS96StLfB2C455j0mD/POXukDKtULvuy h+X5NAQX1uBNKgJ39aCyMKb9vTC7e1bBpBFkL1DPtaJ9CCVivGpciiLzqDL3VkJ2tfd19A dO6S+oUsf/XQhiGKpx9rWfGUy8AZpdM87yJWqL6wzIPyk8p9CP3BLIrSSzZT5g== Message-ID: Date: Wed, 1 Feb 2023 18:15:47 +0000 MIME-Version: 1.0 Subject: Re: [PATCH v3 0/6] amd_pstate: Add guided autonomous mode support Content-Language: en-US To: Wyes Karny Cc: Rafael J Wysocki , Huang Rui , Jonathan Corbet , Viresh Kumar , Mario.Limonciello@amd.com, Perry.Yuan@amd.com, Ananth Narayan , gautham.shenoy@amd.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Bagas Sanjaya , santosh.shukla@amd.com, Len Brown , Robert Moore , Borislav Petkov References: <20230119115017.10188-1-wyes.karny@amd.com> <8c09f806-b00d-515b-bd1d-2f433e44b1a4@mailbox.org> <20230131053427.cdpg5zaqyxf7ou2f@beas> From: Tor Vic In-Reply-To: <20230131053427.cdpg5zaqyxf7ou2f@beas> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-META: ws53a61rg81hufw5idcjtd9gi7bxwzf5 X-MBO-RS-ID: 9827835aedd8814a521 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31.01.23 05:34, Wyes Karny wrote: > Hi Tor Vic, > > On 24 Jan 20:40, Tor Vic wrote: > --------------------------------->8----------------------------- >> >> The "active" mode seems to be broken here on a Zen2 3900X running Linux 6.1. >> Frequency remains stuck at minimum which is +-500 MHz. > > I've fixed this in v4. > >> >> Some queries of the new /sys devices lead to I/O error: >> >> # LANG=C cat /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_* >> 166 >> cat: >> /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_lowest_nonlinear_freq: >> Input/output error >> cat: /sys/devices/system/cpu/cpufreq/policy0/amd_pstate_max_freq: >> Input/output error >> > This issue I'm not able to reproduce. Is this issue seen with only EPP > patches also? > Could you please check if this issue still there with v4? No, it's gone. Could have been a mismerge, I'm sorry. > > Thanks, > Wyes Thank you! > >> The "guided" mode seems to work fine with no stuck frequency, but also >> produces I/O error on some /sys files. >> >> I haven't tested "passive". >> >> Cheers, >> >> Tor Vic