[PATCH v3 0/4] ARM: at91: pm: add quirks for ethernet

Claudiu Beznea claudiu.beznea at microchip.com
Fri May 6 01:23:31 PDT 2022


Hi,

As described in patch 4/4 when receiving WoL packet on Ethernet
interfaces of AT91 SoCs and being in ULP0 or ULP1 AT91 specific power
management modes some SoCs may block other may have Ethernet interfaces
broken after resume. Workaround for this would be to disable clocks
for these Ethernet interfaces. As the MACB driver is common to multiple
vendors and multiple architectures and ULP0, ULP1 PM modes are AT91
specific the fix has been implemented in arch/arm/mach-at91 to avoid
having AT91 specific code in MACB driver.

Along with this patches I took the chance and added few comment style
fixups.

Thank you,
Claudiu Beznea

Changes in v3:
- patch 3/4 is now patch 4/4, patch 4/4 is now patch 3/4
- in patch 4/4:
	- improve failure path in at91_pm_config_quirks()
	- pass struct at91_pm_quirk_eth object to at91_pm_eth_quirk_is_valid()
	- add struct device member to struct at91_pm_quirk_eth
	- guard for_each_wakeup_source() with CONFIG_PM_SLEEP fixing the
	  compilation error Reported-by: kernel test robot <lkp at intel.com>

Changes in v2:
- in patch 4/4: use proper structure name in documentation

Claudiu Beznea (4):
  ARM: at91: pm: keep documentation inline with structure members
  ARM: at91: pm: introduce macros for pm mode replacement
  ARM: at91: pm: use kernel documentation style
  ARM: at91: pm: add quirks for pm

 arch/arm/mach-at91/pm.c | 395 ++++++++++++++++++++++++++++++++++++----
 1 file changed, 362 insertions(+), 33 deletions(-)

-- 
2.34.1




More information about the linux-arm-kernel mailing list