From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Guenter Roeck <groeck@google.com>
Cc: "moderated list:ARM PORT" <linux-arm-kernel@lists.infradead.org>,
Arnd Bergmann <arnd@arndb.de>,
Linux PM list <linux-pm@vger.kernel.org>,
James Hogan <jhogan@kernel.org>,
Robert Jarzmik <robert.jarzmik@free.fr>,
Alexey Brodkin <alexey.brodkin@synopsys.com>,
Russell King <linux@armlinux.org.uk>,
Ralf Baechle <ralf@linux-mips.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
edubezval@gmail.com,
Enric Balletbo i Serra <enric.balletbo@collabora.com>,
Paul Burton <paul.burton@mips.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Guenter Roeck <groeck@chromium.org>,
rui.zhang@intel.com,
"open list:MIPS" <linux-mips@vger.kernel.org>,
Guan Xuetao <gxt@pku.edu.cn>,
Andrew Morton <akpm@linux-foundation.org>,
Daniel Mack <daniel@zonque.org>
Subject: Re: [PATCH] thermal/drivers/core: Remove the module Kconfig's option
Date: Mon, 1 Apr 2019 09:18:19 +0200 [thread overview]
Message-ID: <86b89b19-73fe-4ec9-d030-a72f191a44d1@linaro.org> (raw)
In-Reply-To: <CABXOdTeB+5vNi+mRBf2ff2YJG5WVRAGFjBz-ehjDTCyQdcpr7A@mail.gmail.com>
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@linaro.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@linaro.org>
>
> Sounds like a good idea.
>
> Acked-by: Guenter Roeck <groeck@chromium.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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-04-01 7:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 3:24 [PATCH] thermal/drivers/core: Remove the module Kconfig's option Daniel Lezcano
2019-04-01 4:10 ` Guenter Roeck
2019-04-01 7:18 ` Daniel Lezcano [this message]
2019-04-01 7:15 ` Krzysztof Kozlowski
2019-04-03 5:45 ` Amit Kucheria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86b89b19-73fe-4ec9-d030-a72f191a44d1@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=akpm@linux-foundation.org \
--cc=alexey.brodkin@synopsys.com \
--cc=arnd@arndb.de \
--cc=daniel@zonque.org \
--cc=edubezval@gmail.com \
--cc=enric.balletbo@collabora.com \
--cc=groeck@chromium.org \
--cc=groeck@google.com \
--cc=gxt@pku.edu.cn \
--cc=jhogan@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=paul.burton@mips.com \
--cc=ralf@linux-mips.org \
--cc=robert.jarzmik@free.fr \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox