[PATCH 13/15] swiotlb: merge swiotlb-xen initialization into swiotlb

Christoph Hellwig hch at lst.de
Tue Mar 15 17:48:26 AEDT 2022


On Mon, Mar 14, 2022 at 07:07:44PM -0400, Boris Ostrovsky wrote:
>> +	swiotlb_init_remap(true, x86_swiotlb_flags, xen_swiotlb_fixup);
>
>
> I think we need to have SWIOTLB_ANY set in x86_swiotlb_flags here.

Yes.

> Notice that we don't do remap() after final update to nslabs. We should.

Indeed.  I've pushed the fixed patches to the git tree and attached
the patches 12, 13 and 14 in case that is easier:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-swiotlb-provide-swiotlb_init-variants-that-remap-the.patch
Type: text/x-patch
Size: 5127 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20220315/95d78856/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-swiotlb-merge-swiotlb-xen-initialization-into-swiotl.patch
Type: text/x-patch
Size: 8857 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20220315/95d78856/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-swiotlb-remove-swiotlb_init_with_tbl-and-swiotlb_ini.patch
Type: text/x-patch
Size: 5444 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20220315/95d78856/attachment-0005.bin>


More information about the Linuxppc-dev mailing list