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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 472E0C531DC for ; Fri, 23 Aug 2024 09:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:CC:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uEyGK6VWo6F2hz0XcEO0OXLEc+aiOiFV3fiJVAVNlEo=; b=fi15rAQRVibrNKNaoxwoIHkj13 ByXuJBXQGCoMQ+re+BbPVmEX6mSgtY22j9UbwGy2DKfo4TXUOLr1cZL++ME8Febzzza7WqZWNDlMC 7x4KmqsLy3dPPNwb8cnbNn4d0MYeu2AwkXVzyUNCTnxQnGWIKPnvm8ZIrWltMWqFw2arq29BIisLD JythiTMdPUrIIjcPVjSv1uKw5w5JgeTytCy7bCZUsNB2HoKbSd9kITUV+L69d95sRgSCwGGpyZIdu XOOYtCX+9EqnAYaH+dkFJZHyV+YmAabYaRfw0sUHOIExxEvmA0rczrg+NriJ/AR7wOLCSlX+6SU7V mgR7BwoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shQKY-0000000G2bW-1ftd; Fri, 23 Aug 2024 09:11:38 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shQBT-0000000G0XN-3ue6 for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2024 09:02:17 +0000 Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Wqv9v5MG3z6FH3P; Fri, 23 Aug 2024 16:58:27 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 561FB140594; Fri, 23 Aug 2024 17:02:12 +0800 (CST) Received: from localhost (10.203.177.66) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 23 Aug 2024 10:02:11 +0100 Date: Fri, 23 Aug 2024 10:02:11 +0100 From: Jonathan Cameron To: Huisong Li CC: , , , , , , Subject: Re: [PATCH v2 0/6] Add some features and bugfix for kunpeng_hccs Message-ID: <20240823100211.00002b9d@Huawei.com> In-Reply-To: <20240823031059.32579-1-lihuisong@huawei.com> References: <20240718071134.31155-1-lihuisong@huawei.com> <20240823031059.32579-1-lihuisong@huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.177.66] X-ClientProxiedBy: lhrpeml500003.china.huawei.com (7.191.162.67) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_020216_149999_C2A9982D X-CRM114-Status: GOOD ( 18.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 23 Aug 2024 11:10:53 +0800 Huisong Li wrote: > This series are intended to support the low power feature for specified > HCCS and add used HCCS types sysfs. In addition, fix some bugfix and > enhance some codes. Quick process thing. Don't send a v2 like this in reply to v1 (for most kernel subsystems anyway, maybe there are some that request this?). Most people still review in email clients and they often start at latest and work back until they run out of time. Thus a reply to an earlier thread is not read! Jonathan > > --- > v2: > - remove "this patch" words in commit log suggested by Krzyszto. > - use for_each_set_bit to replace the cycle scanning all HCCS IP. > - add a patch to rename the 'lane_mode' to 'max_lane_num' to make it > easy to see. > - add doc description into the code patch. > - rename the name of the low power interface. > - adjust the increasing and decreasing lane interface description. > - do not create available_inc_dec_lane_types when no HCCS type support > low power. > --- > > Huisong Li (6): > soc: hisilicon: kunpeng_hccs: Fix a PCC typo > soc: hisilicon: kunpeng_hccs: Return failure on having not die or port > information > soc: hisilicon: kunpeng_hccs: Add the check for base address and size > of shared memory > soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port > info structure to 'max_lane_num' > soc: hisilicon: kunpeng_hccs: Add used HCCS types sysfs > soc: hisilicon: kunpeng_hccs: Support low power feature for the > specified HCCS type > > .../sysfs-devices-platform-kunpeng_hccs | 45 ++ > drivers/soc/hisilicon/Kconfig | 7 +- > drivers/soc/hisilicon/kunpeng_hccs.c | 516 +++++++++++++++++- > drivers/soc/hisilicon/kunpeng_hccs.h | 33 +- > 4 files changed, 582 insertions(+), 19 deletions(-) >