Re: [PATCH V5 7/7] x86/entry: Use idtentry macro for entry_INT80_compat

From: Thomas Gleixner
Date: Mon Apr 25 2022 - 06:25:09 EST


On Tue, Apr 12 2022 at 20:15, Lai Jiangshan wrote:
> From: Lai Jiangshan <jiangshan.ljs@xxxxxxxxxxxx>
>
> entry_INT80_compat is identical to idtentry macro except a special
> handling for %rax in the prolog.

Seriously?

> - pushq %rsi /* pt_regs->si */
> - xorl %esi, %esi /* nospec si */

esi is not cleared in CLEAR_REGS. So much for identical.

Thanks,

tglx