On 7/30/21 3:18 AM, Juergen Gross wrote:
> Some features of Xen can be assumed to be always present, so add a
> central check to verify this being true and remove the other checks.
>
> Juergen Gross (3):
> xen: check required Xen features
> xen: assume XENFEAT_mmu_pt_update_preserve_ad being set for pv guests
> xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
>
> arch/x86/xen/enlighten_pv.c | 12 ++----------
> arch/x86/xen/mmu_pv.c | 4 ++--
> drivers/xen/features.c | 18 ++++++++++++++++++
> drivers/xen/gntdev.c | 36 ++----------------------------------
> 4 files changed, 24 insertions(+), 46 deletions(-)
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>