From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: [PATCH v3 0/2] spi: pxa2xx: Adjust DMA burst size per platform Date: Tue, 19 Mar 2019 16:43:50 +0200 Message-ID: <20190319144352.2293-1-andriy.shevchenko@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Andy Shevchenko To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, Mark Brown , linux-spi@vger.kernel.org, Jarkko Nikula Return-path: 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 some platforms DMA burst size is not the same as hard coded default Fix the driver to support them. In v4: - fix s/master/controller/g 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) In v2: - drop unrelated changes (Jarkko, Robert) - don't include Robert's tag due to changes in the patch Andy Shevchenko (2): spi: pxa2xx: Debug print DMA burst size spi: pxa2xx-pci: Drop unused header inclusion drivers/spi/spi-pxa2xx-pci.c | 1 - drivers/spi/spi-pxa2xx.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) -- 2.20.1 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=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT 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 5C692C43381 for ; Tue, 19 Mar 2019 14:44:32 +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 26EB220850 for ; Tue, 19 Mar 2019 14:44:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="k0yQJzCB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26EB220850 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=U64bRD8h6Cdxn88jYw5WTVkYuc+cPpLV2ED49cEXPE4=; b=k0yQJzCB//LuTD wq9rkt5Pb9q4aOy2N+7W4i2GyJplGnWoa/jfRGxVdCGH6wMDPhtLdSx6QUA0qpUNzXyHTFO8M2YB7 9/b41YrZccG61DdPRPA2IvTGg2RBPt+sNpt+88bbIa2rLAerk9RflvHAhLvkTdj+RcaD/8NYYx59k s6OjcfzKUsheM2KXvydrDD79tUmJ3hp3Wc/CoJnb2UB5vx0IH5kYi0YNCXrxEEHkjlH3n7FkmOhlM HiY+q9JMaJgPxrVw+jfJfT96OKhzn1muyhrtM0apBPCfjbj7XhTIdgGYDwhHkmQ1gQM9c5j1FMwtf u0pHff+zRoMF3VN9sa4A==; 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 1h6Fya-0002MB-LV; Tue, 19 Mar 2019 14:44:24 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Fy9-0001oU-6Z for linux-arm-kernel@lists.infradead.org; Tue, 19 Mar 2019 14:44:07 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Mar 2019 07:43:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,498,1544515200"; d="scan'208";a="153110204" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 19 Mar 2019 07:43:53 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id B010111F; Tue, 19 Mar 2019 16:43:52 +0200 (EET) 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: [PATCH v3 0/2] spi: pxa2xx: Adjust DMA burst size per platform Date: Tue, 19 Mar 2019 16:43:50 +0200 Message-Id: <20190319144352.2293-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190319_074357_705910_C967F262 X-CRM114-Status: GOOD ( 10.88 ) 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: , Cc: Andy Shevchenko 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 some platforms DMA burst size is not the same as hard coded default Fix the driver to support them. In v4: - fix s/master/controller/g 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) In v2: - drop unrelated changes (Jarkko, Robert) - don't include Robert's tag due to changes in the patch Andy Shevchenko (2): spi: pxa2xx: Debug print DMA burst size spi: pxa2xx-pci: Drop unused header inclusion drivers/spi/spi-pxa2xx-pci.c | 1 - drivers/spi/spi-pxa2xx.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel