Re: [PATCH 2/7] x86/enter: MACROS to set/clear IBRS

From: Dave Hansen
Date: Thu Jan 04 2018 - 17:23:49 EST


On 01/04/2018 02:21 PM, Tim Chen wrote:
>> Does this really have to live outside of arch/x86/entry/ ?
>>
> There are some inline C routines later in this file
> that will be needed by other functions. Want to consolidate
> them in the same file.

We could put all of the assembly into calling.h along with the PTI
assembly. Seems as sane a place as anywhere else to put it.