[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging-4.20] x86: fix incorrect return value for has_if_pschange_mc



commit 0cb467d86df393fc2c577fd707a951c5dfa5fdc8
Author:     Kevin Lampis <kevin.lampis@xxxxxxxxxx>
AuthorDate: Tue Jan 13 15:47:17 2026 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Jan 13 15:47:17 2026 +0100

    x86: fix incorrect return value for has_if_pschange_mc
    
    The Atom block used to fall through into the Phi block to get to it's
    return false, and this was accidentally dropped with the Phi removal.
    
    Fixes: 85191cf32180 ("x86: drop Xeon Phi support")
    Signed-off-by: Kevin Lampis <kevin.lampis@xxxxxxxxxx>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    master commit: a2a34d76643e49ccc949296c9a45888034e50b55
    master date: 2026-01-12 13:07:36 +0100
---
 xen/arch/x86/hvm/vmx/vmx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c
index 962b7f543c..338dd79422 100644
--- a/xen/arch/x86/hvm/vmx/vmx.c
+++ b/xen/arch/x86/hvm/vmx/vmx.c
@@ -2979,6 +2979,7 @@ static bool __init has_if_pschange_mc(void)
     case 0x75: /* Lightning Mountain */
     case 0x7a: /* Gemini Lake */
     case 0x86: /* Jacobsville */
+        return false;
 
     default:
         printk("Unrecognised CPU model %#x - assuming vulnerable to 
IF_PSCHANGE_MC\n",
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.20



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.