mbox series

[net-next,v2,0/3] mlxsw: Improvements

Message ID cover.1720447210.git.petrm@nvidia.com (mailing list archive)
Headers show
Series mlxsw: Improvements | expand

Message

Petr Machata July 8, 2024, 2:23 p.m. UTC
This patchset contains assortments of improvements to the mlxsw driver.
Please see individual patches for details.

v2:
- Patch #1:
    - changed to WARN_ONCE() with some prints
- Patch #2:
    - call thermal_cooling_device_unregister() unconditionally and mention
      it in the commit message
- Patch #3:
    - reword the commit message to reflect the fact that the change both
      suppresses a warning and avoid concurrent access

Ido Schimmel (2):
  mlxsw: core_thermal: Report valid current state during cooling device
    registration
  mlxsw: pci: Lock configuration space of upstream bridge during reset

Petr Machata (1):
  mlxsw: Warn about invalid accesses to array fields

 .../ethernet/mellanox/mlxsw/core_thermal.c    | 51 +++++++++----------
 drivers/net/ethernet/mellanox/mlxsw/item.h    |  4 ++
 drivers/net/ethernet/mellanox/mlxsw/pci.c     |  6 +++
 3 files changed, 35 insertions(+), 26 deletions(-)

Comments

Przemek Kitszel July 9, 2024, 8:50 a.m. UTC | #1
On 7/8/24 16:23, Petr Machata wrote:
> This patchset contains assortments of improvements to the mlxsw driver.
> Please see individual patches for details.
> 
> v2:
> - Patch #1:
>      - changed to WARN_ONCE() with some prints
> - Patch #2:
>      - call thermal_cooling_device_unregister() unconditionally and mention
>        it in the commit message
> - Patch #3:
>      - reword the commit message to reflect the fact that the change both
>        suppresses a warning and avoid concurrent access
> 
> Ido Schimmel (2):
>    mlxsw: core_thermal: Report valid current state during cooling device
>      registration
>    mlxsw: pci: Lock configuration space of upstream bridge during reset
> 
> Petr Machata (1):
>    mlxsw: Warn about invalid accesses to array fields
> 
>   .../ethernet/mellanox/mlxsw/core_thermal.c    | 51 +++++++++----------
>   drivers/net/ethernet/mellanox/mlxsw/item.h    |  4 ++
>   drivers/net/ethernet/mellanox/mlxsw/pci.c     |  6 +++
>   3 files changed, 35 insertions(+), 26 deletions(-)
> 

for the series:
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
patchwork-bot+netdevbpf@kernel.org July 10, 2024, 2:10 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 8 Jul 2024 16:23:39 +0200 you wrote:
> This patchset contains assortments of improvements to the mlxsw driver.
> Please see individual patches for details.
> 
> v2:
> - Patch #1:
>     - changed to WARN_ONCE() with some prints
> - Patch #2:
>     - call thermal_cooling_device_unregister() unconditionally and mention
>       it in the commit message
> - Patch #3:
>     - reword the commit message to reflect the fact that the change both
>       suppresses a warning and avoid concurrent access
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/3] mlxsw: Warn about invalid accesses to array fields
    https://git.kernel.org/netdev/net-next/c/b45c76e5f43f
  - [net-next,v2,2/3] mlxsw: core_thermal: Report valid current state during cooling device registration
    https://git.kernel.org/netdev/net-next/c/a22f3bc80075
  - [net-next,v2,3/3] mlxsw: pci: Lock configuration space of upstream bridge during reset
    https://git.kernel.org/netdev/net-next/c/0970836c348b

You are awesome, thank you!