Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp72399yba; Mon, 1 Apr 2019 01:57:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgrBjRAemqMZKZ0/Sb7sM9lU99GrglolxugfZPGhx5uCpfmWusfswcOK8Ti3+FKPsuhtI7 X-Received: by 2002:a17:902:8a84:: with SMTP id p4mr61735680plo.2.1554109024288; Mon, 01 Apr 2019 01:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554109024; cv=none; d=google.com; s=arc-20160816; b=j7HMYyWRWNATcMszmWDtoTLe7p6Utm6bPXObXtRAoNV+pBg9hgV6KzdtVloAj/YqvP ye6qFQLwMIeV3BgVASa+aMDRpH5f9RV59pV7Ekrn/2MIDi9XUyTDEcOEzUSbJvg50zjT lm0KKfgjadawGmHWftX6clrWJBHnRrD7zidxOjaltTPnzFwoYwlDf9dp9AdRi5nOoKjH LJv9cjUfHez7+OATJ2770S1JZp0gPmZECAH6u9U6PAkbJWeGC9BfSkMBrYlIzJH2vdaI vXNTULxMZHDUVZUxlKrA37eDpIq10Dk/jgYnyMII0xcvqp93k0ZA8oiFPB+aRLB1sO1T E7mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=llO/cinF4ib8G9T2/WY6QNP6jr0XmyKP/ZEtoHbNaJ4=; b=OY8AfcGI9mnaHr6wUr52YtHoxtvQzTti5iz3fVqn6rRnN3Txt8ibJVXyvdZoWkZKEw sfEsK96MDU+1ckn612u9HpBy/C0N51R9Ti+HZVuZ1exb7AXB0zv+LVM20hRJxBGdbEQq yW/alXAk67ZbpcogTpHOY8inwbw2N99GBKJha07BebOnecZWHQHIhBGmwd8LW1impSYL FrFhnJgziAq5pZzPeXKoUITiD3un/mKdBSVl12eERHnsD1sAbpNgfQXcIAwT7//zSGiA 6/s20p943Ouv9BXikxHz41Guf9JVoxzy+BkNfYFjV8mO2CnjLqmX9pLRLDFNhP++H2eN iSKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Q6mSMDob; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si8225146pfe.189.2019.04.01.01.56.49; Mon, 01 Apr 2019 01:57:04 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Q6mSMDob; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728802AbfDAIya (ORCPT + 99 others); Mon, 1 Apr 2019 04:54:30 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:33072 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbfDAIyX (ORCPT ); Mon, 1 Apr 2019 04:54:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=llO/cinF4ib8G9T2/WY6QNP6jr0XmyKP/ZEtoHbNaJ4=; b=Q6mSMDobDay+ gu2o6mkpLWuJ0p7K92kAsBiftUNm/DhlTAyD1irwX+mELCCTSbKXiN/75xzVmSPV8sbotxJW1l1zQ oghCC6kcAnzgR8TjT/8NZsZLUVitxuyFYi+BuQ6nLdxCjhjSO7NtZX6aZrntEdkfXY1lL9ub5axQI YKffE=; Received: from [147.50.13.10] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hAshu-0008PZ-In; Mon, 01 Apr 2019 08:54:19 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id BEEC5440083; Mon, 1 Apr 2019 09:54:15 +0100 (BST) From: Mark Brown To: Sowjanya Komatineni Cc: Mark Brown , thierry.reding@gmail.com, jonathanh@nvidia.com, talho@nvidia.com, skomatineni@nvidia.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, kyarlagadda@nvidia.com, ldewangan@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org Subject: Applied "spi: tegra114: use packed mode for 32 bits per word" to the spi tree In-Reply-To: <1553666207-11414-4-git-send-email-skomatineni@nvidia.com> X-Patchwork-Hint: ignore Message-Id: <20190401085415.BEEC5440083@finisterre.ee.mobilebroadband> Date: Mon, 1 Apr 2019 09:54:15 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch spi: tegra114: use packed mode for 32 bits per word has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From fc9ba6e3e28afcedf3bb3105b1d8cbc5c183c2a3 Mon Sep 17 00:00:00 2001 From: Sowjanya Komatineni Date: Tue, 26 Mar 2019 22:56:25 -0700 Subject: [PATCH] spi: tegra114: use packed mode for 32 bits per word Fixes: Use packed mode for 32 bits per word transfers to increase performance as each packet is a full 32-bit word. Signed-off-by: Sowjanya Komatineni Signed-off-by: Mark Brown --- drivers/spi/spi-tegra114.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c index a76acedd7e2f..929358e3487a 100644 --- a/drivers/spi/spi-tegra114.c +++ b/drivers/spi/spi-tegra114.c @@ -259,7 +259,7 @@ static unsigned tegra_spi_calculate_curr_xfer_param( tspi->bytes_per_word = DIV_ROUND_UP(bits_per_word, 8); - if (bits_per_word == 8 || bits_per_word == 16) { + if (bits_per_word == 8 || bits_per_word == 16 || bits_per_word == 32) { tspi->is_packed = 1; tspi->words_per_32bit = 32/bits_per_word; } else { -- 2.20.1