Re: [PATCH] hwmon: SENSORS_SBTSI should depend on X86

Guenter Roeck
2020-12-16T20:18:45Z

On Wed, Dec 16, 2020 at 09:27:28AM -0800, Kun Yi wrote:
> On Wed, Dec 16, 2020 at 8:31 AM Guenter Roeck <linux@roeck-us.net> wrote:
> >
> > On Wed, Dec 16, 2020 at 02:46:41PM +0100, Geert Uytterhoeven wrote:
> > > The AMD SB Temperature Sensor Interface (SB-TSI) is only present on AMD
> > > X86 SoCs. Hence add a dependency on X86, to prevent asking the user
> > > about this driver when configuring a kernel without AMD X86 platform
> > > support.
>
> Sorry, I think there is some confusion. AMD SoC is a 'remote sensor',
> or the client, whereas the device using the SB-TSI hwmon driver is the
> master.
> In industry, a typical scenario is ARM-based Board Management
> Controllers (BMCs) using SB-TSI to monitor the host CPU temperature.
>
Ah, good point. I'll drop this patch.

Thanks,
Guenter