[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cleanup swiotlb initialization
- To: Christoph Hellwig <hch@xxxxxx>
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Thu, 24 Feb 2022 12:07:26 -0500
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+nO2rVtfBk9wR3DMR04tVAteK2MA3ZuQ7oyViyDcIDI=; b=eJ7UjF9fYf6MYMcev9J0D1H2opwgPKQpkRqYjZYovyj0aqwDVNL2CLBn+WqkHA6/solgKLQrxZ9fqZ8WAsqEdgCux9FgVNF4Wsqb93eWI73B1L8rjvNKxpVxUIjJqAFatLNtal64BYDRNOW4Jv4E0sOGnahS6NKDAYlcDBTnaU2oqdwRmDxY5rFe7HvRaGGRioxeHR946y9Phmwcd7UufMbX25j2eKYTfYCXfxcbC0KFjqCxSqmGvSHDAIu3tt+/ZV1tPro8vzJ95X4G2YLFJUxm67sh8CUL0kqkdbkODM7gRw1E34z3se3s+wGz+NIsBxjfQRau6+d62OWE6OXd8A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T7HTRI2p8jGmYKYKwfRH3F6dgPGyUlDb3C3/CIX5pPDnFgjAis12c4DbJkwVeWYeR5R/WsHrDeCjU63WVOFatjlWeRVrb5dg992LmyR+SEZcH/fAtDXLxnbwX0C8LhyJjJmywT9479U6gP/TMucv+U8HwPAmSP/JMPY6ir+Hzo8eHLDwXOZOLsriKR9yEppz2W13dIAY+vUPZ/OvHXNjLrsZySst/DBWyCVgV1wk393K7+BmP1gTcooDbJPJJvwV+RNRWAea+a1wlOeuoGxYVabU7vj88rnwpIE07e/n6uEMBRtsAkETHgnJ/xqajCv5dlaGaRdhYiSy0pCm2ompBQ==
- Cc: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, x86@xxxxxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Joerg Roedel <joro@xxxxxxxxxx>, David Woodhouse <dwmw2@xxxxxxxxxxxxx>, Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>, Robin Murphy <robin.murphy@xxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-riscv@xxxxxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-hyperv@xxxxxxxxxxxxxxx, tboot-devel@xxxxxxxxxxxxxxxxxxxxx, linux-pci@xxxxxxxxxxxxxxx
- Delivery-date: Thu, 24 Feb 2022 17:08:24 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2/24/22 11:39 AM, Christoph Hellwig wrote:
On Thu, Feb 24, 2022 at 11:18:33AM -0500, Boris Ostrovsky wrote:
On 2/24/22 10:58 AM, Christoph Hellwig wrote:
Thanks.
This looks really strange as early_amd_iommu_init should not interact much
with the changes. I'll see if I can find a AMD system to test on.
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.
-boris
|