From patchwork Tue May 3 17:33:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 67093 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp720671qge; Tue, 3 May 2016 10:39:00 -0700 (PDT) X-Received: by 10.66.65.133 with SMTP id x5mr5386188pas.108.1462297140749; Tue, 03 May 2016 10:39:00 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5si271805pax.112.2016.05.03.10.39.00; Tue, 03 May 2016 10:39:00 -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 S934536AbcECRi6 (ORCPT + 29 others); Tue, 3 May 2016 13:38:58 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:34247 "EHLO mail-io0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964835AbcECRe2 (ORCPT ); Tue, 3 May 2016 13:34:28 -0400 Received: by mail-io0-f182.google.com with SMTP id 190so29818760iow.1 for ; Tue, 03 May 2016 10:34:28 -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=N7b4hAEysPvQKzELfkSvxovmYek7hq8/vH/pRWUBtPIXaAUPSnLKsfuyfDolh7ZV9+ vXMBjUYfFX5XVDw/mX8Xf1rX8JBLvPyU9FhZXPtee/SKOI5/FykQc1Pm/a1hwZ+Eo5BV gh18XbGZ+V4UYv/nOuFuWND8FQpUtgpAG9lQA= 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=CNuZ4DyqX9HK9w310D4zdI8AcUXCJ6lmxEbQH+wbqMu4oMdbtthAqpOrat2lb7d2pz M3XA1lqGMjf2RyMbF5Fc6+b11BhZ5wxfDM1MnrFhBnNHnALPE2soHB2hooNVwPSSl2HM I22B45s9WOh2+y5f7i/LoJTYuZRz4REXmnblhuxdQKvAoy0S3nFlYhA9DbaT/U4uCBuT rVJJan/SPp/BY6lvhgL8fscBiBC7KHbdw9qjIEHYFLGP9Mkv+DYhRQKq+b4peZjtASRP 5Y8x/LBUMWEUlNrpR1a/RfkaXtlSq8m5XsDqxEL5z/1haNbxAJraLSjuidKBe9rFYSP/ LE+A== X-Gm-Message-State: AOPr4FVXQ577BZzEo38fHQhyVCNcl2wWi8ykyCHMRPIHun/IvvjZifSDr32Q87ZQaOBQQIzc X-Received: by 10.107.30.17 with SMTP id e17mr4755295ioe.142.1462296867525; Tue, 03 May 2016 10:34:27 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id k33sm103957iod.44.2016.05.03.10.34.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 May 2016 10:34:26 -0700 (PDT) From: Mathieu Poirier To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/27] coresight: tmc: clearly define number of transfers per burst Date: Tue, 3 May 2016 11:33:47 -0600 Message-Id: <1462296841-12327-14-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1462296841-12327-1-git-send-email-mathieu.poirier@linaro.org> References: <1462296841-12327-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);