From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABCA9C2D0A3 for ; Mon, 9 Nov 2020 06:34:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5E38420853 for ; Mon, 9 Nov 2020 06:34:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729468AbgKIGes (ORCPT ); Mon, 9 Nov 2020 01:34:48 -0500 Received: from mga12.intel.com ([192.55.52.136]:27633 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729076AbgKIGer (ORCPT ); Mon, 9 Nov 2020 01:34:47 -0500 IronPort-SDR: Hy1ZvAHhX4b+JsYm7tbuu3s643L7rxOYF6ZHLe2vWLTgCrSXKegtiG/aK06AmAyV+rYDksBn6c UaYyZHKiMwgw== X-IronPort-AV: E=McAfee;i="6000,8403,9799"; a="149035416" X-IronPort-AV: E=Sophos;i="5.77,462,1596524400"; d="scan'208";a="149035416" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2020 22:34:47 -0800 IronPort-SDR: epgwv5nkki90oJuuM6jW+S8ec5md4ptPQZLXv9wT+rvJ5nOm4ZXwF4aBldsS9I312p4Oykmr0t e1Ge+n1wmpog== X-IronPort-AV: E=Sophos;i="5.77,462,1596524400"; d="scan'208";a="530588466" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2020 22:34:47 -0800 Date: Sun, 8 Nov 2020 22:34:46 -0800 From: Andi Kleen To: Like Xu Cc: Paolo Bonzini , Peter Zijlstra , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , wei.w.wang@intel.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v12 01/11] perf/x86: Fix variable types for LBR registers Message-ID: <20201109063446.GM466880@tassilo.jf.intel.com> References: <20200613080958.132489-1-like.xu@linux.intel.com> <20200613080958.132489-2-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200613080958.132489-2-like.xu@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Sat, Jun 13, 2020 at 04:09:46PM +0800, Like Xu wrote: > From: Wei Wang > > The MSR variable type can be 'unsigned int', which uses less memory than > the longer 'unsigned long'. Fix 'struct x86_pmu' for that. The lbr_nr won't > be a negative number, so make it 'unsigned int' as well. Hi, What's the status of this patchkit? It would be quite useful to me (and various other people) to use LBRs in guest. I reviewed it earlier and the patches all looked good to me. But i don't see it in any -next tree. Reviewed-by: Andi Kleen Could it please be merged? Thanks, -Andi