Re: [PATCH 2/2] x86/ACPI: Set swiotlb area according to the number of lapic entry in MADT

From
Christoph Hellwig <hch@infradead.org>
Date
2022-07-06 09:03:36
Also in
linux-hyperv, linux-iommu, linux-pm, lkml
Reply to
Tianyu Lan, 2022-07-06
On Wed, Jul 06, 2022 at 04:57:33PM +0800, Tianyu Lan wrote:
Swiotlb_init() is called in the mem_init() of different architects and
memblock free pages are released to the buddy allocator just after
calling swiotlb_init() via memblock_free_all().
Yes.
The mem_init() is called before smp_init().
But why would that matter?  cpu_possible_map is set up from
setup_arch(), which is called before that.
Thread (10 messages) 10 messages, 2 authors, last reply 2022-07-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help