From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Edwards Subject: Re: intel-iommu: iova_to_phys: fill in bits from iova when large pte Date: Mon, 4 Nov 2013 10:07:54 -0700 Message-ID: <20131104170754.GA7317@psuche> References: <20131102014511.GA29838@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" To: Marcelo Tosatti Return-path: Content-Disposition: inline In-Reply-To: <20131102014511.GA29838-I4X2Mt4zSy4@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: kvm.vger.kernel.org On Fri, Nov 01, 2013 at 06:45:12PM -0700, Marcelo Tosatti wrote: > > intel_iommu_iova_to_phys returns incorrect physical address > when iova is translated by large pte. > > Fill in bits from iova when creating the physical address. Marcelo, for what it's worth, this patch alone didn't fix the BUG when using KVM PCI assignment with huge pages. I still needed the hva alignment patch as well. Greg