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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7D880C6FA92 for ; Tue, 27 Sep 2022 11:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=kvDyLTK4k/WxTGdpJ9ED3vReVFKc/5hrtu97dTDwEJ8=; b=fbgefuHps0ru5F nhGfqpXlzA3WLcJ5/guLYr+YSeYVlqXMv21C+5UAJ9qGqcWikfh+N2NSnPykAj5ClJzMk+g0zMMaR /rG0bkBUQ8jILMZ/rOOzJEWFsjM9OtrOtYST7DVzL4sOSGQve5dV+eyCYtfrdK/FtVCJjhjrXgCIC oBjya1ul2lpzKxK9lBb1lnZ8GY9WxSWqo0nWfqhMKG0JaNv62IS62UzgFcWbBjS3Qh9GPUPK7gD3P UP1IKYT+6iBuVy872f3q/bXlf0YSPrVhnQeEX8g2S8eBQiETzKRk7C1LZW+OdcJUBJWxWGP0hiXqQ pYmHl3AMZ5d2wcttsQDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1od8fI-00ABVS-DB; Tue, 27 Sep 2022 11:22:16 +0000 Received: from smtp2.axis.com ([195.60.68.18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1od8eT-00AAtd-It for linux-arm-kernel@lists.infradead.org; Tue, 27 Sep 2022 11:21:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1664277685; x=1695813685; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=h7GywIaLDpaaXMq+bfRFzam8dsivXNekzUyZgu12Jds=; b=LjWgjDv6J1yV/OG0X1xK2rRZe41BUBGfJxwqSj2WliMtu4KOUtORm9di zW2AN/CBGnD/iFe1dotO8pcmOCqYe/d6nVMk+m9n2tyB3ItW+rpEOcOjt 2zZhnhdaglKIlhUBKSzSzfKTL2BjbN77ujcmD2AHkhWaVU3/bFh6mwIgO Od6MFH6ATMkZDaxa7m5Hf/jEUVk1wPIguEOwjvKssifwKh+bg91FZ7/eF NQdidBsPaQcG4u1RxZXF0hjoYs0bRUBSO7EWWzYAZ1hGOSxPfegEgRkST GAh8nEJ0Yab/lRPLlVK8WS/WXt1ifb3pkm69OunROvzez9oScY9V17VYo w==; From: Vincent Whitchurch To: , , CC: , Vincent Whitchurch , , , , , Subject: [PATCH v2 0/4] spi: Fix DMA bugs in (not only) spi-s3c64xx Date: Tue, 27 Sep 2022 13:21:13 +0200 Message-ID: <20220927112117.77599-1-vincent.whitchurch@axis.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220927_042125_975624_F4B33D99 X-CRM114-Status: GOOD ( 12.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org v2: - Drop merged patch adding new test to spi-loopback-test - Fix compiler warning in !HAS_DMA builds - Add support to split transfers to core This series fixes some bugs I found while running spi-loopback-test with spi-s3c64xx. The first problem (which I actually noticed while trying to fix the second problem with transfers >64KiB) seems to be a generic issue which affects several drivers so I fixed it in the core. The series has been tested on ARTPEC-8, which has a version of the IP similar to Exynos 7 and with 64 byte FIFOs (compatible with "tesla,fsd-spi"). Cc: alim.akhtar@samsung.com Cc: linux-spi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Vincent Whitchurch (4): spi: Save current RX and TX DMA devices spi: Fix cache corruption due to DMA/PIO overlap spi: Split transfers larger than max size spi: s3c64xx: Fix large transfers with DMA drivers/spi/spi-s3c64xx.c | 9 +++ drivers/spi/spi.c | 137 ++++++++++++++++++++++++++++---------- include/linux/spi/spi.h | 4 ++ 3 files changed, 114 insertions(+), 36 deletions(-) -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel