[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 for-4.18 00/10] Non-truncating XENVER_* subops
- To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Tue, 15 Aug 2023 22:06:40 +0100
- Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>, "Daniel De Graaf" <dgdegra@xxxxxxxxxxxxx>, Daniel Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Jason Andryuk <jandryuk@xxxxxxxxx>, "Anthony PERARD" <anthony.perard@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Christian Lindig <christian.lindig@xxxxxxxxxx>, David Scott <dave@xxxxxxxxxx>, Edwin Torok <edvin.torok@xxxxxxxxxx>, Rob Hoes <Rob.Hoes@xxxxxxxxxx>
- Delivery-date: Tue, 15 Aug 2023 21:07:15 +0000
- Ironport-data: A9a23:zbibmqwLDi3/72PY/wZ6t+cdwSrEfRIJ4+MujC+fZmUNrF6WrkVSx 2ceWT+FPKmDNmD0fd11atu38xsCvJPXyt41HFA9/iAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjP3OHfykTrafYEidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw/z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KXbme+iFJJ+PAM9DN3vr4RAgdBtaBiMk2OV7dkT265RNICfslPIxKMxkAUydl2HDj VrKUEhI/LmlT2oJHD7h3/zskmtUO7EmQhoy85fzvN5ayhU2DkL8mNQdAY5kjBjWVX/u+bXKW Amm56iUDRHzp34T69AUO+8yncoDCy7H++cyIvJMQC+aMDxGy9pIfhG74CW4nvYQm+IF4VHoB RrnFxszEezhBf4J2WU5fGINBtlvH9lO8tUOxZzZ+HnH2RI=
- Ironport-hdrordr: A9a23:tvTdDqzCsY2jS9Cp5H+OKrPxaeskLtp133Aq2lEZdPU1SL3sqy nKpp906faaslYssQ4b6Ky90cW7IE80lqQFkrX5Q43SPjUO0VHAROtfBODZsl7d8kPFh4tgPa wJSdkANDWZZ2IXsS6QijPWLz7uquPrzImYwd77i1NRZUVSbadkhj0JeDpy0CdNNXd77V5SLu vt2iKDzQDQCEj/Ff7LYkUtbqz4vtjWk5CjSQcebiRXkTWmvHeT8bvnFBrd9QsfVj4n+8ZezU H11zbh47mlsbWdwhvRvlWjiKh+qZ/a095eA87JrNYTJi6EsHfPWK1RH4eauSwzoqWUyHtCqq i1nz4Qe/5r7m/XfCWOrQDz1xLG2DIjgkWSsmOwsD/YuMnkQzB/NMZbn4JedXLimjAdgO0=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/968728976
https://cirrus-ci.com/build/6741556116324352
Posting both parts, as there has been minor rebasing in all of them.
Andrew Cooper (10):
xen/version: Calculate xen_capabilities_info once at boot
xen/version: Introduce non-truncating deterministically-signed XENVER_* subops
xen/version: Fold build_id handling into xenver_varbuf_op()
xen/version: Misc style fixes
tools/libxc: Move xc_version() out of xc_private.c into its own file
tools: Introduce a non-truncating xc_xenver_extraversion()
tools: Introduce a non-truncating xc_xenver_capabilities()
tools: Introduce a non-truncating xc_xenver_changeset()
tools: Introduce a non-truncating xc_xenver_cmdline()
tools: Introduce a xc_xenver_buildid() wrapper
tools/include/xenctrl.h | 10 ++
tools/libs/ctrl/Makefile.common | 1 +
tools/libs/ctrl/xc_private.c | 66 ---------
tools/libs/ctrl/xc_private.h | 7 -
tools/libs/ctrl/xc_version.c | 206 ++++++++++++++++++++++++++++
tools/libs/light/libxl.c | 61 +-------
tools/ocaml/libs/xc/xenctrl_stubs.c | 46 ++++---
xen/arch/arm/setup.c | 20 +--
xen/arch/x86/setup.c | 31 ++---
xen/common/kernel.c | 119 ++++++++++------
xen/common/version.c | 4 +-
xen/include/public/version.h | 68 ++++++++-
xen/include/xen/hypercall.h | 2 -
xen/include/xen/version.h | 2 +
xen/include/xlat.lst | 1 +
xen/include/xsm/dummy.h | 3 +
xen/xsm/flask/hooks.c | 4 +
17 files changed, 425 insertions(+), 226 deletions(-)
create mode 100644 tools/libs/ctrl/xc_version.c
--
2.30.2
|