From patchwork Fri Nov 30 01:22:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 152476 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3083123ljp; Thu, 29 Nov 2018 17:22:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/UjE7+Djb1qFrDORNT4TcwJ/1gcThfM9SX21Q5zZlSTOk1QEK5I7ARUgzwS0gzce7SuU5mT X-Received: by 2002:a17:902:142:: with SMTP id 60mr3824705plb.330.1543540944311; Thu, 29 Nov 2018 17:22:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543540944; cv=none; d=google.com; s=arc-20160816; b=DHsqmJVXdPxixEQMfYDU27kaBPKbhrpEmL+OWuCJZmneCjZVvUJrVq6ZAkfhzY8dFL kNsh02QynoytDxr4u0iCBFJaroC/1t+9Cg04CbOL8EQFXSGYoFhbzF7e8RgoxciPnVcu upMctYUvUywmjks8ZM3oXXLphOn2cyWghmdLP/nvNnpcn2gdBjJOGj9g17OFVHkevcJz fNtsUOz0ieBW54Vz2j9tIQlV/oo9sSm3A4uBRusOliEmb8t1erAkQoxOrqCwaxl4rejk WOhFY1dOcQsrno0F66cuWfQsNVnrgQh9+e1o5P3WQVL5vsAW2/2U6OBVVxW3CnCD6Bfl +RGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=tO8nw6FUwpyV/om1q12v1m6KplW0p0N/EvdXjasG7+s=; b=TBhpeijsVwj9tp7aNi04KHCKazaJBsZ11nnID4FPYwLB/1vKyRWGvu+c96TIrhhyrn KBt0yCJJoY1sIybkHBN2JJlXGedOPDcRIeM45j/zSxKawmNQXxlJSBxOX5eTz/+bCTHR y01KsbYoq/SkT3iw4gleWXLtz4MyAZ0C9VlNhC8ToQdAj46qgJDYpFTOtNSTpuLQRqnt wpBupHFxG5fmB2UavytGHbeuIh6SygPg/aI0ZpA1T1jpdsvWjF816FT4mm0QHsPqrMQV UnPWc7a9+ENRIxvemedj2+9N8UK2PuuIv9xREPbS1zwE2CObe82/7cmMbZj+Tv5YeHkO pNsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W3ccBmkH; 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 184si3532775pgj.329.2018.11.29.17.22.24; Thu, 29 Nov 2018 17:22:24 -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=W3ccBmkH; 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 S1726961AbeK3M3v (ORCPT + 32 others); Fri, 30 Nov 2018 07:29:51 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:51105 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeK3M3v (ORCPT ); Fri, 30 Nov 2018 07:29:51 -0500 Received: by mail-wm1-f67.google.com with SMTP id 125so4182089wmh.0 for ; Thu, 29 Nov 2018 17:22:20 -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; bh=tO8nw6FUwpyV/om1q12v1m6KplW0p0N/EvdXjasG7+s=; b=W3ccBmkHBn//eyInWmkdCk9AwLo+K/WAuzaIt3meyD/Uuj7UD8fPwfkMvhoIqW3j/0 E/UUmj4Vv+E0IhTKgGmix2A5do0K4trlZjTui35QKpKyGzkwyW0H/zfw1pgyFaSo71yD E3pGS8nOMWeijVL/hDyXQKYJPorA01ozicfq4= 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; bh=tO8nw6FUwpyV/om1q12v1m6KplW0p0N/EvdXjasG7+s=; b=a8VRCyDbD/wlYlJuhWeYMNZnr8zVrL6yxZaur3omgr9O0HRQfSMfRyBGyysME72Zpc 8FcMHbLI90fQnazZ1I6LuUJdevr6VngyCF5skIZknGdY6Iit/xtJ7vyKpwx/u9SrlfZU uCb3CVS4sxk5+ufL7mdKZQURt0bZQhLXGfOBW6Gd4n5ZExUraf71ATkTsQfKDn3QQZez A86LiYvUIKuMt6/8LJgxvsh2An15RveGs7WCliCDDI7c2KeHddzpiWH4CZsvTYoY+aa6 eEnqDSeJSYzHs8skB3uZm09gQGTy/DWW/nu3CRLvpZ5oe79Ffg6ShoCM7RdHEn7r9uR7 lhfA== X-Gm-Message-State: AA+aEWZV0PVMd4GqmMsHqWEkjSgktZTNbYAonxOXipcbOhZbzZL/+1Wk nGCLO4SdkD9ND7XSIdu3L8jykw== X-Received: by 2002:a1c:7011:: with SMTP id l17mr3592117wmc.34.1543540939762; Thu, 29 Nov 2018 17:22:19 -0800 (PST) Received: from localhost.localdomain ([209.250.228.18]) by smtp.gmail.com with ESMTPSA id s9sm2521154wrw.26.2018.11.29.17.22.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Nov 2018 17:22:18 -0800 (PST) From: Leo Yan To: Mathieu Poirier , Alexander Shishkin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH] coresight: cpu-debug: Support for CA73 CPUs Date: Fri, 30 Nov 2018 09:22:04 +0800 Message-Id: <1543540924-16321-1-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/hwtracing/coresight/coresight-cpu-debug.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c index 45b2460..e8819d7 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 }, };