From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 391111CF7AC for ; Wed, 4 Sep 2024 11:39:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725449957; cv=none; b=Mpe0cJvSrRSXx3JreMwpgAAr+T5VaLHLop0q8U0mUjVb8qW9i10Z7kjao8P4NmfjdVGYlsPI33BS4W5GIylhpAE4euPPPF+N6Bn9jxMl3KK6i7bQw73CZBPYSSVlzKkV6d82F2oCzjXSX1YeiZ14Z8kOsgEEhpGiqHjSY7kYMNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725449957; c=relaxed/simple; bh=XavpJsnh34eefCMApdNRk43izI1ZC2052HhAi88XK90=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZM9q5eRFjJxQsr+RxAnctAXYe2tvgEqKhuFtdUvZM5MEdKA9OhXFc5jhgYJOfRO3CHDsMaeki5xWHY3ZXJFkSklc/WKJM2D66zV7DOerWowdpetim65s4QsOA//jQqprgQPJPvQxmpDA3ygjajkl+zJ1ZLsnmOi9gSVpXgpS3Lk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=ZUBYXBC0; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZUBYXBC0" 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=1rE/FFpjeNfOvNwU1UVNjerJRacfvhEURZT1lEeJSMY=; b=ZUBYXBC0ML4e8Msk4ZJqGqjlr0 XQT3Wm5Tjo60DycTx7fcuIApyAmpKIKkH47of7PemMNzoFz401aA25u4rSH1Zquwp2vuDfg87ujvt Baxyvyu8s47jGIeypssRTKs0Iper82XjiORBz8adjqkt0SivYRnvfQRcx5OqdXCaJbkQs4CzkqJSf ZcEC5EZeRkXx4Qqn3BKhbAuji23Eqf71FU8dFspnCTipzVRKvUE9/ECPWFsHNtqk+lmPgRiKrJyQL +/YTgDZZVInOyNZ36HBj0QBZrooRg3go338cXlidFOaL84haWArU+bkhm4DFfKMudA8z0Ike3S0+F cUB/uPBw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.98 #2 (Red Hat Linux)) id 1sloLr-00000000mnP-12CV; Wed, 04 Sep 2024 11:39:08 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 2A54B300642; Wed, 4 Sep 2024 13:39:08 +0200 (CEST) Date: Wed, 4 Sep 2024 13:39:08 +0200 From: Peter Zijlstra To: Namhyung Kim Cc: Ingo Molnar , Kan Liang , Mark Rutland , Alexander Shishkin , Arnaldo Carvalho de Melo , LKML , Stephane Eranian , Ravi Bangoria Subject: Re: [RFC/PATCH 4/4] perf/x86: Relax privilege filter restriction on AMD IBS Message-ID: <20240904113908.GG4723@noisy.programming.kicks-ass.net> References: <20240830232910.1839548-1-namhyung@kernel.org> <20240830232910.1839548-5-namhyung@kernel.org> <20240902091232.GB4723@noisy.programming.kicks-ass.net> <20240903085454.GR4723@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Sep 03, 2024 at 09:34:58AM -0700, Namhyung Kim wrote: > > While the IBS thing only sucks when you use exclude_[user,kernel] > > things. Stealth suckage is bad and enrages people. > > Right, let's make it explicit like the above. Given Ravi's concern, perhaps a whole second PMU instance 'ibs_swfilt' or so? Might have more problems than its worth though, but perhaps something worth exploring for a bit.