On Fri, 13 Sep 2019 at 11:58, Paul Durrant <[email protected]> wrote:
>
> This patch defines a new bit reported in the hw_cap field of struct
> xen_sysctl_physinfo to indicate whether the platform supports sharing of
> HAP page tables (i.e. the P2M) with the IOMMU. This informs the toolstack
> whether the domain needs extra memory to store discrete IOMMU page tables
> or not.
>
> NOTE: This patch makes sure iommu_hap_pt_shared is clear if HAP is not
>       supported or the IOMMU is disabled, and defines it to false if
>       !CONFIG_HVM.
>
> Signed-off-by: Paul Durrant <[email protected]>
> Acked-by: Christian Lindig <[email protected]>
> ---
> Cc: Ian Jackson <[email protected]>
> Cc: Wei Liu <[email protected]>
> Cc: Anthony PERARD <[email protected]>
> Cc: Andrew Cooper <[email protected]>
> Cc: George Dunlap <[email protected]>
> Cc: Jan Beulich <[email protected]>
> Cc: Julien Grall <[email protected]>
> Cc: Konrad Rzeszutek Wilk <[email protected]>
> Cc: Stefano Stabellini <[email protected]>
> Cc: Tim Deegan <[email protected]>
> Cc: Christian Lindig <[email protected]>
> Cc: David Scott <[email protected]>
> Cc: "Roger Pau MonnĂ©" <[email protected]>
> Cc: Suravee Suthikulpanit <[email protected]>
> Cc: Kevin Tian <[email protected]>
>
> v11:
>  - Fix abi-check breakage
>
> v10:
>  - Set flag in common code (which means clearing iommu_hap_pt_share if
>    HAP cannot be enabled or is configured out).
>
> v9:
>  - New in v9
> ---
>  tools/libxl/libxl.c                      |  2 ++
>  tools/libxl/libxl.h                      |  7 +++++++
>  tools/libxl/libxl_types.idl              |  1 +

Hmm... I thought I acked this before, but that could be an old version
that I acked.

Acked-by: Wei Liu <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to