[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86/asm: ELF metadata for simple cases
- To: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 21 Feb 2023 11:56:52 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=T/CZXZxRenR9PER6hQ2CBFDZ1Sg8SZ/wZydxOvUZ4ug=; b=ncxhxEyUz6mJUhhxJ47KHDW7ZPjQ6I57KkRS8hA6BsLJiygwQagEtMDI5zE3ItQjGPEtzHY6fZYEwN+0KqfHNrwhjkU0UwqkGmhzk0691ubnSzeRs9bsF+G4K1RJPcMbzU9/VC8FQKNG12TK2YKvmP4efYe5jO9ifr3yBj/umz7DVrO7bhhU/m+mbEThtqFzNNMKHDDd8rdeWtxBCw1UkN05OCrNAekfncms48bsjjzfJWEuRMyYKibq4alLRab2851U1EmlWUeuTNaXBxh3wOscxnXUztnPaN8PIscf2pu/QsxbPUL4iMyU8Lt/4KNQVy+XdF3tbajO/EIgAMW63Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AWtauqPfFvVWlSABcgw8LeKH9Mk8wk7GamkIo9BwiMlhxhudMA3sXI08QeYHYP49Zr4wcp+4oMfAmpFitb0k5+FqSfl1EqM3+QGFPvyMScaDGayPDZTMWufEFqDKdWkwAvw7ez//ckPK5Xhapn2/rUVYuBok0ZWehxQaXoh8qA9GXDC4YK2NkiiQKLU3MOECM3GEH484l7isnfM4d2nkNGJMnq8wWDbUqnM9V70QODQM44gxV52vLnUow9/DyaEC0BfztAeRcIPGw1CWroS61UspwYQBWycBTtxYtaCfyADdVlc0H+WTD0j6wAuq2tgOCz9oZ72TsTDpSjkYbMwmvQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 21 Feb 2023 10:56:56 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 20.02.2023 12:51, Ross Lagerwall wrote:
>> --- a/xen/arch/x86/clear_page.S
>> +++ b/xen/arch/x86/clear_page.S
>> @@ -16,3 +16,6 @@ ENTRY(clear_page_sse2)
>>
>> sfence
>> ret
>> +
>> + .type clear_page_sse2, @function
>> + .size clear_page_sse2, . - clear_page_sse2
>
> Would it be worth wrapping this pattern in a macro?
Funny you should ask this: Yes, certainly, but we can't quite agree
what shape that macro (or really set of macros) is to take. Hence we
did agree on this minimalistic approach as an intermediate solution.
Jan
|