From patchwork Fri Jun 30 17:41:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 106757 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2613453qge; Fri, 30 Jun 2017 10:42:27 -0700 (PDT) X-Received: by 10.98.100.204 with SMTP id y195mr23491579pfb.6.1498844547355; Fri, 30 Jun 2017 10:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498844547; cv=none; d=google.com; s=arc-20160816; b=yZRJER+VdpcaZELR2dGwpd0oqr9rNXil7Cp58POxwfKWY3C0j/e3nz8pVxloG6icGU Yq3jxXNw1PYnLsfEgXbm/JvjDOKLXUf3lrWcA8AOludGYdN9mfjM7Gv6gw8RS4i2UYbR Sbt5KP2fEb/RjyFUk1I8KThsH3Cs+JYXLzHdUGeQlKiZTAB/TtTNJumTcwAovdVetUJs juFD2MrArWg5OJtSZyGCsZwTB3W3ZuvVlmg93Hdp5i69OmZOPidiLU34HFQzouT+CN6l mJ5Rc3QEhgW52Z+4zH5aswzhqQrIJXXNhBiSzNRH78uKoT2nfQR3+qLa99lAypbgzezl x37w== 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:arc-authentication-results; bh=7RX2e8ZMEONiTEBNouuj72BqJnnlm28O+I+XeX34Py8=; b=N/bM8uZnCrt6Kyd0nkjsMjiSgHpydvmml8sjDjTegDaqDXNq3LipI8+dCLXcoSf5s6 90mD2TWm8E5nobl6K0aDKFZhopdNTceF/uH+HkapOaBcF1IoB/Fy6MoEh0dCQIZkp2nm BIFS4F8xb3A/yLKvmkNFHkru7GQqfA+h5WblDjY3UJqF7B4xiBDD5uoPcO0FdQP/Inop J1t5DcJa6eDnyPv30t5Sk1nc+ZS8zj7AJ7BCf3wdExK6RvQm9eiGI+/gj93XgYyUua/G H/W+QQkRZUb3lJ4oXliGcLqNJDnkCXP7Tyx6GAlFYh9rLxchWr3OG/OOzqWYOiVGxocc XOCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=khyH2wkl; 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 u23si6608381plk.164.2017.06.30.10.42.27; Fri, 30 Jun 2017 10:42:27 -0700 (PDT) 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.b=khyH2wkl; 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 S1752167AbdF3RmD (ORCPT + 25 others); Fri, 30 Jun 2017 13:42:03 -0400 Received: from mail-io0-f177.google.com ([209.85.223.177]:33501 "EHLO mail-io0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751581AbdF3RmC (ORCPT ); Fri, 30 Jun 2017 13:42:02 -0400 Received: by mail-io0-f177.google.com with SMTP id h64so27956040iod.0 for ; Fri, 30 Jun 2017 10:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7RX2e8ZMEONiTEBNouuj72BqJnnlm28O+I+XeX34Py8=; b=khyH2wklrbmrsVIe2/M9+9m6E7KHoaZRU3Kti7fULdFo5Ol10uNwjZ5R1xlHVQYKL2 0dqXLxzQUv5yYMvGmnOiYWRxMfhFgp8NNUY7YYlCbpNZC2gad7wCPt9d1M6wl8suLXE5 zcRxUcxUxRvDA1fSoj/YNeDnzmI46NK0yowi4= 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=7RX2e8ZMEONiTEBNouuj72BqJnnlm28O+I+XeX34Py8=; b=FBrO+2bbmMB9/BDmi13tUk82xgVoKZTxHiaoIzExY1fgXkn3xLhXIIIxk5tYCfnvg2 /CZIG7t1eoKk+pprdkGIqYsg2LyLmZ3xazJpMthEB5UPwBT8pQJMJSYtn/CgolLhTL7G TSjjoeDDHtxQu21wwvmWIx+1R+IIOYUi13J7FDDM/poO3DvjUXlFhKm0mwvnkpij1uL8 gKVP21UiGB0cj+uVgCGobKyG+WG8U/TO38aJVQedEPB3Uw6XGsmqQFPRK1omd77aFl+r BILRnC0n3eCw7/pf/oDZIvB8tSnuSHueefklBX0AXzsHXzSrbBxXLaj7krgPia3eM+EB vJSQ== X-Gm-Message-State: AKS2vOzP59urnC5d6g797TUX5QsJ2uHGbKTtabNqM6VENz9xdGfhJ7J6 BGKwin9/Sv2wYTqk X-Received: by 10.107.161.199 with SMTP id k190mr22181767ioe.187.1498844521626; Fri, 30 Jun 2017 10:42:01 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id d23sm4381451ioj.22.2017.06.30.10.42.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Jun 2017 10:42:01 -0700 (PDT) From: Mathieu Poirier To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/5] coresight: Miscellaneous fixes Date: Fri, 30 Jun 2017 11:41:54 -0600 Message-Id: <1498844519-8845-1-git-send-email-mathieu.poirier@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 These 5 patches address a few issues we've seen with the drivers as we keep adding new features. The first 3 patches address a synchronisation problem when trace buffers overflow while the latter two fix a couple of problems when working ETMv3 tracers. Regards, Mathieu Mathieu Poirier (5): coresight: Correct buffer lost increment coresight: etb10: Remove useless conversion to LE coresight: Add barrier packet for synchronisation coresight: etb10: Move etb_disable_hw() outside of lock coresight: etm3x: Set synchronisation frequencty to TRM default drivers/hwtracing/coresight/coresight-etb10.c | 46 +++++++++++++++++-------- drivers/hwtracing/coresight/coresight-etm3x.c | 2 ++ drivers/hwtracing/coresight/coresight-priv.h | 2 ++ drivers/hwtracing/coresight/coresight-tmc-etf.c | 34 ++++++++++++++++-- drivers/hwtracing/coresight/coresight-tmc-etr.c | 12 +++++++ drivers/hwtracing/coresight/coresight.c | 8 +++++ 6 files changed, 87 insertions(+), 17 deletions(-) -- 2.7.4