[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] x86/suspend: Don't save/restore %cr8
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Jan Beulich <JBeulich@xxxxxxxx>
- Date: Tue, 16 Jul 2019 07:03:03 +0000
- Accept-language: en-US
- 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-SenderADCheck; bh=SYvxEuQLOu0lyK2FtjnBl0KAVRSwQa9eT0uuLWfEsAE=; b=fN4qRkfhuQqb/2G+jGG/v9KGlNzoY3+Ub2/FyLssUzuriPo94SE/CfhZWuNdAtXzKvp+/l2u6pWtXap2W2IzHpE2RgKCd4SeQvDXPNuXobFP1fhO6fZlGc76ZByviRthDEow0MVzDk6JG67CX2uDbQsVPqKkdolWMr84s/xTK8Dp+pjZqLtUAdqk14Z0AzuMhdU4oOI9VD+U6VQQpqIW2wkmjAaWvw4sKb7lCmBzQHV1P1FVEy/uzOm2MkjaBLzNGCdsYndmfSt+aRvzRjCfHv1cclV/AYfB63v2rdyDyDkJxemSsNSkytVc36eAwegC2EO1E8yIlFx8AuvjBWfLnA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JxYr2vulpOTIDv4KuUPyTxZq+ttJ2yd2tplIzIg1Iqbti5taBJDfJ8te6w8/stNfVNay1u18QFvnP78e9eih+8rrnMonQRVJZw68wHjItE5sov8S15HImWmpm8B9ZcYLR/1XOQH6jvfTghnjpyL4M7nHXFEbf3jboFfMXYMyyUK2H5OTVgippDhFq/kga1eqjeySLAMYHWV+Uma2+R2uPj6A4XGab+vrvh7JO3dqDS0FvLh7MPUMKo9Jc3vXtNtK0sA5n97dbR+fRLiJMNn3hMmzCGwCZhnngQTZJNpYQRqxMpfmhjcJvtUoXZ9ezvkEiL3L+gINY2wS6Qk6BhNwIA==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
- Cc: Juergen Gross <JGross@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Tue, 16 Jul 2019 07:05:36 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHVOzCCL4NU7PpQg0qA3GejtET0YqbM0psA
- Thread-topic: [PATCH] x86/suspend: Don't save/restore %cr8
On 15.07.2019 19:10, Andrew Cooper wrote:
> %cr8 is an alias of APIC_TASKPRI, which is handled by
> lapic_{suspend,resume}() with the rest of the Local APIC state. Saving
> and restoring the TPR state in isolation is not a clever idea.
>
> Drop it all.
>
> While editing wakeup_prot.S, trim its include list to just the headers
> which are used, which is precicely none of them.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|