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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49BF6E7E652 for ; Wed, 27 Sep 2023 04:23:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbjI0EXh (ORCPT ); Wed, 27 Sep 2023 00:23:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjI0EWm (ORCPT ); Wed, 27 Sep 2023 00:22:42 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9940876B8; Tue, 26 Sep 2023 19:11:24 -0700 (PDT) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RwKjx1bScztSyl; Wed, 27 Sep 2023 10:07:01 +0800 (CST) Received: from [10.67.121.59] (10.67.121.59) by kwepemm000004.china.huawei.com (7.193.23.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Wed, 27 Sep 2023 10:11:22 +0800 Message-ID: <9497cf31-09b9-b083-bbe8-84307178b20a@huawei.com> Date: Wed, 27 Sep 2023 10:11:21 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH 0/3] ACPI: PCC: Define and use the common PCC shared memory regions related macros To: Sudeep Holla , , , , CC: "Rafael J. Wysocki" , Andi Shyti , Jean Delvare , Guenter Roeck , References: <20230926-pcc_defines-v1-0-0f925a1658fd@arm.com> From: "lihuisong (C)" In-Reply-To: <20230926-pcc_defines-v1-0-0f925a1658fd@arm.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.121.59] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm000004.china.huawei.com (7.193.23.18) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hi Sudeep, Could you please use these new common macros for kunpeng_hccs? 在 2023/9/26 20:27, Sudeep Holla 写道: > This set of 3 small patches intend to consolidate and replace the existing > locally defined macros within couple of PCC client drivers when accessing > the command and status bitfields. > > Signed-off-by: Sudeep Holla > --- > Sudeep Holla (3): > ACPI: PCC: Add PCC shared memory region command and status bitfields > i2c: xgene-slimpro: Migrate to use generic PCC shmem related macros > hwmon: (xgene) Migrate to use generic PCC shmem related macros > > drivers/hwmon/xgene-hwmon.c | 16 +++++----------- > drivers/i2c/busses/i2c-xgene-slimpro.c | 16 ++++------------ > include/acpi/pcc.h | 11 +++++++++++ > 3 files changed, 20 insertions(+), 23 deletions(-) > --- > base-commit: 6465e260f48790807eef06b583b38ca9789b6072 > change-id: 20230926-pcc_defines-24be5e33b6f3 > > Best regards,