net: macb: Wake-on-Lan magic packet GEM and MACB handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest2 patches 1 replyIn review
- v62 patches 2 repliesSuperseded
- v55 patches 1 replySuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 5 patches | 7 replies | Superseded | |
| v3 | 7 patches | 1 reply | Superseded | |
| v2 | 7 patches | 5 replies | Superseded | |
| v1 | 5 patches | 11 replies | Superseded |
Changes in v7 from the cover letter
- Release the spinlock before exiting macb_suspend/resume in case of error changing IRQ handler
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: macb: WoL support for GEM type of Ethernet controllerdrivers/ drivers/ | +129 | 0 replies | |
| 2/2 | net: macb: Add WoL interrupt support for MACB type of Ethernet controllerdrivers/ | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH v7 0/2] net: macb: Wake-on-Lan magic packet GEM and MACB handling
From: Nicolas Ferre <[email protected]>
Hi,
Here is the second part of support for WoL magic-packet on the current macb driver. This one
is addressing the bulk of the feature and is based on current net-next/master.
MACB and GEM code must co-exist and as they don't share exactly the same register layout, I had to specialize a bit the suspend/resume paths and plug a specific IRQ handler in order to avoid overloading the "normal" IRQ hot path.
These changes were tested on both sam9x60 which embeds a MACB+FIFO controller and sama5d2 which has a GEM+packet buffer type of controller.
Best regards,
Nicolas
Changes in v7:
- Release the spinlock before exiting macb_suspend/resume in case of error changing IRQ handler
Changes in v6:
- rebase on net-next/master now that the "fixes" patches of the series are merged in both net and net-next.
- GEM addition and MACB update to finish the support of WoL magic-packet on the two revisions of the controller.
These 2 patches were last posted in v3 series.
History of previous changes already added to git commit message here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f9f41e3db40ee8d61b427d4d88c7365d968052a9
Nicolas Ferre (2):
net: macb: WoL support for GEM type of Ethernet controller
net: macb: Add WoL interrupt support for MACB type of Ethernet
controller
drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 191 +++++++++++++++++++---- 2 files changed, 167 insertions(+), 27 deletions(-)
Signature · 1 line
2.27.0