> -Original Message-
> From: Andrew Lunn
> Sent: Friday, January 29, 2021 5:50 PM
> To: Jiri Pirko
> Cc: David Ahern ; Jakub Kicinski ;
> netdev@vger.kernel.org; da...@davemloft.net; jacob.e.kel...@intel.com;
> Roopa Prabhu ; mlxsw ; Vadim
> Pasternak
> S
> -Original Message-
> From: Ido Schimmel
> Sent: Tuesday, June 30, 2020 9:00 AM
> To: Andrew Lunn ; Vadim Pasternak
>
> Cc: Adrian Pop ; netdev@vger.kernel.org;
> da...@davemloft.net; k...@kernel.org; Jiri Pirko ;
> mlxsw ; Ido Schimmel
> Subject: Re:
> -Original Message-
> From: Andrew Lunn
> Sent: Sunday, June 23, 2019 7:26 PM
> To: Vadim Pasternak
> Cc: Ido Schimmel ; netdev@vger.kernel.org;
> da...@davemloft.net; Jiri Pirko ; mlxsw
> ; Ido Schimmel
> Subject: Re: [PATCH net-next 3/3] mlxsw: core:
> -Original Message-
> From: Vadim Pasternak
> Sent: Sunday, June 23, 2019 7:01 PM
> To: Andrew Lunn ; Ido Schimmel
> Cc: netdev@vger.kernel.org; da...@davemloft.net; Jiri Pirko
> ; mlxsw ; Ido Schimmel
>
> Subject: RE: [PATCH net-next 3/3] mlxsw: core:
> -Original Message-
> From: Andrew Lunn
> Sent: Sunday, June 23, 2019 6:44 PM
> To: Ido Schimmel
> Cc: netdev@vger.kernel.org; da...@davemloft.net; Jiri Pirko
> ; mlxsw ; Vadim Pasternak
> ; Ido Schimmel
> Subject: Re: [PATCH net-next 3/3] mlxsw: core:
e next trip point.
Thus, the highest score will always be assigned objectively to the hottest
thermal zone.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 64 +++---
1 file changed, 57 insertions(+), 7 deletions(-)
d
> -Original Message-
> From: Guenter Roeck On Behalf Of Guenter Roeck
> Sent: Wednesday, February 13, 2019 5:03 PM
> To: Andrew Lunn ; Ido Schimmel
> Cc: netdev@vger.kernel.org; da...@davemloft.net; Jiri Pirko
> ; mlxsw ; Vadim Pasternak
>
> Subject: Re: [PAT
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Tuesday, June 26, 2018 9:18 PM
> To: Vadim Pasternak
> Cc: Guenter Roeck ; linux...@vger.kernel.org;
> netdev@vger.kernel.org; rui.zh...@intel.com; edubez...@gmail.com;
> j...@resnulli.us
>
> -Original Message-
> From: Guenter Roeck [mailto:li...@roeck-us.net]
> Sent: Tuesday, June 26, 2018 8:00 PM
> To: Andrew Lunn
> Cc: Vadim Pasternak ; linux...@vger.kernel.org;
> netdev@vger.kernel.org; rui.zh...@intel.com; edubez...@gmail.com;
> j...@resnulli.us
> -Original Message-
> From: Guenter Roeck [mailto:li...@roeck-us.net]
> Sent: Tuesday, June 26, 2018 7:33 PM
> To: Vadim Pasternak
> Cc: Andrew Lunn ; da...@davemloft.net;
> netdev@vger.kernel.org; rui.zh...@intel.com; edubez...@gmail.com;
> j...@resnulli.us;
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Tuesday, June 26, 2018 5:29 PM
> To: Vadim Pasternak
> Cc: da...@davemloft.net; netdev@vger.kernel.org; li...@roeck-us.net;
> rui.zh...@intel.com; edubez...@gmail.com; j...@resnulli.us; mlxsw
Use different thermal monitoring based on bus type.
For I2C bus time is set to 20 seconds, while for PCIe 1 second polling
interval is used.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 11 +--
1 file changed, 9 insertions
accumulated value of a chip and ports temperature
sensing, normalized according to the basic constant thresholds.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 66 --
1 file changed, 62 insertions(+), 4 deletions
case at least one port fault is detected, user can consider it in
the thermal algorithm. For example, in such case, FAN speed could be
increased.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c | 102 +++
1 file changed
r and exposes temperature according to
the worst measure. All individual temperature values are normalized to
pre-defined range.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/Makefile | 2 +-
drivers/net/ethernet/mellanox/mlxsw/core_env.c
faults, port temperature fault will
improve system monitoring abilities.
Vadim Pasternak (12):
mlxsw: spectrum: Move QSFP EEPROM defenitons to common location
mlxsw: reg: Add MTBR register
mlxsw: core: Add core environment module for port temperature reading
mlxsw: core: Add bus frequency
Add MTBR (Management Temperature Bulk Register), which is used for port
temperature reading in a bulk mode.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/reg.h | 69 +++
1 file changed, 69 insertions(+)
diff --git a
Move QSFP EEPROM definitions to common location from the spectrum
driver in order to make them available for other mlxsw modules. They
are common for all kind of chips and have relation to SFF
specifications 8024, 8436, 8472, 8636, rather then to chip type.
Signed-off-by: Vadim Pasternak
Acked
, should be increased.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core.h | 1 +
drivers/net/ethernet/mellanox/mlxsw/i2c.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core.h
b/drivers/net/ethernet/mellanox
only once and could stay in not optimal high state.
Notification will allow user to take an appropriate action if
necessary.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 27 ++
1 file changed, 27 insertions(+)
diff
Use different thermal monitoring based on bus type.
For I2C bus time is set to 20 seconds, while for PCIe 1 second polling
interval is used.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 11 +--
1 file changed, 9 insertions
Name "Fan" is too common name, and such name is misleading, while it's
interpreted by user.
For example name "Fan" could be used by ACPI.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 3 ++-
1 file ch
thermal trip
point boundary.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 63 ++
1 file changed, 41 insertions(+), 22 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
b/drivers/net
Add new FAN hwmon attribute for exposing FAN faults (fault is set in
case FAN tachometer is below allowed minimum).
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c | 62 +++-
1 file changed, 60 insertions(+), 2
such device will be stall on zero speed.
Cooling levels allow to configure state vector according to the
particular system requirements. For example, if PWM speed is not
allowed to be below 30%, cooling levels could be configured as 30%,
30%, 30%, 30%, 40%, 50% and so on.
Signed-off-by: Vadim Past
> -Original Message-
> From: Guenter Roeck [mailto:li...@roeck-us.net]
> Sent: Friday, June 22, 2018 1:07 AM
> To: Andrew Lunn
> Cc: Vadim Pasternak ; da...@davemloft.net;
> netdev@vger.kernel.org; j...@resnulli.us
> Subject: Re: [PATCH v0 03/12] mlxsw: core:
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Thursday, June 21, 2018 10:49 PM
> To: Vadim Pasternak
> Cc: Guenter Roeck ; da...@davemloft.net;
> netdev@vger.kernel.org; j...@resnulli.us
> Subject: Re: [PATCH v0 03/12] mlxsw: core: Add co
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Thursday, June 21, 2018 9:35 PM
> To: Vadim Pasternak ; Guenter Roeck us.net>
> Cc: da...@davemloft.net; netdev@vger.kernel.org; j...@resnulli.us
> Subject: Re: [PATCH v0 03/12] mlxsw: core:
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Thursday, June 21, 2018 8:11 PM
> To: Vadim Pasternak
> Cc: da...@davemloft.net; netdev@vger.kernel.org; j...@resnulli.us
> Subject: Re: [PATCH v0 03/12] mlxsw: core: Add core environment
r and exposes temperature according to
the worst measure. All individual temperature values are normalized to
pre-defined range.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/Makefile | 2 +-
drivers/net/ethernet/mellanox/mlxsw/core_env.c
faults, port temperature fault will
improve system monitoring abilities.
Vadim Pasternak (12):
mlxsw: spectrum: Move QSFP EEPROM defenitons to common location
mlxsw: reg: Add MTBR register
mlxsw: core: Add core environment module for port temperature reading
mlxsw: core: Extend hwmon
thermal trip
point boundary.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 63 ++
1 file changed, 41 insertions(+), 22 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
b/drivers/net
Use different thermal monitoring based on bus type.
For I2C bus time is set to 20 seconds, while for PCIe 1 second polling
interval is used.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 11 +--
1 file changed, 9 insertions
Add new attributes to hwmon object for exposing accumulative ports
temperature input and accumulative port temperature fault (if one of
sensors in untrusted - fault is set.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c | 102
Add new FAN hwmon attribute for exposing FAN faults (fault is set in
case FAN tachometer is below allowed minimum).
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c | 62 +++-
1 file changed, 60 insertions(+), 2
, should be increased.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core.h | 1 +
drivers/net/ethernet/mellanox/mlxsw/i2c.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core.h
b/drivers/net/ethernet/mellanox
Name "Fan" is too common name, and such name is misleading, while it's
interpreted by user.
For example name "Fan" could be used by ACPI.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 3 ++-
1 file ch
Add MTBR (Management Temperature Bulk Register), which is used for port
temperature reading in a bulk mode.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/reg.h | 69 +++
1 file changed, 69 insertions(+)
diff --git a
only once and could stay in not optimal high state.
Notification will allow user to take an appropriate action if
necessary.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 27 ++
1 file changed, 27 insertions(+)
diff
accumulated value of a chip and ports temperature
sensing, normalized according to the basic constant thresholds.
Signed-off-by: Vadim Pasternak
Acked-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 66 --
1 file changed, 62 insertions(+), 4 deletions
such device will be stall on zero speed.
Cooling levels allow to configure state vector according to the
particular system requirements. For example, if PWM speed is not
allowed to be below 30%, cooling levels could be configured as 30%,
30%, 30%, 30%, 40%, 50% and so on.
Signed-off-by: Vadim Past
Move QSFP EEPROM definitions to common location from the spectrum
driver in order to make them available for other mlxsw modules. They
are common for all kind of chips and have relation to SFF
specifications 8024, 8436, 8472, 8636, rather then to chip type.
Signed-off-by: Vadim Pasternak
Acked
> -Original Message-
> From: Andrew Lunn [mailto:and...@lunn.ch]
> Sent: Tuesday, August 29, 2017 8:23 PM
> To: Vadim Pasternak
> Cc: robh...@kernel.org; da...@davemloft.net; j...@resnulli.us;
> ivec...@redhat.com; devicet...@vger.kernel.org; netdev@vger.kernel.org
>
It allows binding of AISC thermal sensor to externally defined thermal
zones and cooling device. Such definition can be provided from DTS.
Vadim Pasternak (2):
dt-bindings: net: add binding documentation for mlxsw thermal control
mlxsw: core: add support for the external thermal zone setting
It allows:
- thermal zone setting for mlxsw based HW and from DTS file;
- binding ASIC temperature sensor to cooling devices.
It requires setting of CONFIG_OF.
Signed-off-by: Vadim Pasternak
---
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 107 -
drivers/net
Add binding document for Mellanox switch devices.
Signed-off-by: Vadim Pasternak
---
.../devicetree/bindings/net/mellanox,mlxsw.txt | 46 ++
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/mellanox,mlxsw.txt
diff --git a
46 matches
Mail list logo