Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1001290rwb; Wed, 28 Sep 2022 11:49:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7TgmxUFEJPYEKErqUe6tIjqzxlNCmilMaShjMZu7FROFxKiJ2/TUMcEpCJiDbubjARUy0m X-Received: by 2002:a17:907:7ea6:b0:782:a975:7426 with SMTP id qb38-20020a1709077ea600b00782a9757426mr23881293ejc.157.1664390950929; Wed, 28 Sep 2022 11:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664390950; cv=none; d=google.com; s=arc-20160816; b=oGZfPFe9YHILcv8BiVJOLhHQREoHmIxwpke2mqgjNtY4JOM+oxpsPbvjBTlmRT6m/e 9It6J6FWmsabjAhOjty6onMnYtbaG2bMWp0mHWxWsUIR0gxIFS7fAJiJSKtDDGd+FyU9 RGaSMjT+19GIA1+XIIgCS3LfUvoijyoPt/2bHBE2LZnTsyKv+IIskbN1v9KkdVmX+ufb IAbYCB+XGypERQs+JbOxnj0jm878r7gztgpAxr36a3yCffQ347bRKyqkbxhx+jFVR8+/ JwvrpRuH6jgtcpKfTShUYmUFFIkAVxB4rfvjXdOaC/pPDpssiz6BfhOpwUYTktVp0XIi Kfnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=5TCg37Bpaaxg1bIKDQj7APiXHEcmNduv8uVe3aPc6f4=; b=sJXcXvechUC9CSP3+MBvDHim0x3OY0A5V/BiIpEaXpt73vSJ7XgaUzjeQhBPTbO/uO C911QY1QUT4mIdQjG4HnAAxcGUvSWQRv09xqhqd0o/p0U1s3qHBv9CGk8ZThGeb9g9J9 i1JRPk5dZorPQQ2ib9d6Wa00m4WPyK/UTIGXSB9BmmNfxN7gyLeQQoSIJFewtN2t19M4 HipAFe3YgXOP49D0AUf4F+cEvHpHZZSx1MM0jaQ9grFwcMooY1+PW2W1qBzkTW07XPEE iKzFqOwYpQjHREJKrxF3W0M7+QvYeww5NPPV8S8WZZa/0E1M1DSORnC+08Ke0Vni+Qzo kLjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ra6s9asT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v7-20020a50a447000000b00454bae0cee0si5712935edb.406.2022.09.28.11.48.46; Wed, 28 Sep 2022 11:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ra6s9asT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232120AbiI1Sky (ORCPT + 99 others); Wed, 28 Sep 2022 14:40:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230340AbiI1Skv (ORCPT ); Wed, 28 Sep 2022 14:40:51 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDFA24F38A for ; Wed, 28 Sep 2022 11:40:50 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-349e6acbac9so127963997b3.2 for ; Wed, 28 Sep 2022 11:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date; bh=5TCg37Bpaaxg1bIKDQj7APiXHEcmNduv8uVe3aPc6f4=; b=ra6s9asTgE635pFaEWqxlAD1YIF/1+WeX8UAYb2AvvbVvjEpQr3l7XOUQ9dmW25ZUO 6CcIs8dDEvWnAhMMLCxNsgTjB4DhaKDcyJo7oSJ/9MqYL73Cv9GG9gJgikfZ3ZHPzigC Ln6WAkQomvYkecjsZlggkyghs1RBZ5YykeKOmDUxagdcOAoUBIzxRho0B1/RGlOABRV/ +mo4BJ8Aab2ANr3Pl83jC4bJT2ucvl2bzfmb2RrlumtSx2/CGX5xk6U3IL5nWTu3vqG2 B4T0G2Wru6Ox2lAIeHFGlv6POxruwWuG9O0mkoiBCFfbDtqesW5Kq4K9pftbLM9QlD2R rYUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date; bh=5TCg37Bpaaxg1bIKDQj7APiXHEcmNduv8uVe3aPc6f4=; b=Noh0q/oLW/lOBbVNKnX6XrFXuCxKjD31RpwICF/myWvoBzFmMErVW8DvaZuzRwDGtx B2ZT1fZXy0jyi7iSNhhbIN1jUW7N9sYM4q71B6Zi5xBFXphY2Y9vSO8x6GYwGaSqYmLu r+VrQH2LgGjKaNCUb1nhTo8qpIGj6q0LyXpFoEa/Wwh1QJaGXYwRnLq6AgDmQwkiTsex YiZeI15qB7VjygmwuHFDoPlZxdoxOu+zKTpFcYu90+dJmT9Oe1iOD+WvoV4vgQcGtYj4 Z8iM2tLdNZXuekyt1rmusi5p+6BSrZu3KCse0C9aosZZDuP4uEjy3LQD9hc37BMnritm 1TXw== X-Gm-Message-State: ACrzQf1iwdRUfoA1lcBtpCapqBChKtECTun95p7urnHExrEzD3Im87dD YvPMqmol98Mu1nkB9mM2d1Tc35RimJlRiToJH9xr8niSmyEQBIJffIoIPApRFoMTZJ34vL5lNvv Q8b96VSBS7Acn/XOFHoTCVBMT1EFrrO/bhiHZUjtiN87NU9dIu+tXh+U1+MH2Tloe33LDzlbN X-Received: from uluru3.svl.corp.google.com ([2620:15c:2d4:203:d508:baac:7b11:f912]) (user=eranian job=sendgmr) by 2002:a5b:f01:0:b0:6b7:b30f:54b4 with SMTP id x1-20020a5b0f01000000b006b7b30f54b4mr25897983ybr.149.1664390450030; Wed, 28 Sep 2022 11:40:50 -0700 (PDT) Date: Wed, 28 Sep 2022 11:40:41 -0700 Message-Id: <20220928184043.408364-1-eranian@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog Subject: [PATCH 0/2] perf/x86/amd/lbr: fix LBR filtering support From: Stephane Eranian To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, sandipan.das@amd.com, ananth.narayan@amd.com, ravi.bangoria@amd.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=ham 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 Short patch series to address some kernel issues with the AMD LBrv2 enablement which were introduced in Linux 6.0. Stephane Eranian (2): perf/x86/utils: fix uninitialized var in get_branch_type() perf/x86/amd/lbr: adjust LBR regardless of filtering arch/x86/events/amd/lbr.c | 8 ++++++-- arch/x86/events/utils.c | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) -- 2.37.3.998.g577e59143f-goog