UPSTREAM: acpi: Add support for WDAT table

This commit lays the groundwork for implementing the ACPI WDAT (Watchdog
Action Table) table specification. The WDAT is a special ACPI table
introduced by Microsoft that describes the watchdog for the OS.

Platforms that need to implement the WDAT table must describe the
hardware watchdog management operations as described in the
specification. See “Links to ACPI-Related Documents”
(http://uefi.org/acpi) under the heading “Watchdog Action Table”.

BUG=b:314260167
TEST=Mock the acpi_soc_fill_wdat function for a specific platform/soc
and enable ACPI_WDAT_WDT in the kconfig. Check if the build passes
successfully.

(cherry picked from commit 017003cbd0b75119cd1ee6ff52236f8a18182c3c)

Conflicts:
	src/acpi/Kconfig
	src/arch/x86/acpi.c
	src/arch/x86/include/arch/acpi.h

Original-Change-Id: Ieb82d1f69b2b7fffacfd2928bc71f8ff10498074
Original-Signed-off-by: Marek Maslanka <mmaslanka@google.com>
Original-Reviewed-on: https://review.coreboot.org/c/coreboot/+/79380
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Jakub Czapiga <czapiga@google.com>
GitOrigin-RevId: 017003cbd0b75119cd1ee6ff52236f8a18182c3c
Change-Id: I4b35c7b3ac6a73b07ff9ad2489b361f914e34d99
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/5125984
Reviewed-by: Subrata Banik <subratabanik@chromium.org>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Commit-Queue: Subrata Banik <subratabanik@chromium.org>
Tested-by: Subrata Banik <subratabanik@chromium.org>
(cherry picked from commit 1caaa04de09550c96f8e29368238278fc17a0f9c)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/5130635
Tested-by: Marek Maślanka <mmaslanka@google.com>
Commit-Queue: Marek Maślanka <mmaslanka@google.com>
3 files changed