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 X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AE02C43218 for ; Thu, 25 Apr 2019 17:46:06 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9613620675 for ; Thu, 25 Apr 2019 17:46:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TRM921WK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kTUrEh4f" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9613620675 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=TQ+f+IdjN3LMf2x72mGAWTYfeakAmBFjrfv34M+KueY=; b=TRM921WKI6caXY D+AV9BF6vtPOFyGEQZcdRP5gBO6ISyrCxRNjLDjMAoYBSwiHuo+CPYZeO86PG2CmIqcurG2iRPkvb tHgydEjrBL+IL0d55d4xuaEGE6U6WIt1s3JJ+Qd86GDmK3VwiuAqo3sfwdDe/+IFgcb91BHVXYWoG aGeYGEsNyanM3+p15L+rKhbOe34qMed1eTcgXCGedjEaUZeEgROITdEOll70ImkZ5Jee+RnMCV8c0 7wi5RaSukgybI2FwQ5UrIU64tIsvgtgFN9Ld4GlIGddM+Ngmd78pHy5izwnTyyzYt8Qo3LGoBaXEj 7xsAcfbPrLeruxuMBEKA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJiRb-00062P-Tw; Thu, 25 Apr 2019 17:45:59 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJiRZ-000622-7F for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2019 17:45:58 +0000 Received: by mail-pf1-x441.google.com with SMTP id b3so283949pfd.1 for ; Thu, 25 Apr 2019 10:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=j9qZO7ISwheuh0lbYxd9xz+ytxsYFl0seiSJ23an6S0=; b=kTUrEh4fFTMPDjkGGmlff+C2Kdr5fr5hNbcXJwsIO2VOiSh0izCnPc1E6JfY8LvJUy fsWzevyOqfzWqnZ9nSph7Zc+BZNw7541Ku5Cv0gBs3ShkrQxMpF72Ps98goLm2lGiDC0 OUcgE0RX11/cfKnmkW7LdFORnqGzzc8rSNcvrwviSpO0E+xhNpJkqO0IdMvHHleKaI7i kh3JP4/QadnHwRLRb1DEKrIw+sWF9sF+gxjF4wciFzSNnA45G9rsjPJUETkpcXMOVHVN +HlsXKb6RakB+xTxKSjF6lWaBnI4JmMsQRfHJtVRQRk3YpBhfJLA3PBOajPXmYTDQXR5 CtFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=j9qZO7ISwheuh0lbYxd9xz+ytxsYFl0seiSJ23an6S0=; b=p8Z+5Rj2VA2PTWksboAzBolyZN9EVcfTY9chuP+3NpgB03G+2a7nhG7m/pbTDkTp1v +k5eTFYAEBRkNjJWyYNeuWaxUhd2yLwcJih7PRq+BcbX9CT7v4O2ly4JkwYDAvoKDXb8 HfVcPD+cQr7k1GkE9eNMpMLL3+QEIJZLx7yrmAvKjEOUjq+vsyHpVSMWQbHiqRTN7QF5 W4zO4Q5yD0ym1FNANke1810qyLidu6qi86J1b+TGpXTFjhq6a1WGCFjRpv0EvZOgFBjK Lzkq4pUumIxZzRQHxgy4hb5aL5IG+K5qxWqpzO2J30y1d2eYv5nr2QalChxDBToIW8Kc uYxQ== X-Gm-Message-State: APjAAAUDos6Ku0YOT/yeZ6WL8DS39jxtdaAiSQ/qCEmCyshK7Pq/0rng A1RVvQ4HG92fcbEeXVPviHrWLQ== X-Google-Smtp-Source: APXvYqwXyB3KJiMK0Nx+GCQzKwRvo03s/JvpBTgjor+HPg+Z8XY2yBwk/T9tjhtV+uKdmwUHRKfWOw== X-Received: by 2002:a65:5049:: with SMTP id k9mr37362775pgo.229.1556214356275; Thu, 25 Apr 2019 10:45:56 -0700 (PDT) Received: from xps15 (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id r11sm29730988pga.87.2019.04.25.10.45.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Apr 2019 10:45:55 -0700 (PDT) Date: Thu, 25 Apr 2019 11:45:53 -0600 From: Mathieu Poirier To: Suzuki K Poulose Subject: Re: [PATCH v2 33/36] coresight: acpi: Support for components Message-ID: <20190425174553.GB4080@xps15> References: <1555344260-12375-1-git-send-email-suzuki.poulose@arm.com> <1555344260-12375-34-git-send-email-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1555344260-12375-34-git-send-email-suzuki.poulose@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190425_104557_274203_74D5F558 X-CRM114-Status: GOOD ( 16.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: coresight@lists.linaro.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, robert.walker@arm.com, linux-arm-kernel@lists.infradead.org, mike.leach@linaro.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Apr 15, 2019 at 05:04:16PM +0100, Suzuki K Poulose wrote: > All AMBA devices are handled via ACPI AMBA scan notifier > infrastructure. The platform devices get the ACPI id > added to their driver. > > Cc: "Rafael J. Wysocki" > Cc: Mathieu Poirier > Signed-off-by: Suzuki K Poulose > --- > drivers/acpi/acpi_amba.c | 9 +++++++++ > drivers/hwtracing/coresight/coresight-replicator.c | 9 ++++++++- > 2 files changed, 17 insertions(+), 1 deletion(-) > > diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c > index 7f77c07..eef5a69 100644 > --- a/drivers/acpi/acpi_amba.c > +++ b/drivers/acpi/acpi_amba.c > @@ -24,6 +24,15 @@ > > static const struct acpi_device_id amba_id_list[] = { > {"ARMH0061", 0}, /* PL061 GPIO Device */ > + {"ARMHC500", 0}, /* ARM CoreSight ETM4x */ > + {"ARMHC501", 0}, /* ARM CoreSight ETR */ > + {"ARMHC502", 0}, /* ARM CoreSight STM */ > + {"ARMHC503", 0}, /* ARM CoreSight Debug */ > + {"ARMHC979", 0}, /* ARM CoreSight TPIU */ > + {"ARMHC97C", 0}, /* ARM CoreSight SoC-400 TMC, SoC-600 ETF/ETB */ > + {"ARMHC98D", 0}, /* ARM CoreSight Dynamic Replicator */ > + {"ARMHC9CA", 0}, /* ARM CoreSight CATU */ > + {"ARMHC9FF", 0}, /* ARM CoreSight Funnel */ > {"", 0}, > }; > > diff --git a/drivers/hwtracing/coresight/coresight-replicator.c b/drivers/hwtracing/coresight/coresight-replicator.c > index 2eb489c..a8f42df 100644 > --- a/drivers/hwtracing/coresight/coresight-replicator.c > +++ b/drivers/hwtracing/coresight/coresight-replicator.c > @@ -5,6 +5,7 @@ > * Description: CoreSight Replicator driver > */ > > +#include > #include > #include > #include > @@ -290,11 +291,17 @@ static const struct of_device_id static_replicator_match[] = { > {} > }; > > +#ifdef CONFIG_ACPI > +static const struct acpi_device_id static_replicator_acpi_ids[] = { > + {"ARMHC985", 0}, /* ARM CoreSight Static Replicator */ > +}; > +#endif > static struct platform_driver static_replicator_driver = { > .probe = static_replicator_probe, > .driver = { > .name = "coresight-replicator", > - .of_match_table = static_replicator_match, > + .of_match_table = of_match_ptr(static_replicator_match), > + .acpi_match_table = ACPI_PTR(static_replicator_acpi_ids), > .pm = &replicator_dev_pm_ops, > .suppress_bind_attrs = true, > }, For the coresight part: Reviewed-by: Mathieu Poirier You probably want to split this patch in half so that Rafael can pick up the the first part of it in his tree. I am done reviewing the core part of this set and will do 33-36 next week. For the next revision I would leave them out and send a separate set in order to avoid delaying the ACPI part. Thanks, Mathieu > -- > 2.7.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel