Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1280768rdb; Fri, 1 Dec 2023 11:38:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4XhAf7HL9Ic+Ssbej90s/bOPdbZDjaTXYJhz+FMxTUjrZXPcSrgxcxGG5I8jvocapCc3q X-Received: by 2002:a17:902:9a82:b0:1cf:c618:adc8 with SMTP id w2-20020a1709029a8200b001cfc618adc8mr56539plp.7.1701459497858; Fri, 01 Dec 2023 11:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701459497; cv=none; d=google.com; s=arc-20160816; b=BYtH4MrRY51UZJTB7hsOqXK1wncXLvgSkRLW2jx2ufPQfVRXBFLz3UdVocCHmbEF8L TxVS/RXA3Qh/8echpXd/5Y1yL6/8jvI2REFqRPXQgisqtYYnz/22Q2TA/JRp/1H6LO1i ch6PwTg7XFZM2A7MdfWspOLxBbf+9Rb7rZHMVOAF82Tno7hngAnPaEBVuNez35Wnt/oT rAHNjN0r5IlrIM9YJHT4jazRNUGUwt2DVgNlQjf0LiQMSdWu6O2HYtW8m4t5z05Cgr4j Qf7x74mNI1SV3Epeucny+O2hwj83/ikvHhSx0vu6QcndOOV/ZaDZsc/83wKdTFa7+gpG q7Fw== 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=4OHqUZOe37jpXQQqfjJExyVHszpKzMjJVePoJL6oVj4=; fh=EfOxJZb1qBPTEEjWCNl75TvJvipHzg22bsjibhbhswI=; b=d3JBRyN9bpj3h97A3hDyKFbpRW5AK4tG0v0AywOVoKjEDcWeELROLRs5mYeAJvzSD2 yCnkaOP4BsI2Z+niOmXRDJNO9t6ebb0OhZL3F3alCQ1GbXzg2cX2yonk+W60KY5qxcMZ xeBH+VTdSYQhkJeBZhniGDD8YGvT4TGcD3KtHG3SmdEr/H5uX0CWKH4YUEIOoweTf5M2 XyPfkQz+TWvkT/eqRFjFw7WKRTrV6H3z0Xsr2tA6ZzBs423w2izMkgO+JdwUzZZ+zI9/ XeePgmnhhhYvHaVDjEiKmJg0W2j8MB4smhF1ff4YovTZEs57ymwMZQP5ew1f3vzaYf8g jTWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JjxDnlKv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id be7-20020a656e47000000b005b7160263efsi3946274pgb.489.2023.12.01.11.38.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 11:38:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JjxDnlKv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6BD11813555D; Fri, 1 Dec 2023 11:38:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379524AbjLAThn (ORCPT + 99 others); Fri, 1 Dec 2023 14:37:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379411AbjLAThl (ORCPT ); Fri, 1 Dec 2023 14:37:41 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D564128 for ; Fri, 1 Dec 2023 11:37:48 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 483F9C433C9; Fri, 1 Dec 2023 19:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701459468; bh=KdVQmlMNK9VXP9HFIu2QT1p2mdpD1OBOQPPhAz2pg08=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JjxDnlKvyDQpbAfh092/uwT5swfIUKguaSbKYeBy4d0GaR7Uk+qzliJlFl6Uvcyb6 +wYbjoLol29F9Y0kPWPuLg96ugn+JPoP5vWwCKDD5d4cFb9F3Wf/QyDOTrpXWTUHon KSS9c28X3t2GEApXRs2hWu2gxOClE9+1zWdCoFZIAi+irbqDG1J3cI4Npay6FkxsI2 hW8hCKDYZJI7INF8VoVWCHZC4fnitrSdBXNBJ/Ot+Iq92FY/ZWZs1cEVw1SEzujK3J iOi7/r2EwPADi4tMKzmw38/SVNCPZw0smjnvBIAfoGe826M373VnC94tQ0i2NsmraA ++A/5J3ovt5/Q== Date: Fri, 1 Dec 2023 11:36:57 -0800 From: Josh Poimboeuf To: Pawan Gupta Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Andy Lutomirski , Jonathan Corbet , Sean Christopherson , Paolo Bonzini , tony.luck@intel.com, ak@linux.intel.com, tim.c.chen@linux.intel.com, Andrew Cooper , Nikolay Borisov , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvm@vger.kernel.org, Alyssa Milburn , Daniel Sneddon , antonio.gomez.iglesias@linux.intel.com, Greg Kroah-Hartman , Alyssa Milburn Subject: Re: [PATCH v4 1/6] x86/bugs: Add asm helpers for executing VERW Message-ID: <20231201193657.mvzslo4nlcbuv2q4@treble> References: <20231027-delay-verw-v4-0-9a3622d4bcf7@linux.intel.com> <20231027-delay-verw-v4-1-9a3622d4bcf7@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231027-delay-verw-v4-1-9a3622d4bcf7@linux.intel.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 01 Dec 2023 11:38:15 -0800 (PST) On Fri, Oct 27, 2023 at 07:38:40AM -0700, Pawan Gupta wrote: > +.pushsection .entry.text, "ax" > + > +.align L1_CACHE_BYTES, 0xcc > +SYM_CODE_START_NOALIGN(mds_verw_sel) > + UNWIND_HINT_UNDEFINED > + ANNOTATE_NOENDBR > + .word __KERNEL_DS > +.align L1_CACHE_BYTES, 0xcc > +SYM_CODE_END(mds_verw_sel); > +/* For KVM */ > +EXPORT_SYMBOL_GPL(mds_verw_sel); > + > +.popsection This is data, so why is it "CODE" in .entry.text? -- Josh