* [PATCH] tg3: make depend on ZONE_DMA
@ 2026-10-31 13:34 Rui Salvaterra
2026-10-31 15:20 ` Pavan Chebbi
0 siblings, 1 reply; 2+ messages in thread
From: Rui Salvaterra @ 2026-10-31 13:34 UTC (permalink / raw)
To: pavan.chebbi, michael.chan, andrew+netdev, davem, kuba, pabeni
Cc: netdev, linux-kernel, Rui Salvaterra, stable
Since 614f4d166eee, on systems with ZONE_DMA unavailable, the Tigon3 driver
fails to initialize, at least on systems with BCM57766 controllers. On a late
2012 Mac Mini:
[ 1.226623] tg3 0000:01:00.0: Unable to obtain 64 bit DMA for consistent allocations
[ 1.226718] tg3 0000:01:00.0: probe with driver tg3 failed with error -5
Fixes: 614f4d166eee "tg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets"
Cc: stable@vger.kernel.org
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
---
drivers/net/ethernet/broadcom/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index f0bac0dd1439..c9875daa043b 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -124,6 +124,7 @@ config TIGON3
tristate "Broadcom Tigon3 support"
depends on PCI
depends on PTP_1588_CLOCK_OPTIONAL
+ depends on ZONE_DMA
select CRC32
select PHYLIB
help
--
2.55.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tg3: make depend on ZONE_DMA
2026-10-31 13:34 [PATCH] tg3: make depend on ZONE_DMA Rui Salvaterra
@ 2026-10-31 15:20 ` Pavan Chebbi
0 siblings, 0 replies; 2+ messages in thread
From: Pavan Chebbi @ 2026-10-31 15:20 UTC (permalink / raw)
To: Rui Salvaterra
Cc: michael.chan, andrew+netdev, davem, kuba, pabeni, netdev,
linux-kernel, stable
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
On Sat, Oct 31, 2026 at 7:05 PM Rui Salvaterra <rsalvaterra@gmail.com> wrote:
>
> Since 614f4d166eee, on systems with ZONE_DMA unavailable, the Tigon3 driver
> fails to initialize, at least on systems with BCM57766 controllers. On a late
> 2012 Mac Mini:
>
> [ 1.226623] tg3 0000:01:00.0: Unable to obtain 64 bit DMA for consistent allocations
> [ 1.226718] tg3 0000:01:00.0: probe with driver tg3 failed with error -5
>
> Fixes: 614f4d166eee "tg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets"
>
> Cc: stable@vger.kernel.org
>
> Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
> ---
> drivers/net/ethernet/broadcom/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
No! This is not the solution. Please wait while I am trying to fix it.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5469 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-31 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 13:34 [PATCH] tg3: make depend on ZONE_DMA Rui Salvaterra
2026-10-31 15:20 ` Pavan Chebbi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®