Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp974035rdh; Fri, 27 Oct 2023 00:30:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIgaRHKm67GFyTUYobAJUPOyv1woHuh2bHn7bDr6WjTvpx2+JRrkewBfWHNU4rjA/ljxMn X-Received: by 2002:a81:d308:0:b0:5a8:60ad:39a4 with SMTP id y8-20020a81d308000000b005a860ad39a4mr1744395ywi.3.1698391841767; Fri, 27 Oct 2023 00:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698391841; cv=none; d=google.com; s=arc-20160816; b=hvx8+t6MdyI25cBEwDYL4qdNwFccRUl9VfmAQ6nWyxSBngU5U2csXW5mvwXPNIzs7S OyktKof1SxAxta7TNXJvFjrgCJaQUcGJT5E+BAKvzqX/ONV9wOYNZYIIVl26ERsdhV90 AzYnzcJaLZw8T2nLQzXBF5ssm+vf2M52bYjeWUuyrooND5XHzlZvJx7nUN0xVgmfup3t r/XKQZHO7JgghxNqlPopIFxyjyb+kAZCI2xr7YS/orXZkLPtEZg6f76IW8SUdt4n49wj WFQ+HmuJBFc9qKFZ44FcEYIqdYZ+U7DTot11pnu0jI1L4JrP2UO2AbfSFnh6N2kXRjOT +pdg== 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=TZmy7PTUKx79/W4LbHHB/8GJBFpNYu7fP87bq0NJgW0=; fh=78ZiYAsMqkMiOIWlhjjSgWn2SS9khyeUqw/r/4rUn1M=; b=P+yWQ2QkNpr5RSlp3rhDmTYDQgyMDxvAgdLxQurR89xRbI6NK3VwiUAdI0bG0SK3tU h1NHR0qesRVnYe04TrbsUeCH2V+EorNOuHjq1gTA1t8inF+j0YjrqqCBpCr1oFEJ+T4e j4uxJs6aJWcAZVjcFRFTD9RosxwU/N6FTxPUl0nasoqyogxZHUU6+M/Xp6Y9X/JNtFCu tC4dSRBU8ReKU5C/agIPRpCG8mQk7ropVjAg5nGZToFRKqDWaZpb4jf5y8TIgvSzy+oH t0Sqfz4oBynAPugVCLwvBwoz5neTNhHcNoSm8bcQFYcwH2tStKXNIE5/HOEyD0oyYvAR Nrmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s186-20020a8182c3000000b00592620eba39si1639072ywf.448.2023.10.27.00.30.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 00:30:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 02DA38093D5B; Fri, 27 Oct 2023 00:30:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345363AbjJ0HaA (ORCPT + 99 others); Fri, 27 Oct 2023 03:30:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjJ0H37 (ORCPT ); Fri, 27 Oct 2023 03:29:59 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4EEBC116; Fri, 27 Oct 2023 00:29:56 -0700 (PDT) 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 4608F143D; Fri, 27 Oct 2023 00:30:37 -0700 (PDT) Received: from a077893.arm.com (unknown [10.163.32.209]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2D9E03F762; Fri, 27 Oct 2023 00:29:50 -0700 (PDT) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com Cc: Anshuman Khandual , Lorenzo Pieralisi , Sudeep Holla , Mike Leach , James Clark , Maxime Coquelin , Alexandre Torgue , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 0/7] Subject: coresight: Move remaining AMBA ACPI devices into platform driver Date: Fri, 27 Oct 2023 12:59:36 +0530 Message-Id: <20231027072943.3418997-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 27 Oct 2023 00:30:09 -0700 (PDT) This moves remaining AMBA ACPI devices into respective platform drivers for enabling ACPI based power management support. This series applies on latest coresight/next branch. This series has been built, and boot tested on a DT based coresight platform. Although this still requires some more testing on ACPI based coresight platforms. Cc: Lorenzo Pieralisi Cc: Sudeep Holla Cc: Suzuki K Poulose Cc: Mike Leach Cc: James Clark Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-acpi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: coresight@lists.linaro.org Cc: linux-stm32@st-md-mailman.stormreply.com Changes in V1: - Replaced all IS_ERR() instances with IS_ERR_OR_NULL() as per Suzuki Changes in RFC: https://lore.kernel.org/all/20230921042040.1334641-1-anshuman.khandual@arm.com/ Anshuman Khandual (7): coresight: replicator: Move ACPI support from AMBA driver to platform driver coresight: funnel: Move ACPI support from AMBA driver to platform driver coresight: catu: Move ACPI support from AMBA driver to platform driver coresight: tpiu: Move ACPI support from AMBA driver to platform driver coresight: tmc: Move ACPI support from AMBA driver to platform driver coresight: stm: Move ACPI support from AMBA driver to platform driver coresight: debug: Move ACPI support from AMBA driver to platform driver drivers/acpi/arm64/amba.c | 8 -- drivers/hwtracing/coresight/coresight-catu.c | 136 ++++++++++++++++-- drivers/hwtracing/coresight/coresight-catu.h | 1 + .../hwtracing/coresight/coresight-cpu-debug.c | 130 +++++++++++++++-- .../hwtracing/coresight/coresight-funnel.c | 49 ++++--- .../coresight/coresight-replicator.c | 44 +++--- drivers/hwtracing/coresight/coresight-stm.c | 80 +++++++++-- .../hwtracing/coresight/coresight-tmc-core.c | 127 ++++++++++++++-- drivers/hwtracing/coresight/coresight-tmc.h | 1 + drivers/hwtracing/coresight/coresight-tpiu.c | 76 +++++++++- 10 files changed, 549 insertions(+), 103 deletions(-) -- 2.25.1