Intel have run out of model space in Family 6 and will start using Family 19
starting with Diamond Rapids. Xen, like Linux, has model checking logic which
will malfunction owing to bad assumptions about the family field.
Follow Linux's lead and combine Vendor / Family / Model into a single
constant, so it is harder to mismatch family and model checks.
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1930124712
Andrew Cooper (3):
x86: Rearrange struct cpuinfo_x86 to introduce a vfm field
x86/intel-family: Resync with Linux
x86/vtd: Switch model check to VFM
xen/arch/x86/include/asm/cpufeature.h | 45 ++++++++++--
xen/arch/x86/include/asm/intel-family.h | 96 ++++++++++++++++++++++++-
xen/arch/x86/setup.c | 4 +-
xen/drivers/passthrough/vtd/quirks.c | 7 +-
4 files changed, 141 insertions(+), 11 deletions(-)
--
2.39.5