On 2015-05-25 16:08, Richard Henderson wrote: > On 05/24/2015 04:47 PM, Aurelien Jarno wrote: > >Cc: Alexander Graf <ag...@suse.de> > >Cc: Richard Henderson <r...@twiddle.net> > >Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> > > Sadly, implementing this breaks current kernels. > I did this about two years ago and havn't figured > out what to do about it. > > The silly code in head.S doesn't check for just the > facilities that it needs, it checks for all facilities > that specific processors provide. > > If we don't e.g. pretend that we have HFP, despite the > fact that no one uses it, the kernel won't boot.
How does it breaks? This patch only enable bits corresponding to facility that we fully implement (that's a reason why the patchset doesn't enable LD facility for example). So it should not be a problem, at least I have been able to boot kernels successfully. -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net