From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7A2B28F4; Wed, 4 Dec 2024 06:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733292445; cv=none; b=sYP0Pq3FoR4BhmuuIzk1GLs5vw+ojPZJXhZu/EGcPEF4HNeKxWQY9IyPQ/+pzfVrZDUC+FDvyTC9dhumaNs+jZCck6j3MWlNMZ/iAeZ9d6RGQD8p48nR2QA2YYMgeHs+Nq9G8RHKeiDqWJlq7u8UPQoyn1DOZ5yncrp0ewjBwzc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733292445; c=relaxed/simple; bh=GaTcstdK7cG9e90GCCL0+x7r6GT+lrSX4pIs+KE378I=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=n/81EHWsK60B1x6cirE/yPDxrckY/fZaTgDDcht9OUkO5JIQYdHh6BQW4ipLraOm8D5nBaXqJGbOV2jocoSQoMohrk6u5aLNQDqP53Nn2oznzEpgroBxqZLnIMBY94VK4meBvMgCqcK9ww+vQJMyClIH0zScXrp/18V4CRaBVEk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.162.254]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Y36T12DSgzRhph; Wed, 4 Dec 2024 14:05:41 +0800 (CST) Received: from kwepemh100008.china.huawei.com (unknown [7.202.181.93]) by mail.maildlp.com (Postfix) with ESMTPS id 97C99180104; Wed, 4 Dec 2024 14:07:18 +0800 (CST) Received: from [10.67.121.90] (10.67.121.90) by kwepemh100008.china.huawei.com (7.202.181.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 4 Dec 2024 14:07:17 +0800 Message-ID: <57668237-5c98-4d03-858f-8d29057bfad8@huawei.com> Date: Wed, 4 Dec 2024 14:07:14 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/3] Support for autonomous selection in cppc_cpufreq To: , , , CC: , , , , , , , , , , , , "zhenglifeng (A)" References: <20241122062051.3658577-1-zhenglifeng1@huawei.com> From: "zhenglifeng (A)" In-Reply-To: <20241122062051.3658577-1-zhenglifeng1@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemh100008.china.huawei.com (7.202.181.93) Gentle ping. +cc a few developers On 2024/11/22 14:20, Lifeng Zheng wrote: > Add sysfs interfaces for CPPC autonomous selection in the cppc_cpufreq > driver. > > The patch series is organized in two parts: > > - patch 1 refactor out the general CPPC register get and set functions > in cppc_acpi.c > > - patches 2-3 expose sysfs files for users to control CPPC autonomous > selection when supported > > Change since v1: > - fix some incorrect placeholder > - change kstrtoul to kstrtobool in store_auto_select > > Lifeng Zheng (3): > ACPI: CPPC: Refactor register get and set ABIs > ACPI: CPPC: Add autonomous selection ABIs > cpufreq: CPPC: Support for autonomous selection in cppc_cpufreq > > .../ABI/testing/sysfs-devices-system-cpu | 54 ++++ > drivers/acpi/cppc_acpi.c | 235 +++++++++--------- > drivers/cpufreq/cppc_cpufreq.c | 138 ++++++++++ > include/acpi/cppc_acpi.h | 20 ++ > 4 files changed, 328 insertions(+), 119 deletions(-) >