[PATCH v2 0/3] xen: remove some checks for always present Xen features

Juergen Gross posted 3 patches 3 years, 4 months ago
Failed in applying to current master (apply log)
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(-)
[PATCH v2 0/3] xen: remove some checks for always present Xen features
Posted by Juergen Gross 3 years, 4 months ago
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(-)

-- 
2.26.2


Re: [PATCH v2 0/3] xen: remove some checks for always present Xen features
Posted by Boris Ostrovsky 3 years, 4 months ago
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>