🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Runyu Xiao Fri, 09 Oct 2026 01:28
Re: [PATCH] net: atlantic: only free the PTP IRQ after a successful request
#1008
Author: Runyu Xiao
Date: Fri, 09 Oct 2026 01:28
23 lines
7006 bytes
Hi Simon,

> Whether the issue was actually triggered, or is only theoretical
> (e.g. found by code inspection). If it was triggered please include
> the symptoms, like the stack trace or error messages.
>
> What hardware the change was tested on. For driver fixes please
> mention the device (and if relevant firmware version) used for
> testing, or say that the change was not tested on real hardware.

The issue was identified by code inspection and was not reproduced at
runtime. In legacy INTx mode, aq_ptp_irq_alloc() skips request_irq() and
returns -EINVAL. The aq_ndev_open() error path then calls aq_nic_stop(),
which invokes aq_ptp_irq_free(); before this change, that path could call
free_irq() without a matching request_irq(). The expected IRQ-core warning
is "Trying to free already-free IRQ", but I did not capture a runtime
warning or stack trace.

I did not test this on real Aquantia Atlantic hardware or firmware.

Thanks,
Runyu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads