From patchwork Fri Sep 13 21:07:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13804081 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 37F4CFC6172 for ; Fri, 13 Sep 2024 21:08:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: 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=AnJyg3XEmNWuj5zRA/EAKcPHx/Dxmjgtb0ZwMQIsuuQ=; b=j/LIsPDRXNwj9E vWCe2DtJvnrmJyT6BjN+2JiSgi4jwoUUPREskNDXUYNN2bdPo/H3W3luIpFXIEEcLCGUCxWsEpbUh HSOepm3qb56f6guCcums3c1bHtSwySviLKEM6QIsuG8W83PaOADs324VVF+tt5r3GZmvtBgSZAUkt GPHLworz5RwZfSJbEdoJdgp2/rSHARkVwSsfl5elTKuRLAwuIoPi/92reV/bTpsnuSdWjpCqZA+1c q7fOy7NIEu9v+hqtrqvDKtoNtHJ4MsJResYe5UvDjT0zlKIKqnjQ3UyXOk4I4FI9hPXUw0EmjYOf9 AMJ0rYryXfy1Ngi/ijEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1spDX2-0000000H8EM-166B; Fri, 13 Sep 2024 21:08:44 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1spDVw-0000000H8AC-3z4W for linux-arm-kernel@lists.infradead.org; Fri, 13 Sep 2024 21:07:38 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0277E5C5B40; Fri, 13 Sep 2024 21:07:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EAC16C4CEC0; Fri, 13 Sep 2024 21:07:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726261655; bh=v5sSkA0jlaSImt4DhnMUShuUE1jfcGrQVv2WwaU9BZ0=; h=From:Subject:Date:To:Cc:From; b=JpQtVC+XY936FRrW7vcD3/MA5gc11hak1sMWuxhzwFxqoHR4dpspS35HW1k+SzF+g XvPoFTAAA5tU4dOlOPD7JMqZA+EWI0vpPsNI9vB/d/mJfZ34VPw01afK75tXRzMvUg BFl03VFOLkhZpmys/77NcjN9sOPrYYHi3OqQj41vFnZgqCfh1xuDVCNdyXUg91/vaP anl8LtnF9df4PU7ULoHmthUEne8DY+C9/O8LoRS8sw0PkNSgt/mKre01mBvsJL7mRu 9PD4RVwSUn+Gt7kKHgeKHnf8VxTTVnVfDYMzM75eEuZl/LhfAerFx/YY20N+ncmsL8 SI0MRK1Mt7nkg== From: Lorenzo Bianconi Subject: [PATCH 0/4] spi: airoha: Fix errors reported by mtd_test kernel modules Date: Fri, 13 Sep 2024 23:07:12 +0200 Message-Id: <20240913-airoha-spi-fixes-v1-0-de2e74ed4664@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAICp5GYC/x3LTQqAIBBA4avIrBvQ/sCuEi20xpyNigMRRHdPW n483gNClUlgUQ9Uulg4pwbTKdijSychH83Q637U1gzouOboUApj4JsEp9n7cdDBWxugbaXSH9q 1bu/7AZ2uWaFiAAAA To: Lorenzo Bianconi , Ray Liu , Mark Brown , AngeloGioacchino Del Regno , Andy Shevchenko Cc: Christian Marangi , linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, upstream@airoha.com X-Mailer: b4 0.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240913_140737_089360_33F61B95 X-CRM114-Status: UNSURE ( 5.30 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix errors detected running mtd_test kernel test modules. --- Lorenzo Bianconi (4): spi: airoha: fix dirmap_{read,write} operations spi: airoha: fix airoha_snand_{write,read}_data data_len estimation spi: airoha: remove read cache in airoha_snand_dirmap_read spi: airoha: do not keep {tx,rx} dma buffer always mapped drivers/spi/spi-airoha-snfi.c | 199 ++++++++++++++++++------------------------ 1 file changed, 87 insertions(+), 112 deletions(-) --- base-commit: 58be528df758d3f00c10d6d381d9e02d5c68f23d change-id: 20240913-airoha-spi-fixes-56bb430fb99f Best regards,