Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1497229ybt; Thu, 2 Jul 2020 07:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjIZNbdYH26R0nkyyvknAp+NxTqC54hjsyJfX3G/7WhZnuP61oIHuQZ9d7rGnfn7buHU11 X-Received: by 2002:a17:906:6d49:: with SMTP id a9mr26773089ejt.435.1593698505481; Thu, 02 Jul 2020 07:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593698505; cv=none; d=google.com; s=arc-20160816; b=Rd8d1k0jyOZ8pPnLUwvZLNSsbow21OrnYqciuNXdVEUrlOqYyDh1416s+H74MCcTT9 0almttJz2T7RbQWYmZiM+KLVSxSR6CzG5HZ2ctA69V/mGZ13hHT4gHN5wJaC9M2UbZtl jj44jVkCiWOLuPlIYSZ4S3g4mWx1qMDlwq0zw8zgpmu3/r1OkANkdpe1O9OjuO9g9f4f XvXxE3AaJJKwK4ui9z8ryx970FcxOZzxDp7tBuEp8JH618rlOq4KVL7HLUKnDo4LDpQK woCkW2LKja7/ye0PyHe2bulShjJtzCXC4yqAgg5Nd2vdPJ0YHFu9pm/AICaGNnqgBIFE AcnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=gl1jKq2wcYbRMLXz2bIDCOo5JcG5MyTdy5yY3rjDs6A=; b=axqIkGFTVkZokjs7JrDlH3+BjXBl/U76CFTb768JXzf3JUQUFuILpnNa3STc5AoqqJ hqvRZnAs+e3Ro7TI+ZMnYVaLnba2dyE4U2ssvCevseKaw2MEWWzOD9SLMSMs5bq4Jwb1 bo2GymbiAYEni40bAIRY9hzEPo9QQTzXdnZom6LlJSDTpxBeyYrxL9M55hTQnXcfuqO+ nj0X4aCOe3snwRoeg/a4i3fepA1alPsbarai4SCLgbpMqOSDEdY0u7x9wGC2A8w2+fDl H6nXTsNN2xQ+wsrQMGW5amm1mEDau7O41+Gi3ymc9uFM7464ntDM1uphe+EA5QWKr5Yl 8Z4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="m8T/FHGX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qo28si6045613ejb.527.2020.07.02.07.01.22; Thu, 02 Jul 2020 07:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b="m8T/FHGX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729424AbgGBN7K (ORCPT + 99 others); Thu, 2 Jul 2020 09:59:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726343AbgGBN7J (ORCPT ); Thu, 2 Jul 2020 09:59:09 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83BADC08C5C1; Thu, 2 Jul 2020 06:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gl1jKq2wcYbRMLXz2bIDCOo5JcG5MyTdy5yY3rjDs6A=; b=m8T/FHGXVQuNDN0fShATSEBI4v gdrv0UOm+Qc/TVk/hko/YWkvsicyavkQ7T9kgB1cXA3f7SjZGveySW1lNZ9pj7AAP82GfbQIZyFHG zIE/4hT4rRZHeOu0DKsXG9q2FaZhCLNucDE/UC0Nd/S35IgBPjOvQksaJDcpvMVzz1T3OuEJBqp/Y 65ZZ5ev6vizlBoY4BgFQw8w3IoiMECG3nxictrZc5jD3AMR8gm9YDJ4ph+8dg4ZqKeiWnkvUBInFh hRtFgvtrFhaZLOIBTYl8vUlDtHnDdTrCDeaVSN3VUb9IY4fvK5ibZneIRU4p0OvqMhjBx74ZuS5SV PXmXmfMw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqzjh-0003A1-DO; Thu, 02 Jul 2020 13:58:45 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 4321730015A; Thu, 2 Jul 2020 15:58:42 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3057B203DA8CF; Thu, 2 Jul 2020 15:58:42 +0200 (CEST) Date: Thu, 2 Jul 2020 15:58:42 +0200 From: Peter Zijlstra To: "Liang, Kan" Cc: Like Xu , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , ak@linux.intel.com, wei.w.wang@intel.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, "Liang, Kan" Subject: Re: [PATCH v12 00/11] Guest Last Branch Recording Enabling Message-ID: <20200702135842.GR4800@hirez.programming.kicks-ass.net> References: <20200613080958.132489-1-like.xu@linux.intel.com> <20200702074059.GX4781@hirez.programming.kicks-ass.net> <5d3980e3-1c49-4174-4cdb-f40fc21ee6c1@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5d3980e3-1c49-4174-4cdb-f40fc21ee6c1@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 02, 2020 at 09:11:06AM -0400, Liang, Kan wrote: > On 7/2/2020 3:40 AM, Peter Zijlstra wrote: > > On Sat, Jun 13, 2020 at 04:09:45PM +0800, Like Xu wrote: > > > Like Xu (10): > > > perf/x86/core: Refactor hw->idx checks and cleanup > > > perf/x86/lbr: Add interface to get LBR information > > > perf/x86: Add constraint to create guest LBR event without hw counter > > > perf/x86: Keep LBR records unchanged in host context for guest usage > > > > > Wei Wang (1): > > > perf/x86: Fix variable types for LBR registers > > > > > arch/x86/events/core.c | 26 +-- > > > arch/x86/events/intel/core.c | 109 ++++++++----- > > > arch/x86/events/intel/lbr.c | 51 +++++- > > > arch/x86/events/perf_event.h | 8 +- > > > arch/x86/include/asm/perf_event.h | 34 +++- > > > > These look good to me; but at the same time Kan is sending me > > Architectural LBR patches. > > > > Kan, if I take these perf patches and stick them in a tip/perf/vlbr > > topic branch, can you rebase the arch lbr stuff on top, or is there > > anything in the arch-lbr series that badly conflicts with this work? > > > > Yes, I can rebase the arch lbr patches on top of them. > Please push the tip/perf/vlbr branch, so I can pull and rebase my patches. For now I have: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/vlbr Once the 0day robot comes back all-green, I'll push it out to tip/perf/vlbr and merge it into tip/perf/core. Thanks!