From: "Benoît Dufour" <benoit.dufour@mail.com>
To: netdev@vger.kernel.org
Subject: DMA issues with the SKGE drivers
Date: Tue, 14 Apr 2026 19:23:17 -0400 [thread overview]
Message-ID: <9df653d6-d7f8-4b36-87de-65daf28635dd@mail.com> (raw)
[-- Attachment #1.1.1.1: Type: text/plain, Size: 1425 bytes --]
In 2024, I reported a bug about the SKGE driver, you can see it here:
https://bugzilla.kernel.org/show_bug.cgi?id=219270
Basically, the problem is that the Marvell 88E8001 on my ASUS A8V
motherboard can only work with 32bit DMA, and if trying to use 64bit
DMA, the NIC won't work at all and after some time, the operating system
will become completely unresponsive (on screen tty will stop refresh,
keyboard and mouse input will stop working too).
The fix is quite easy:
At the very end of the SKGE driver source code, the ASUS A8V motherboard
(as well as many other boards like the ASUS A8V Deluxe) should be added
to the list of 32bit DMA boards:
https://github.com/torvalds/linux/blob/508fed6795411f5ab277fd1edc0d7adca4946f23/drivers/net/ethernet/marvell/skge.c#L4150
In the bug report I posted in 2024, I also posted a test case:
https://bugzilla.kernel.org/attachment.cgi?id=306873&action=diff
but actually I guess a better fix would be to dynamically testing if the
NIC support only 32bit or 64bit DMA too. If 64bit wouldn't be supported,
this error (or a similar one) should be reported by the card:
PCI error cmd=0x117 status=0x22b0
Do you think it would be doable?
p.s.:
I know that NIC and those motherboards are very old, but I really wish
those kinds of bugs should be fixed at some point.
--
Benoît Dufour
Unfortunately still a student in Computer Science
[-- Attachment #1.1.1.2: Type: text/html, Size: 2430 bytes --]
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3317 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next reply other threads:[~2026-04-14 23:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-14 23:23 Benoît Dufour [this message]
2026-04-15 0:12 ` DMA issues with the SKGE drivers Andrew Lunn
2026-04-15 0:27 ` Benoît Dufour
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=9df653d6-d7f8-4b36-87de-65daf28635dd@mail.com \
--to=benoit.dufour@mail.com \
--cc=netdev@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