mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] bus: efi: add basic ACPI bus infrastructure
@ 2019-12-04 14:07 Ahmad Fatoum
  2019-12-04 14:07 ` [PATCH 1/2] " Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2019-12-04 14:07 UTC (permalink / raw)
  To: barebox

Microsoft specifies an ACPI Watchdog Action Table for its server
offerings that abstracts away hardware-specifics of watchdog devices.
This can be an alternative to implementing many different watchdog
driver in barebox for x86 H/W, as the driver is implemented in the
BIOS and barebox would only need to implement the H/W.

Unfortunately, I don't H/W handy that provides the WDAT table.
I've implemented the ACPI bus nevertheless, so here's the patch.

I haven't found anything else I'd like to do with ACPI, so I wrote a
sample driver to test the API. Not sure if it should go into the tree,
but I'd be in favor of adding it till there is a real user of the ACPI
bus (besides devinfo).

Cheers
Ahmad

Ahmad Fatoum (2):
  bus: efi: add basic ACPI bus infrastructure
  misc: add ACPI test driver

 drivers/bus/Kconfig      |   8 ++
 drivers/bus/Makefile     |   1 +
 drivers/bus/acpi.c       | 255 +++++++++++++++++++++++++++++++++++++++
 drivers/misc/Kconfig     |   6 +
 drivers/misc/Makefile    |   1 +
 drivers/misc/acpi-test.c |  61 ++++++++++
 include/acpi.h           |  73 +++++++++++
 7 files changed, 405 insertions(+)
 create mode 100644 drivers/bus/acpi.c
 create mode 100644 drivers/misc/acpi-test.c
 create mode 100644 include/acpi.h

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2019-12-09 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 14:07 [PATCH 0/2] bus: efi: add basic ACPI bus infrastructure Ahmad Fatoum
2019-12-04 14:07 ` [PATCH 1/2] " Ahmad Fatoum
2019-12-04 14:07 ` [PATCH 2/2] misc: add ACPI test driver Ahmad Fatoum
2019-12-04 14:27 ` [PATCH 0/2] bus: efi: add basic ACPI bus infrastructure Ahmad Fatoum
2019-12-09 10:39 ` Sascha Hauer

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