Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp465091lqb; Wed, 17 Apr 2024 01:23:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrbqrbAOaeOIcmTSLLvaqh+rDVUdH2SxcAMeZUWwthqCQJFQr9/wQzpvYu6TW7JyxRjlhJMJST973TKN7UOIsqnsD5FFecSWwnSMwrlA== X-Google-Smtp-Source: AGHT+IEQMA04gjjhLjiv6YcIJxIwBAV5TmKN0/rp5XC6pyqelYV4Wr7vn6DYXHi3/QqJUYSRDEOj X-Received: by 2002:a05:620a:c16:b0:78e:d2ef:3ae0 with SMTP id l22-20020a05620a0c1600b0078ed2ef3ae0mr6771716qki.5.1713342208657; Wed, 17 Apr 2024 01:23:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713342208; cv=pass; d=google.com; s=arc-20160816; b=nl8NhrLxo7twmjVZ6dwgEIl2z6gNMj26bBCcWa/AyXn7CzUVXA18YkiZq9Eh4E5P9e VKYjLgBKvSaUfZMei92ToxHgr67FGHaoPZ6x+IVmawA4X8u516ovwrhMtgY5d9zmk7rS IEacN9hgaj3y8RDfkEOIafTdK2XDUdTnfclm6zcYwjR0C524ao30mBkQA+wqN7CvZ8LC cP1K8+jlXAFwVzkgOVPwsYxsTaDXMCWOQXGADHSwCF16oyAD1Zk+EadsiJvmpmPaS8bO RrTQl2+jgCnS8Iz2JfUVyRAbOzznyp5dDD4JZsm7ny3lsjmX9eca2j5fY/zSIGVEATTo FQtQ== 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=c6Cid7VPMb9eIXuF6duGt9XtrfESQmiUWxvytB9KcdI=; fh=XGnC12efYgyoNYmtWfFrqzDGbsaIv9QX6ZTtIEpc/1o=; b=BdBG4ktAFDKCYTsXTRGozFWuG5Ff3u96Of4gFJo99mVSMld1x9KNRK5XUfLcqZ4ovJ EsU96mR9XR6lsLU6oOf5IaaG3kNq1hh1c/SxUK1KRRZdQGSzLgBtPE82rFtX3mstOTmg ODL63eLH3Dz6vJ2Rb/llArxOPhyK4zixCrrMEq5FJAaLTTW2QcriMB0qsWCdIHnmOQwt dAZLz3oxwjsVpSk5D5l01qbgNXXA3z78UditxcAZU+TYJkwQwpa/J1PpIaUFZF5AJxnN VND974zcHibPDb4v4tlxj0TEmnJcg2J9jgKH4+mAa6Rm61dm3+sFNqxDCO0avlYVtKRq gfwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cl0dXFi7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148132-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148132-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 j23-20020ae9c217000000b0078eeda78c4fsi5085596qkg.14.2024.04.17.01.23.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 01:23:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148132-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=Cl0dXFi7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148132-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148132-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 637DF1C203B1 for ; Wed, 17 Apr 2024 08:23:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA7D17EF1B; Wed, 17 Apr 2024 08:23:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Cl0dXFi7" 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 0A40584FAC; Wed, 17 Apr 2024 08:23:19 +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=1713342200; cv=none; b=SZKq+1XplUGwavJX+bYqPMUwwwEl+f4VLHOfiKtuC3KAV84PUtTk09cer0b0ACqhjgAS/DcqSoOa2xHRuqfshQPBv3XawtalwXgN8D/hrgockhUcP4IqAV7pUalVu5yIOBxGEgZBXIFKfV1JPd95geH3PWjM7ZUdS0wPQOP7FzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713342200; c=relaxed/simple; bh=C4tOCdvuBbe0nWsP1RYC0WfHw/yvoZ/fnppLyqdrzVg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NIfvlyUbyss5dti7iYFDrnOZSSrTpUTRapEFLIAWPAR2oqxhp9UW1SZWQRQZgpa1cnR7abC2eHyQdGPcwq7av0b1GQYfzBlI0B1TYa6YEDyuYHcDPAeHqyNZPgMu6X8jx/I4ecb/bcNZeVRp9sU347vbS4iCsTZi4/5BpUwKhXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Cl0dXFi7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B2F4C32783; Wed, 17 Apr 2024 08:23:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713342199; bh=C4tOCdvuBbe0nWsP1RYC0WfHw/yvoZ/fnppLyqdrzVg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Cl0dXFi7+cjctcO4EmDYic4Anp14X9g7oZQmOJzpgfUGrw+jlsNE4rsYPyaSGibd5 AgrdAoHAghKXhkZuTLTsdHvmIxd8bjB5LauD7bPkXD1DMbx39P9GtgNZ33VtZzKLpp JfxgYOAT2KLRgnBpiDL4IsZ1RdcJpcEGZKQCWk0kilcCQaEqIZ0az8CrMEenlmvx0i dqWgyK1XnPJD7BGHp5uiFJzNv6UZyhwNBo27xo6aAM/EEIw/ZkLrPyDo4AJVKUaliG 7eEYwPlT2cTGcnUA1IloRrDpURijulNu6E56nh2yOUvDC+UBMOh0sekIQ3V9XwuEqh KaK9v7OdBfLIg== Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-5acdbfa6e95so191406eaf.3; Wed, 17 Apr 2024 01:23:19 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWEarIp0Ahk38DyjcVUPMVj58WlTPjvmUZDq3deQ3R3dAi4jUfkubLodv/IXozSPD7/bmlK4F8t0D8Nn1b/kCwbbJsy5ODCIx4Twc25JhWI9yuuK27CaRNGuX7s2fWkKMK8HHk29d9cKOfytOQgWpDR198nsg0y6y1H9ZJ2sMInjveigAQH4tEA1taG X-Gm-Message-State: AOJu0YyX4r5tLUo5gLrCSj/v9kQy3UH7foDmsDrFvGP3mRi1U0LoF7p1 32NJPlsVfnnMONvGBKZXMU0g8DgT14y2IdfvWwhcBtyWo/X2KQjtqDodCWJoWDaEcKD0J6y1WBq +lFPjcp317NawiSohOghjqqgUeMA= X-Received: by 2002:a05:6820:4003:b0:5a7:db56:915c with SMTP id fh3-20020a056820400300b005a7db56915cmr17216803oob.1.1713342198919; Wed, 17 Apr 2024 01:23:18 -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> <20240416212250.9969-1-tony.luck@intel.com> In-Reply-To: <20240416212250.9969-1-tony.luck@intel.com> From: "Rafael J. Wysocki" Date: Wed, 17 Apr 2024 10:23:06 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 69/74] x86/cpu/vfm: Update intel_soc_dts_thermal.c To: Tony Luck Cc: Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Srinivas Pandruvada , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@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 > --- > include/linux/platform_data/x86/soc.h | 12 ++++++------ > drivers/thermal/intel/intel_soc_dts_thermal.c | 2 +- > 2 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/include/linux/platform_data/x86/soc.h b/include/linux/platfo= rm_data/x86/soc.h > index a5705189e2ac..f981907a5cb0 100644 > --- a/include/linux/platform_data/x86/soc.h > +++ b/include/linux/platform_data/x86/soc.h > @@ -20,7 +20,7 @@ > static inline bool soc_intel_is_##soc(void) \ > { \ > static const struct x86_cpu_id soc##_cpu_ids[] =3D { \ > - X86_MATCH_INTEL_FAM6_MODEL(type, NULL), \ > + X86_MATCH_VFM(type, NULL), \ > {} \ > }; \ > const struct x86_cpu_id *id; \ > @@ -31,11 +31,11 @@ static inline bool soc_intel_is_##soc(void) = \ > return false; \ > } > > -SOC_INTEL_IS_CPU(byt, ATOM_SILVERMONT); > -SOC_INTEL_IS_CPU(cht, ATOM_AIRMONT); > -SOC_INTEL_IS_CPU(apl, ATOM_GOLDMONT); > -SOC_INTEL_IS_CPU(glk, ATOM_GOLDMONT_PLUS); > -SOC_INTEL_IS_CPU(cml, KABYLAKE_L); > +SOC_INTEL_IS_CPU(byt, INTEL_ATOM_SILVERMONT); > +SOC_INTEL_IS_CPU(cht, INTEL_ATOM_AIRMONT); > +SOC_INTEL_IS_CPU(apl, INTEL_ATOM_GOLDMONT); > +SOC_INTEL_IS_CPU(glk, INTEL_ATOM_GOLDMONT_PLUS); > +SOC_INTEL_IS_CPU(cml, INTEL_KABYLAKE_L); > > #undef SOC_INTEL_IS_CPU > > diff --git a/drivers/thermal/intel/intel_soc_dts_thermal.c b/drivers/ther= mal/intel/intel_soc_dts_thermal.c > index 9c825c6e1f38..718c6326eaf4 100644 > --- a/drivers/thermal/intel/intel_soc_dts_thermal.c > +++ b/drivers/thermal/intel/intel_soc_dts_thermal.c > @@ -36,7 +36,7 @@ static irqreturn_t soc_irq_thread_fn(int irq, void *dev= _data) > } > > static const struct x86_cpu_id soc_thermal_ids[] =3D { > - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT, BYT_SOC_DTS_APIC_IRQ)= , > + X86_MATCH_VFM(INTEL_ATOM_SILVERMONT, BYT_SOC_DTS_APIC_IRQ), > {} > }; > MODULE_DEVICE_TABLE(x86cpu, soc_thermal_ids); > -- > 2.44.0 >