Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp29182rdh; Wed, 25 Oct 2023 15:07:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUOebVZrXW9q3iTrfyNQIYYh3KMJRZa1Z8g+mRtaNhdzS6sC1IHGeLbTcJucc6kV4osd0s X-Received: by 2002:a0d:d7c4:0:b0:595:8e80:30ef with SMTP id z187-20020a0dd7c4000000b005958e8030efmr16554753ywd.51.1698271678447; Wed, 25 Oct 2023 15:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698271678; cv=none; d=google.com; s=arc-20160816; b=Skpzv+Yp2ZDvodFpCoSnFHOIRcS36BubMG77PefQkyHNAup4g4KUOzk3GOn0OkWQiD WTtCj2TOxdPQiDnxzTgetgr0llke4tx5z5T2KKqABIvzZDFousidNptmtnd9FnCxUJaH n4vcgRJ8AGobcxiQc4mHbLBNorP2dFDy+UvQUwUUcyk+5BrMnigG0XflTORgcP+6yxdq lefIvBsWikUobcy+jbMTM+okxlmRVSgnGKALEDNwyIv420Kh9azsc7QKHr2ZXGFylaSj TjJAB799odxXmRSZFMv7SXX72TzNQA2CHYLtY+OLRmDC5n2TSWiByTAdAUJ/UY/fFr2/ PM4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=y2KpPnEPCWzIGo71zwqUDZC0PWUi6AU8PgLU7UzQ1/s=; fh=p7ekuMuBKYy6HfUq8fyIfc2tMYhRoZsUjTVXFIuLfSY=; b=MQsjFainrvKvoWbMrUhY/a4FrywYO6SLHchPkBH7UtM87HwgeAL+BgIa1QUqkp//Id V2YsckrwuE6OhZbEwEj6z/2BlnlCElSM04SJZm3w+s9P55/vhKFWLDKwonMryMkyIY61 Zya968yw+fNI9/6L6tHLo1TGTtKM3poRYrtmF3PGLPEHQkOMjBvGXCdo+U5GfD8TR1xM 3xMZcJXTus1nc6xwl/ZMxdv3Q57xyjmdrJQyQZw2DqNceLqAWmPEhjeB4mZt8owxP3qT h5NGGrREyYbMN4l02VlrqueB3KStXjio2mzABi4IEd9gt3AMDZOkz8V67k7QCw/AcTrE dm3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=R3zm3Pv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id z16-20020a81a250000000b005a228b5184fsi13260700ywg.400.2023.10.25.15.07.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 15:07:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=R3zm3Pv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9E83181E9F59; Wed, 25 Oct 2023 15:07:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230306AbjJYWHm (ORCPT + 99 others); Wed, 25 Oct 2023 18:07:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbjJYWHl (ORCPT ); Wed, 25 Oct 2023 18:07:41 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43031181; Wed, 25 Oct 2023 15:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698271659; x=1729807659; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=rVH8e2xYJkm/6qBrfAwjjJPiaUgou/S0L0j6IGkYVcs=; b=R3zm3Pv4id/aMZxuhD9+KIF3eckEHWLnjv4PeMy+VzLD5im1nXRQ/BFm LRTm/Jxg6t6b0l++sbaB3p52YPtxqWRreagKPVi3EQd2+ocoJUnakKYVu JHGh5JIRTRRUKNILeQsBsVHke4hftmaJbzw37dlnonCI+V9/OUgTeIX/P ztNPDFdi2rkqtfDeyxnKUy8JpI/ae8H9L4eS2Y3qv8zn8q2x8eRNUURxF iJhGJXNC/1kFCRIjOnE9GpGs/7eSIswVttthpv7xoYPRsrQEWXvOLO5mz q0E1xnWPRVrSELks8VuF/pBGF+Lza4vKB65Xni2bHtpjyPwdsywvCggVb g==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="391280180" X-IronPort-AV: E=Sophos;i="6.03,252,1694761200"; d="scan'208";a="391280180" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 15:07:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="932518794" X-IronPort-AV: E=Sophos;i="6.03,252,1694761200"; d="scan'208";a="932518794" Received: from kkomeyli-mobl.amr.corp.intel.com (HELO desk) ([10.251.29.139]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 15:07:38 -0700 Date: Wed, 25 Oct 2023 15:07:35 -0700 From: Pawan Gupta To: Andrew Cooper Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Josh Poimboeuf , Andy Lutomirski , Jonathan Corbet , Sean Christopherson , Paolo Bonzini , tony.luck@intel.com, ak@linux.intel.com, tim.c.chen@linux.intel.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvm@vger.kernel.org, Alyssa Milburn , Daniel Sneddon , antonio.gomez.iglesias@linux.intel.com, Alyssa Milburn Subject: Re: [PATCH v3 1/6] x86/bugs: Add asm helpers for executing VERW Message-ID: <20231025220735.gpopnng76klkbuu3@desk> References: <20231025-delay-verw-v3-0-52663677ee35@linux.intel.com> <20231025-delay-verw-v3-1-52663677ee35@linux.intel.com> <8b6d857f-cbf6-4969-8285-f90254bdafc0@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8b6d857f-cbf6-4969-8285-f90254bdafc0@citrix.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 25 Oct 2023 15:07:55 -0700 (PDT) On Wed, Oct 25, 2023 at 10:10:41PM +0100, Andrew Cooper wrote: > > +.align L1_CACHE_BYTES, 0xcc > > +SYM_CODE_START_NOALIGN(mds_verw_sel) > > + UNWIND_HINT_UNDEFINED > > + ANNOTATE_NOENDBR > > + .word __KERNEL_DS > > You need another .align here.  Otherwise subsequent code will still > start in this cacheline and defeat the purpose of trying to keep it > separate. Right. > > +SYM_CODE_END(mds_verw_sel); > > Thinking about it, should this really be CODE and not a data entry? Would that require adding a data equivalent of .entry.text and update KPTI to keep it mapped? Or is there an easier option? > P.S. Please CC on the full series.  Far less effort than fishing the > rest off lore. I didn't realize get_maintainer.pl isn't doing that already. Proposing below update to MAINTAINERS: --- From: Pawan Gupta Date: Wed, 25 Oct 2023 14:50:41 -0700 Subject: [PATCH] MAINTAINERS: Update entry for X86 HARDWARE VULNERABILITIES Add Andrew Cooper to maintainers of hardware vulnerabilities mitigations. Signed-off-by: Pawan Gupta --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2894f0777537..bf8c8707b8f8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -23382,6 +23382,7 @@ M: Thomas Gleixner M: Borislav Petkov M: Peter Zijlstra M: Josh Poimboeuf +M: Andrew Cooper R: Pawan Gupta S: Maintained F: Documentation/admin-guide/hw-vuln/ -- 2.34.1