From patchwork Thu Sep 19 16:57:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13807884 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 C9514CF3962 for ; Thu, 19 Sep 2024 16:59:14 +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=UxoiSa0zJx3RaGtxEZBgvvo7uX0B3TJ3miHj7pwQqWc=; b=opKtJyL4z8KOWB A2qPDWPid6kmslCzkfRKc8+8wpQCRnryphpO6gQoRM4u0sCIb5NoIbhspN35KsCUzz1Iur8KylJLJ CL7D2QwzRj21ruQe1r4AZcZ87SFwGZBKvVypx011jzp/xZdKwZZv2xp/e9R4ZbjXfCJwBKgHSI6rQ qVse48qX4QdCzva4tswI241ygPsQ5fJZL9k0vLFSa+zVDNeOBbQ2lyZXsudXXs1ZBTvTSBMylshbe YeP7QQGnMFqvIJ9ttAh1gR4tZT/iS2onPCR+9wVP/KRT5hUbnt0Ga/Sc47efGNWYXyz4ridk+NMTu sJdAUlV7tWGCxE/9rcwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srKUf-0000000Aj38-1JRD; Thu, 19 Sep 2024 16:59:01 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srKTY-0000000AizD-49sP for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2024 16:57:54 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 160CD5C0D05; Thu, 19 Sep 2024 16:57:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED662C4CEC4; Thu, 19 Sep 2024 16:57:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726765071; bh=2wBsVemxnucLVjjWLtWlWIo9BgP7+shmVOdBCmN7i+8=; h=From:Subject:Date:To:Cc:From; b=jjeH7S+KEPw+ljQvf601o703h/21Txa8lABPxhFnMMTeAzX+G3P22MwF55sQFl129 2LqByD2UUh4D3twjfvmkySq+9fDQrORnqwkqEWOUQbQ50G8yMF11CnY1KcPYAnLkgt zYMk43Ct2EMOfObT4O9onPtvtcZVs4AIfZ9gdXrAvulbJWWjP7+wokhIGc7Fz7CHiS 9JUg14zi5IFb7nTEOdRERu8PH8b0Wy54/R859f+Z8ciQYRD8TMRscocX8KoEVFv8Mg AyKrOzdQa/plNS4qzvfXlJxBAcQjtrbUStyaVt1PclS7L0XlU/sUuh7hFyOHQB11nu oc6HoF3D9D1DA== From: Lorenzo Bianconi Subject: [PATCH v2 0/2] spi: airoha: Fix errors reported by mtd_test kernel modules Date: Thu, 19 Sep 2024 18:57:15 +0200 Message-Id: <20240919-airoha-spi-fixes-v2-0-cb0f0ed9920a@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAOtX7GYC/32NQQrCMBBFr1Jm7UiaxkhdeQ/pIjGTZlCaMpGil N7d2AO4fP/z/l+hkDAVuDQrCC1cOE8V9KGBe3LTSMihMmiljerbDh1LTg7LzBj5TQVP1nvTqej 7PkLVZqG9qNZtqJy4vLJ89oel/aV/xpYWFQbSdDYUjLXm+iCZ6HnMMsKwbdsXZJE/6LEAAAA= 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-20240919_095753_106940_0B163C8F X-CRM114-Status: UNSURE ( 6.33 ) 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. --- Changes in v2: - repost patch 3/4 and 4/4 improving commit log - Link to v1: https://lore.kernel.org/r/20240913-airoha-spi-fixes-v1-0-de2e74ed4664@kernel.org --- Lorenzo Bianconi (2): 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 | 173 +++++++++++++++++------------------------- 1 file changed, 69 insertions(+), 104 deletions(-) --- base-commit: 220bc4acfbc26376962b155db5160de942a5e4cf change-id: 20240913-airoha-spi-fixes-56bb430fb99f Best regards,