Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp464736lqb; Wed, 17 Apr 2024 01:22:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDGh5uT+Jol6UwhwOmNyfUPReNNsl9L9p73QGivDXpCIEmdm9Df1WK2SuIuZMP23Szkf5HgjL1IXXOTtlZ1AXpHeFo7d7aLxpXJCt4Eg== X-Google-Smtp-Source: AGHT+IHgxLkwoD5p/PaXxo8A0Rl0AGy0XVdAPleEx6CNldQKz1H8xY3sVSCBESzLjvO28eABIz9l X-Received: by 2002:ac8:67d7:0:b0:436:8736:f0c1 with SMTP id r23-20020ac867d7000000b004368736f0c1mr12729764qtp.47.1713342157380; Wed, 17 Apr 2024 01:22:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713342157; cv=pass; d=google.com; s=arc-20160816; b=elpnPkeWE0SWuYqDjcPWlatZ2/GP921Go/40hws4b9oJjcdSTTnypcUWb+dQZdEbnO xpINtS5BFtTGrNk+N45a4dps0ASzKx5DnYtuLLdtr0Dp3RdRfCcFBIoGtL9zQRmfjCdD 1euSVmn5idAurXq5KXp+XXgK81fh71ONYblwzRvF7l98WnHyr60FCELg1mV/V+uNPuIK 74Oz0nN+sIpEKiOnd0U+nBXEnbvQVw37juuEoi6LGdfCyUu5BEKZrcVOhQ6iyum4stil SxgI8mvLk/yWTmwjJIadxIpKhe9rjUIJIPrBDraX50SlVhn/hxhHLm+J4G+U6eoF/Dvy f4Wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=NvtsXIBUpxp31rUIKA0VuGvkSHt8og/Q3vxCpDfJPYg=; fh=hNrQ8hQJ+DHbXGlKrYwjJgtcvGs4B0ZUUYXe1fu0lkg=; b=IUP9xmAWyAq4R7NWIOAqTyvNn9JEEWdJ20PqG36pyyymreIG/IMBWmqicR7kBwVKil exiCmGf4Qx1/2Fc252vcUARLd8vDDeihsKBv78S9c1u/7CF3oyz889DLxf+ALozwGJ59 lp7PTB/ops7fldrW78iBk16VBcSuVBdSwyMsWNwT7T+bC41RK27odPYt5UfCWplrmIn0 XJHkllEvyWwUHozSZNnRjLMmr8id7iGxJvaDMO7wbFB2DjIYUDLYmCmSaelMPKmb+zS4 bwkfmwyFdf1uzEkXXlBqNLfR6RCmW9w8fxs0h45Y8VkLmGqvCGdM7PVyjPdekJfoV1mc ag7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dogaSANW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148130-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e14-20020ac85dce000000b00437653cdd89si1491184qtx.371.2024.04.17.01.22.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 01:22:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dogaSANW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148130-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148130-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 02F2A1C20A93 for ; Wed, 17 Apr 2024 08:22:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A26267EEF5; Wed, 17 Apr 2024 08:22:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dogaSANW" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CB69D200D2; Wed, 17 Apr 2024 08:22:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713342150; cv=none; b=XC7q6bLftsRnOcemx0DRflL2w6wLyJuyzCJODgwhY+ViXuCbJvqko201wscAG8UbPLO0SoILgfc1iN7WMIfr/AuEvH5jKUGzyfW5gagH7nfSSN35KfCbXh8W7TTJFCwN8eYMmSI5nET+XNGINcZJt+cMOhhkT1jOGVEZ5OW+Gt4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713342150; c=relaxed/simple; bh=vxL+yxEBtW69wT2VNPtV3o2n6+YTBPYdeGmwrvtUUYA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ULsyIpOciG3Zp0KeGBfHGlvcehKpBXZm6h9O5fTousx38zJ0DEpBhn5avPupi/E5G6pzCRPce0lW2HHZW4HVzWMamx0eWQTRBEQEQbkF1Sv5c0KpWMCaiBAAWkkg5axCqF+iSioeYjvU3xIZDLW/quiV11mkR5HSNG+FEQiqI9c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dogaSANW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A324FC072AA; Wed, 17 Apr 2024 08:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713342150; bh=vxL+yxEBtW69wT2VNPtV3o2n6+YTBPYdeGmwrvtUUYA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dogaSANWv2AzM5+rClXb1dimseX9oKu/we3riLUBqQ5+mS6q7bGPetgZPkCQHvFEa djOxTqbQLPIJNNqQq6Q794U/zcMiv2ksLhKDyjjcrBo1W1v4jocPVN0MwxGY4wQmDa ieb9jevlcp3HSFuJOjx/X4dd85q/5fraTZMIsxXZdPWRKd/lpgs82ipEna7i+EDBIw g56OJR9vz2+oDG7e/Y9RCNYYXB9nKJf317qGCUek9uGrGJcOTR3CncpEYJ8wD8Fqx+ UTYx99XkpC10r+zq+2qp0ylkfWcT9+N2LkhZyq6z7+mrifsUOrFU11S4iCKsSvgD3Y SK6944R91yjgA== Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-6eba841d83cso51078a34.2; Wed, 17 Apr 2024 01:22:30 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXw0hVFuZSeWHzLhPIpcRk6DqI3p9AOk/vnvB5DbpI6lRtncKQQv460UKEbkPjfDNFUPuxog/A1nRX8XUQhypmuqNl98xMaUTc= X-Gm-Message-State: AOJu0YydzgSB7KoNPbJ6PGlgzKjYdBejYkg/o6BY9taoQa57NCkebtCF e02NtxDRl5vC7h5Yy6cfgLCPCbbyFOD24RJoep9gDXUUmMfi8oO0L5fQtF7q1t+B/asYPXrRq2r TgDT4u1mtp48UK94nUv2PXIlxfUg= X-Received: by 2002:a4a:e9f0:0:b0:5aa:6a31:4f53 with SMTP id w16-20020a4ae9f0000000b005aa6a314f53mr13550582ooc.0.1713342150021; Wed, 17 Apr 2024 01:22:30 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240416211941.9369-1-tony.luck@intel.com> <20240416212245.9929-1-tony.luck@intel.com> In-Reply-To: <20240416212245.9929-1-tony.luck@intel.com> From: "Rafael J. Wysocki" Date: Wed, 17 Apr 2024 10:22:17 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 67/74] x86/cpu/vfm: Update drivers/powercap/intel_rapl_msr.c To: Tony Luck Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , linux-pm@vger.kernel.org, patches@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 16, 2024 at 11:22=E2=80=AFPM Tony Luck wr= ote: > > New CPU #defines encode vendor and family as well as model. > > Signed-off-by: Tony Luck Acked-by: Rafael J. Wysocki > --- > drivers/powercap/intel_rapl_msr.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/powercap/intel_rapl_msr.c b/drivers/powercap/intel_r= apl_msr.c > index 35cb152fa9aa..733a36f67fbc 100644 > --- a/drivers/powercap/intel_rapl_msr.c > +++ b/drivers/powercap/intel_rapl_msr.c > @@ -139,14 +139,14 @@ static int rapl_msr_write_raw(int cpu, struct reg_a= ction *ra) > > /* List of verified CPUs. */ > static const struct x86_cpu_id pl4_support_ids[] =3D { > - X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(ATOM_GRACEMONT, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, NULL), > + X86_MATCH_VFM(INTEL_TIGERLAKE_L, NULL), > + X86_MATCH_VFM(INTEL_ALDERLAKE, NULL), > + X86_MATCH_VFM(INTEL_ALDERLAKE_L, NULL), > + X86_MATCH_VFM(INTEL_ATOM_GRACEMONT, NULL), > + X86_MATCH_VFM(INTEL_RAPTORLAKE, NULL), > + X86_MATCH_VFM(INTEL_RAPTORLAKE_P, NULL), > + X86_MATCH_VFM(INTEL_METEORLAKE, NULL), > + X86_MATCH_VFM(INTEL_METEORLAKE_L, NULL), > {} > }; > > -- > 2.44.0 >