[PATCH 03/14] swiotlb: move orig addr and size validation into swiotlb_bounce
Konrad Rzeszutek Wilk
konrad.wilk at oracle.com
Wed Mar 17 11:30:47 AEDT 2021
On Mon, Mar 01, 2021 at 08:44:25AM +0100, Christoph Hellwig wrote:
> Move the code to find and validate the original buffer address and size
> from the callers into swiotlb_bounce. This means a tiny bit of extra
> work in the swiotlb_map path, but avoids code duplication and a leads to
> a better code structure.
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk at oracle.com>
More information about the Linuxppc-dev
mailing list