diff options
author | Robert Hoo <robert.hu@linux.intel.com> | 2020-08-28 10:23:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:03:07 +0100 |
commit | 0062678e8de3c3d6f7e54853760bfb9ca66f5e64 (patch) | |
tree | fa29ec127e5f7552b4e3772bd13d3b8eda1bd2b5 /drivers/ata/pata_artop.c | |
parent | a1335da6745ede9ce5090723b8fb3964cec3076f (diff) | |
download | linux-stable-0062678e8de3c3d6f7e54853760bfb9ca66f5e64.tar.gz linux-stable-0062678e8de3c3d6f7e54853760bfb9ca66f5e64.tar.bz2 linux-stable-0062678e8de3c3d6f7e54853760bfb9ca66f5e64.zip |
KVM: x86: emulating RDPID failure shall return #UD rather than #GP
[ Upstream commit a9e2e0ae686094571378c72d8146b5a1a92d0652 ]
Per Intel's SDM, RDPID takes a #UD if it is unsupported, which is more or
less what KVM is emulating when MSR_TSC_AUX is not available. In fact,
there are no scenarios in which RDPID is supposed to #GP.
Fixes: fb6d4d340e ("KVM: x86: emulate RDPID")
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Message-Id: <1598581422-76264-1-git-send-email-robert.hu@linux.intel.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ata/pata_artop.c')
0 files changed, 0 insertions, 0 deletions