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

Christoph Hellwig hch at lst.de
Mon Mar 14 23:48:26 PDT 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.infradead.org/pipermail/linux-riscv/attachments/20220315/95d78856/attachment.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.infradead.org/pipermail/linux-riscv/attachments/20220315/95d78856/attachment-0001.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.infradead.org/pipermail/linux-riscv/attachments/20220315/95d78856/attachment-0002.bin>


More information about the linux-riscv mailing list