lkml.org 
[lkml]   [2022]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 1/5] x86/microcode/intel: Check against CPU signature before saving microcode

* Ashok Raj <ashok.raj@intel.com> wrote:

> Cc: stable@vger.kernel.org

Not sure the series justifies stable - there's like a ton of things that
could go wrong with a series like this & we want to have some serious
testing first.

> list_for_each_entry_safe(iter, tmp, &microcode_cache, plist) {
> mc_saved_hdr = (struct microcode_header_intel *)iter->data;
> - sig = mc_saved_hdr->sig;
> - pf = mc_saved_hdr->pf;
>
> - if (find_matching_signature(data, sig, pf)) {
> + sig = uci->cpu_sig.sig;
> + pf = uci->cpu_sig.pf;
> +
> + /*
> + * Compare the current CPUs signature with the ones in the

s/CPUs
/CPU's

Thanks,

Ingo

\
 
 \ /
  Last update: 2022-08-17 09:44    [W:0.166 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site