On Wed, May 15, 2019 at 12:08:45PM +0000, Pascal Van Leeuwen wrote:
> Hi Christophe,
> 
> I ran into a similar issue with the Inside Secure driver.
> 
> If I understood correctly, scatter buffers do not need to be enclosed in a 
> single page as long as the scatter buffer as a whole is contiguous in memory. 
> So it can be multiple pages, but then they have to be back-to-back in 
> physical/device memory.
> 
> The latter should be guaranteed by the kernel allocator.

Yes this is correct.

Thanks,
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to