On 2026-06-21T08:19:04, Heinrich Schuchardt
<[email protected]> wrote:
> qfw: fix RSDP ext_checksum recomputation
>
> table_compute_checksum() returns the value that makes the byte sum of
> the buffer zero. If the ext_checksum field already contains a non-zero
> value (as QEMU's firmware-provided RSDP does), adding that existing
> value into the sum produces an incorrect complement. Zero the field
> before calling table_compute_checksum() so the calculation starts from
> a clean state, matching the pattern used in acpi_write_rsdp().
>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
>
> drivers/misc/qfw_acpi.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to