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-06-29 14:05:37
Also in
linux-hyperv, linux-iommu, linux-pm, lkml
Reply to
Tianyu Lan, 2022-06-27
On Mon, Jun 27, 2022 at 11:31:50AM -0400, Tianyu Lan wrote:
From: Tianyu Lan <redacted>

When initialize swiotlb bounce buffer, smp_init() has not been
called and cpu number can not be got from num_online_cpus().
Use the number of lapic entry to set swiotlb area number and
keep swiotlb area number equal to cpu number on the x86 platform.
Can we reorder that initialization?  Because I really hate having
to have an arch hook in every architecture.
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