From patchwork Wed Sep 20 06:47:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 13392169 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 B93FCCE79AD for ; Wed, 20 Sep 2023 06:50:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232228AbjITGub (ORCPT ); Wed, 20 Sep 2023 02:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232386AbjITGua (ORCPT ); Wed, 20 Sep 2023 02:50:30 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 701F183; Tue, 19 Sep 2023 23:50:23 -0700 (PDT) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Rr8Fy2FngzMlhg; Wed, 20 Sep 2023 14:46:46 +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.31; Wed, 20 Sep 2023 14:50:20 +0800 From: Huisong Li To: , , , CC: , , , , , Subject: [PATCH v2 0/2] mailbox: pcc: export the PCC subspace type Date: Wed, 20 Sep 2023 14:47:01 +0800 Message-ID: <20230920064703.23543-1-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230914115753.9064-1-lihuisong@huawei.com> References: <20230914115753.9064-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Currently, it seems that the subspace type in all drivers used PCC is fixed and not obtained from their platform. And PCCT is a best natural way to export it. v1->v2: - add one patch to use PCC subspace type in kunpeng_hccs Huisong Li (2): mailbox: pcc: export the PCC subspace type soc: kunpeng_hccs: add the check for PCC subspace type drivers/mailbox/pcc.c | 10 ++++------ drivers/soc/hisilicon/kunpeng_hccs.c | 17 +++++++++++++++++ include/acpi/pcc.h | 1 + 3 files changed, 22 insertions(+), 6 deletions(-)