[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z0l1QI4-zK9EVNnJ@gondor.apana.org.au>
Date: Fri, 29 Nov 2024 16:03:12 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Lukas Wunner <lukas@...ner.de>
Cc: Ard Biesheuvel <ardb@...nel.org>, Zorro Lang <zlang@...hat.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [Bug report] kernel BUG at include/linux/scatterlist.h
On Fri, Nov 29, 2024 at 08:54:35AM +0100, Lukas Wunner wrote:
>
> I'm proposing an optimized approach which auto-detects whether
> duplicating into the linear map is actually necessary:
>
> https://lore.kernel.org/r/3de5d373c86dcaa5abc36f501c1398c4fbf05f2f.1732865109.git.lukas@wunner.de/
No this is not going to work. Linux runs on many platforms,
there is no portable way of doing DMA over arbitrary kernel
memory.
Only memory specifically allocated for DMA is safe to use in
an SG list.
Since you're refusing to fix this I'll take care of it.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists