[PATCH 0/3] x86: Overhaul of vendor/family/model logic to support DMR

Andrew Cooper posted 3 patches 3 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20250716132843.2086965-1-andrew.cooper3@citrix.com
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(-)
[PATCH 0/3] x86: Overhaul of vendor/family/model logic to support DMR
Posted by Andrew Cooper 3 months, 2 weeks ago
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