From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 0B0E1153835 for ; Thu, 23 Jan 2025 18:14:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737656052; cv=none; b=EHXGqIad7fR7m9TDXWte8xt90pubs30R8t3PJHpM79FhGz30RkC8RIUqprzBPqMk4AWCKdMyDo8ZsmWMC8BIy3wLfoIThGSPNWp3RgIJ7Ki2T1JjWsMB9ki1HcDCx2W8d7pSbJPonIQKscZSRrPh2NN3N5MfAon20AFqTUUH96o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737656052; c=relaxed/simple; bh=8fmNWdyqVOiDGA147VLclwTiyR+8vPJi/4lFYlyZjpw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WEUGTUsG2QCqn4YiOse18CldZXGuMwlcy7R9nxJYx7ObvFLbXqy2hJXl6zC3uV/+uHTFV2P2mmFu8UKvuqZ4GxCSPVfUwXZ86o+VvU4IOLNGEmLTgoysHGe3rZZ+dM4gK2MVgeZU57cGDSXO4XfYwJLOKH7LfCp7qrqwjm66Sgg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ibR7AuI3; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ibR7AuI3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1737656051; x=1769192051; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8fmNWdyqVOiDGA147VLclwTiyR+8vPJi/4lFYlyZjpw=; b=ibR7AuI3h+W0IwA6GQnA5E6vef/lfpTt0sfzEF2oa5bzT7W5sRa+89aa wcP2pu3V8NuS3U0gxAf2UT7ddWrguRyX2RgHCIn32yB5fsUb5vdrWHzzQ D64wm3r5flrcpuPq71GBolkmwPI75kOH7mVteIUnQp8JmZF2w4bQGtm4G OLuRO9QVFuNmHYDtRdq41xY88MsNNLRJ7kMJhsFzStTrT7Zd9z0V4FZmC s6tJ3NP/9jorJK1tJZh1BO9R5pHTYrTB/NuF55jpeE7X70U0FpWeUyCGg x00oGolDGV7nVgi7P95ByNaRMxdQ7RH8UuS5JxbnJfNMRhfMVFz/l95Sq Q==; X-CSE-ConnectionGUID: hQ9HhNJOT3W1VXq0NxFc8Q== X-CSE-MsgGUID: /w9ikFd1ReaDVOPDZ49PDA== X-IronPort-AV: E=McAfee;i="6700,10204,11324"; a="37379715" X-IronPort-AV: E=Sophos;i="6.13,229,1732608000"; d="scan'208";a="37379715" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2025 10:14:10 -0800 X-CSE-ConnectionGUID: B56ScnYzRQSjRDbr8wjwbg== X-CSE-MsgGUID: 6QDr2Z0aQ3ikB6gBtkrwoQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="144779271" Received: from tassilo.jf.intel.com (HELO tassilo) ([10.54.38.190]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2025 10:14:09 -0800 Date: Thu, 23 Jan 2025 10:14:08 -0800 From: Andi Kleen To: Vince Weaver Cc: Peter Zijlstra , "Liang, Kan" , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , linux-kernel@vger.kernel.org, mathieu.desnoyers@efficios.com Subject: Re: perf: is it possible to userspace rdpmc but only on a certain core type Message-ID: References: <31ad367a-721f-46e7-8e5f-e96b250a8a32@linux.intel.com> <20250121125230.GD7145@noisy.programming.kicks-ass.net> <79462dc8-6f90-0d0b-1374-ac5123aa0f45@maine.edu> 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: <79462dc8-6f90-0d0b-1374-ac5123aa0f45@maine.edu> > I have a student working on this for PAPI. If we get it working we can > see if perf could use support too if it doesn't have it already. perf user space doesn't have a ring 3 self access library. -Andi