xen+tools: Introduce XEN_SYSCTL_PHYSCAP_vpmu
authorMichal Orzel <michal.orzel@arm.com>
Tue, 12 Oct 2021 08:13:21 +0000 (10:13 +0200)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 12 Oct 2021 21:50:45 +0000 (14:50 -0700)
commit3b38b1d96408cf4ee9eb78801e277f5a048e07b0
treed982435e7169bc982f83d2757e9da13d55422fb1
parenta1743fc3a9fe9b68c265c45264dddf214fd9b882
xen+tools: Introduce XEN_SYSCTL_PHYSCAP_vpmu

Introduce flag XEN_SYSCTL_PHYSCAP_vpmu which
indicates whether the platform supports vPMU
functionality. Modify Xen and tools accordingly.

Take the opportunity and fix XEN_SYSCTL_PHYSCAP_vmtrace
definition in sysctl.h which wrongly use (1 << 6)
instead of (1u << 6).

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Nick Rosbrook <rosbrookn@ainfosec.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Ian Jackson <iwj@xenproject.org>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
12 files changed:
tools/golang/xenlight/helpers.gen.go
tools/golang/xenlight/types.gen.go
tools/include/libxl.h
tools/libs/light/libxl.c
tools/libs/light/libxl_types.idl
tools/ocaml/libs/xc/xenctrl.ml
tools/ocaml/libs/xc/xenctrl.mli
tools/xl/xl_info.c
xen/common/domain.c
xen/common/sysctl.c
xen/include/public/sysctl.h
xen/include/xen/domain.h