Skip to content

gpio: mlxbf2: Introduce proper interrupt handling

Asmaa Mnebhi linux-acpi linux-gpio lkml netdev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 11 repliesIn review
  2. v42 patches 2 repliesSuperseded
  3. v3 posting 2/22 patches 13 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/21 of 2 patches0 repliesSuperseded
v22 patches6 repliesSuperseded
v12 patches6 repliesSuperseded

v5 vs. v4 patch from the cover letter

- Remove a fix which check if bgpio_init has failed. This fix should in a separate patch targeting the stable branch.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpio: mlxbf2: Introduce IRQ supportdrivers/gpio/gpio-mlxbf2.c+140 -23 replies
2/2net: mellanox: mlxbf_gige: Replace non-standard interrupt handlingdrivers/net/ethernet/mellanox/mlxbf_gige/Makefile drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige.h drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_gpio.c +1 more+9 -2382 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid S. MillerLinus Walleij
SeriesA-b
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] gpio: mlxbf2: Introduce proper interrupt handling

This is a follow up on a discussion regarding
proper handling of GPIO interrupts within the
gpio-mlxbf2.c driver.

Link to discussion:
https://lore.kernel.org/netdev/[email protected]/T/

Patch 1 adds support to a GPIO IRQ handler in gpio-mlxbf2.c. Patch 2 is a follow up removal of custom GPIO IRQ handling from the mlxbf_gige driver and replacing it with a simple IRQ request. The ACPI table for the mlxbf_gige driver is responsible for instantiating the PHY GPIO interrupt via GpioInt.

Andy Shevchenko, could you please review this patch series. David Miller, could you please ack the changes in the mlxbf_gige driver.

v5 vs. v4 patch:
- Remove a fix which check if bgpio_init has failed. This fix should in a separate patch targeting the stable branch.

Asmaa Mnebhi (2):
gpio: mlxbf2: Introduce IRQ support
net: mellanox: mlxbf_gige: Replace non-standard interrupt handling

 drivers/gpio/gpio-mlxbf2.c                    | 142 +++++++++++-
 .../net/ethernet/mellanox/mlxbf_gige/Makefile |   1 -
 .../ethernet/mellanox/mlxbf_gige/mlxbf_gige.h |  12 -
 .../mellanox/mlxbf_gige/mlxbf_gige_gpio.c     | 212 ------------------
 .../mellanox/mlxbf_gige/mlxbf_gige_main.c     |  22 +-
 5 files changed, 149 insertions(+), 240 deletions(-)
 delete mode 100644 drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_gpio.c
Signature · 1 line
2.30.1