Re: [PATCH] biosmem: Narrow or widen e820 memory regions as appropriate

2022-02-13 Thread Samuel Thibault
Damien Zammit, le dim. 13 févr. 2022 08:10:29 +, a ecrit: > +static void __boot > +biosmem_map_adjust_alignment(struct biosmem_map_entry *e) > +{ > +if (e->type & BIOSMEM_MASK_NARROW) { > +e->base_addr = vm_page_round (e->base_addr); > +e->length = vm_page_trunc (e->length);

[PATCH] biosmem: Narrow or widen e820 memory regions as appropriate

2022-02-13 Thread Damien Zammit
This is needed because the e820 memory regions are not necessarily page aligned. This fixes ACPICA probing of root table mapping. TESTED with experimental acpi. --- i386/i386at/biosmem.c | 38 +++--- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/i