Commit 69edb0f3 authored by Xiaoyao Li's avatar Xiaoyao Li Committed by Eduardo Habkost
Browse files

target/i386: Add Snowridge-v2 (no MPX) CPU model



Add new version of Snowridge CPU model that removes MPX feature.

MPX support is being phased out by Intel. GCC has dropped it, Linux kernel
and KVM are also going to do that in the future.

Signed-off-by: default avatarXiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20191012024748.127135-1-xiaoyao.li@intel.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent af95cafb
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -2793,6 +2793,18 @@ static X86CPUDefinition builtin_x86_defs[] = {
            CPUID_6_EAX_ARAT,
        .xlevel = 0x80000008,
        .model_id = "Intel Atom Processor (SnowRidge)",
        .versions = (X86CPUVersionDefinition[]) {
            { .version = 1 },
            {
                .version = 2,
                .props = (PropValue[]) {
                    { "mpx", "off" },
                    { "model-id", "Intel Atom Processor (Snowridge, no MPX)" },
                    { /* end of list */ },
                },
            },
            { /* end of list */ },
        },
    },
    {
        .name = "KnightsMill",