On Thu, 27 Mar, at 03:10:38PM, Ricardo Neri wrote:
> It may be possible that EFI firmware wants to use the FPU. Thus, in such a 
> case,
> the kernel EFI runtime services need to make sure that they save and restore 
> the
> FPU context.
> 
> Additionally, several FPU internal functions require alternatives to be in 
> place
> when running. Some of the FPU context save/restore instances that this series
> implements may occur early during boot; before the alternatives have run.
> Several FPU internal functions are updated to use the alternatives-safe 
> variant
> of static_cpu_has. The performance penalty is negligible as the impacted
> functions are not performance-critical.
> 
> In order to prepare to implement the FPU context save/restore, this series 
> also
> reworks many of the efi_call macros. The code will also be more readable and
> continue to be reusable between x86_64 and i386.

Thanks Ricardo, I've picked these up. I'll merge them into my 'next'
branch once the merge window closes.

-- 
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to