Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
xen.30824
xsa435-0-05.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xsa435-0-05.patch of Package xen.30824
From 69e1472d21cf7e5cf0795ef38b99d00de78a910e Mon Sep 17 00:00:00 2001 From: Andrew Cooper <andrew.cooper3@citrix.com> Date: Mon, 7 Jun 2021 13:38:53 +0100 Subject: x86/cpuid: Drop special_features[] While the ! annotation is useful to indicate that something special is happening, an array of bits is not. Drop it, to prevent mistakes. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> (cherry picked from commit 69e1472d21cf7e5cf0795ef38b99d00de78a910e) x86/cpuid: Half revert "x86/cpuid: Drop special_features[]" xen-cpuid does print out the list of special features, and this is helpful to keep. Fixes: 69e1472d21cf ("x86/cpuid: Drop special_features[]") Reported-by: Jan Beulich <JBeulich@suse.com> Reported-by: Sander Eikelenboom <linux@eikelenboom.it> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> (cherry picked from commit 0ba0663b1b32d9351890dfd02bdebb3d238897bd) --- a/xen/arch/x86/cpuid.c +++ b/xen/arch/x86/cpuid.c @@ -12,7 +12,6 @@ #include <asm/xstate.h> const uint32_t known_features[] = INIT_KNOWN_FEATURES; -const uint32_t special_features[] = INIT_SPECIAL_FEATURES; static const uint32_t pv_featuremask[] = INIT_PV_FEATURES; static const uint32_t hvm_shadow_featuremask[] = INIT_HVM_SHADOW_FEATURES; @@ -1033,7 +1032,6 @@ void guest_cpuid(const struct vcpu *v, u static void __init __maybe_unused build_assertions(void) { BUILD_BUG_ON(ARRAY_SIZE(known_features) != FSCAPINTS); - BUILD_BUG_ON(ARRAY_SIZE(special_features) != FSCAPINTS); BUILD_BUG_ON(ARRAY_SIZE(pv_featuremask) != FSCAPINTS); BUILD_BUG_ON(ARRAY_SIZE(hvm_shadow_featuremask) != FSCAPINTS); BUILD_BUG_ON(ARRAY_SIZE(hvm_hap_featuremask) != FSCAPINTS); --- a/xen/include/asm-x86/cpuid.h +++ b/xen/include/asm-x86/cpuid.h @@ -14,7 +14,6 @@ #include <public/sysctl.h> extern const uint32_t known_features[FSCAPINTS]; -extern const uint32_t special_features[FSCAPINTS]; void init_guest_cpuid(void);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor