Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2632855rda; Wed, 25 Oct 2023 08:10:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IES9FcJgeYzZmvuRUXCJo+GBB9BeealaWs7N3oN/vMeRIbJUHfAaysurPtq1DjBFc1FZIdV X-Received: by 2002:a05:6830:12c8:b0:6b7:1d93:72e0 with SMTP id a8-20020a05683012c800b006b71d9372e0mr15604353otq.32.1698246635570; Wed, 25 Oct 2023 08:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698246635; cv=none; d=google.com; s=arc-20160816; b=BuYkw/hCuY37HT19OvgWj8ypE68Gd5vtUR8qh4QJaYio95GFcApgUxPSXAeJNtBXsY e+Wo8Urp0Ogw6GR4cVHELMr0y2dorPsE+V//c/Kgx09NZH9YVLzTcPhfL4O7VXHCdXOT OmWb4aBcbwvMqR/3UZOxCQJukz/qww1DW7YHXyVy+Mn14eJCU7CyT7loLYVzqTUgEUt2 fO5cehv5tbYYLTPYM39B26bfA7jITeOIlEW4iwvGxQxb+dkJvQTfVL+DcLgdfZJNoBRO NkRtsjKjdF/TkAMndrzVxLXCIc9JijdRzk0XKYoGmN9h9zQgliuvxZwEHW/zcWu9cHbD o+vQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qIGA2kckSN+hUhsAoj9eRlcU0dPrY0TWs4rXPe1zDzc=; fh=q22FrE+3HPFqgIfGSDy85ckjMt4+7YeUp/9thyDx+2k=; b=eIJrra+0Va4ldWcxv1mqETkxtanIIyLODK94XDR+FUD+LNBmVbGtVvKSUXw+3f5VCA dOFnmDrlPnFq4GtPVt4lj0n9/k4By5hnS8sueA72yVMex5HP1VgDOfLwP16hUiZ4sETy fD2xvvQTFxSAugPsgqlOs70QffSUTjjrh5aEdEP6HwtooELn6oUX10f96L9BTxpeCnTq hvW8PZRPPBpFSHv1OQaYcO64VfZW1nvEU0V7P+UN8Q73LtkNnLLm++iuBdLlnwFtrpHu tOWOr+szWkgy6DmXZ1U1hDUUIr7rzBErvnnrciE5LTdyRtTcft5nLDyzofCZeBJKgesR qHLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SVtr6NfL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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. [23.128.96.38]) by mx.google.com with ESMTPS id w6-20020a814906000000b0059f7cd152besi11384234ywa.90.2023.10.25.08.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 08:10:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SVtr6NfL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 D0FA181C178D; Wed, 25 Oct 2023 08:10:32 -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 S1344178AbjJYPK0 (ORCPT + 99 others); Wed, 25 Oct 2023 11:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234992AbjJYPKZ (ORCPT ); Wed, 25 Oct 2023 11:10:25 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B533137; Wed, 25 Oct 2023 08:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698246623; x=1729782623; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=h5JI00UNVOxIMLEny8kw2e5sk3c/Y4lPR8sE6MoghvM=; b=SVtr6NfL6tFbGVgA65VUig3Lq7hnL/XH8qNRsRU1p/bCgAtm3LGQVQRf YwqSnKmPpyDwR6EsZRwNniDkdc4nGFcMNzqA6Q4yqKA7m92w363mrPm8C ekKC+9ScUB0wQUWOsqUlmE6sGPyyNBk2tHvkXb+aaL3tW/wI8Jdx5366b g2HqowT1jPGO09Siyz2s/Qg9WF/Pe7eDCr5k8R3tCSc/Apdhk1cx1Fcxx c9e+DBL/20HbfQmIcRNBCko6ELER21aByHLMsJpE/4UXtGDP3yR60Ug+3 zPBJVU96HR01K4vZ1AqQCC5Nv5E1xuAsBKt6KNqTTqd8Y2wZ2ccX642Qk Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="391197318" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="391197318" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 08:10:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="6570949" Received: from mhans-mobl3.amr.corp.intel.com (HELO desk) ([10.252.132.200]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 08:09:02 -0700 Date: Wed, 25 Oct 2023 08:10:01 -0700 From: Pawan Gupta To: Peter Zijlstra Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , 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 v2 1/6] x86/bugs: Add asm helpers for executing VERW Message-ID: <20231025151001.bhia5kxmld5dfgr7@desk> References: <20231024-delay-verw-v2-0-f1881340c807@linux.intel.com> <20231024-delay-verw-v2-1-f1881340c807@linux.intel.com> <20231024103601.GH31411@noisy.programming.kicks-ass.net> <20231025040029.uglv4dwmlnfhcjde@desk> <20231025065818.GB31201@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231025065818.GB31201@noisy.programming.kicks-ass.net> 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 08:10:33 -0700 (PDT) On Wed, Oct 25, 2023 at 08:58:18AM +0200, Peter Zijlstra wrote: > > +.pushsection .rodata > > +.align 64 > > +mds_verw_sel: > > + .word __KERNEL_DS > > + .byte 0xcc > > +.align 64 > > +.popsection > > This should not be in a header file, you'll get an instance of this per > translation unit, not what you want. Agh, sorry I missed it.