Thread (37 messages) 37 messages, 10 authors, 2022-06-30

Re: [PATCH v2 3/3] arch/*/: remove CONFIG_VIRT_TO_BUS

From: Arnd Bergmann <arnd@kernel.org>
Date: 2022-06-28 21:51:01
Also in: linux-alpha, linux-arch, linux-iommu, linux-m68k, linux-scsi, lkml

On Tue, Jun 28, 2022 at 11:03 PM Michael Schmitz [off-list ref] wrote:
On 28/06/22 19:03, Geert Uytterhoeven wrote:
quoted
quoted
The driver allocates bounce buffers using kmalloc if it hits an
unaligned data buffer - can such buffers still even happen these days?
No idea.
Hmmm - I think I'll stick a WARN_ONCE() in there so we know whether this
code path is still being used.
kmalloc() guarantees alignment to the next power-of-two size or
KMALLOC_MIN_ALIGN, whichever is bigger. On m68k this means it
is cacheline aligned.

      Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help