[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] xen/arm: introduce XENFEAT_direct_mapped and XENFEAT_not_direct_mapped
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Fri, 19 Mar 2021 19:00:07 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oEXYc3RG3bs8i4IIp7BuuahetRs8esN7ZssVDIZ35Ns=; b=FeNyMeVqLnaGdjZ3XhTRUKUSgZ1AA2IkLs4lgQKiEH0yV7+iDg+rVVNNFqKDTu9qjN3xyVhMgUBB/iW9yi7DAFDPglHMpdqoK8vDPiWjHUqOq+so3vc51MXDb7fkaiRxFkLO9wBqv+oca2/Do0aNZCRQ6w5ZuWTna1k4Q0kZ9LyaiAzO8J9As9diw7hwGcH2miTbTn+shlp4RaJZb0sP9aZzMbQUYhYtBGuOroGB2DUn/zPriNXXmwKb3RLoSge2n9JnUC2mVE6Nt1yCyDAV0PUoZalC1OjyFTWgOuM3V7R2SQ87A+Qh+g5vtRHYTh4dTh8ttpWyJtjMbVyxWy9LRw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=avZCpA5/Ng1RWExGr+750ev24BxNZXrIJ5zHKFqpi37wrVSykzWg4GcN1w1Hp59O+OZv18tW1SijBrsG+CcBb/HsY5AqT0/7IDXt4XUz69rFNy0DJkXLFQ3JmCi4t5H0OK7Uj/cVyOli1c9Rm5tmbZ2gIpzCAXM1Khkbm1VZg+PaQwThW0myh+DNfEJCznjLa2chfWdL6OawbjsunNGzSU/JqOAP2yLtZ/1JY8ffTseEc9DXZ/U50E9bCSQFa5L9TVqe8VWpf6grPxMN9ZxwSEkbJqLA2B8mNUY87d0CWDWn7eThZj0MMfIx6H7X9lOQi906EgIsycXSeilxiyfnkg==
- Authentication-results: xilinx.com; dkim=none (message not signed) header.d=none;xilinx.com; dmarc=none action=none header.from=oracle.com;
- Cc: jgross@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
- Delivery-date: Fri, 19 Mar 2021 23:00:44 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 3/19/21 4:01 PM, Stefano Stabellini wrote:
> From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
>
> Newer Xen versions expose two Xen feature flags to tell us if the domain
> is directly mapped or not. Only when a domain is directly mapped it
> makes sense to enable swiotlb-xen on ARM.
>
> Introduce a function on ARM to check the new Xen feature flags and also
> to deal with the legacy case. Call the function xen_swiotlb_detect.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
|