-----Original Message-----Tested-by: Vadim Pasternak <vadimp@xxxxxxxxxx>
From: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
Sent: Monday, August 1, 2022 12:56 PM
To: daniel.lezcano@xxxxxxxxxx; rafael@xxxxxxxxxx
Cc: Vadim Pasternak <vadimp@xxxxxxxxxx>; davem@xxxxxxxxxxxxx;
netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Ido Schimmel
<idosch@xxxxxxxxxx>; Petr Machata <petrm@xxxxxxxxxx>; Eric Dumazet
<edumazet@xxxxxxxxxx>; Jakub Kicinski <kuba@xxxxxxxxxx>; Paolo Abeni
<pabeni@xxxxxxxxxx>
Subject: [PATCH 2/2] Revert "mlxsw: core: Add the hottest thermal zone
detection"
This reverts commit 6f73862fabd93213de157d9cc6ef76084311c628.
As discussed in the thread:
https://lore.kernel.org/all/f3c62ebe-7d59-c537-a010-
bff366c8aeba@xxxxxxxxxx/
the feature provided by commits 2dc2f760052da and 6f73862fabd93 is
actually already handled by the thermal framework via the cooling device
state aggregation, thus all this code is pointless.
The revert conflicts with the following changes:
- 7f4957be0d5b8: thermal: Use mode helpers in drivers
- 6a79507cfe94c: mlxsw: core: Extend thermal module with per QSFP module
thermal zones
These conflicts were fixed and the resulting changes are in this patch.
Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
Daniel,
Could you, please, re-base the patch on top of net-next as Jakub mentioned?
Or do you want me to do it?
There is also redundant blank line in this patch:
&mlxsw_thermal_module_ops,
+
&mlxsw_thermal_params,