Re: [PATCH 2/3] x86/entry: Rework the exception entrypoints

2023-02-21 Thread Jan Beulich
On 20.02.2023 12:59, Andrew Cooper wrote: > This fixes two issues preventing livepatching. First, that #PF and NMI fall > through into other functions, I thought this was deliberate, aiming at avoiding the unconditional branch for the most commonly taken path each. I'm not really opposed to the c

[PATCH 2/3] x86/entry: Rework the exception entrypoints

2023-02-20 Thread Andrew Cooper
This fixes two issues preventing livepatching. First, that #PF and NMI fall through into other functions, and second to add ELF metadata. Use a macro to generate the entrypoints programatically, rather than opencoding them all. Switch to using the architectural short names. Remove the DECLARE_T