Re: [RFC PATCH 1/1] x86/traps: Get rid of exception handlers' second argument error code

From: Juergen Gross
Date: Fri Aug 04 2023 - 06:35:34 EST


On 04.08.23 12:25, Andrew Cooper wrote:
On 04/08/2023 8:57 am, Xin Li wrote:
I haven't checked Xen implications with this change, i.e., does Xen
hypervisor need to adjust how it passes arguments to PV guests?

This is an internal detail of how Linux handles data on it's stacks,
isn't it?

The Xen code in Linux will need adjustment to match, but this is not a
hypervisor ABI (which obviously can't and won't change).

The only adaption of Xen code will need to happen for the only use of
DEFINE_IDTENTRY_RAW_ERRORCODE() there, and this you have covered in your
patch already.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature