Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2028299rwb; Fri, 5 Aug 2022 11:52:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR4GsnONQ/1yS/qfFlT6CPN39WX3pboxAtadB17r5PNqjY3Al8nYN4EWwUz3kno6NHh/8F9I X-Received: by 2002:a17:90a:ac0e:b0:1f3:2507:b532 with SMTP id o14-20020a17090aac0e00b001f32507b532mr9282516pjq.48.1659725541353; Fri, 05 Aug 2022 11:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659725541; cv=none; d=google.com; s=arc-20160816; b=fvLb12NNgYSQKjHjYwtzKe6kYpEGTucVGB4cxUnPCXFUDx1JE7TGqqnsS3a5BlkkMU WxYbcsg578lIgMV+UVuKyVoCLWk0IpcN3uf5DohYJcqXiQ1873wKYdVFMzAhaBkcI2+c kMiSpKkh30pJFjrCKlKP37pM7ifEn80EYA3tvjuV+T1YDIQuO1TUdzYMhYWqLllPhecj PizGnUpv8f6FZEx+KUWGhtI8c24B3oXw7VY5tN49DgycGmi3PJjTymju9j3O5QAFJaEE 0N88dOSdk+v/2NIbkgCxIhPRDM/ZYsnt34gFtdpWq6jcMiD0IERAvzQbuy0N7QydNBPa pidw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=Ceym5zKFIkIeRYXFTZqelM4pFoIsglS4WK5zvERwUnY=; b=BimDkP/HxrDIWJTTFFDGBIXxyuaWEqyXQ9KfoLizdzx+W+L7OKAWPTKRV1o0pzElCD iML47yZByze12c552mP5sUy/UiKbyUX5CfDENQa0hWejKUIXtMuXj0/1tWjjNcb2JzlX JaTnvdVs/IguqlJI/NYsmx0N+m6BZbWVBWzPhm96ndfF/ltt6jQG+QCjm6PlH/iq9JWu X+P380edXlq/6LE9VYfkrrN8ZPfst/sO0Xw17ErfYRHYszVQnWrRD9+mopFoY7gPK/Bu HCei6Bh0xXfDx4h8BB58JsF4FY0U6ny1v5wb4RL0zi53+kLsUjhgkv8ZL+8VnYTV8IFh yrYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l189-20020a633ec6000000b0041bd586064fsi705424pga.133.2022.08.05.11.52.08; Fri, 05 Aug 2022 11:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234104AbiHESqx (ORCPT + 99 others); Fri, 5 Aug 2022 14:46:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241416AbiHESqv (ORCPT ); Fri, 5 Aug 2022 14:46:51 -0400 Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1BBC1EC5C for ; Fri, 5 Aug 2022 11:46: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 1oK2LR-0007nN-Bx; Fri, 05 Aug 2022 14:46:49 -0400 Message-ID: <002c12c92bf17fab467c28660abf933e12709183.camel@surriel.com> Subject: Re: [RFC PATCH 5/5] x86/entry: Store CPU info on exception entry From: Rik van Riel To: ira.weiny@intel.com, Borislav Petkov , Dave Hansen Cc: x86@kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Date: Fri, 05 Aug 2022 14:46:48 -0400 In-Reply-To: <20220805173009.3128098-6-ira.weiny@intel.com> References: <20220805173009.3128098-1-ira.weiny@intel.com> <20220805173009.3128098-6-ira.weiny@intel.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ky+2NogySQXq+2iwZg1g" User-Agent: Evolution 3.42.4 (3.42.4-1.fc35) MIME-Version: 1.0 Sender: riel@shelob.surriel.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-ky+2NogySQXq+2iwZg1g 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 > The CPU information of an exception is useful in determining where > bad > CPUs are in a large data center. >=20 > Define arch_{save|restore}_auxiliary_pt_regs() and set > ARCH_HAS_PTREGS_AUXILIARY default to yes. >=20 > Store the CPU on exception entry and use it later. >=20 > Cc: Rik van Riel > Suggested-by: Borislav Petkov > Suggested-by: Dave Hansen > Signed-off-by: Ira Weiny Acked-by: Rik van Riel --=20 All Rights Reversed. --=-ky+2NogySQXq+2iwZg1g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAmLtZZkACgkQznnekoTE 3oMPfwf/SzHHY5MJ9SXgHddmkMiQqg5au3t7boXsCeXuiSBrqw8wb1anemZvfAlG hAqzfzx0HADaxXpGcoLnhIgv0QqXWMmpwlp+JkTyUnuZQiNU6OWKiWLhqC+mQduD z1C0uZhIOZc7nadcRXIv6ZN3y26SclRQWqz54GRvuOSB/XvefCYwfhlt+OKnzQn1 lp/GQOffG5IzF4KeyiiXOQBJqhUfWwYTC8kDNdjfjdj2Dt+bbGYyyq+3XDp44Ziq YvzP790hb1nPdCCvNYJxVLTqaNUb1yIPpwCF9zQNCEOLNM3gsMn0oZJJFsk1VqPY nzvdZmntoZdznMjbZ3MdfF6XDbQVpQ== =oo38 -----END PGP SIGNATURE----- --=-ky+2NogySQXq+2iwZg1g--