[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86b89b19-73fe-4ec9-d030-a72f191a44d1@linaro.org>
Date: Mon, 1 Apr 2019 09:18:19 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Guenter Roeck <groeck@...gle.com>
Cc: rui.zhang@...el.com, edubezval@...il.com,
Linux PM list <linux-pm@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Russell King <linux@...linux.org.uk>,
Ralf Baechle <ralf@...ux-mips.org>,
Paul Burton <paul.burton@...s.com>,
James Hogan <jhogan@...nel.org>, Guan Xuetao <gxt@....edu.cn>,
Alexey Brodkin <alexey.brodkin@...opsys.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Guenter Roeck <groeck@...omium.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Daniel Mack <daniel@...que.org>,
Enric Balletbo i Serra <enric.balletbo@...labora.com>,
Arnd Bergmann <arnd@...db.de>,
"moderated list:ARM PORT" <linux-arm-kernel@...ts.infradead.org>,
"open list:MIPS" <linux-mips@...r.kernel.org>
Subject: Re: [PATCH] thermal/drivers/core: Remove the module Kconfig's option
Hi Guenter,
thanks for the review.
On 01/04/2019 06:10, Guenter Roeck wrote:
> On Sun, Mar 31, 2019 at 8:24 PM Daniel Lezcano
> <daniel.lezcano@...aro.org> wrote:
>>
>> The module support for the thermal subsystem does have a little sense:
>
> Do you mean "makes little sense" ?
yep :)
>> - some subsystems relying on it are not modules, thus forcing the
>> framework to be compiled in
>> - it is compiled in for almost every configs, the remaining ones
>> are a few platforms where I don't see why we can not switch the thermal
>> to 'y'. The drivers can stay in tristate.
>> - platforms need the thermal to be ready as soon as possible at boot time
>> in order to mitigate
>>
>> Usually the subsystems framework are compiled-in and the plugs are as module.
>>
>> Remove the module option. The removal of the module related dead code will
>> come after this patch gets in or is acked.
>>
>> Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
>
> Sounds like a good idea.
>
> Acked-by: Guenter Roeck <groeck@...omium.org>
>
> Many dependencies such as the following can probably be simplified or
> removed after this patch has been accepted.
>
> depends on THERMAL=y
> depends on THERMAL || THERMAL=n
> depends on (HWMON && (THERMAL || !THERMAL_OF)) || !HWMON
> depends on !(MLXSW_CORE=y && THERMAL=m)
> depends on THERMAL || !THERMAL
> depends on HWMON=y || HWMON=THERMAL
> depends on THERMAL || !THERMAL_OF
Absolutely.
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists