From patchwork Tue Feb 5 23:24:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 157538 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5755122jaa; Tue, 5 Feb 2019 15:25:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IbVrPWbpixUcCTI+jxeOgTUAwbzu8/hUNvPGxs2kzEukOEBLUahVWqPun1jR4T/hsfXLlXv X-Received: by 2002:a17:902:4222:: with SMTP id g31mr7584616pld.240.1549409111346; Tue, 05 Feb 2019 15:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549409111; cv=none; d=google.com; s=arc-20160816; b=bQop8e1c/3rUSF6DF3kwVgxyBQzgz82K8TPkKw9PnrT6yCqKMsfx9dx2akgm81G6/l iuZLp2YbmrFCiV3zrZvc53tEVGbL7Acz1Iyk9tFkXsn1iyBtks2X2Ursgn83WAGFT59y eg8cdPB4izKXrLuM50f8bwp9D5rhBfoBlyj6gTNvAor2QzjDxsIS4ZwQSn7VsT/qe+SI 22kq5k4YRtFXPPWl6vMXope956NlJvs6Voe/Tns4Vu+gdXsQPuqJToFOf7F7Vws0iapK 97uptevM7DLWlGAfch8WIeQRS9OKQF4SIQfFJPsTg5skpP2yAQqR1Y2rYvtqfidbu5Ka 3+Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Ccqi0PrQP2++Gk2Iw5QSemotnIhaAp8U4DdCM+tifrE=; b=vA3cS1fXdF3yI/tRqAD3e1Gx5U38dVocf6u8kJELG7YFZnp+6QBmvYyKZjaN69dqPg Ku5ilBaOLEYW2iQLt/n687iwmBBDWEyXJybLXFt1QXRFQX3CW1jhcTs20UuMEOgMdT7w FLCD5OrPAG5P2sApcDi7Nnad37OsnoY1l3W0vLAHtxZ+5gmtNXebAbVFInn187OJR0hF esrHwkr8hBhTvxaitW11S/sP448i4SJUzEd/vrfKr5VaSCWzxRgZoNGO8dZPNi9RPwo7 ub4ApAEsLhKNAPAn6XgnxGU259aU9opcTGzFadyXtFHV+n5eBqXYJeJQOKU5VgiKiqAT ZOtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LK6FWzrI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j123si4160630pgc.16.2019.02.05.15.25.10; Tue, 05 Feb 2019 15:25:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LK6FWzrI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728703AbfBEXZD (ORCPT + 31 others); Tue, 5 Feb 2019 18:25:03 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39614 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726547AbfBEXZC (ORCPT ); Tue, 5 Feb 2019 18:25:02 -0500 Received: by mail-pf1-f194.google.com with SMTP id r136so2223081pfc.6 for ; Tue, 05 Feb 2019 15:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ccqi0PrQP2++Gk2Iw5QSemotnIhaAp8U4DdCM+tifrE=; b=LK6FWzrII6f/kojrANilyG8yDT0cJQUmHYQy+ONwR4BZjGOyuMLSRwnQ47LBWWn6cB 0MLGXbPqSzhkKsyg9a8NxwITiigYQP/f7ve6TGh1qrudVfLZTH2yfBzDMFO85YJGQFJa zGzlUAz9kS8dkIN67FaYTVzrfF8aA5+S703q2xlWUJl7e6l6ZR9QKQP6Dn69s4ao044W /AiV0jptZRgjqy1cAx39FyGFO76UA9vp073L/nOJEObkGN+EGe69kp80BTiDn4MP3lW7 944PlZsE6w+hirYywhI+P9Ot2/h8SFgPEsZPCgYMhNIMyJUIxzl6LbG+6014b0wUw67S tXrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ccqi0PrQP2++Gk2Iw5QSemotnIhaAp8U4DdCM+tifrE=; b=WChF/n4RrlfZY8yJsmF2b5lfh4ew7LY2hKGQZ6Dn/PN+l7NiZedvcC4Nr3+a/nIUPL tKBzG+P96kFIYFhPqmNj2+zLwH8sweyLCbv7zLXQ1tA7WmtJUh+H5JXbmFQE8KOIJZDR OV8os4M4EbXQ6ODlwK0evYhoi5SMJk7BUop55WOw7gssysjL39ltaoKdxTOVVgQQ1opj w6WOvWqrttvcCN72OoF092AcKkNORbtn3eYPWGVuL8/mVhDP2UkJzWGyxAaqAScFLAEw q+H9iYWKbXs8fHKHQ2n2WDmLJXLPdWdrEkKLelznliR7HjXqL+JbWggsEiam8H27bq2e 9AAA== X-Gm-Message-State: AHQUAuYS3IT/ogVWhAPSY1TMJTffxdFGpy6PKRK0oDe5VmfdddGPWsoZ drtmuuszJdqxknCaJrDVoPotuQ== X-Received: by 2002:a63:4706:: with SMTP id u6mr6534664pga.95.1549409101607; Tue, 05 Feb 2019 15:25:01 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id g136sm5926917pfb.154.2019.02.05.15.25.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 15:25:00 -0800 (PST) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] coresight: cpu-debug: Support for CA73 CPUs Date: Tue, 5 Feb 2019 16:24:53 -0700 Message-Id: <20190205232458.7074-2-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190205232458.7074-1-mathieu.poirier@linaro.org> References: <20190205232458.7074-1-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leo Yan This patch is to add the AMBA device ID for CA73 CPU, so that CPU debug module can be initialized successfully when a SoC contain CA73 CPUs. This patch has been verified on 96boards Hikey960. Signed-off-by: Leo Yan Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-cpu-debug.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.1 diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c index 45b2460f3166..e8819d750938 100644 --- a/drivers/hwtracing/coresight/coresight-cpu-debug.c +++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c @@ -668,6 +668,10 @@ static const struct amba_id debug_ids[] = { .id = 0x000bbd08, .mask = 0x000fffff, }, + { /* Debug for Cortex-A73 */ + .id = 0x000bbd09, + .mask = 0x000fffff, + }, { 0, 0 }, };