Re: [patch V4 part 3 29/29] x86/entry/32: Convert IRET exception to IDTENTRY_SW

Alexandre Chartre
2020-05-07T16:49:23Z

On 5/5/20 3:44 PM, Thomas Gleixner wrote:
> From: Thomas Gleixner <tglx@linutronix.de>
>
> Convert the IRET exception handler to IDTENTRY_SW. This is slightly
> different than the conversions of hardware exceptions as the IRET exception
> is invoked via an exception table when IRET faults. So it just uses the
> IDTENTRY_SW mechanism for consistency. It does not emit ASM code as it does
> not fit the other idtentry exceptions.
>
> - Implement the C entry point with DEFINE_IDTENTRY_SW() which maps to
> DEFINE_IDTENTRY()
> - Fixup the XEN/PV code
> - Remove the old prototyoes
> - Remove the RCU warning as the new entry macro ensures correctness
>
> No functional change.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>

For all patches of part 3:

Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>

alex