Skip to content

x86: compat header generation and checking adjustments

Jan Beulich xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 7 repliesIn review
  2. v27 patches 26 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86: fix compat header generationxen/include/Makefile xen/include/public/arch-x86/pmu.h xen/include/public/arch-x86/xen-mca.h +14 more+170 -1133 replies
1/8x86: fix compat header generationxen/include/Makefile xen/include/public/arch-x86/pmu.h xen/include/public/arch-x86/xen-mca.h +14 more+172 -1130 replies
1/8x86: fix compat header generationxen/include/Makefile xen/include/public/arch-x86/pmu.h xen/include/public/arch-x86/xen-mca.h +14 more+170 -1130 replies
2/8x86/mce: add compat struct checking for XEN_MC_inject_v2xen/arch/x86/cpu/mcheck/mce.c xen/include/public/arch-x86/xen-mca.h xen/include/xlat.lst +2 more+8 -30 replies
3/8x86/mce: bring hypercall subop compat checking in sync againxen/arch/x86/cpu/mcheck/mce.c xen/include/public/arch-x86/xen-mca.h+7 -60 replies
4/8x86/dmop: add compat struct checking for XEN_DMOP_map_mem_type_to_ioreq_serverxen/arch/x86/hvm/dm.c xen/include/xlat.lst+3 -10 replies
5/8evtchn: add compat struct checking for newer sub-opsxen/common/compat/xlat.c xen/include/xlat.lst+20 -02 replies
6/8x86: generalize padding field handlingxen/common/compat/memory.c xen/tools/get-fields.sh+7 -40 replies
7/8flask: drop dead compat translation codexen/include/xlat.lst xen/xsm/flask/flask_op.c+0 -50 replies
8/8x86: only generate compat headers actually neededxen/arch/x86/hvm/dm.c xen/common/compat/domain.c xen/include/Makefile +1 more+23 -140 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchRoger Pau Monné
1/8R-b R-b R-b
1/8R-b R-b R-b
1/8R-b R-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/8] x86: compat header generation and checking adjustments

As was pointed out by 0e2e54966af5 ("mm: fix public declaration of struct xen_mem_acquire_resource"), we're not currently handling structs correctly that have uint64_aligned_t fields. Patch 2 demonstrates that there was also an issue with XEN_GUEST_HANDLE_64().

1: x86: fix compat header generation
2: x86/mce: add compat struct checking for XEN_MC_inject_v2
3: x86/mce: bring hypercall subop compat checking in sync again
4: x86/dmop: add compat struct checking for XEN_DMOP_map_mem_type_to_ioreq_server 5: evtchn: add compat struct checking for newer sub-ops
6: x86: generalize padding field handling
7: flask: drop dead compat translation code
8: x86: only generate compat headers actually needed

v3: Build fix for old gcc in patch 1. New patch 5.

Jan