Re: [PATCH] x86/xen: Fix xen_e820_swap_entry_with_ram()
From: Jan Beulich
Date: Tue May 05 2026 - 06:35:21 EST
On 05.05.2026 12:24, Juergen Gross wrote:
> When swapping a not page-aligned E820 map entry with RAM, the start
> address of the modified entry is calculated wrong (the offset into the
> page is subtracted instead of being added to the page address).
>
> Fixes: be35d91c8880 ("xen: tolerate ACPI NVS memory overlapping with Xen allocated memory")
> Reported-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>