qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/3] hw/acpi: Provide function acpi_ghes_present()


From: Richard Henderson
Subject: Re: [PATCH 2/3] hw/acpi: Provide function acpi_ghes_present()
Date: Thu, 3 Jun 2021 11:55:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 6/3/21 10:12 AM, Peter Maydell wrote:
Allow code elsewhere in the system to check whether the ACPI GHES
table is present, so it can determine whether it is OK to try to
record an error by calling acpi_ghes_record_errors().

(We don't need to migrate the new 'present' field in AcpiGhesState,
because it is set once at system initialization and doesn't change.)

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  include/hw/acpi/ghes.h |  9 +++++++++
  hw/acpi/ghes-stub.c    |  5 +++++
  hw/acpi/ghes.c         | 17 +++++++++++++++++
  3 files changed, 31 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]