[PATCH 0/2] x86/Xen/32: xen_iret_crit_fixup adjustments

From: Jan Beulich
Date: Mon Nov 11 2019 - 09:30:47 EST


The first patch here fixes another regression from 3c88c692c287
("x86/stackframe/32: Provide consistent pt_regs"), besides the
one already addressed by
https://lists.xenproject.org/archives/html/xen-devel/2019-10/msg01988.html.
The second patch is a minimal bit of cleanup on top.

1: make xen_iret_crit_fixup independent of frame layout
2: simplify xen_iret_crit_fixup's ring check

Jan