From: Niklas Cassel <cassel@kernel.org>
To: linux-ide@vger.kernel.org, Arthur Husband <artmoty@gmail.com>
Cc: dlemoal@kernel.org
Subject: Re: [PATCH v4] ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585
Date: Tue, 07 Apr 2026 09:40:01 +0200 [thread overview]
Message-ID: <177554760118.1191831.7536592442646477281.b4-ty@kernel.org> (raw)
In-Reply-To: <20260406222335.379935-1-artmoty@gmail.com>
On Mon, 06 Apr 2026 15:23:35 -0700, Arthur Husband wrote:
> The JMicron JMB585 (and JMB582) SATA controllers advertise 64-bit DMA
> support via the S64A bit in the AHCI CAP register, but their 64-bit DMA
> implementation is defective. Under sustained I/O, DMA transfers targeting
> addresses above 4GB silently corrupt data -- writes land at incorrect
> memory addresses with no errors logged.
>
> The failure pattern is similar to the ASMedia ASM1061
> (commit 20730e9b2778 ("ahci: add 43-bit DMA address quirk for ASMedia
> ASM1061 controllers")), which also falsely advertised full 64-bit DMA
> support. However, the JMB585 requires a stricter 32-bit DMA mask rather
> than 43-bit, as corruption occurs with any address above 4GB.
>
> [...]
Applied to libata/linux.git (for-7.0-fixes), thanks!
[1/1] ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585
https://git.kernel.org/libata/linux/c/105c4256
Kind regards,
Niklas
next prev parent reply other threads:[~2026-04-07 7:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-06 22:23 [PATCH v4] ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585 Arthur Husband
2026-04-07 6:33 ` Damien Le Moal
2026-04-07 7:40 ` Niklas Cassel [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-04-06 22:22 Arthur Husband
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177554760118.1191831.7536592442646477281.b4-ty@kernel.org \
--to=cassel@kernel.org \
--cc=artmoty@gmail.com \
--cc=dlemoal@kernel.org \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox