Re: [PULL 4/7] x86: Data structure changes to support MSR based features

Eduardo Habkost
2018-10-31T14:08:12Z

On Wed, Oct 31, 2018 at 08:24:10AM -0500, Eric Blake wrote:
> On 10/30/18 7:45 PM, Eduardo Habkost wrote:
> > From: Robert Hoo <robert.hu@linux.intel.com>
> >
> > Add FeatureWordType indicator in struct FeatureWordInfo.
> > Change feature_word_info[] accordingly.
> > Change existing functions that refer to feature_word_info[] accordingly.
> >
> > Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
> > Message-Id: <1539578845-37944-3-git-send-email-robert.hu@linux.intel.com>
> > [ehabkost: fixed hvf_enabled() case]
>
> Eduardo, this is missing your S-o-b, which is odd for a pull request.

Ouch, my mistake. I have just pushed a new tag with the same
tree.

The following changes since commit a2e002ff7913ce93aa0f7dbedd2123dce5f1a9cd:

Merge remote-tracking branch 'remotes/vivier2/tags/qemu-trivial-for-3.1-pull-request' into staging (2018-10-30 15:49:55 +0000)

are available in the Git repository at:

git://github.com/ehabkost/qemu.git tags/x86-next-pull-request

for you to fetch changes up to 09b9ee643f90ef95e30e594df2a3c83ccaf75b1f:

i386: Add PKU on Skylake-Server CPU model (2018-10-30 21:14:43 -0300)

----------------------------------------------------------------
x86 queue, 2018-10-30

* MSR-based feature support for
MSR_IA32_ARCH_CAPABILITIES bits (Robert Hoo)
* Cascadelake-Server CPU model (Tao Xu)
* Add PKU on Skylake-Server CPU model (Tao Xu)
* Correct cpu_x86_cpuid(0xd) (Sebastian Andrzej Siewior)
* Remove dead code (Peter Maydell)

----------------------------------------------------------------

Peter Maydell (1):
target/i386: Remove #ifdeffed-out icebp debugging hack

Robert Hoo (3):
kvm: Add support to KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS
system ioctl
x86: Data structure changes to support MSR based features
x86: define a new MSR based feature word --
FEATURE_WORDS_ARCH_CAPABILITIES

Sebastian Andrzej Siewior (1):
i386: correct cpu_x86_cpuid(0xd)

Tao Xu (2):
i386: Add new model of Cascadelake-Server
i386: Add PKU on Skylake-Server CPU model

include/hw/i386/pc.h | 10 +-
include/sysemu/kvm.h | 2 +
target/i386/cpu.h | 8 ++
target/i386/cpu.c | 279 ++++++++++++++++++++++++++++++++--------
target/i386/kvm.c | 91 +++++++++++++
target/i386/translate.c | 6 -
6 files changed, 333 insertions(+), 63 deletions(-)

--
2.18.0.rc1.1.g3f1ff2140

--
Eduardo