Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp109107lqj; Thu, 11 Apr 2024 11:10:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU8fkiG7drgI9c327B3WBncx2yfThLwAO+s4y/ij/fPbQqzSIlLPEdiK+vcdxQe6ZlAg47ZmqwBkUdtCmkb0eY0tIEVaCMt5IsdlGQBdg== X-Google-Smtp-Source: AGHT+IGXHbJlf/PkTJDwLywJ5FzbiVDgO2uhRkNFsVJQa8rIuixy6VO1mTjQ92TN8R0mW9lHI1eq X-Received: by 2002:a05:6a20:914b:b0:1a9:6e18:5232 with SMTP id x11-20020a056a20914b00b001a96e185232mr787089pzc.1.1712859057419; Thu, 11 Apr 2024 11:10:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712859057; cv=pass; d=google.com; s=arc-20160816; b=OgOPW6dqK2A/EIEQyk6oXx+st1Ra+Fx0+eKtS05fyQLyxlvM1tvKh7fYFkf0ZTlPAe OWr5Zjn34S8Ai8IIowyzF5FQsw3iJwOlJyQnH7+NM8h/gHWCk9fY0gA3GWRO6le4PCv4 n7azDyTtYXE5ytwn7+c3YJtH9D6zcJuM+38IIuXlliL2GPKuNh0/h4hOiJgB3C9Pmcx4 WkE6chH9Lfup4rZwvIGf7RO+aeI4DjhxgFKFrZgQgPLCYdt3ky8graRxXmCXswbMqjsB yZSjcRrK2xtV/y5OlFM3xscp5Pr1Jb0pgjH0KvwyMIfdM1AgrRJSAqYppV5bXuibG7QI /dRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=wcI+w0jxD+jVMQpaBlv4eiJI48tJxddyR3AVpCAV8/0=; fh=QshfOcmEZf2/nUeJJuzAGEl58khcmJncrwp6rSY0y2M=; b=p90PIWSjPKTNqJ8REhTSJQxfX9Vo7cQ6Onwb+Ak97Klpd4gSrH85GD2SYAmzk8OVcX RAJ1M/0iSBY8BwZEfmNmrRnNdfPE8AMaYvJsei24KfZK8RSFREl3dPlv61Ib15KvaLkP GW41LYmNNB67q3APGRm5zINdwja1g0nbdNbvHVutIzOtp+1Od51xxx/S71TnoGQIA8h1 F/UrR/wlbfY1UcJOuaS/FFaZ+lCoLnoEil0HmS7abTtcXq/1y/ha3QbegkcO4kI/WgLO 9QyjPG9NjWowlHiShbbbhRayEYcg46T2Lg7/wYRM3GefqHMoCLoKaz+oMJl5SNghTheS zg0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XjuyDxQs; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-141373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e24-20020a635018000000b005df5924303fsi1630159pgb.786.2024.04.11.11.10.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 11:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XjuyDxQs; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-141373-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141373-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 36E39287019 for ; Thu, 11 Apr 2024 18:10:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F7A21D8EAD; Thu, 11 Apr 2024 17:04:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="XjuyDxQs" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32A521D6395 for ; Thu, 11 Apr 2024 17:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712855059; cv=none; b=fN+HTDWW2wptD3HMRmltJvEQb+dEgg7B6HQmR2ow1q4q+3fQqjmnTo1t0SaIhABn5xJfjd0J5EehKMPXoLLx9sAFdFu4893eXpl8XWlMG1Uf5mT2U+zB0kIXoO/w231BgBjVUvzdEzhOfHuhaMwBcEDVgXNgJbntX7N512Y2xng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712855059; c=relaxed/simple; bh=QElmSC3bxNhYYUYZcpYqZWOnauAT+nnkD1ECMHNRsa0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=c+0BKcxqR/q7UvAvVcNtz0AAFtIEBSF0J09zf0WXOZq1nuI+xz5TItL3qWWa5aeiSjXZhJvx4QAky4nOcFS2fRRj3r4FRQbJBDtWOza8Haz75BDila1JhDotl1SAm/dTy1umZa3L1aNvaFuRjUqxetUJfWFyUW7PsColZGFiKFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=XjuyDxQs; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6b26ce0bbso49450276.1 for ; Thu, 11 Apr 2024 10:04:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712855057; x=1713459857; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=wcI+w0jxD+jVMQpaBlv4eiJI48tJxddyR3AVpCAV8/0=; b=XjuyDxQsySmT1aw1XMjeSVmD0QOsLb5/m620JgishPaNvmKOy0iYE6RMeEhK1kUuww joHO6iZFRrWYwMUBTjwwFRfoVZN0RZ7X+pu8UFuW/p4O2++lr/zyAKgFVkPdN12iGogn RDw5tlt+wLQU4Xp5e/02kckNPaPXs/WYYWyfW15ATB6if2FfZn59cKlzBAMffYsN/tw+ 4gvXDj0/5/B0jMNvSHBcODIllPwWMYa+jHKPPVQgfcshI3XT9izok3B+LigxOkGTVmqc Al89od5Rkb2bR8L3Qd0iN60VzAIR2WXNdlgMmiNketcYXZ4nX57eA9eJoRKKAGZ0Vrbb wYlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712855057; x=1713459857; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wcI+w0jxD+jVMQpaBlv4eiJI48tJxddyR3AVpCAV8/0=; b=qbAQwp11QZcm+zAEI1OtPvEm2lZuOb2AMSQwp1V1ltkVK4/8WxUXqhc0ATlYDz+pYL nqBsmLTRxUbFIbSvICLDt/wYfKyQ6lidXSTQEQMP6ap1D/ZzGR7Ev8pbIi6Zxa4ay3Hs 1bwdYVoTAP0B8SV+4/BzhsLgU5NohhevlYyGVrgWmqq4S7ClSC1P1IHhXDQmn87m+Ag0 le5+9OnU4FGjR21y03RrOYDf2u6FlQiVTRAOcMo6euhKsl52UbIWX4rdeuKZSJaBnR0D cceLm6UwRiLnl7wexXScSqMr6KfPsPKUZ9p+pdjJ4WJKFRpTH1fWpiAbCeBhIPyeFih+ 5L1A== X-Forwarded-Encrypted: i=1; AJvYcCUWORtQiR4Lo0IXBn2qs2KuQyNWVHFs95FoOcAJ9macl6SG9FMJzl99nhyrkkCcBdcdmm/JfxkkmOfKBVaFq1XNZZ/3XgElAvbR4u1v X-Gm-Message-State: AOJu0YzWlEui8GOArRYaotz8aKPxfKhIFpFl9ufU+z0hFCzrrF0mXQex S1X3AneqbQvf7BUDoW8/jiKlj4i0SBOxUGMr58RBQzxFOWS/F6DmfRJ70UwqaKoE7MXqZ0ni8Uf C6g== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6902:100b:b0:dcd:875:4c40 with SMTP id w11-20020a056902100b00b00dcd08754c40mr23995ybt.10.1712855057304; Thu, 11 Apr 2024 10:04:17 -0700 (PDT) Date: Thu, 11 Apr 2024 10:04:15 -0700 In-Reply-To: <20240126085444.324918-2-xiong.y.zhang@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240126085444.324918-1-xiong.y.zhang@linux.intel.com> <20240126085444.324918-2-xiong.y.zhang@linux.intel.com> Message-ID: Subject: Re: [RFC PATCH 01/41] perf: x86/intel: Support PERF_PMU_CAP_VPMU_PASSTHROUGH From: Sean Christopherson To: Xiong Zhang Cc: pbonzini@redhat.com, peterz@infradead.org, mizhang@google.com, kan.liang@intel.com, zhenyuw@linux.intel.com, dapeng1.mi@linux.intel.com, jmattson@google.com, kvm@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, zhiyuan.lv@intel.com, eranian@google.com, irogers@google.com, samantha.alt@intel.com, like.xu.linux@gmail.com, chao.gao@intel.com, Kan Liang Content-Type: text/plain; charset="us-ascii" On Fri, Jan 26, 2024, Xiong Zhang wrote: > From: Kan Liang > > Define and apply the PERF_PMU_CAP_VPMU_PASSTHROUGH flag for the version 4 > and later PMUs Why? I get that is an RFC, but it's not at all obvious to me why this needs to take a dependency on v4+.