Re: [PATCH 0/2] bus: efi: add basic ACPI bus infrastructure
On Wed, Dec 04, 2019 at 03:07:19PM +0100, Ahmad Fatoum wrote: > 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 Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 0/2] bus: efi: add basic ACPI bus infrastructure
On 12/4/19 3:07 PM, Ahmad Fatoum wrote: > BIOS and barebox would only need to implement the H/W. s{H/W}{interface} -- Pengutronix e.K. | | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
[PATCH 0/2] bus: efi: add basic ACPI bus infrastructure
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