From patchwork Fri Sep 17 13:33:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 514178 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp2235784jao; Fri, 17 Sep 2021 06:34:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNEkpvL99QBP4qU4C6l+hRAGpjEHTIbYfnCs7GCZFrIaaQy9u6bPGHAxnwliLXxzRrWj/V X-Received: by 2002:a05:6000:1186:: with SMTP id g6mr12440269wrx.126.1631885648451; Fri, 17 Sep 2021 06:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631885648; cv=none; d=google.com; s=arc-20160816; b=FMLBHQp/jShfX2Tvt7kR6782GJ7yStPjYUZmntUFfgkU2rPGqbdEiNHpF3K8VkrE9U ivCyXbXTUxHYjTpV7XvpUOUkv1FBzc47A7GLsr1QzXLcXNBght0JTAxiZfTpOp1z927M fmmmoFLZfCB7MJ2lohWghG8DEEwM7Ntp23WWs679CpEFPhckvHTyTf10hd7uLkr/Qhii gNTdIzcRlbyst6jQvRrQa9BVGp70AzE8jwrPecbOO6/Ais6RxJb1/Rrk5cMfvq1oDlWG Ywt7RD5wktcT/3f2ggOwOoApEWvcOoda9ZNTBFYvEsLsQHrdookhau6/W5BJDJ8AVKNr cenw== 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 :message-id:date:subject:cc:to:from; bh=XqZfrSHjSkJZIMgvkq5fmj8sTNo60VtUthYw6ZxcJ50=; b=jYR9MYBNWLu4l/ySk1IOkm9gXhZRkuxmEWOIA6i3ALuf067yKH3DxF3Ce3uzHFPHfa iCTAgnp+M/O0/MI3UBydYzci25IHxqbUzUGcXFF5ben9OYPu0wHZeWbkToeTOv67fNp8 6Wuax8N3bHcyjzMkDO6Es0RO/pQbqsg3sL/jDkvEu1wvL957AH3MMBukoaadpD1IRhTE O7Hv90Rv+kFdtibDctOmrl3SdMgxDXq5uz9R5FlaFZT3QilzkFFvbvbZwO8ozz2gJpmi K3yTQQrM6g2Q4fnJgMdMpPmGGnCLaMh4mRY7XdNiY7dH7cFXAbp5kqgNpn5yHTN1p1fk 8niQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si7174858ejx.341.2021.09.17.06.34.08; Fri, 17 Sep 2021 06:34:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-acpi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231887AbhIQNf3 (ORCPT + 2 others); Fri, 17 Sep 2021 09:35:29 -0400 Received: from foss.arm.com ([217.140.110.172]:53248 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240676AbhIQNf2 (ORCPT ); Fri, 17 Sep 2021 09:35:28 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C04D931B; Fri, 17 Sep 2021 06:34:06 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D9C333F719; Fri, 17 Sep 2021 06:34:05 -0700 (PDT) From: Sudeep Holla To: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Cristian Marussi , "Rafael J . Wysocki" , Jassi Brar Subject: [PATCH v2 00/14] mailbox: pcc: Add support for PCCT extended PCC subspaces Date: Fri, 17 Sep 2021 14:33:43 +0100 Message-Id: <20210917133357.1911092-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Hi, Though the series is about adding support for PCCT extended PCC subspaces, except one patch, remaining are either preparatory or clean up to add the PCCT extended PCC subspaces. Only patch 12 adds the support of extended PCC type3/4 subspaces. The main change affecting your is the change in pcc_mbox_request_channel to avoid clien driver using con_priv member which is designed for controller private pointer rather than for client's to use that. Shared memory region accesses could be consolidated but I am planning to take that up later as some drivers are using different types of mappings, yet to figure out on how to consolidate that aspect. Regards, Sudeep v1->v2: - Addressed comments from Cristian and added his review tags as provided Sudeep Holla (14): mailbox: pcc: Fix kernel doc warnings ACPI: CPPC: Fix kernel doc warnings mailbox: pcc: Refactor all PCC channel information into a structure mailbox: pcc: Consolidate subspace interrupt information parsing mailbox: pcc: Consolidate subspace doorbell register parsing mailbox: pcc: Add pcc_mbox_chan structure to hold shared memory region info mailbox: pcc: Use PCC mailbox channel pointer instead of standard mailbox: pcc: Rename doorbell ack to platform interrupt ack register mailbox: pcc: Add PCC register bundle and associated accessor functions mailbox: pcc: Avoid accessing PCCT table in pcc_send_data and pcc_mbox_irq mailbox: pcc: Drop handling invalid bit-width in {read,write}_register mailbox: pcc: Add support for PCCT extended PCC subspaces(type 3/4) mailbox: pcc: Move bulk of PCCT parsing into pcc_mbox_probe ACPI/PCC: Add myself as maintainer for PCC mailbox driver MAINTAINERS | 6 + drivers/acpi/cppc_acpi.c | 50 +-- drivers/hwmon/xgene-hwmon.c | 35 +- drivers/i2c/busses/i2c-xgene-slimpro.c | 33 +- drivers/mailbox/pcc.c | 598 +++++++++++++++---------- include/acpi/pcc.h | 21 +- 6 files changed, 436 insertions(+), 307 deletions(-) -- 2.25.1