From nobody Thu May 16 02:31:12 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1574705652; cv=none; d=zohomail.com; s=zohoarc; b=d3gXaZ0B1oVwNrAYi4GR9/U4Z3GFrm63Nj1RzUTRiY/DJux6Mw0eS0xVwTx33Wufo5DM5gXPIBuOVGUzmJoFS9z9cqMcbzPIGtAiebrCD2hhigKZPGwmGAwgxdHC4YJuR1CP4m/g82Xe8ikSx9xwXcvev5dbJL7PoPi+0vj7S1E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574705652; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=k82VDTnAEYMmIBZ+BnV4YO4lxA/bzhPXX8X1cn/DjME=; b=H2L+FQAzepLpXuHcgEP8e5mE66ujVmz7LeW34riVR2gAWWIMkrauShoU77NO9jLA3K6gGSGpjJZXitId815ndFMXHkyGPkBe7kwEB1hCeThHd54aZla5saylbEjTU9ICrj2hmtVCeZ+RoiPdK49mQLqGIOBQ1PuWnEjHI1vk9Ps= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 157470565221545.51784806646981; Mon, 25 Nov 2019 10:14:12 -0800 (PST) Received: from localhost ([::1]:47198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZIsE-0003W7-FY for importer@patchew.org; Mon, 25 Nov 2019 13:14:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35741) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZIqz-0002zP-9P for qemu-devel@nongnu.org; Mon, 25 Nov 2019 13:12:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZIqr-0007sV-GM for qemu-devel@nongnu.org; Mon, 25 Nov 2019 13:12:48 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:37358) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZIqq-0007p1-SP for qemu-devel@nongnu.org; Mon, 25 Nov 2019 13:12:45 -0500 Received: by mail-wm1-x342.google.com with SMTP id f129so323177wmf.2 for ; Mon, 25 Nov 2019 10:12:38 -0800 (PST) Received: from donizetti.redhat.com ([2001:b07:6468:f312:5454:a592:5a0a:75c]) by smtp.gmail.com with ESMTPSA id d7sm11649717wrx.11.2019.11.25.10.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 10:12:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k82VDTnAEYMmIBZ+BnV4YO4lxA/bzhPXX8X1cn/DjME=; b=L5LLO8D0ZIXD9VJgKCeLS5GTKSXMt7gR7kqMX4lKkxl1upDCGF6G5hoxm7C9jsGYt1 zpLsq/THglWHS981rvaD2DpxEb7CIfGJCP8IJRl2zAaCwNDbKa8BqqU8VAkMOWhnTddf p9hDQoZ/c5JpkRnd48Y+vgTrGQLqtK0Mbh3EIHTCoonF+nXhvIPFD5jQOFty5x1w88HB z/LLhkgNNpJiVFVWty5x/R8mGvA6QoSRw8Uo+vpqCtwaSfrhUaRl+hXi4Eys58Nx/n93 Qm8TK6WfoMchGmGd3Noj6ssDJzQPNRrVxzJHFZOujYGgVbf9rLXCioYhfSnNYYM7TF1t e0sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=k82VDTnAEYMmIBZ+BnV4YO4lxA/bzhPXX8X1cn/DjME=; b=pluJqB3px191AaPVqxsSc7BO64yc89uwy+H4lHvpMpwxm2+6zIFVffsMYLsCHHBOt1 LrN0I9XCroFDNepM9F85ZmKBxhCGoG/0ckIN0pAq0PwAYJRr3350D1u01qTopZFhQw0S zl/8qiapDQLo73nG0eZ6CvNjSmYZhjDLr2Sa7cm/j20eHnZE/MQ4SMprEAK8dUe1X0Vl ro8taUmhMMP2c9Zo1FE2wtzI9XKZ06U6s/AFAIFQbZ4TZ9BqdrQaInE70B1jTRZ/imgD h4dDmzLhJh/uuWc4ujHx/3tvXzkUVcOiFOAlts5YduEurZBgBKf1B7Kh6K5erTRd9qua pF9A== X-Gm-Message-State: APjAAAUgp/jkemlZgACiEkBiWudAJoZDfekTWRCFNDB46IH0x4bqhdR8 hKgRNjuDEVvE76Yo8vn3BYFhrqNo X-Google-Smtp-Source: APXvYqxGHtJ0Gz0EShYjFIn1TIRUuZXCcOH3vyWvwNNa5rF8z7BbC+CuQPBdOR1rQ9EIt1tY/yhijQ== X-Received: by 2002:a1c:f009:: with SMTP id a9mr194212wmb.38.1574705556859; Mon, 25 Nov 2019 10:12:36 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH] target/i386: add two missing VMX features for Skylake and CascadeLake Server Date: Mon, 25 Nov 2019 19:12:35 +0100 Message-Id: <20191125181235.29204-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ehabkost@redhat.com, "Dr . David Alan Gilbert" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" They are present in client (Core) Skylake but pasted wrong into the server SKUs. Reported-by: Dr. David Alan Gilbert Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 0f38c82903..3361fe0563 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -2969,7 +2969,8 @@ static X86CPUDefinition builtin_x86_defs[] =3D { VMX_SECONDARY_EXEC_APIC_REGISTER_VIRT | VMX_SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY | VMX_SECONDARY_EXEC_RDRAND_EXITING | VMX_SECONDARY_EXEC_ENABLE= _INVPCID | - VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS, + VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS | + VMX_SECONDARY_EXEC_RDSEED_EXITING | VMX_SECONDARY_EXEC_ENABLE= _PML, .xlevel =3D 0x80000008, .model_id =3D "Intel Xeon Processor (Skylake)", .versions =3D (X86CPUVersionDefinition[]) { @@ -3085,7 +3086,8 @@ static X86CPUDefinition builtin_x86_defs[] =3D { VMX_SECONDARY_EXEC_APIC_REGISTER_VIRT | VMX_SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY | VMX_SECONDARY_EXEC_RDRAND_EXITING | VMX_SECONDARY_EXEC_ENABLE= _INVPCID | - VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS, + VMX_SECONDARY_EXEC_ENABLE_VMFUNC | VMX_SECONDARY_EXEC_SHADOW_= VMCS | + VMX_SECONDARY_EXEC_RDSEED_EXITING | VMX_SECONDARY_EXEC_ENABLE= _PML, .xlevel =3D 0x80000008, .model_id =3D "Intel Xeon Processor (Cascadelake)", .versions =3D (X86CPUVersionDefinition[]) { --=20 2.21.0