Re: [patch 05/15] x86/entry: Provide IDTEnTRY_SYSVEC

From: Thomas Gleixner
Date: Wed Feb 26 2020 - 15:15:25 EST


Andy Lutomirski <luto@xxxxxxxxxx> writes:

> On 2/25/20 2:47 PM, Thomas Gleixner wrote:
>> Provide a IDTENTRY variant for system vectors to consolidate the differnt
>> mechanisms to emit the ASM stubs for 32 an 64 bit.
>
> $SUBJECT has an obvious typo.

Indeed.

>> --- a/arch/x86/entry/entry_32.S
>> +++ b/arch/x86/entry/entry_32.S
>> @@ -1261,6 +1261,10 @@ SYM_CODE_START_LOCAL(asm_\cfunc)
>> SYM_CODE_END(asm_\cfunc)
>> .endm
>>
>> +.macro idtentry_sysvec vector cfunc
>> + idtentry \vector asm_\cfunc \cfunc has_error_code=0
>> +.endm
>
> irq_stack?

System vectors have never used irq stacks.

Thanks,

tglx