Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4147645pxb; Tue, 26 Jan 2021 13:45:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJx96vnhxjPwr2T8PyBy3csQMvT6FcZj+HH2KLKO3iQc3H0z+MZj+NsFudcvUZdYthdSxVxy X-Received: by 2002:a05:6402:1152:: with SMTP id g18mr6239770edw.18.1611697509705; Tue, 26 Jan 2021 13:45:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611697509; cv=none; d=google.com; s=arc-20160816; b=mrqkxBI6HT+UpmH4KC8s1EUKVWzuNHBwGUchN7D9pUV11XE9ckHlmQN09oHA46CWA7 NAZp+XEZph3m6jvjdyizYUZbAcj5PiSn6EsfhwL9umgw9lzfVsEQpR8lMAnGB87/pXRi OLQ8FfBKFzkIiXLhW/Ax9J5SrReAL3FIamcjtdywydSfUYTA0KauewCh2qM+yPqSRlMy ENyo1QFRSxALnFvTkP4pWbGym3EStEdret0QUhaJ/R/VPzgHhH3jxnT81fgWFQ+H03hy HfuDpl+SHGHgOxa4Z5Gypy+7wiA2+plhwbBJopj2GJJpI+SEuubE5E04+Ru+R9CaE3o/ NVZg== 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=tSVMd0mAlQmzss31L3fywYUpzOMWEDoUIO25DXKyPoY=; b=Gi5+XZAL5c80eCiHd5x3tRK98NfB8+zmdYOuMa0zLxw+05phHvOdsBNJ4YzWXt2EAe Z5TMKhvwAiTmlnYOFG2utCocrcz0IyzebeJe79x7pm8ZPc/69fpOWTzbz31yfLIcLgOw WPwLVG12NVJHl6TTrbv9jg+e2lt8u2Ev25mNsGqSxcFa2GuWNJd68mUwH2RNJ6y0cwod HLRQKPI+CCkUFYNPTO+vOmei8cFA1j/cM86/cjUfXfAa3YmUj8kmRbFu6+cI5toFHIVm fK3Dy1pboYsDJ89JVx6E3TldhYTvdURCXxWuWfjmxZa7dkh90mUmCw9pqw+I3KNioj1v sfPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=bziIHjbw; 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 a67si9475188edf.198.2021.01.26.13.44.45; Tue, 26 Jan 2021 13:45:09 -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=merlin.20170209 header.b=bziIHjbw; 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 S1731537AbhAZFjM (ORCPT + 99 others); Tue, 26 Jan 2021 00:39:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727688AbhAYK5S (ORCPT ); Mon, 25 Jan 2021 05:57:18 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0B60C06178C for ; Mon, 25 Jan 2021 02:56:08 -0800 (PST) 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=tSVMd0mAlQmzss31L3fywYUpzOMWEDoUIO25DXKyPoY=; b=bziIHjbwox/9XclfRRt36f9DpG jr8lqfbZRMsDnxNG/n8/VSPzUjihDrzAI70R19fL37VhE0OV+pwGWeQQr7HWEo+DR7d0ytSt1H/7U 4rSZENlPy2F3CHQDlUrlTRPLWkUzr+ek10uD4oA/NhdnAOFg7QX3x3//LC7arnLNaoKoxaxtJQwgS jDxKgup2eYeqg5vh0cLRgY96A68X6LCzxQ8svIJKWKn3icDFrN7DZJ9ItvrX1DkVLCTPProM5tWLp gR3KLSpDnas/2XnuC55ttg8Lg6t7iT6+29WFBG2r68qAwVeznEKeu2xtzpuMyFD2yvW66iSdQaNy8 +dqzdL8Q==; 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 1l3zXF-0002v4-Fy; Mon, 25 Jan 2021 10:55:53 +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 682EB300DB4; Mon, 25 Jan 2021 11:55:51 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5025B28B66D19; Mon, 25 Jan 2021 11:55:51 +0100 (CET) Date: Mon, 25 Jan 2021 11:55:51 +0100 From: Peter Zijlstra To: Like Xu Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Borislav Petkov , x86@kernel.org, "H . Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] x86/perf: Use static_call for x86_pmu.guest_get_msrs Message-ID: References: <20210122030324.2754492-1-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210122030324.2754492-1-like.xu@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 22, 2021 at 11:03:24AM +0800, Like Xu wrote: > Clean up that CONFIG_RETPOLINE crud and replace the > indirect call x86_pmu.guest_get_msrs with static_call(). > Looks good in principle, but the robot complains about a missing func decl. I think you removed a little too much when you killed the inline thing.