Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp577191pxb; Wed, 13 Jan 2021 10:31:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4BIga86P8YunIz8tQv9hn1a9ePQaZNpHznbISWvBSlCeNgpxXA7O63e4v87JYuIsBXL0f X-Received: by 2002:a05:6402:5206:: with SMTP id s6mr1466041edd.92.1610562685223; Wed, 13 Jan 2021 10:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610562685; cv=none; d=google.com; s=arc-20160816; b=GOOT8xWCffQ/gtqvwB7jwA3RfqJPJ6ciQLpqVPAK0jUpe18x/VWnXqyaPdx+wjdXHg eZkpSG/wo4OS5uZpqn3HFMHkj+dX4gfktxCO98csndVvvyltfqw3FDZsHYiioz/WFG1H gZAf1JCL759lIGGDaVnOeYfrpwZ7QfsP3kU/chyMzIBgI7274EofK/3/UwCTWnCDyJBs aGQ83Ayc+j84egYuvfh5JaZq5yMA3HYSDdu6MxApByP39eR4eSRw9odB50NZyoBhrG8b dQMd6ft2qq7mgO57Qtl42rxJrkgs/9/Ab4Lk7TAq5UwONVV0GegX5CpxmjD38VdOkwED 6tDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5HGRAFQITVRUvJXlrDluatF64Db9+nU6uEXhywkvngg=; b=vXiKHmKBp8lwGUzqK5i/KwUN6NRP3v/BoOETB6x72V6SWHkboAM6ZRjfasCPioqibp yUHo3c95UjvAhG4LT8LQJR8GzqKm7z/NIhAcxKcTBoQnXQsCI6TXSIn9OKW0Un60SGHY 1sgyJ0pZTa4T4ta2p4GHy3WN/AZaHfK3a8SyCCy63shWi0+WUCZ0R4uww8J5OTt10vMF UfWD9dsISXHPubeibxfqSjJ3+XH37My7CS38LEXO+BlAQut/jSwqKA/JH1G+xseI08aj MC6Xw2Nt/8ylUpybTNDcFsFbheL7LMj6o6eYSo8FTFMgg3QkL5awVAUVf2IF6VQ8/t7L Jn2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ATqIEHVY; 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 ne6si1376750ejb.6.2021.01.13.10.31.01; Wed, 13 Jan 2021 10:31:25 -0800 (PST) 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=pass header.i=@infradead.org header.s=casper.20170209 header.b=ATqIEHVY; 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 S1728336AbhAMSaN (ORCPT + 99 others); Wed, 13 Jan 2021 13:30:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728260AbhAMSaN (ORCPT ); Wed, 13 Jan 2021 13:30:13 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09D0DC061575; Wed, 13 Jan 2021 10:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=5HGRAFQITVRUvJXlrDluatF64Db9+nU6uEXhywkvngg=; b=ATqIEHVY+6AGyqtS0NR9HlbQgO ZUlGt3koP3YMDLhaxHbiwMsFrkulbdojHRkxzrz8cw9LvD/iPNmwguJuKR4qjXD7j0RdIe7ztya46 ZU5GH9GhFuTMmnLr9kDqpd5R0X4TwXFapUIsCAuK3+aOL20MNEviSSt3b30TqM5Jn2qzgXPSevasT I7B4tUDAxUIyjo30w0ka9k9BKoxNgbSUsYiMtMWC3nNFVSYgtLpNMZOxGnaJD0zuGBNfVaYd9UOe7 wa1liy0Q1VWI4zZ+JBYizeilP2/lVqTPQftD6sBbs3puwtCF72iHIg2RcIeAtrWsb9xFMomuKYXWL CrID3s1g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1kzks1-006Z9G-Bi; Wed, 13 Jan 2021 18:28:09 +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 D1A443060C5; Wed, 13 Jan 2021 19:27:48 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id BD660211618D3; Wed, 13 Jan 2021 19:27:48 +0100 (CET) Date: Wed, 13 Jan 2021 19:27:48 +0100 From: Peter Zijlstra To: Like Xu Cc: Paolo Bonzini , eranian@google.com, kvm@vger.kernel.org, Ingo Molnar , Sean Christopherson , Thomas Gleixner , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Andi Kleen , Kan Liang , wei.w.wang@intel.com, luwei.kang@intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 04/17] perf: x86/ds: Handle guest PEBS overflow PMI and inject it to guest Message-ID: References: <20210104131542.495413-1-like.xu@linux.intel.com> <20210104131542.495413-5-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 13, 2021 at 07:22:09PM +0100, Peter Zijlstra wrote: > Again; for the virt illiterate people here (me); why is it expensive to > check guest DS? Remember, you're trying to get someone that thinks virt is the devil's work (me) to review virt patches. You get to spell things out in detail.