From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63C5FC00140 for ; Fri, 5 Aug 2022 18:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241032AbiHESey (ORCPT ); Fri, 5 Aug 2022 14:34:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241378AbiHESev (ORCPT ); Fri, 5 Aug 2022 14:34:51 -0400 Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84D227AC25 for ; Fri, 5 Aug 2022 11:34:50 -0700 (PDT) Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oK29p-0000cd-8o; Fri, 05 Aug 2022 14:34:49 -0400 Message-ID: <28914dc436a3f8b3ef39bb5d24b2dbc21cff180e.camel@surriel.com> Subject: Re: [RFC PATCH 2/5] entry: Add calls for save/restore auxiliary pt_regs From: Rik van Riel To: ira.weiny@intel.com, Borislav Petkov , Dave Hansen Cc: Dave Hansen , x86@kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Date: Fri, 05 Aug 2022 14:34:48 -0400 In-Reply-To: <20220805173009.3128098-3-ira.weiny@intel.com> References: <20220805173009.3128098-1-ira.weiny@intel.com> <20220805173009.3128098-3-ira.weiny@intel.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-CBglU9idFPVSVkUgby26" User-Agent: Evolution 3.42.4 (3.42.4-1.fc35) MIME-Version: 1.0 Sender: riel@shelob.surriel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-CBglU9idFPVSVkUgby26 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2022-08-05 at 10:30 -0700, ira.weiny@intel.com wrote: > From: Ira Weiny >=20 > Some architectures have auxiliary pt_regs space available to store > information on the stack during exceptions.=C2=A0 This information is > easier > to obtain and store within C code rather than in arch specific > assembly. >=20 > Define empty calls to architecture specific save and restore > auxiliary > pt_regs functions.=C2=A0 Call these functions on generic entry/exit. >=20 > NOTE: Due to the split nature of the Xen exit code > irqentry_exit_cond_resched() requires an unbalanced call to > arch_restore_aux_pt_regs(). >=20 > Cc: Rik van Riel > Cc: Dave Hansen > Cc: Borislav Petkov > Signed-off-by: Ira Weiny >=20 Acked-by: Rik van Riel --=20 All Rights Reversed. --=-CBglU9idFPVSVkUgby26 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAmLtYskACgkQznnekoTE 3oNJzgf/dq+ctvpJyQvpn3EdDgKiNPW+eCTFYvQHZPXLzrUhcyJf0kzB//4r03QI xcfzCBuV/igrUS8LD+SqT9KYCH4IpanQrvuH5KE7NIzA2FuTsvOvAwVAqD03jVRY KIwvpM+Veamrscn6d013rTOpujh2fgStq6ckH0rHopFsVFEBeOsuj+tu3dLsU9e6 4I30R+/UELurMUBIt2cQFLcyh2Sf87BJ2owelkq/2hPgqsay0VGV4GaRykyYI7hK RRvpw1ugWy2saqJhF9AgdZBihtjHBE7uqSXhvzmvzd1+VH7vDU8NOMoA3sBRJIYy GW4aWaaIR/867n6s5hZPjj7kndy+wQ== =+cai -----END PGP SIGNATURE----- --=-CBglU9idFPVSVkUgby26--