Re: [PATCH 1/2] xen/arm64: do not set SWIOTLB_NO_FORCE when swiotlb is required

From: Stefano Stabellini
Date: Wed May 12 2021 - 16:35:00 EST


On Wed, 12 May 2021, Christoph Hellwig wrote:
> > -int xen_swiotlb_detect(void)
> > -{
> > - if (!xen_domain())
> > - return 0;
> > - if (xen_feature(XENFEAT_direct_mapped))
> > - return 1;
> > - /* legacy case */
> > - if (!xen_feature(XENFEAT_not_direct_mapped) && xen_initial_domain())
> > - return 1;
> > - return 0;
> > -}
>
> I think this move should be a separate prep patch.

Sure, I can do that