Skip to content

x86: Fix transient build breakage with featureset additions

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/cpu-policy: Drop build time cross-checks of featureset sizesxen/arch/x86/cpu-policy.c+0 -68 replies
2/6x86/cpuid: Rename NCAPINTS to X86_NR_CAPSxen/arch/x86/alternative.c xen/arch/x86/cpu/common.c xen/arch/x86/cpuid.c +2 more+10 -101 reply
3/6x86/cpuid: Rename FSCAPINTS to X86_NR_FEATxen/arch/x86/cpu-policy.c xen/arch/x86/cpu/common.c xen/arch/x86/include/asm/cpufeatures.h +2 more+22 -221 reply
4/6x86/cpu-policy: Split cpuid-consts.h out of cpu-policy.hxen/include/xen/lib/x86/cpu-policy.h xen/include/xen/lib/x86/cpuid-consts.h+35 -180 replies
5/6x86/cpu-policy: Disentangle X86_NR_FEAT and FEATURESET_NR_ENTRIESxen/arch/x86/cpu-policy.c xen/arch/x86/include/asm/cpufeatures.h xen/include/xen/lib/x86/cpu-policy.h +2 more+15 -95 replies
6/6DO NOT APPLY: Example breakagexen/include/xen/lib/x86/cpu-policy.h xen/include/xen/lib/x86/cpuid-consts.h xen/lib/x86/cpuid.c+9 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/6
2/6A-b
3/6A-b
4/6
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] x86: Fix transient build breakage with featureset additions

See patch 5 for details. Patch 6 is just an example that demonstrates the fix working in practice.

Andrew Cooper (6):
x86/cpu-policy: Drop build time cross-checks of featureset sizes x86/cpuid: Rename NCAPINTS to X86_NR_CAPS
x86/cpuid: Rename FSCAPINTS to X86_NR_FEAT x86/cpu-policy: Split cpuid-consts.h out of cpu-policy.h x86/cpu-policy: Disentangle X86_NR_FEAT and FEATURESET_NR_ENTRIES DO NOT APPLY: Example breakage

 xen/arch/x86/alternative.c             |  2 +-
 xen/arch/x86/cpu-policy.c              | 33 +++++++++++-----------
 xen/arch/x86/cpu/common.c              | 16 +++++------
 xen/arch/x86/cpuid.c                   |  2 +-
 xen/arch/x86/include/asm/cpufeature.h  |  2 +-
 xen/arch/x86/include/asm/cpufeatures.h | 11 +++-----
 xen/arch/x86/include/asm/cpuid.h       |  2 +-
 xen/arch/x86/sysctl.c                  |  8 +++---
 xen/include/xen/lib/x86/cpu-policy.h   | 29 ++++++--------------
 xen/include/xen/lib/x86/cpuid-consts.h | 38 ++++++++++++++++++++++++++
 xen/lib/x86/cpuid.c                    |  8 ++++--
 11 files changed, 88 insertions(+), 63 deletions(-)
 create mode 100644 xen/include/xen/lib/x86/cpuid-consts.h
Signature · 1 line
2.30.2