Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BB962F7478; Wed, 25 Feb 2026 06:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772002782; cv=none; b=JpjFm5GVB5TRfQaYjqntkXMdYSI90CtcohZJI7y1nexwKmuq6S5smYpZbMj7N5v3hhZjduW3S92EBvoOSM62huF6G0aXDynKoiQRs08DhwboTygX5kLpOgzWmHdSJCh6EZ29bVmy25fjIZsvglsEYa7na5xM44EJ6A8+7xlIDlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772002782; c=relaxed/simple; bh=NX7gdS9HrABIR7ME4pEkh2D84kX+PEBPVjDUtrGg6OU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ekTIkSa9z+MO8azrdh5J4VTiFy/+cT2TsMLmT6ix20Oh2QaKYQZ8xD/9rxS2tR/iEI21CUl2BlfQzEuuQQqyQ2JeiHOTV/TVSHibu4xyoC4vcb++Q5tiTVJwGiz7B/aqd4MLF6eESYHIGMPyFDB6JO6zmCoSU9gRsrU3ce2UmqY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m8eU72If; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="m8eU72If" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F143C116D0; Wed, 25 Feb 2026 06:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1772002782; bh=NX7gdS9HrABIR7ME4pEkh2D84kX+PEBPVjDUtrGg6OU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m8eU72IfG5B96ZnPFLc0YR/r1GtRVGalJSI9f78MFUx7XYZ7DkMcw7r8gFCyCoZOq s9H7YCSIcAuKiqdstVYEBPsXvwyTaxXoQQyUtriFtILeMRDsPfchTMZ4aZrpn+UXIp KJiXSriQBgu4x1+4AG0+A2fbEK9UVXQN/Tw8oGCU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Linus Walleij , Niklas Cassel Subject: [PATCH 6.18 622/641] ata: pata_ftide010: Fix some DMA timings Date: Tue, 24 Feb 2026 17:25:48 -0800 Message-ID: <20260225012403.579223527@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260225012348.915798704@linuxfoundation.org> References: <20260225012348.915798704@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Linus Walleij commit ff4a46c278ac6a4b3f39be1492a4568b6dcc6105 upstream. The FTIDE010 has been missing some timing settings since its inception, since the upstream OpenWrt patch was missing these. The community has since come up with the appropriate timings. Fixes: be4e456ed3a5 ("ata: Add driver for Faraday Technology FTIDE010") Cc: stable@vger.kernel.org Signed-off-by: Linus Walleij Signed-off-by: Niklas Cassel Signed-off-by: Greg Kroah-Hartman --- drivers/ata/pata_ftide010.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/ata/pata_ftide010.c +++ b/drivers/ata/pata_ftide010.c @@ -122,10 +122,10 @@ static const u8 mwdma_50_active_time[3] static const u8 mwdma_50_recovery_time[3] = {6, 2, 1}; static const u8 mwdma_66_active_time[3] = {8, 3, 3}; static const u8 mwdma_66_recovery_time[3] = {8, 2, 1}; -static const u8 udma_50_setup_time[6] = {3, 3, 2, 2, 1, 1}; +static const u8 udma_50_setup_time[6] = {3, 3, 2, 2, 1, 9}; static const u8 udma_50_hold_time[6] = {3, 1, 1, 1, 1, 1}; -static const u8 udma_66_setup_time[7] = {4, 4, 3, 2, }; -static const u8 udma_66_hold_time[7] = {}; +static const u8 udma_66_setup_time[7] = {4, 4, 3, 2, 1, 9, 9}; +static const u8 udma_66_hold_time[7] = {4, 2, 1, 1, 1, 1, 1}; /* * We set 66 MHz for all MWDMA modes