From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD6EA17996; Wed, 3 Jul 2024 05:42:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719985365; cv=none; b=jHYwAvBebV9RujS5U8flo8gjctvc72sxAHctIb2I8A8KD0KLkWww0TMTSxo2pAGQcigpcojiuUvBmB4GKpOzSPxx12xUn4551mkE9c5VfjJpOVi9EBfdkJy8n6uejFbrsnLWd3yvfY8Tejk7Z8MNArytKcoFweMFi1W6M2Sg6Co= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719985365; c=relaxed/simple; bh=6WmyRvCngSkDLedfR0fbdwfNbhQErAClQWhqYP9cFps=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UHcGgaO+Ff2jwJbFzg0iQVc7EbOYODYbx2eXAF8iS9BoS16v9mmraNfZDvbdUzVDFW2bnPwppKukJIKG6oxZIGOSZzkpcx6MlRQzT1VvMbot5qhleWFqCTMI7mac2uEBZSKNtde0Bxldf9A6OkZhPaFhRDrM/4XSzPmvCzppA44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id A3C19227A87; Wed, 3 Jul 2024 07:42:38 +0200 (CEST) Date: Wed, 3 Jul 2024 07:42:38 +0200 From: Christoph Hellwig To: Leon Romanovsky Cc: Jens Axboe , Jason Gunthorpe , Robin Murphy , Joerg Roedel , Will Deacon , Keith Busch , Christoph Hellwig , "Zeng, Oak" , Chaitanya Kulkarni , Sagi Grimberg , Bjorn Helgaas , Logan Gunthorpe , Yishai Hadas , Shameer Kolothum , Kevin Tian , Alex Williamson , Marek Szyprowski , =?iso-8859-1?B?Suly9G1l?= Glisse , Andrew Morton , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH v1 00/18] Provide a new two step DMA API mapping API Message-ID: <20240703054238.GA25366@lst.de> References: Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) 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 it go away.