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

[xen master] x86: fix incorrect return value for has_if_pschange_mc



commit a2a34d76643e49ccc949296c9a45888034e50b55
Author:     Kevin Lampis <kevin.lampis@xxxxxxxxxx>
AuthorDate: Mon Jan 12 13:07:36 2026 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jan 12 13:07:36 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>
---
 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 f4beac192d..b1c37268da 100644
--- a/xen/arch/x86/hvm/vmx/vmx.c
+++ b/xen/arch/x86/hvm/vmx/vmx.c
@@ -3115,6 +3115,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#master



 


Rackspace

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