lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 18 Oct 2011 12:09:10 -0400
From:	Jerome Glisse <j.glisse@...il.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	linux-kernel@...r.kernel.org, iommu@...ts.linux-foundation.org
Subject: Re: IOMMU keeping mapping over long period of time

On Tue, Oct 18, 2011 at 11:56 AM, Andi Kleen <andi@...stfloor.org> wrote:
> Jerome Glisse <j.glisse@...il.com> writes:
>>
>> GPU for which we are interested have dma mask of 40bits at least, thus
>> they can work with high mem page. My main concern is when an iommu is
>> active, such amount of continuously mapped page might exhaust the iommu
>> address space. My understanding is that Intel & AMD iommu are capable of
>> growing their address space but is it somethings we can rely on ?
>
> I don't think relying on this is very wise. Better add some way to unmap
> when space is running short.
>
> -Andi
>

Maybe i should have add that the usecase involve the driver never knowing when
the GPU will make use of the mapped memory and this can happen anytime.

Cheers,
Jerome
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ