[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f781c3ea-8097-4e5f-84b2-0cd1f49bdb96@linux.dev>
Date: Wed, 3 Jul 2024 18:42:42 +0800
From: Zhu Yanjun <yanjun.zhu@...ux.dev>
To: Christoph Hellwig <hch@....de>, Leon Romanovsky <leon@...nel.org>
Cc: Jens Axboe <axboe@...nel.dk>, Jason Gunthorpe <jgg@...pe.ca>,
Robin Murphy <robin.murphy@....com>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>, Keith Busch <kbusch@...nel.org>,
"Zeng, Oak" <oak.zeng@...el.com>, Chaitanya Kulkarni <kch@...dia.com>,
Sagi Grimberg <sagi@...mberg.me>, Bjorn Helgaas <bhelgaas@...gle.com>,
Logan Gunthorpe <logang@...tatee.com>, Yishai Hadas <yishaih@...dia.com>,
Shameer Kolothum <shameerali.kolothum.thodi@...wei.com>,
Kevin Tian <kevin.tian@...el.com>,
Alex Williamson <alex.williamson@...hat.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Jérôme Glisse <jglisse@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org,
iommu@...ts.linux.dev, linux-nvme@...ts.infradead.org,
linux-pci@...r.kernel.org, kvm@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [RFC PATCH v1 00/18] Provide a new two step DMA API mapping API
在 2024/7/3 13:42, Christoph Hellwig 写道:
> I just tried to boot this on my usual qemu test setup with emulated
> nvme devices, and it dead-loops with messages like this fairly late
> in the boot cycle:
>
> [ 43.826627] iommu: unaligned: iova 0xfff7e000 pa 0x000000010be33650 size 0x1000 min_pagesz 0x1000
> [ 43.826982] dma_mapping_error -12
>
> passing intel_iommu=off instead of intel_iommu=on (expectedly) makes
I also confronted this problem.IMO, if intel_iommu=off, the driver of
drivers/iommu can not be used.
If I remember correctly, some guys in the first version can fix this
problem. I will check the mails.
To me, I just revert this commit because I do not use this commit about
nvme.
Zhu Yanjun
> it go away.
>
Powered by blists - more mailing lists