Re: [PATCH 1/3] x86/microcode/intel: Refactor Intel microcode blob loading

2019-04-05 Thread Thomas Gleixner
On Fri, 5 Apr 2019, Borislav Petkov wrote: > From: Jann Horn > > Change generic_load_microcode() to use the iov_iter API instead of a > clumsy open-coded version which has to pay attention to __user data > or kernel data, depending on the loading method. This allows to avoid > explicit casting b

[PATCH 1/3] x86/microcode/intel: Refactor Intel microcode blob loading

2019-04-05 Thread Borislav Petkov
From: Jann Horn Change generic_load_microcode() to use the iov_iter API instead of a clumsy open-coded version which has to pay attention to __user data or kernel data, depending on the loading method. This allows to avoid explicit casting between user and kernel pointers. Because the iov_iter A