Re: [PATCH 0/7] can: m_can: fix pm_runtime and CAN state handling

From: Philipp Zabel
Date: Wed Aug 13 2025 - 04:19:36 EST


On Di, 2025-08-12 at 19:36 +0200, Marc Kleine-Budde wrote:
> The first patch fixes a pm_runtime imbalance in the m_can_platform
> driver.
>
> The rest of this series fixes the CAN state handling in the m_can
> driver:
> - add the missing state transition from from Error Warning back to
> Error Active (Patches 2+3)
> - address the fact that in some SoCs (observed on the STM32MP15) the
> M_CAN IP core keeps the CAN state and CAN error counters over an
> internal reset cycle. Set the correct CAN state during ifup and
> system resume (Patches 4+5)
> - add support for optional shared external reset, to properly reset
> the IP core (Patches 6+7)

Should this declare a dependency on
https://lore.kernel.org/all/20250807-stm32mp15-m_can-add-reset-v2-1-f69ebbfced1f@xxxxxxxxxxxxxx/
or is that already merged?

regards
Philipp