Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xen
24412-x86-AMD-errata-model-shift.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 24412-x86-AMD-errata-model-shift.patch of Package xen
# HG changeset patch # User Jan Beulich <jbeulich@suse.com> # Date 1323955725 -3600 # Node ID 99caac2e35df41cbece606f663cb5570a62613c3 # Parent ca5f588bd203c9207e0988fcc80f43d83eed5420 x86/AMD: use correct shift count when merging model and stepping ... for legacy errata matching. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> --- a/xen/arch/x86/cpu/amd.c +++ b/xen/arch/x86/cpu/amd.c @@ -216,7 +216,7 @@ int cpu_has_amd_erratum(const struct cpu } /* OSVW unavailable or ID unknown, match family-model-stepping range */ - ms = (cpu->x86_model << 8) | cpu->x86_mask; + ms = (cpu->x86_model << 4) | cpu->x86_mask; while ((range = va_arg(ap, int))) { if ((cpu->x86 == AMD_MODEL_RANGE_FAMILY(range)) && (ms >= AMD_MODEL_RANGE_START(range)) &&
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