Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp590440pxb; Tue, 5 Apr 2022 15:09:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzksTsh2jh/fDSBfe8fYksO9FUKsuqjUFUggtRHlEBGsLvjvcWzxcXDRmcFXF3mrZSqX//o X-Received: by 2002:a65:4081:0:b0:381:6ff8:f4ba with SMTP id t1-20020a654081000000b003816ff8f4bamr4469336pgp.457.1649196572057; Tue, 05 Apr 2022 15:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649196572; cv=none; d=google.com; s=arc-20160816; b=DKfquTpfhBqBg9xL9HNZkS1/14J7hAJfxgt9j5wVwKC56NP5myGwSjknQmmOUdwzl1 PCW1zOwZWJva6y3MECcf3weFV8zLCgVxS38gjMkhSV6THcEu0vtO+fulhmmxhSwOezCA z6MNoS1pC5Tu9XpXPeUt1Rg0U6NOOEVmba0XXueaP44N35qnSWX7QG3jmXaJ9qhTlmxY U+8A3GnMN+d3mjUdHrqgBf9JpPEhLOEOKW/A4UBfMJC2eEPHDLlPWAyVmwoOJSKHogya WKv7ptHyJcHPTIygZYVcgp0KEaVtMxiUI08L6nfUZXnfZPrMxLdSbZQ5UroVAqvjDnTJ m7Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=RG9WWXyVhhSOo6kXkWe1gSa4fNQuqFWCIhRD/9ytHPU=; b=u1D1ZNwtJMHvjecF6uHrq90832jxodzu2ctq2d80EYst0bMootMiOgmzQ3WlgCe729 pDqwWB+F6lZ0AxVz7UB7iFoPJF0Y6AU0MZ9iZtNBbfCshFDkjtxvDdlvCc6nw+ZWGko+ WHsFqow2sCHnGnHKU5BItldZkDs1rPA+b88XSPOVNi1eQhn2a3BgnXWq0oy3wsvyMcbD MLm70KklBoZN3w7CnTtEGKPMIQyzsrFykrDtyR7qYj4F4gbsHuG32Wo1rzsholN8zgVX mVwX1JivtbpdSbzxHv8S4StR0mFCEV2SMh+awPy8E6mpGtSAkpNmzSYF3azVx7OnAtzv YnSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BwC9s2Qo; dkim=neutral (no key) header.i=@linutronix.de header.b=K9khM+T9; 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 j18-20020a170902da9200b00156a2c84fc3si6983252plx.425.2022.04.05.15.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 15:09:32 -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=BwC9s2Qo; dkim=neutral (no key) header.i=@linutronix.de header.b=K9khM+T9; 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 5D686109A79; Tue, 5 Apr 2022 14:53:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376610AbiDELWh (ORCPT + 99 others); Tue, 5 Apr 2022 07:22:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241813AbiDEIsf (ORCPT ); Tue, 5 Apr 2022 04:48:35 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D1372D1F1; Tue, 5 Apr 2022 01:36:56 -0700 (PDT) Date: Tue, 05 Apr 2022 08:36:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649147804; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RG9WWXyVhhSOo6kXkWe1gSa4fNQuqFWCIhRD/9ytHPU=; b=BwC9s2QoTENr5bAJFGXWKtEU2lf0FOxoVmcieUTS4HWntOnnPL1r6dYJDEnSKufrUsa6/i g5qRZUz+dp0Rs7HPWwWZ4YMwwFmgXpXQvh2QiVZ0pyhCJUzHTlF3IyyGk1QpZeN1jW1W/0 GIUbzth0JHnr7ivpyHsCBIv8o6JhfHEVkjajlC6YFNP0RIr7iv5pjbzQC4e2STXXSmUg3w wlu4VxUh+IxflLwEGfw2PTQIfsfrSoCloBRMyRYvsUx4CHeTTgfULCmk8l+xt3BhLY0DeI 7rxeKsGYiMHQ9vV2RcjjMjyHBMuozcu6rjDokS+ZN6tiT2QCVHhAUWr1wBnRPg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649147804; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RG9WWXyVhhSOo6kXkWe1gSa4fNQuqFWCIhRD/9ytHPU=; b=K9khM+T9RGZxKNyZkUwY0vi9SjTvStZqfIYhJVKSEV2oolh3Zinzjq2FFXpWXRgjWeRuEV KBwfZonn0/aIRGDw== From: "tip-bot2 for Stephane Eranian" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] x86/cpufeatures: Add AMD Fam19h Branch Sampling feature Cc: Stephane Eranian , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220322221517.2510440-3-eranian@google.com> References: <20220322221517.2510440-3-eranian@google.com> MIME-Version: 1.0 Message-ID: <164914780346.389.14352309148130614175.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 The following commit has been merged into the perf/core branch of tip: Commit-ID: a77d41ac3a0f41c80120ec5b8b08ab284fec950a Gitweb: https://git.kernel.org/tip/a77d41ac3a0f41c80120ec5b8b08ab284fec950a Author: Stephane Eranian AuthorDate: Tue, 22 Mar 2022 15:15:06 -07:00 Committer: Peter Zijlstra CommitterDate: Tue, 05 Apr 2022 10:24:36 +02:00 x86/cpufeatures: Add AMD Fam19h Branch Sampling feature Add a cpu feature for AMD Fam19h Branch Sampling feature as bit 31 of EBX on CPUID leaf function 0x80000008. Signed-off-by: Stephane Eranian Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20220322221517.2510440-3-eranian@google.com --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h index 73e643a..0d62afd 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -315,6 +315,7 @@ #define X86_FEATURE_VIRT_SSBD (13*32+25) /* Virtualized Speculative Store Bypass Disable */ #define X86_FEATURE_AMD_SSB_NO (13*32+26) /* "" Speculative Store Bypass is fixed in hardware. */ #define X86_FEATURE_CPPC (13*32+27) /* Collaborative Processor Performance Control */ +#define X86_FEATURE_BRS (13*32+31) /* Branch Sampling available */ /* Thermal and Power Management Leaf, CPUID level 0x00000006 (EAX), word 14 */ #define X86_FEATURE_DTHERM (14*32+ 0) /* Digital Thermal Sensor */