Re: [PATCH 0/2 gnumach] ACPI v2.0 support

2024-01-24 Thread Damien Zammit
Hi, On 1/25/24 3:41 AM, Almudena Garcia wrote: > Maybe the next crash is in APIC step. Check if it's using xAPIC or x2APIC, > and force xAPIC if necessary I checked it is definitely using xAPIC mode, I also patched it to set the right MSR bit. But the cpu still crashes when interrupts are enab

Re: Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-24 Thread Eric Blake
On Mon, Jan 22, 2024 at 05:19:19PM +, Peter Maydell wrote: > On Thu, 18 Jan 2024 at 16:03, Manolo de Medici > wrote: > > > > qemu uses the PATH_MAX and IOV_MAX constants extensively > > in the code. Define these constants to sensible values ourselves > > if the system doesn't define them alre

Re: [PATCH 0/2 gnumach] ACPI v2.0 support

2024-01-24 Thread Almudena Garcia
Maybe the next crash is in APIC step. Check if it's using xAPIC or x2APIC, and force xAPIC if necessary El miércoles 24 de enero de 2024, Damien Zammit escribió: > This enables gnumach to additionally parse the XSDT table > if the version of ACPI is detected to be greater than 1. > > TESTED: Sh

[PATCH gnumach] fpu: Fix cpuid feature detection

2024-01-24 Thread Olivier Valentin
Make sure to fetch capabilities from cpuid(0xd,0x1) and max structure sizes from cpuid(0xd,0x0). --- i386/i386/fpu.c | 40 +++- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c index fefe5e49..9bf5aecf 100644 ---