Message ID | 20230725075706.48939-1-lihuisong@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2324993vqg; Tue, 25 Jul 2023 01:38:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlEOdTaN+zw+JCjj0/1ypLEq+8VSKEJDq/aauosnJErjF53u1YqBPutW7acSxNsgscl96RRR X-Received: by 2002:a05:6a20:450:b0:137:5957:6978 with SMTP id b16-20020a056a20045000b0013759576978mr10060532pzb.46.1690274322242; Tue, 25 Jul 2023 01:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690274322; cv=none; d=google.com; s=arc-20160816; b=yufP1Kj5sEdahLKnm2NSNnWQWH3tQ8IYpguwiOz2gVjaUj5fIT3W/cGVnkX+79HGvb VhoW7ubPnEgQ/ebytZktQlCqu33r/60H4fPy/GlEcZRjSYlkRxQHXCZkorqGs4TEiBni wmPPja1MpznKd1LL/bvWY7l2pK5TzDqbHL/I1tt4pZjCOqRsR3WljHzKXc5IEO1ap0Oy HLVNu9Ig96w+vJAzKbcSSSsRFbrvH9wQCVaxNfMfAHgyokZVVJwcY8ZpUaZ6dXYvPCPH dE+expMZkmeUBuBZd+PcNBVHcj2AGlS4Eijzv7ancpuWtC45EOsbtbzNzFnzBoJfjVKE 8ccg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+6UuKKYqNTIeitWdtHCVaDYUE+gV+ngdeSonRGGuVA8=; fh=S6i4gsbwxQEH6OXkC3rwSXMeGU402UmdwIL4qhxuhpk=; b=gnRF0WtSKX+0/VhDQmpq0tpQbre5D6XbcJ/Ga2Tmq8UG724KJdqOFW/fN4aMOqKvA1 QSmdGNR06E595RpNgEHumLfEvK5KQYu1Zl4tllZ1865wXVVM9WES/repfU5tAjTdqTew XuZLRTpT+mq+9FKYgVzoVc/O6XiSS94h1vZwzR8icHb9UZXZCf09YK+d/6wKV4JAVKZb +GRSqmwubGxgPwUoDXQGh8ebyR3nxBWOmMAisZyr5KbhYOuqEc5cmSwpmXYX2xAfAVTT /bezYvXKc23812NgBEviC35lZofC5Ix1vk+LMNgl9Ltfsg3JGoHc2FolhunVhfKKUefA A2sQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a170902e54100b001b8b437b01esi1526214plf.350.2023.07.25.01.38.28; Tue, 25 Jul 2023 01:38:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232116AbjGYH7y (ORCPT <rfc822;kloczko.tomasz@gmail.com> + 99 others); Tue, 25 Jul 2023 03:59:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbjGYH7x (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Jul 2023 03:59:53 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45650113 for <linux-kernel@vger.kernel.org>; Tue, 25 Jul 2023 00:59:51 -0700 (PDT) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R98Vq1CydztRBx; Tue, 25 Jul 2023 15:56:35 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 25 Jul 2023 15:59:47 +0800 From: Huisong Li <lihuisong@huawei.com> To: <xuwei5@hisilicon.com>, <arnd@arndb.de>, <krzk@kernel.org>, <sudeep.holla@arm.com> CC: <linux-kernel@vger.kernel.org>, <soc@kernel.org>, <linux-arm-kernel@lists.infradead.org>, <wanghuiqiang@huawei.com>, <tanxiaofei@huawei.com>, <liuyonglong@huawei.com>, <lihuisong@huawei.com> Subject: [PATCH RESEND v3 0/2] soc: hisilicon: Support HCCS driver on Kunpeng SoC Date: Tue, 25 Jul 2023 15:57:04 +0800 Message-ID: <20230725075706.48939-1-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230424073020.4039-1-lihuisong@huawei.com> References: <20230424073020.4039-1-lihuisong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1764042864611705877 X-GMAIL-MSGID: 1772381087732163113 |
Series |
soc: hisilicon: Support HCCS driver on Kunpeng SoC
|
|
Message
Huisong Li
July 25, 2023, 7:57 a.m. UTC
This series add HCCS driver to query the health status and port information of HCCS on Kunpeng SoC as well as document all sysfs entries provided by this driver. --- v3: - replace "using_status" with "enable" attribute. - fix some comments in codes. v2: - Document all sysfs entries provided by driver. - drop 'pcc_type' and 'intr_mode' in struct hccs_dev. - using _CRS with PCC GAS to get channel ID instead of _DSD. - replace readw_relaxed_poll_timeout with readw_poll_timeout. - use sysfs_emit() instead of sprintf(). - drop ACPI_PTR in hccs_driver. - drop useless log during the probe phase. Huisong Li (2): soc: hisilicon: Support HCCS driver on Kunpeng SoC doc: soc: hisilicon: Add Kunpeng HCCS driver documentation .../sysfs-devices-platform-kunpeng_hccs | 76 + MAINTAINERS | 7 + drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/hisilicon/Kconfig | 19 + drivers/soc/hisilicon/Makefile | 2 + drivers/soc/hisilicon/kunpeng_hccs.c | 1288 +++++++++++++++++ drivers/soc/hisilicon/kunpeng_hccs.h | 196 +++ 8 files changed, 1590 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-kunpeng_hccs create mode 100644 drivers/soc/hisilicon/Kconfig create mode 100644 drivers/soc/hisilicon/Makefile create mode 100644 drivers/soc/hisilicon/kunpeng_hccs.c create mode 100644 drivers/soc/hisilicon/kunpeng_hccs.h