Re: [OpenWrt-Devel] [PATCH 3/5] tools: add iucode-tool

2018-01-17 Thread Syrone Wong
There is another intel ucode generator in Archlinux repo, it seems the code is more elegant and don't require additional dependency. Do you have any idea? https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/intel-ucode Best Regards, Syrone Wong On Thu, Jan 18, 2018 at 3:41

Re: [OpenWrt-Devel] [PATCH 0/5] x86: add support for microcode update

2018-01-17 Thread Florian Fainelli
On January 17, 2018 11:41:01 AM PST, Zoltan HERPAI wrote: >Hi, > >This series will add support for microcode update on x86 targets, >in light of the recent security issues. > >While other distributions use an early initramfs approach to update >the microcode as early as

[OpenWrt-Devel] [PATCH 2/5] firmware: add microcode package for AMD64

2018-01-17 Thread Zoltan HERPAI
Signed-off-by: Zoltan HERPAI --- package/firmware/linux-firmware/x86.mk | 9 + 1 file changed, 9 insertions(+) create mode 100644 package/firmware/linux-firmware/x86.mk diff --git a/package/firmware/linux-firmware/x86.mk b/package/firmware/linux-firmware/x86.mk new

[OpenWrt-Devel] [PATCH 5/5] packages: intel-microcode: update to 20180108

2018-01-17 Thread Zoltan HERPAI
- update microcodes for various CPUs - Implements IBRS/IBPB support and enhances LFENCE: mitigation against Spectre (CVE-2017-5715) - downgrade microcodes for two platforms, due to reasons unknown from Intel Signed-off-by: Zoltan HERPAI ---

[OpenWrt-Devel] [PATCH 0/5] x86: add support for microcode update

2018-01-17 Thread Zoltan HERPAI
Hi, This series will add support for microcode update on x86 targets, in light of the recent security issues. While other distributions use an early initramfs approach to update the microcode as early as possible, in OpenWrt the earliest place where we can do this is preinit. The Intel

[OpenWrt-Devel] [PATCH 4/5] firmware: add microcode package for Intel

2018-01-17 Thread Zoltan HERPAI
Compiling the Intel microcode package results in a microcode.bin and a microcode-64.bin. As we can decide based on the subtarget which should be used, we'll only split the required .bin file with iucode-tool. Instead of using the large microcode.bin/microcode-64.bin, the splitted ucode files

[OpenWrt-Devel] [PATCH 1/5] x86: enable microcode loading for Intel and AMD

2018-01-17 Thread Zoltan HERPAI
Enable for 4.9 and 4.14. Signed-off-by: Zoltan HERPAI --- target/linux/x86/config-4.14 | 5 - target/linux/x86/config-4.9 | 5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/target/linux/x86/config-4.14 b/target/linux/x86/config-4.14 index

[OpenWrt-Devel] [PATCH 3/5] tools: add iucode-tool

2018-01-17 Thread Zoltan HERPAI
Add tool to "compile" Intel microcode files. The tool will be compiled for host (to split the microcode.dat) and for target (to forcibly reload the microcode or scan the system if required). Signed-off-by: Zoltan HERPAI --- package/system/iucode-tool/Makefile | 47

Re: [OpenWrt-Devel] Booting D-Link DNS-313, kernel requirements for OpenWRT?

2018-01-17 Thread Hans Ulli Kroll
Hi Linus On Tue, 16 Jan 2018, Linus Walleij wrote: > Hi folks, > > I managed to boot a v4.16-ish kernel and OpenWRT rootfs > on the D-Link DNS-313 > (reference https://dflund.se/~triad/krad/dlink-dns-313/) interesting device, especially for the VBUS "solution", so I decided to buy for