Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2284477pxb; Mon, 18 Jan 2021 13:25:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbB4opDMi4lJaiG3X0QhkO3ZKlDBCNuX1vdCCjnLE6DjxSwIXPGEFOdh5y/b15reB1K1lQ X-Received: by 2002:aa7:d60f:: with SMTP id c15mr1014035edr.232.1611005158948; Mon, 18 Jan 2021 13:25:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611005158; cv=none; d=google.com; s=arc-20160816; b=UBlu4JwPiC+k1gMIUgfMwI8KkZLhtY024cUzO+Vng0RiDJybURB9cunnuw9ynAFEeX wiSvfLIzIgKMipEfLSrNLhcHVV7+g69F2x6HewHj8UwVNWI2lHg+YplmyKHhspu5Ar4O 0lnc6WsbzQwOw/lz4W0vKg/6VMBKzwrJMo/E/t7HqffjiAPhS93W2/TSnW7cuqmlKrbV zqLmWJ3lvQjeoTA8nG3HKW27fAE4f9OBQpimwhPjEiFwhW2aTzVnGO9aAVlbFGUrUSp6 J70kV5jX8cIT8QeVYXFr1yJcijjJca7V4PujP2RP61nIfF9Kp81k0HxpnhFAWXvjEDqH mkEw== 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=nFKAUCWrek4ATN0kUUcq76KLTyBcFv0f0+VspmkLRQs=; b=EO86MtQej4myzKbpdySRRVPbhmhM3f5LTgxXWyX1lz3g+lNn85mJmxrdA/vyw8FRDj zJ4ePrKxEGCfF1Y5ho9lk3zDJ75IgAQNhyNE8Ta5sfi7PsQnQO5vw3aZZGTVc1KC/8hM ZBDZCegq/f3a6S1Vl0yZwMLCjcHaXh7DHyu0SypsfMmUc0VqSg3hO+icZxQJbAUxaaLG JyYkUSKlxP6WM7h7Sz6h3WEbnB0kYI1oVvm2kNX6vjDk1a3lixRuZOc+brcvXwnOYl3c 3MYZJkeUPPAqGZQM9tZoPbZklrv5l2e8QMk6ZI9tHzfgfCBWS9FfW61SKrcAKV5RIH5J 7ZiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BzQ9cW0V; 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 21si7430174ejv.248.2021.01.18.13.25.35; Mon, 18 Jan 2021 13:25:58 -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=BzQ9cW0V; 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 S2389674AbhARVXa (ORCPT + 99 others); Mon, 18 Jan 2021 16:23:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389649AbhARKLr (ORCPT ); Mon, 18 Jan 2021 05:11:47 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 603EEC061574 for ; Mon, 18 Jan 2021 02:11:06 -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=nFKAUCWrek4ATN0kUUcq76KLTyBcFv0f0+VspmkLRQs=; b=BzQ9cW0VSonjlzajMqim2vuYZo 1A55EYoOGkphlDgYBQYliI+xAWl02oxHQFeG2PQT9nNLz91BVerdujNlFhiS5tyjIKYYIYScLPNGE xtOKeiR0emcguzIKVXlahCF9jKajn9vJSzg0PC1sQG5hwvMKSI0ac6pxJr1Gj9/GTljcZGVmVakZx 3eZgZLHNZKEuz3RoM9HJ3gkARl4aYbVIJ4ITacXt9o50K6VKDJOKKAt5p+pcMC+XC+oFgMn43tqiZ vLkePepsm2Jk6Vb5UJtRfEdub4DPATT4+FhrxfxBfgO+rUyXIP3JoNYgwyvsOyfvzc0aR3k6i9f3t CWuZIxTA==; 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 1l1RUa-00CeNF-NW; Mon, 18 Jan 2021 10:10:37 +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 E8F3630015A; Mon, 18 Jan 2021 11:10:33 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id C95C720291083; Mon, 18 Jan 2021 11:10:33 +0100 (CET) Date: Mon, 18 Jan 2021 11:10:33 +0100 From: Peter Zijlstra To: Like Xu Cc: Josh Poimboeuf , Jason Baron , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Thomas Gleixner , Borislav Petkov , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/perf: Use static_call for x86_pmu.guest_get_msrs Message-ID: References: <20210118072151.44481-1-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210118072151.44481-1-like.xu@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 03:21:51PM +0800, Like Xu wrote: > Clean up that CONFIG_RETPOLINE crud and replace the > indirect call x86_pmu.guest_get_msrs with static_call(). > > Suggested-by: Peter Zijlstra (Intel) > Signed-off-by: Like Xu Thanks!