Thread (26 messages) 26 messages, 3 authors, 2022-02-25

Re: cleanup swiotlb initialization

From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Date: 2022-02-25 15:27:12
Also in: linux-arm-kernel, linux-hyperv, linux-iommu, linux-mips, linux-pci, linux-riscv, linux-s390, xen-devel

On 2/25/22 3:47 AM, Christoph Hellwig wrote:
On Thu, Feb 24, 2022 at 12:07:26PM -0500, Boris Ostrovsky wrote:
quoted
quoted
quoted
Just to be clear: this crashes only as dom0. Boots fine as baremetal.
Ah.  I can gues what this might be.  On Xen the hypervisor controls the
IOMMU and we should never end up initializing it in Linux, right?
Right, we shouldn't be in that code path.
Can you try the patch below on top of the series?
Yes, this makes dom0 boot fine.


(It also addresses something I wanted to mention while looking at the patches, which was to remove Xen initialization code from pci_swiotlb_detect_4gb() since it had noting to do with what the routine's name implies.)


-boris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help