From patchwork Tue Apr 26 22:10:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 66734 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1857858qge; Tue, 26 Apr 2016 15:10:59 -0700 (PDT) X-Received: by 10.66.34.68 with SMTP id x4mr7040359pai.57.1461708656574; Tue, 26 Apr 2016 15:10:56 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7si5487690paw.13.2016.04.26.15.10.56; Tue, 26 Apr 2016 15:10:56 -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; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752817AbcDZWKs (ORCPT + 29 others); Tue, 26 Apr 2016 18:10:48 -0400 Received: from mail-ig0-f177.google.com ([209.85.213.177]:35005 "EHLO mail-ig0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751986AbcDZWKp (ORCPT ); Tue, 26 Apr 2016 18:10:45 -0400 Received: by mail-ig0-f177.google.com with SMTP id bi2so111080230igb.0 for ; Tue, 26 Apr 2016 15:10:45 -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:in-reply-to:references; bh=9m8g62/01FIdn6xBl9EFtVlapfsK86PQEBK0NCqLp/Q=; b=KFGAw/07p+dNYyG8BYT5zc3z01sr3kwf0yexkkRvIxjqt8z3krL3k7mPrguxYEnKGJ z6gNd+i4tGjmZeg5Rv3Uq+j9kzW+wK4nwHbUEmlM6g+R2X4415nmcii9BsihGC0wn6A0 qe7t5XmgX2h+a98Uvuh9qS1OoGinixrsT7nHk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9m8g62/01FIdn6xBl9EFtVlapfsK86PQEBK0NCqLp/Q=; b=ipRFVg6zdZaX9ZwLGnsSOjZvHKgLItjgsWBAoxIW3g1VtPoOrN7DDbPZpaur/EIPVr Wi857plh4u47k/FvQtjehMNimNUX6NcTa7xp3OXT4rVZ0dxY8DiheCyQVcnq84hMM6x8 J8mjf6kHc6YstPbhAgSMuyGYRgKEJkh4O1vQKy5n5T321a39Tox1lQfRT5AhWMoQuAWB cpeH61tTvSR2Sylw1XMC1jjZqENo2zmByGiW+ppSQuOC3rnCh9Umd76JkvFiZSV8p2xc rtrNxFMZ8Pq2tyYBAGfEbPIhMHRUSVoWoYffBbun4ajPu66xOd6OSH9l6hFrK/PhlZiE A+sg== X-Gm-Message-State: AOPr4FX56ctpSHqGzDV87gJqhOFZ4VYfKh7WcoxaUJNoTt+hsOBf17VcF6fMMzL+SLpqLwN5 X-Received: by 10.50.8.97 with SMTP id q1mr6677592iga.26.1461708644492; Tue, 26 Apr 2016 15:10:44 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id zd17sm2684818igc.8.2016.04.26.15.10.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Apr 2016 15:10:43 -0700 (PDT) From: Mathieu Poirier To: linux-arm-kernel@lists.infradead.org, Suzuki.Poulose@arm.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH V4 04/18] coresight: tmc: clearly define number of transfers per burst Date: Tue, 26 Apr 2016 16:10:20 -0600 Message-Id: <1461708634-6327-5-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1461708634-6327-1-git-send-email-mathieu.poirier@linaro.org> References: <1461708634-6327-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch makes the name of the define reflect the amount of data tranfers per burst, in this case 16. Signed-off-by: Mathieu Poirier Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-tmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.5.0 diff --git a/drivers/hwtracing/coresight/coresight-tmc.c b/drivers/hwtracing/coresight/coresight-tmc.c index d211aeec49f8..8751d53fa078 100644 --- a/drivers/hwtracing/coresight/coresight-tmc.c +++ b/drivers/hwtracing/coresight/coresight-tmc.c @@ -67,7 +67,7 @@ #define TMC_AXICTL_PROT_CTL_B0 BIT(0) #define TMC_AXICTL_PROT_CTL_B1 BIT(1) #define TMC_AXICTL_SCT_GAT_MODE BIT(7) -#define TMC_AXICTL_WR_BURST_LEN 0xF00 +#define TMC_AXICTL_WR_BURST_16 0xF00 /* TMC_FFCR - 0x304 */ #define TMC_FFCR_EN_FMT BIT(0) #define TMC_FFCR_EN_TI BIT(1) @@ -211,7 +211,7 @@ static void tmc_etr_enable_hw(struct tmc_drvdata *drvdata) writel_relaxed(TMC_MODE_CIRCULAR_BUFFER, drvdata->base + TMC_MODE); axictl = readl_relaxed(drvdata->base + TMC_AXICTL); - axictl |= TMC_AXICTL_WR_BURST_LEN; + axictl |= TMC_AXICTL_WR_BURST_16; writel_relaxed(axictl, drvdata->base + TMC_AXICTL); axictl &= ~TMC_AXICTL_SCT_GAT_MODE; writel_relaxed(axictl, drvdata->base + TMC_AXICTL);