[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86/entry: Use 32bit XOR in handle_ist_exception
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 21 Nov 2023 09:56:55 +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=UnlC8UA23/ciCSqNa6QeI7CuWezKAUNAbchrvMk+qnA=; b=hDCazU/9NoYMkxxLmCJc9NCIrLR4UgzeZFyvzCxBgQusQt5a/lG82N4nzBXcAKYeHj59NhemShgzOsQhfMPmxHPlSgBXbxUgBXRx4Od4dDRN/Np67qBq2GIqvSQQc0UAtrEhHt3pEue3TzN3AzCgzrOV6vSmISKlVwDuR7VulcLKkvN1dyVs8xZCleqGFxDvuiKlkBUasTXHdjSLXtph/8JVSl2mjaEkFzfHJaNi0YSlf2t+ZnUkqQ9LCeHaiZpzwq5fRP4l64bRlF7TRq6sCIA3m4GFtBQSKjqtlnEF3ef9zJ6++PmIIX+iUo6nRAg2KqOFRgnNFV7wzezoV/amNg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MAAT85VsDpZ+9aQPvmhzP32aASVbDrelogK8ovG0UPDgYSk8fw8UGqGpsr7K1aC9bSRKvUbfGNG7l8KtqsvipQ+EXOVVUzfTEltrHuuJmf1VY3LbXnlOEH3fMBb9P/2KOMPumiK26D8g+6p8t5/VgkSBMOYJPDj5duP9Gq7nrkGr5ZXFGsDTSj0xRQG8Tj34lOV2ZSww5sFH5DNHnLKcKiV65q52j2fVNnNKpryBUgioavr1mqH9hcjZyV84vlNzwZpwZVvvOeKlNyHIEUPqbaWl52bjjhob12dO6rBVTMBYvzIzi3UizYtV1o9IV+JqjZhzgaDneUWPnrrVs0ijcw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Autocrypt: addr=jbeulich@xxxxxxxx; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nxJuMBS8rnNg22uyfAgmBKNLpLgAGVRMZGaGoJObGf72s6TeIqKJo/LtggAS9qAUiuKVnygo 3wjfkS9A3DRO+SpU7JqWdsveeIQyeyEJ/8PTowmSQLakF+3fote9ybzd880fSmFuIEJldWxp Y2ggPGpiZXVsaWNoQHN1c2UuY29tPsJgBBMRAgAgBQJZN5xEAhsDBgsJCAcDAgQVAggDBBYC AwECHgECF4AACgkQoDSui/t3IH4J+wCfQ5jHdEjCRHj23O/5ttg9r9OIruwAn3103WUITZee e7Sbg12UgcQ5lv7SzsFNBFk3nEQQCACCuTjCjFOUdi5Nm244F+78kLghRcin/awv+IrTcIWF hUpSs1Y91iQQ7KItirz5uwCPlwejSJDQJLIS+QtJHaXDXeV6NI0Uef1hP20+y8qydDiVkv6l IreXjTb7DvksRgJNvCkWtYnlS3mYvQ9NzS9PhyALWbXnH6sIJd2O9lKS1Mrfq+y0IXCP10eS FFGg+Av3IQeFatkJAyju0PPthyTqxSI4lZYuJVPknzgaeuJv/2NccrPvmeDg6Coe7ZIeQ8Yj t0ARxu2xytAkkLCel1Lz1WLmwLstV30g80nkgZf/wr+/BXJW/oIvRlonUkxv+IbBM3dX2OV8 AmRv1ySWPTP7AAMFB/9PQK/VtlNUJvg8GXj9ootzrteGfVZVVT4XBJkfwBcpC/XcPzldjv+3 HYudvpdNK3lLujXeA5fLOH+Z/G9WBc5pFVSMocI71I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL
- Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 21 Nov 2023 08:57:12 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 20.11.2023 20:57, Andrew Cooper wrote:
> This is a micro-optimsiation for Silvermont microarchitectures, which don't
> recognise the 64bit form as a zeroing idiom.
>
> No functional change.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
For my education, ...
> --- a/xen/arch/x86/x86_64/entry.S
> +++ b/xen/arch/x86/x86_64/entry.S
> @@ -1027,7 +1027,7 @@ handle_ist_exception:
> * Interrupted guest context. Clear the restore value for xen_cr3
> * and copy the context to stack bottom.
> */
> - xor %r15, %r15
> + xor %r15d, %r15d
> xor %ebx, %ebx
> GET_CPUINFO_FIELD(guest_cpu_user_regs,di)
> movq %rsp,%rsi
>
> base-commit: fa2da5bce90b3777aa7a323e1cf201c97b56d278
... while I understand this, what ...
> prerequisite-patch-id: a9e4e1e34d08e876d1fcb3299c6d563086768722
> prerequisite-patch-id: 703590f2c99382f6509c94bb5955f47ab2d7c57d
... are these about? They look like they would be naming prereq changes
which aren't committed yet, but (a) base-commit names the tip of the
staging branch and (b) the hashes would be meaningless without a repo
reference if they pointed at something that wasn't committed yet.
Jan
|