On Fri, 2022-08-05 at 10:30 -0700, ira.weiny@intel.com wrote: > From: Ira Weiny > > Auxiliary pt_regs space needs to be manipulated by the generic > entry/exit code. > > Ideally irqentry_exit() would take care of handling any auxiliary > pt_regs on exit.  Unfortunately, irqentry_exit() is not the only exit > from exception path.  The call to irqentry_exit_cond_resched() from > xen_pv_evtchn_do_upcall() bypasses irqentry_exit(). > > Make irqentry_exit_cond_resched() symmetrical with irqentry_enter() > by > passing pt_regs to it.  This makes irqentry_exit_cond_resched() > capable > of handling auxiliary pt_regs in future patches. > > Cc: Rik van Riel > Cc: Dave Hansen > Cc: Borislav Petkov > Signed-off-by: Ira Weiny Acked-by: Rik van Riel -- All Rights Reversed.