* [PATCH v3 52/74] x86/cpu/vfm: Update drivers/pci/pci-mid.c [not found] <20240416211941.9369-1-tony.luck@intel.com> @ 2024-04-16 21:22 ` Tony Luck 2024-04-16 21:38 ` Bjorn Helgaas 0 siblings, 1 reply; 4+ messages in thread From: Tony Luck @ 2024-04-16 21:22 UTC (permalink / raw) To: linux-kernel; +Cc: Bjorn Helgaas, linux-pci, patches, Tony Luck New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck <tony.luck@intel.com> --- drivers/pci/pci-mid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci-mid.c b/drivers/pci/pci-mid.c index fbfd78127123..bed9f0755271 100644 --- a/drivers/pci/pci-mid.c +++ b/drivers/pci/pci-mid.c @@ -38,8 +38,8 @@ pci_power_t mid_pci_get_power_state(struct pci_dev *pdev) * arch/x86/platform/intel-mid/pwr.c. */ static const struct x86_cpu_id lpss_cpu_ids[] = { - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SALTWELL_MID, NULL), - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, NULL), + X86_MATCH_VFM(INTEL_ATOM_SALTWELL_MID, NULL), + X86_MATCH_VFM(INTEL_ATOM_SILVERMONT_MID, NULL), {} }; -- 2.44.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3 52/74] x86/cpu/vfm: Update drivers/pci/pci-mid.c 2024-04-16 21:22 ` [PATCH v3 52/74] x86/cpu/vfm: Update drivers/pci/pci-mid.c Tony Luck @ 2024-04-16 21:38 ` Bjorn Helgaas 2024-04-16 21:51 ` Luck, Tony 0 siblings, 1 reply; 4+ messages in thread From: Bjorn Helgaas @ 2024-04-16 21:38 UTC (permalink / raw) To: Tony Luck Cc: linux-kernel, Bjorn Helgaas, linux-pci, patches, Andy Shevchenko [+cc Andy] On Tue, Apr 16, 2024 at 02:22:19PM -0700, Tony Luck wrote: > New CPU #defines encode vendor and family as well as model. > > Signed-off-by: Tony Luck <tony.luck@intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Possibly consider updating subject line with a hint about what "update" refers to, since every commit is an update. I guess "vfm" is some kind of a hint, but I don't know what it means. I suppose it is for "vendor, family, model". > --- > drivers/pci/pci-mid.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/pci/pci-mid.c b/drivers/pci/pci-mid.c > index fbfd78127123..bed9f0755271 100644 > --- a/drivers/pci/pci-mid.c > +++ b/drivers/pci/pci-mid.c > @@ -38,8 +38,8 @@ pci_power_t mid_pci_get_power_state(struct pci_dev *pdev) > * arch/x86/platform/intel-mid/pwr.c. > */ > static const struct x86_cpu_id lpss_cpu_ids[] = { > - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SALTWELL_MID, NULL), > - X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, NULL), > + X86_MATCH_VFM(INTEL_ATOM_SALTWELL_MID, NULL), > + X86_MATCH_VFM(INTEL_ATOM_SILVERMONT_MID, NULL), > {} > }; > > -- > 2.44.0 > ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH v3 52/74] x86/cpu/vfm: Update drivers/pci/pci-mid.c 2024-04-16 21:38 ` Bjorn Helgaas @ 2024-04-16 21:51 ` Luck, Tony 2024-04-17 8:47 ` Andy Shevchenko 0 siblings, 1 reply; 4+ messages in thread From: Luck, Tony @ 2024-04-16 21:51 UTC (permalink / raw) To: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, Bjorn Helgaas, linux-pci@vger.kernel.org, patches@lists.linux.dev, Andy Shevchenko > > New CPU #defines encode vendor and family as well as model. > > > > Signed-off-by: Tony Luck <tony.luck@intel.com> > > Acked-by: Bjorn Helgaas <bhelgaas@google.com> Thanks. You win the medal for the fastest turnaround! > Possibly consider updating subject line with a hint about what > "update" refers to, since every commit is an update. I guess "vfm" is > some kind of a hint, but I don't know what it means. I suppose it is > for "vendor, family, model". Yes. vfm is indeed vendor-family-model. Agreed the commit comment is lacking details without the context of the cover letter and the other patches in this series. -Tony ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 52/74] x86/cpu/vfm: Update drivers/pci/pci-mid.c 2024-04-16 21:51 ` Luck, Tony @ 2024-04-17 8:47 ` Andy Shevchenko 0 siblings, 0 replies; 4+ messages in thread From: Andy Shevchenko @ 2024-04-17 8:47 UTC (permalink / raw) To: Luck, Tony Cc: Bjorn Helgaas, linux-kernel@vger.kernel.org, Bjorn Helgaas, linux-pci@vger.kernel.org, patches@lists.linux.dev On Tue, Apr 16, 2024 at 09:51:43PM +0000, Luck, Tony wrote: ... > > I guess "vfm" is > > some kind of a hint, but I don't know what it means. I suppose it is > > for "vendor, family, model". > > Yes. vfm is indeed vendor-family-model. Agreed the commit comment > is lacking details without the context of the cover letter and the other > patches in this series. You see, TLAs are cryptic, that's why I internally proposed different naming. -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-17 8:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240416211941.9369-1-tony.luck@intel.com>
2024-04-16 21:22 ` [PATCH v3 52/74] x86/cpu/vfm: Update drivers/pci/pci-mid.c Tony Luck
2024-04-16 21:38 ` Bjorn Helgaas
2024-04-16 21:51 ` Luck, Tony
2024-04-17 8:47 ` Andy Shevchenko
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox