Messages in this thread | | | Date | Tue, 14 Jan 2014 08:30:31 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86, CPU, AMD: Add workaround for family 16h, erratum 793 |
| |
On 01/14/2014 08:27 AM, Borislav Petkov wrote: > From: Borislav Petkov <bp@suse.de> > > This adds the workaround for erratum 793 as a precaution in case not > every BIOS implements it. This addresses CVE-2013-6885. > > Signed-off-by: Borislav Petkov <bp@suse.de>
> + > +#define MSR_AMD_LS_CFG 0xc0011020 > + /* F16h, models 00h-0fh, erratum 793 */ > + if (c->x86 == 0x16 && c->x86_model <= 0xf) {
Please put MSR_AMD_LS_CFG in msr-index.h or at least at the top of the file, and put the CVE reference in the comment.
Otherwise, looks good.
-hpa
| |