qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v3 03/18] spapr_iommu: Disable in-kernel IOM


From: David Gibson
Subject: Re: [Qemu-devel] [RFC PATCH v3 03/18] spapr_iommu: Disable in-kernel IOMMU tables for >4GB windows
Date: Fri, 5 Sep 2014 22:40:21 +1000
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Aug 29, 2014 at 08:12:07PM +1000, Alexey Kardashevskiy wrote:
> The existing KVM_CREATE_SPAPR_TCE ioctl only support 4G windows max as
> the window size parameter to the kernel ioctl() is 32-bit so
> there's no way of expressing a TCE window > 4GB.
> 
> We are going to add huge DMA windows support so this will create small
> window and unexpectedly fail later.
> 
> This disables KVM_CREATE_SPAPR_TCE for windows bigger that 4GB. Since
> those windows are normally mapped at the boot time, there will be no
> performance impact.
> 
> Signed-off-by: Alexey Kardashevskiy <address@hidden>

Reviewed-by: David Gibson <address@hidden>

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: pgpwla_aMYz10.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]