Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp438023lqb; Tue, 4 Jun 2024 16:40:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWAsVJcwj0rMybe/ar1RL/L+B4ufmHeRAFnPXAgBmk2hI++a9oxBYEatqKdiJqp6azmyLcafhxBlB3OevP4VLjnzmw04/pKMyVVjJ2wiQ== X-Google-Smtp-Source: AGHT+IEgheaUygaU78Bk27Kfdw4pDMfV3OThu7Z1zWhIv9yF0I2VhUvkxF/vhqO9h4t5FTtaM5uF X-Received: by 2002:ac8:7f51:0:b0:43d:dc3c:3c5e with SMTP id d75a77b69052e-4402b57f1eamr10603041cf.1.1717544432870; Tue, 04 Jun 2024 16:40:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717544432; cv=pass; d=google.com; s=arc-20160816; b=dNaACj5eGFTqgavMDfhiuEjIjYtIw/WFeGCvcYtL1ZQdRrg9qAxlInr3FrKJia2JZJ 2KMPdhnOPT6/juJ02T+NWo9iLSWCD0g/498Q25Q97gh6Q0kMbxt2kJBaI4gephXd293P nTHCHcISJdD3gzrK2t9xcq7NOJ61UFDsouA0w9HYHjKnW0LKRno/2btrXbz2nKqQq7iM qv65AoZgxhdR8rjQ+scnaUBbrh8bG7KONZZtDgcObGtiSm561tm9hYMqPOw+FfZ3rysf +pnDYyQKEEd9bSEts4gXXolKTwFSr+s1JfOqABvSfiqTZKfoKYbfHW1DlmBPEHlc8TCi 5EQw== 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=wVPA1CVlxppPmfWI4RkOia/Fp2tCABe0o8VrZrea1qA=; fh=pUIwBZEF5itpUgD+Tc8XNSurwFTG/CNi2aS96v0OTiY=; b=cRW8QVjW6cHGpu0V+4KNRDX1NLGUKNbcBEBpKXxYTS928Bwp6w2BlDeMU5EHVX/wHI Rqnaa6soIAMr1+z/pjKJRHW57382WWnZSGmhQD3k4Pkpfv3oyWjkPqzD1/7wTLgcOiwL wyHQg8q+2rXwaprP1y+szJhNbtSc0fHv9EpwtwUh12BmTk7A+oqMAhWqoj0tyFtcFnBU dvZeZr2tiC9hOzjsx4NYbSF6cHKU7DMV/dm6yYkRBNHwtEDezXeolrnSWab6MJPZ2nu5 4WTowJh01WuC2Aeo60wUlG9ug0gpZJLI+7mCJgoPFBAlOYhuA7vzZe58lblbvE2og4Wq amwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RpD+wLOo; 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-201563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff259d000si32296361cf.607.2024.06.04.16.40.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 16:40:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RpD+wLOo; 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-201563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201563-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8E20A1C21871 for ; Tue, 4 Jun 2024 23:40:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C31A014E2EA; Tue, 4 Jun 2024 23:39:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="RpD+wLOo" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 861F614D703 for ; Tue, 4 Jun 2024 23:39:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717544368; cv=none; b=i2BBgf3VQam9fakcX0OQu/WHFcOp9OJ4nD4/GzIYdKQvWjwia8E4qBHtkiagmCzfZ9LQem6x/+VsFFM+c85ZuWqQCdKmpYJBfgW/8DpqwAJQ5mmkOqQXFqe8H30/rCbarGYjo4J1gnLnCy19NyLvQ1FE7qAl4Y9tr+xOjulPlW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717544368; c=relaxed/simple; bh=lH7OitCHRdT7V3xDkv0BZZ4kPK0J/p6LL7hzMRiZfmw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=lHnIk4OBQ7u4UtWDEO1+2y4qeMmZaBS3XARcJBR7IFdC/xwS4d14ji207xMqTgflPiTAjNANXg+gdhOiKoiB475amlh0Utq0opArf6ujicDG9pXENUFM/tdJmHkFzcbAHDnd8ryMf3/tU9PxVe5uwoK4XSKtl54L2T5OTFVrJkI= 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=RpD+wLOo; arc=none smtp.client-ip=209.85.128.201 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-yw1-f201.google.com with SMTP id 00721157ae682-62a27e501d4so29933927b3.3 for ; Tue, 04 Jun 2024 16:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717544365; x=1718149165; 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=wVPA1CVlxppPmfWI4RkOia/Fp2tCABe0o8VrZrea1qA=; b=RpD+wLOouwfK/fDVj5KMXUBeqnoU4EojDxq0Px5aX3Dl7M0kb0Mw5cgD43MTdGmCIF 9Fd3AFgSN45jcvoKfLUEVBQKjFiN49RoTVZ/20/oCy3wscu/ExG7W7gmZaPdm0NkDlLD SkXfUY6Ivd1NcwOTHFi9GBPYa1tX3u1I6/sh7DNcH5KL1VNQkBBEFJXOcja6ERNIFJtH 1YbrEKMl/qcLj/uZ6ZWIquvKS+amPcUa3vEer9PtwPjdK/jPVwKU99/1iS5bQ3PL8jsZ ya1SqifQh0voqp7tZGDwqeFjDMtWAIvHxtqmHsFL9zQSwe/k2FRLQzm51IZsEw7mP2Il 3jaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717544365; x=1718149165; 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=wVPA1CVlxppPmfWI4RkOia/Fp2tCABe0o8VrZrea1qA=; b=NjonvdUA/R5IBaYsciyLF9OM2uOI855eunaZfDzo5Sb5SfZmH5mr0NPcWZHZhtA3Sj +tXJM9h0FslWDifJd9K098ObTnAL35AyCUjSUSmjhLvTIwjVUdJ7f8/MeIIHDWd2Te5b HlgZj5XtMtThdiqboQE9jE9pFNDaNvfUc91NR//XE5cLRLCFP0ArNYQK+AgRLylUNiUD b5SOsyH8zu5zPtUvraj6DfJn4ngW6YHNel4w8NFvH+Nk/PdqKN/yBIubMSf0eYYwgHHp JnoFtaHaY87poo0lHAAga/2R1W0HRW0wruYUIsZ2VEJko9eR7hkjZDYJBsqePwsi567+ LWOg== X-Forwarded-Encrypted: i=1; AJvYcCXPBx9BIfFi4O1C5JDSSjP2+Dd3qh7NJGv9lUgHeFfS++Ity2o6RcdZ1So+S5QPFuioX7iyR3uO8eizVT+FU9PBZsW+BOCUjDEgPC6S X-Gm-Message-State: AOJu0YzfITMpf1P6C3EQ70r6WqMiVvCXLJOiSqQP2E1tRin7sAIAc++L hSaSbfH/XCDwlCU9YM+3Zj4E8WCPVMWxTEDj8pl955uTpshcvM9T+0sBoKqvfjD1wamt6xKJLHP kWQ== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:690c:85:b0:61b:e524:f91a with SMTP id 00721157ae682-62cbb6644d9mr2040697b3.10.1717544365557; Tue, 04 Jun 2024 16:39:25 -0700 (PDT) Date: Tue, 4 Jun 2024 16:29:47 -0700 In-Reply-To: <20240430005239.13527-1-dapeng1.mi@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240430005239.13527-1-dapeng1.mi@linux.intel.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <171754375753.2780904.9220835490279179987.b4-ty@google.com> Subject: Re: [PATCH 0/2] vPMU code refines From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini , Dapeng Mi Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Jim Mattson , Mingwei Zhang , Xiong Zhang , Zhenyu Wang , Like Xu , Jinrong Liang , Dapeng Mi Content-Type: text/plain; charset="utf-8" On Tue, 30 Apr 2024 08:52:37 +0800, Dapeng Mi wrote: > This small patchset refines the ambiguous naming in kvm_pmu structure > and use macros instead of magic numbers to manipulate FIXED_CTR_CTRL MSR > to increase readability. > > No logic change is introduced in this patchset. > > Dapeng Mi (2): > KVM: x86/pmu: Change ambiguous _mask suffix to _rsvd in kvm_pmu > KVM: x86/pmu: Manipulate FIXED_CTR_CTRL MSR with macros > > [...] Applied to kvm-x86 pmu, thanks! [1/2] KVM: x86/pmu: Change ambiguous _mask suffix to _rsvd in kvm_pmu https://github.com/kvm-x86/linux/commit/0e102ce3d413 [2/2] KVM: x86/pmu: Manipulate FIXED_CTR_CTRL MSR with macros https://github.com/kvm-x86/linux/commit/75430c412a31 -- https://github.com/kvm-x86/linux/tree/next