public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Possible ACPI abuse in Mellanox BlueField Gigabit Ethernet driver
@ 2021-08-12 14:13 Andy Shevchenko
  2021-08-12 14:15 ` Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Andy Shevchenko @ 2021-08-12 14:13 UTC (permalink / raw)
  To: Linux GPIO, linux-acpi, Rafael J. Wysocki, Linus Walleij,
	Bartosz Golaszewski
  Cc: David Thompson, Asmaa Mnebhi, Liming Sun, David S. Miller

Hi!

From time to time I do grep kernel for ACPI_RESOURCE_TYPE_GPIO usage.
Recently the drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_gpio.c
caught my eye.

Looking into the code I see that it looks like misunderstanding of how ACPI
works with GPIOs. First of all, I would like to inform that this code has
been properly reviewed neither by GPIO nor by ACPI maintainers. Second, before
going it to the real conclusions (and potential revert of this), I would like
to see the real ACPI tables for this and some explanations from the authors of
the driver about GPIO usage here (from hw and sw perspectives).

It makes sense to discuss ASAP, otherwise I would really want to revert it.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-08-16 12:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-12 14:13 Possible ACPI abuse in Mellanox BlueField Gigabit Ethernet driver Andy Shevchenko
2021-08-12 14:15 ` Andy Shevchenko
2021-08-12 15:54 ` Asmaa Mnebhi
2021-08-12 16:25   ` Andy Shevchenko
2021-08-12 20:07     ` Asmaa Mnebhi
2021-08-13 13:50       ` Andy Shevchenko
2021-08-13 14:32         ` Asmaa Mnebhi
2021-08-16 12:11           ` Andy Shevchenko
2021-08-12 21:06 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox