Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
xen.34724
6627a5fc-x86-MTRR-inverted-WC-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6627a5fc-x86-MTRR-inverted-WC-check.patch of Package xen.34724
# Commit 77e25f0e30ddd11e043e6fce84bf108ce7de5b6f # Date 2024-04-23 14:13:48 +0200 # Author Jan Beulich <jbeulich@suse.com> # Committer Jan Beulich <jbeulich@suse.com> x86/MTRR: correct inadvertently inverted WC check The ! clearly got lost by mistake. Fixes: e9e0eb30d4d6 ("x86/MTRR: avoid several indirect calls") Reported-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Roger Pau Monné <roger.pau@citrix.com> --- a/xen/arch/x86/cpu/mtrr/main.c +++ b/xen/arch/x86/cpu/mtrr/main.c @@ -316,7 +316,7 @@ int mtrr_add_page(unsigned long base, un } /* If the type is WC, check that this processor supports it */ - if ((type == MTRR_TYPE_WRCOMB) && mtrr_have_wrcomb()) { + if ((type == MTRR_TYPE_WRCOMB) && !mtrr_have_wrcomb()) { printk(KERN_WARNING "mtrr: your processor doesn't support write-combining\n"); return -EOPNOTSUPP;
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