Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4651022iob; Sun, 8 May 2022 20:37:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLczrcxF9ReLwVD21wOSRB7nQAItZcqC3t/tUhoL/o8MjWIYzXPi9/+dhjXeL/mua8eVcJ X-Received: by 2002:a05:6a00:1a08:b0:510:a1db:1a91 with SMTP id g8-20020a056a001a0800b00510a1db1a91mr4570715pfv.69.1652067454225; Sun, 08 May 2022 20:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652067454; cv=none; d=google.com; s=arc-20160816; b=RCH6m44EmfYaHM9RcavJ02EbgPCXTK4s/ifwve0JNRngBdvJX8It61rHb/cqGkBY2y Rj2Qq2bxo30FS9u6cweY5zpSUPwr/mkoGVYg0NTTW8X54YqBzkwpwCxMxyvvLclWS1jg ttZZkXDbsQ/llq7pK00cT5yCJgYsI8tqxijUBilbUOW5tin/5+fg70dW5i+oNejzkvZW Dc9KexxThasWmffuWpsG1kyN0D6Dz3rEgfZ6lhyHd8kGpeaI8U9qNIaBvJkVs50D7IOK tg/qgMyyKL6YjTSoOe8uDNT7ALG2J72t14bTkWDOrmNPearfGALmgOFPFn0lH2A+4Elk VRfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=XvECXZlKv//5WXr2Qh3h1YJR2CNLvzofteXK2A2O1ho=; b=NbEG826X45Qp5VBmDbBlVbSALwsrgibyC9DS2ohQRWS6ltufyNAhMfNWmwq5n3lLGC XTEI4YCgslUnx9Jtx3vqdU8ExHrDattGYURGUYeI9znsGnhIzWw4/8CzMgyy4HWwu2Ht 8LumUY29dTi/94FTTGgBrprTbUaRGUTRb5LIF2m6kM+pFYDl9sEDikGxJcmOexCFB7jl Sj08jKOlTNR1D14DWNabGTsNF2BxPrZNqnjktP9x1ofdVSHHICzrUMt0qDovFeokidOu AGZsNBKJUcc6Pm7WPxL7++Wv3tOCnrFfjSbew0dMKBVHLK5KEyr5w9AlCRK7pbRQ//b8 g9ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=C8ni3HIp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=EvVTeBAW; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id az11-20020a17090b028b00b001bed39e61cesi12442208pjb.23.2022.05.08.20.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 20:37:34 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=C8ni3HIp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=EvVTeBAW; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1AC619E9D5; Sun, 8 May 2022 20:36:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390073AbiEFIYw (ORCPT + 99 others); Fri, 6 May 2022 04:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1390168AbiEFIY1 (ORCPT ); Fri, 6 May 2022 04:24:27 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D05413D13; Fri, 6 May 2022 01:20:25 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1651825224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XvECXZlKv//5WXr2Qh3h1YJR2CNLvzofteXK2A2O1ho=; b=C8ni3HIp+lksZAPvlwAD6tGqGcAuY5WJ7CQCJojWPzOWWgQTwgRyNAgCBFQkV5VfxGHFGe j0MqyYE+lNEt0MQkpP1deH5GhC+aE0GlsIllCQm8coNDB+hSk34j0R0CiEKpxsoyzbGmtt Su3DU3ch9uDjbQwNHvnkTMAclmQFDC4jTzbTDvWR7T+JOI2VDOlgW+SEZAFnENWVURKSq4 8W+P05Oix32+ZM4SwrKRoZkCtr+Q805Y12gvaEma15l7o6dcJCAG27PGQDKIQJOmVB+9q3 kw0oucAN942TB66n8wMEAs2fo1vHp2B047hKLXSIrSU/6/SAqw2dPQTFIZ+r2A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1651825224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XvECXZlKv//5WXr2Qh3h1YJR2CNLvzofteXK2A2O1ho=; b=EvVTeBAWPkgbWcXilyuBQ16WAspalSc/xW7PUI/iM2W3GpiEZJY2Q7Lf7/3O4+mx8be/Ik 7JbcLOHcn+8IU6BA== To: Tony Luck , hdegoede@redhat.com, markgross@kernel.org Cc: mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, corbet@lwn.net, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, jithu.joseph@intel.com, ashok.raj@intel.com, tony.luck@intel.com, rostedt@goodmis.org, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com, Peter Zijlstra Subject: Re: [PATCH v6 03/11] stop_machine: Add stop_core_cpuslocked() for per-core operations In-Reply-To: <20220506014035.1173578-4-tony.luck@intel.com> References: <20220428153849.295779-1-tony.luck@intel.com> <20220506014035.1173578-1-tony.luck@intel.com> <20220506014035.1173578-4-tony.luck@intel.com> Date: Fri, 06 May 2022 10:20:23 +0200 Message-ID: <87wnezgji0.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Thu, May 05 2022 at 18:40, Tony Luck wrote: > From: Peter Zijlstra > > Hardware core level testing features require near simultaneous execution > of WRMSR instructions on all threads of a core to initiate a test. > > Provide a customized cut down version of stop_machine_cpuslocked() that > just operates on the threads of a single core. > > Suggested-by: Thomas Gleixner > Signed-off-by: Peter Zijlstra (Intel) > Signed-off-by: Tony Luck Reviewed-by: Thomas Gleixner