[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 09/10] x86: use / "support" UDB
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Fri, 5 Dec 2025 12:40:16 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LD2jy8ayiJN1jBV+QtytvCPGAIM5I536Ev/ERLvCJeo=; b=YcfAQ5zs//UQZI9cH2/oLUgPUztH4yz0aB/RyFNZVevQ8PaarXm75rJtHZv99EcINMI0gNbdOWVRU2KhM5SNIlw0MoCXXDUqL8RAM57nr5R4PIqom91PwZ1n2lE76mQEpgrajbU7sKpALxMNymDM3oDi4E+hM86Tay9nTCNKT048fePWsFpM3L0pqVbsDzZzik8mMYE2WB+pjO3rYpjlbAsCSZ3LdVCeqkBp7ORDayCxNiTMuCEkbKKPeflUH9q2He1sS5scoIdEgPYx5GTpSDvw3Ah05lWbsowoan0yfjbHdObtdNOIBiu/T1m14erawslsM32XMk0qFS6JDy4+dQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XhlRR/Uro2aJyH+mJnZi6wf0H7PEeep6RvL+ql5Tq//DoVyz8REM3IpDD4gmMQSEBnEYp2sMl+38elZwVqdq7JrIb1elyJxo7aehRHCRywLw2ZIdJ5/sMhAXnhbUVWyEemYA4asqbAkn2TmjHl9FfFKs0pvmlST6uTpqA/RtSFPNeCorNjh/PFPXt1porlTvIhDS48UbIWXd2qplozyB6VQiFGcdrCrrqvhuCkGj1t6F1qdkxP0PqKZoiChx53BJNStT7EKq9TXdllI4wB5P1OlNmPzu0gT+3d/TpUumFdlthM0PYlKjfzX9gnfYadaUHyLfR3i3dMHiImpXzUvWGA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: andrew.cooper3@xxxxxxxxxx, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Fri, 05 Dec 2025 12:40:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 05/12/2025 12:01 pm, Andrew Cooper wrote:
> On 24/11/2025 3:01 pm, Jan Beulich wrote:
>> --- a/xen/arch/x86/include/asm/bug.h
>> +++ b/xen/arch/x86/include/asm/bug.h
>> @@ -21,7 +21,7 @@
>>
>> #ifndef __ASSEMBLY__
>>
>> -#define BUG_INSTR "ud2"
>> +#define BUG_INSTR ".byte 0xd6" /* UDB */
>> #define BUG_ASM_CONST "c"
>>
>> #else /* !__ASSEMBLY__ */
>> @@ -37,7 +37,7 @@
>> .error "Invalid BUGFRAME index"
>> .endif
>>
>> - .L\@ud: ud2a
>> + .L\@ud: .byte 0xd6 /* UDB */
P.S. Presumably binutils is going to learn a udb mnemonic at some
point? Can we include a version number in the comment?
I'm trying to organise such comments everywhere so it's less effort to
figure out when we can drop it in the future.
~Andrew
|