List of commits needed to enable ARCH_CAPABILITIES:

Kernel:
commit 2bdb76c015df7125783d8394d6339d181cb5bc30
Author: Xiaoyao Li <xiaoyao...@linux.intel.com>
Date:   Fri Mar 8 15:57:20 2019 +0800
    kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
 
QEMU:
 
commit 014018e19b3c54dd1bf5072bc912ceffea40abe8
Author: Eduardo Habkost <ehabk...@redhat.com>
Date:   Fri Jan 25 20:06:06 2019 -0200
   i386: Make arch_capabilities migratable
 
commit 485b1d256bcb0874bcde0223727c159b6837e6f8
Author: Eduardo Habkost <ehabk...@redhat.com>
Date:   Fri Jan 25 20:06:05 2019 -0200
   i386: kvm: Disable arch_capabilities if MSR can't be set
 
commit b0a1980384fc265d91de7e09aa5fe531a69e6288
Author: Tao Xu <tao3...@intel.com>
Date:   Thu Dec 27 10:43:03 2018 +0800
   i386: Update stepping of Cascadelake-Server
 
commit aec5e9c3a94cf8b7920f59bef69a6f426092c4a0
Author: Bandan Das <b...@redhat.com>
Date:   Sun Nov 25 23:17:28 2018 -0500
   kvm: Use KVM_GET_MSR_INDEX_LIST for MSR_IA32_ARCH_CAPABILITIES support
 
commit 07585923485952bf4cb7da563c9f91fecc85d09c
Author: Robert Hoo <robert...@linux.intel.com>
Date:   Mon Oct 15 12:47:24 2018 +0800
   x86: Data structure changes to support MSR based features
 
commit f57bceb6ab5163ddd6c41ff4344ab8cf28a9c63d
Author: Robert Hoo <robert...@linux.intel.com>
Date:   Mon Oct 15 12:47:23 2018 +0800
   kvm: Add support to KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS system 
ioctl
 
commit d86f963694df27f11b3681ffd225c9362de1b634
Author: Robert Hoo <robert...@linux.intel.com>
Date:   Mon Oct 15 12:47:25 2018 +0800
   x86: define a new MSR based feature word – FEATURE_WORDS_ARCH_CAPABILITIES
 
commit c7a88b52f62b30c04158eeb07f73e3f72221b6a8
Author: Tao Xu <tao3...@intel.com>
Date:   Wed Sep 19 11:11:22 2018 +0800
   i386: Add new model of Cascadelake-Server
 
commit 3fc7c73139d2d38ae80c3b0bc963b1ac1555924c
Author: Robert Hoo <robert...@linux.intel.com>
Date:   Thu Jul 5 17:09:55 2018 +0800
   i386: Add CPUID bit and feature words for IA32_ARCH_CAPABILITIES MSR
 
commit 8a11c62da9146dd89aee98947e6bd831e65a970d
Author: Robert Hoo <robert...@linux.intel.com>
Date:   Thu Jul 5 17:09:58 2018 +0800
   i386: Add new CPU model Icelake-{Server,Client}
 
commit 8c80c99fcceabd0708a5a83f08577e778c9419f5
Author: Robert Hoo <robert...@linux.intel.com>
Date:   Thu Jul 5 17:09:54 2018 +0800
   i386: Add new MSR indices for IA32_PRED_CMD and IA32_ARCH_CAPABILITIES

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1828495

Title:
  [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM.

Status in intel:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  This is a bug.

  Test Environment:

  Repro Steps:

  1. Boot up guest using: -cpu Cascadelake-Server

  [root@clx-2s2 yexin]# qemu-system-x86_64 -accel kvm -drive
  if=virtio,id=hd,file=/home/x/x,format=qcow2  -m 4096 -smp 4 -cpu
  Cascadelake-Server -serial stdio

  char device redirected to /dev/pts/3 (label serial0)

  qemu-system-x86_64: warning: host doesn't support requested feature:
  CPUID.07H:ECX [bit 4]

  qemu-system-x86_64: warning: host doesn't support requested feature:
  CPUID.07H:ECX [bit 4]

  qemu-system-x86_64: warning: host doesn't support requested feature:
  CPUID.07H:ECX [bit 4]

  qemu-system-x86_64: warning: host doesn't support requested feature:
  CPUID.07H:ECX [bit 4]

  2. To check CPU ID related to features[FEAT_7_0_EDX]
  :CPUID_7_0_EDX_ARCH_CAPABILITIES

  Expected Result: Both host and guest's CPUID.07H EDX bit 29 should be
  1.

  Actual Result:

  Host's cpuid: 0x00000007 0x00: eax=0x00000000 ebx=0xd39ffffb
  ecx=0x00000818 edx=0xbc000000  (EDX bit 29=1)

  Guest's cpuid : 0x00000007 0x00: eax=0x00000000 ebx=0xd19f0fb9
  ecx=0x00000818 edx=0x84000000 (EDX bit 29=0)

  Commit:2bdb76c015df7125783d8394d6339d181cb5bc30

  Target Kerned: 5.1
  Target Release: 19.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1828495/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to