From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: Re: [PATCH v3 0/2] spi: pxa2xx: Adjust DMA burst size per platform Date: Mon, 18 Mar 2019 18:33:41 +0200 Message-ID: <20190318163341.GY9224@smile.fi.intel.com> References: <20190318144144.42367-1-andriy.shevchenko@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, Mark Brown , linux-spi@vger.kernel.org, Jarkko Nikula Return-path: Content-Disposition: inline In-Reply-To: <20190318144144.42367-1-andriy.shevchenko@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: linux-spi.vger.kernel.org On Mon, Mar 18, 2019 at 04:41:42PM +0200, Andy Shevchenko wrote: > On some platforms DMA burst size is not the same as hard coded default. > Fix the driver to support them. > > In v3: > - drop threshold print since it's easy to calculate constant (Jarkko) > - split one more unrelated change to a separate patch, > but independent from this series (Jarkko) Forgot to rebase. It will not compile on v5.1-rc1 due to s/master/controller/g changes. > > In v2: > - drop unrelated changes (Jarkko, Robert) > - don't include Robert's tag due to changes in the patch > > Andy Shevchenko (2): > spi: pxa2xx: Introduce DMA burst size support > spi: pxa2xx: Debug print DMA burst size > > drivers/spi/spi-pxa2xx-dma.c | 4 +++- > drivers/spi/spi-pxa2xx-pci.c | 4 ++++ > drivers/spi/spi-pxa2xx.c | 4 ++++ > include/linux/spi/pxa2xx_spi.h | 1 + > 4 files changed, 12 insertions(+), 1 deletion(-) > > -- > 2.20.1 > -- With Best Regards, Andy Shevchenko From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0D37C43381 for ; Mon, 18 Mar 2019 16:33:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7BF112133D for ; Mon, 18 Mar 2019 16:33:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mabpAPRd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BF112133D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SQ4a3qAeu1TaJiYpyLUCOs5g5yJ+UC1Z4hbwNkkUhYg=; b=mabpAPRdHyoiPa mf2NVimnlw3JcZbPH8wRHYpwohg1HkTR49Qr+AVc/kpTJwYF8A17AVJcfhcb8Q3+2K6vKMUBWI0zA EUoOnogNsZC5Y0bSPb60ZGjMSblUK7UqU6uhoFs1fyErWwhqS6qMnxpB6stCLmgK9Y7n9bflCJbIE Mh3bTIP6n4MW7rX94TldLqrDIBv4WAyFtQeRRRvVAfbqGUE2wrpIH5BoJsYw++SS6hhdJn7ew9VmW x5omk6W0/leL6Gjxfh8CRdTXSQBEBu8e543jA2h/CMHTQ3V8F8kXmEJqpjw0OSAGCxuwJ4jF+1acp FFlbYLfjNpKdQRG9jb8g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5vCw-0007QL-EL; Mon, 18 Mar 2019 16:33:50 +0000 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5vCr-0007Pq-Bv for linux-arm-kernel@lists.infradead.org; Mon, 18 Mar 2019 16:33:46 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 09:33:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,494,1544515200"; d="scan'208";a="126442899" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga008.jf.intel.com with ESMTP; 18 Mar 2019 09:33:42 -0700 Received: from andy by smile with local (Exim 4.92) (envelope-from ) id 1h5vCn-00041M-4w; Mon, 18 Mar 2019 18:33:41 +0200 Date: Mon, 18 Mar 2019 18:33:41 +0200 From: Andy Shevchenko To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, Mark Brown , linux-spi@vger.kernel.org, Jarkko Nikula Subject: Re: [PATCH v3 0/2] spi: pxa2xx: Adjust DMA burst size per platform Message-ID: <20190318163341.GY9224@smile.fi.intel.com> References: <20190318144144.42367-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190318144144.42367-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190318_093345_424078_1275F9E8 X-CRM114-Status: GOOD ( 14.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 18, 2019 at 04:41:42PM +0200, Andy Shevchenko wrote: > On some platforms DMA burst size is not the same as hard coded default. > Fix the driver to support them. > > In v3: > - drop threshold print since it's easy to calculate constant (Jarkko) > - split one more unrelated change to a separate patch, > but independent from this series (Jarkko) Forgot to rebase. It will not compile on v5.1-rc1 due to s/master/controller/g changes. > > In v2: > - drop unrelated changes (Jarkko, Robert) > - don't include Robert's tag due to changes in the patch > > Andy Shevchenko (2): > spi: pxa2xx: Introduce DMA burst size support > spi: pxa2xx: Debug print DMA burst size > > drivers/spi/spi-pxa2xx-dma.c | 4 +++- > drivers/spi/spi-pxa2xx-pci.c | 4 ++++ > drivers/spi/spi-pxa2xx.c | 4 ++++ > include/linux/spi/pxa2xx_spi.h | 1 + > 4 files changed, 12 insertions(+), 1 deletion(-) > > -- > 2.20.1 > -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel