Re: [PATCH] x86/AMD: Apply erratum 688 on machines without a BIOS fix
From: Borislav Petkov
Date: Sun Oct 23 2016 - 05:57:38 EST
On Sun, Oct 23, 2016 at 12:39:37PM +0300, sonofagun@xxxxxxxxxxxxxxx wrote:
> Last night attempt failed as patch does not apply to 4.8. Neither 4.8.1 nor
> 4.8.4. Did you switch to 4.9? Please use 4.8 as we prefer to avoid rc
> kernels as we had casualties in the past. Do you want to add changes by
> hand?
Are you sure you did it right?
I saved the mail I sent you before in /tmp/e688.mail.
$ git checkout v4.8.1
Previous HEAD position was e58b634ca001... Merge branch 'tip-microcode-rc1+' into rc1+1
HEAD is now at a7fac751ddba... Linux 4.8.1
$ patch -p1 --dry-run -i /tmp/e688.mail
checking file arch/x86/kernel/amd_nb.c
$ git checkout v4.8.3
Previous HEAD position was a7fac751ddba... Linux 4.8.1
HEAD is now at 1888926ea8d2... Linux 4.8.3
$ patch -p1 --dry-run -i /tmp/e688.mail
checking file arch/x86/kernel/amd_nb.c
$ git checkout v4.8
Previous HEAD position was 1888926ea8d2... Linux 4.8.3
HEAD is now at c8d2bc9bc39e... Linux 4.8
$ patch -p1 --dry-run -i /tmp/e688.mail
checking file arch/x86/kernel/amd_nb.c
Now you only have to remove "--dry-run"
Paste here the error messages when trying to apply it.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.