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

2022-02-13 Thread Damien Zammit
--- i386/i386at/biosmem.c | 40 +--- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/i386/i386at/biosmem.c b/i386/i386at/biosmem.c index 4f0914ca..354d0529 100644 --- a/i386/i386at/biosmem.c +++ b/i386/i386at/biosmem.c @@ -73,14 +73,22 @@ static u

Re: bug: pthread TLS/TSS key destructors are not always invoked

2022-02-13 Thread Samuel Thibault
Hello, This has been lingering in my mbox for a long time. Bruno Haible, le lun. 04 janv. 2021 09:00:36 +0100, a ecrit: > This test program, that works fine on all other Unix platforms (including > glibc/Linux), fails on glibc/Hurd. > and then runs into the abort() in line 382. > At this point,

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