[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Xen on RP4
On Fri, Oct 23, 2020 at 04:59:30PM -0700, Stefano Stabellini wrote: > This is what is going on. kernel/dma/swiotlb.c:swiotlb_init gets called > and tries to allocate a buffer for the swiotlb. It does so by calling > > memblock_alloc_low(PAGE_ALIGN(bytes), PAGE_SIZE); > > In your case, the allocation must fail, no_iotlb_memory is set, and I > expect you see this warning among the boot messages: > > Cannot allocate buffer > > Later during initialization swiotlb-xen comes in > (drivers/xen/swiotlb-xen.c:xen_swiotlb_init) and given that io_tlb_start > is != 0 it thinks the memory is ready to use when actually it is not. Forgot to respond to this portion even though I'd noticed on my first read. I haven't ever observed that message. -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg@xxxxxxx PGP 87145445 | ) / \_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |