Re: [PATCH] WIP: ioapic support - linux drivers disabled

2021-03-20 Thread Samuel Thibault
Damien Zammit, le dim. 21 mars 2021 12:05:31 +1100, a ecrit: > > > On 21/3/21 11:54 am, Samuel Thibault wrote: > > Damien Zammit, le dim. 21 mars 2021 11:48:29 +1100, a ecrit: > >> {cpu0} ../kern/slab.c:1021: kmem_cache_free_to_slab: Assertion `((unsigned > >> long) > >> buf + cache->buf_size) <

Re: [PATCH] WIP: ioapic support - linux drivers disabled

2021-03-20 Thread Damien Zammit
On 21/3/21 11:54 am, Samuel Thibault wrote: > Damien Zammit, le dim. 21 mars 2021 11:48:29 +1100, a ecrit: >> {cpu0} ../kern/slab.c:1021: kmem_cache_free_to_slab: Assertion `((unsigned >> long) >> buf + cache->buf_size) <= vm_page_trunc((unsigned long)slab->addr + >> cache->slab_ >> size)' fai

Re: [PATCH] WIP: ioapic support - linux drivers disabled

2021-03-20 Thread Samuel Thibault
Damien Zammit, le dim. 21 mars 2021 11:48:29 +1100, a ecrit: > {cpu0} ../kern/slab.c:1021: kmem_cache_free_to_slab: Assertion `((unsigned > long) > buf + cache->buf_size) <= vm_page_trunc((unsigned long)slab->addr + > cache->slab_ > size)' failed.Debugger invoked: assertion failure This looks li

[PATCH] WIP: ioapic support - linux drivers disabled

2021-03-20 Thread Damien Zammit
This patch enables the first IOAPIC when --enable-apic is used, replacing the PIC. It also starts a LAPIC timer, but I'm not sure if it is correctly being used. I am posting this patch even though it is unfinished, because I noticed a strange error that could indicate something is missing from th