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 =>

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

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

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, > >> > > >> >

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

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

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

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