lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220506082335.3817259-1-claudiu.beznea@microchip.com>
Date:   Fri, 6 May 2022 11:23:31 +0300
From:   Claudiu Beznea <claudiu.beznea@...rochip.com>
To:     <nicolas.ferre@...rochip.com>, <alexandre.belloni@...tlin.com>,
        <linux@...linux.org.uk>
CC:     <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>,
        Claudiu Beznea <claudiu.beznea@...rochip.com>
Subject: [PATCH v3 0/4] ARM: at91: pm: add quirks for ethernet

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ