* [PATCH] mfd: intel_pmt: Only compile on x86
@ 2021-08-25 12:57 Prarit Bhargava
2021-08-26 13:19 ` Hans de Goede
2021-09-22 13:18 ` Lee Jones
0 siblings, 2 replies; 4+ messages in thread
From: Prarit Bhargava @ 2021-08-25 12:57 UTC (permalink / raw)
To: linux-kernel; +Cc: Prarit Bhargava, Lee Jones, David E . Box, Hans de Goede
The intel_pmt driver shows up as a compile option for all arches but is
32-bit and 64-bit x86 specific.
Add a CONFIG dependency on X86 for intel_pmt.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: David E. Box <david.e.box@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
---
drivers/mfd/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 6a3fd2d75f96..0f12b00955b4 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT
config MFD_INTEL_PMT
tristate "Intel Platform Monitoring Technology (PMT) support"
- depends on PCI
+ depends on X86 && PCI
select MFD_CORE
help
The Intel Platform Monitoring Technology (PMT) is an interface that
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] mfd: intel_pmt: Only compile on x86
2021-08-25 12:57 [PATCH] mfd: intel_pmt: Only compile on x86 Prarit Bhargava
@ 2021-08-26 13:19 ` Hans de Goede
2021-08-26 18:57 ` David E. Box
2021-09-22 13:18 ` Lee Jones
1 sibling, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2021-08-26 13:19 UTC (permalink / raw)
To: Prarit Bhargava, linux-kernel; +Cc: Lee Jones, David E . Box
Hi,
On 8/25/21 2:57 PM, Prarit Bhargava wrote:
> The intel_pmt driver shows up as a compile option for all arches but is
> 32-bit and 64-bit x86 specific.
>
> Add a CONFIG dependency on X86 for intel_pmt.
>
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: David E. Box <david.e.box@linux.intel.com>
> Cc: Hans de Goede <hdegoede@redhat.com>
Thanks, patch looks good to me:
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Regards,
Hans
> ---
> drivers/mfd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 6a3fd2d75f96..0f12b00955b4 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT
>
> config MFD_INTEL_PMT
> tristate "Intel Platform Monitoring Technology (PMT) support"
> - depends on PCI
> + depends on X86 && PCI
> select MFD_CORE
> help
> The Intel Platform Monitoring Technology (PMT) is an interface that
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mfd: intel_pmt: Only compile on x86
2021-08-26 13:19 ` Hans de Goede
@ 2021-08-26 18:57 ` David E. Box
0 siblings, 0 replies; 4+ messages in thread
From: David E. Box @ 2021-08-26 18:57 UTC (permalink / raw)
To: Hans de Goede, Prarit Bhargava, linux-kernel; +Cc: Lee Jones
On Thu, 2021-08-26 at 15:19 +0200, Hans de Goede wrote:
> Hi,
>
> On 8/25/21 2:57 PM, Prarit Bhargava wrote:
> > The intel_pmt driver shows up as a compile option for all arches
> > but is
> > 32-bit and 64-bit x86 specific.
> >
> > Add a CONFIG dependency on X86 for intel_pmt.
> >
> > Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> > Cc: Lee Jones <lee.jones@linaro.org>
> > Cc: David E. Box <david.e.box@linux.intel.com>
> > Cc: Hans de Goede <hdegoede@redhat.com>
>
> Thanks, patch looks good to me:
>
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
>
> Regards,
>
> Hans
Okay by me.
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
>
>
>
> > ---
> > drivers/mfd/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> > index 6a3fd2d75f96..0f12b00955b4 100644
> > --- a/drivers/mfd/Kconfig
> > +++ b/drivers/mfd/Kconfig
> > @@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT
> >
> > config MFD_INTEL_PMT
> > tristate "Intel Platform Monitoring Technology (PMT)
> > support"
> > - depends on PCI
> > + depends on X86 && PCI
> > select MFD_CORE
> > help
> > The Intel Platform Monitoring Technology (PMT) is an
> > interface that
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mfd: intel_pmt: Only compile on x86
2021-08-25 12:57 [PATCH] mfd: intel_pmt: Only compile on x86 Prarit Bhargava
2021-08-26 13:19 ` Hans de Goede
@ 2021-09-22 13:18 ` Lee Jones
1 sibling, 0 replies; 4+ messages in thread
From: Lee Jones @ 2021-09-22 13:18 UTC (permalink / raw)
To: Prarit Bhargava; +Cc: linux-kernel, David E . Box, Hans de Goede
On Wed, 25 Aug 2021, Prarit Bhargava wrote:
> The intel_pmt driver shows up as a compile option for all arches but is
> 32-bit and 64-bit x86 specific.
>
> Add a CONFIG dependency on X86 for intel_pmt.
>
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: David E. Box <david.e.box@linux.intel.com>
> Cc: Hans de Goede <hdegoede@redhat.com>
> ---
> drivers/mfd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-22 13:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 12:57 [PATCH] mfd: intel_pmt: Only compile on x86 Prarit Bhargava
2021-08-26 13:19 ` Hans de Goede
2021-08-26 18:57 ` David E. Box
2021-09-22 13:18 ` Lee Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.