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-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 16 Jan 2019 20:40:14 +0100
From:   Andrew Lunn <andrew@...n.ch>
To:     Heiner Kallweit <hkallweit1@...il.com>
Cc:     Florian Fainelli <f.fainelli@...il.com>,
        David Miller <davem@...emloft.net>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: phy: improve stopping PHY

On Wed, Jan 16, 2019 at 08:20:43PM +0100, Heiner Kallweit wrote:
> phy_stop_interrupts() is called from phy_disconnect() only. Most of
> what it does has been done by phy_stop() already which should have
> been called before phy_disconnect(). Based on that we can do some
> improvements:
> - remove phy_stop_interrupts() and free interrupt in
>   phy_disconnect() directly
> - replace condition "phydev->irq > 0" with the appropriate helper
> - make sure phy state machine is stopped after calling phy_stop()
> - check in phy_disconnect() that PHY is in a stopped state. Else
>   warn to detect misbehaving drivers and call phy_stop().

Hi Heiner

When i see a list like this, it makes me think there should be a
patchset, not a single patch. If something does break, we can bisect
it to just one change.

Please could you try to break this up into a few patches.

Thanks
	Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ