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 505ECC77B6C for ; Thu, 6 Apr 2023 20:52:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232834AbjDFUwj (ORCPT ); Thu, 6 Apr 2023 16:52:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbjDFUwg (ORCPT ); Thu, 6 Apr 2023 16:52:36 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05F4CB0; Thu, 6 Apr 2023 13:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=7Lv6drb3gEaVy64/Alzs7G5KLAupjBD12B3bx6sUEhQ=; b=Bt74+QxU+3R06I+jYD7uFNC17/ E1cJPHW3ucr0St3bSM1ejknGvvR3+AtCE3J8eme6D0Fy0scMhkaAOF1rJbWic1BO2c1aj5PhSGQA7 ypcidG6INsE9F+ysmBtxPH7CgWkdm+VHHiPhTWQoK+j2Tf0njrUC2p452+sOpuSCdeOKTKZ2Ie5Pm lIwHWreo5PEN99i6q3DHI4fxaJyrV32WSXQGweZ58PENVcZaa/sRrz8BuJryzyw8V6t09mFjuTAKN 6326uiemrDXe5/hWppaxCD2HneX+QMeuY+oGRaYPeDOeLzMtuL6DFDjJkC+Bs0hhzl+0hW9fD3LyD OyvcV/vA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pkWaE-000ADg-Ey; Thu, 06 Apr 2023 20:51:50 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 98BAE300274; Thu, 6 Apr 2023 22:51:48 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7A0D42692D85E; Thu, 6 Apr 2023 22:51:48 +0200 (CEST) Date: Thu, 6 Apr 2023 22:51:48 +0200 From: Peter Zijlstra To: Lai Jiangshan Cc: linux-kernel@vger.kernel.org, Lai Jiangshan , "H. Peter Anvin" , Andi Kleen , Andrew Cooper , Andy Lutomirski , Asit Mallick , Cfir Cohen , Dan Williams , Dave Hansen , David Kaplan , David Rientjes , Dirk Hohndel , Erdem Aktas , Jan Kiszka , Jiri Slaby , Joerg Roedel , Juergen Gross , Kees Cook , Kirill Shutemov , Kuppuswamy Sathyanarayanan , Linus Torvalds , Mike Stunes , Raj Ashok , Sean Christopherson , Thomas Gleixner , Tom Lendacky , Tony Luck , kvm@vger.kernel.org, linux-coco@lists.linux.dev, x86@kernel.org, Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [RFC PATCH 2/7] x86/entry: Add IST main stack Message-ID: <20230406205148.GF405948@hirez.programming.kicks-ass.net> References: <20230403140605.540512-1-jiangshanlai@gmail.com> <20230403140605.540512-3-jiangshanlai@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230403140605.540512-3-jiangshanlai@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 03, 2023 at 10:06:00PM +0800, Lai Jiangshan wrote: > diff --git a/arch/x86/kernel/dumpstack_64.c b/arch/x86/kernel/dumpstack_64.c > index f05339fee778..3413b23fa9f1 100644 > --- a/arch/x86/kernel/dumpstack_64.c > +++ b/arch/x86/kernel/dumpstack_64.c > @@ -26,11 +26,12 @@ static const char * const exception_stack_names[] = { > [ ESTACK_MCE ] = "#MC", > [ ESTACK_VC ] = "#VC", > [ ESTACK_VC2 ] = "#VC2", > + [ ESTACK_IST ] = "#IST", > }; Since #IST is not actually a vector, perhaps ditch the '#' ?