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

From: Guenter Roeck
Date: Wed Dec 16 2020 - 15:18:31 EST


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@xxxxxxxxxxxx> 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