Re: amd64: much earlier Intel microcode loading

2018-02-06 Thread Christian Weisgerber
On 2018-02-04, Patrick Wildt wrote: >> this diff allows us to load the Intel microcode much earlier. I'm trying to understand the twisty logic here. There are three cases: (1) old rev < update rev => update gets applied (2) old rev == update rev => cpu_ucode_intel_match() returns succe

Re: amd64: much earlier Intel microcode loading

2018-02-04 Thread Mike Larkin
On Mon, Feb 05, 2018 at 11:02:27AM +1300, Patrick Wildt wrote: > On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > > Hi, > > > > this diff allows us to load the Intel microcode much earlier. So far > > we load it after the CPUs have identified and then have to update the > > CPU fl

Re: amd64: much earlier Intel microcode loading

2018-02-04 Thread Patrick Wildt
On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > Hi, > > this diff allows us to load the Intel microcode much earlier. So far > we load it after the CPUs have identified and then have to update the > CPU flags afterwards. This is not good since we have to assume that > those upda

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Patrick Wildt
On Wed, Jan 31, 2018 at 07:51:08PM +0100, Jeremie Courreges-Anglas wrote: > On Wed, Jan 31 2018, Patrick Wildt wrote: > > On Wed, Jan 31, 2018 at 09:46:52AM -0800, Mike Larkin wrote: > >> On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > >> > Hi, > >> > > >> > this diff allows us t

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Jeremie Courreges-Anglas
On Wed, Jan 31 2018, Patrick Wildt wrote: > On Wed, Jan 31, 2018 at 09:46:52AM -0800, Mike Larkin wrote: >> On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: >> > Hi, >> > >> > this diff allows us to load the Intel microcode much earlier. So far >> > we load it after the CPUs have i

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Patrick Wildt
On Wed, Jan 31, 2018 at 09:46:52AM -0800, Mike Larkin wrote: > On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > > Hi, > > > > this diff allows us to load the Intel microcode much earlier. So far > > we load it after the CPUs have identified and then have to update the > > CPU flag

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Mike Larkin
On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > Hi, > > this diff allows us to load the Intel microcode much earlier. So far > we load it after the CPUs have identified and then have to update the > CPU flags afterwards. This is not good since we have to assume that > those upda

amd64: much earlier Intel microcode loading

2018-01-31 Thread Patrick Wildt
Hi, this diff allows us to load the Intel microcode much earlier. So far we load it after the CPUs have identified and then have to update the CPU flags afterwards. This is not good since we have to assume that those updates can remove and add instructions and other features. We need to load it