OSDN Git Service

x86/microcode/intel: Fix BDW late-loading revision check
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Wed, 24 Jan 2018 02:31:19 +0000 (02:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jan 2018 11:06:07 +0000 (12:06 +0100)
The backport of commit b94b73733171 ("x86/microcode/intel: Extend BDW
late-loading with a revision check") to 4.4-stable deleted a "return true"
statement.  This bug is not present upstream or other stable branches.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/microcode/intel.c

index b428a81..ee011bd 100644 (file)
@@ -1005,6 +1005,7 @@ static bool is_blacklisted(unsigned int cpu)
            c->microcode < 0x0b000021) {
                pr_err_once("Erratum BDF90: late loading with revision < 0x0b000021 (0x%x) disabled.\n", c->microcode);
                pr_err_once("Please consider either early loading through initrd/built-in or a potential BIOS update.\n");
+               return true;
        }
 
        return false;