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]
Message-ID: <Z88Uma90VzLul2we@shell.armlinux.org.uk>
Date: Mon, 10 Mar 2025 16:34:33 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Chris Packham <Chris.Packham@...iedtelesis.co.nz>
Cc: Daniel Golle <daniel@...rotopia.org>, "andrew@...n.ch" <andrew@...n.ch>,
	"hkallweit1@...il.com" <hkallweit1@...il.com>,
	"davem@...emloft.net" <davem@...emloft.net>,
	"edumazet@...gle.com" <edumazet@...gle.com>,
	"kuba@...nel.org" <kuba@...nel.org>,
	"pabeni@...hat.com" <pabeni@...hat.com>,
	"sander@...nheule.net" <sander@...nheule.net>,
	"markus.stockhausen@....de" <markus.stockhausen@....de>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v9] net: mdio: Add RTL9300 MDIO driver

On Mon, Mar 10, 2025 at 02:07:26AM +0000, Chris Packham wrote:
> So far upstream Linux doesn't have generic paged PHY register functions. 
> It sounds like that'd be a prerequisite for this.

If it doesn't, then what are:

phy_save_paged()
phy_select_page()
phy_restore_page()
phy_read_paged()
phy_write_paged()
phy_modify_paged()

etc?

These are at the _phy_ level because it requires the co-operation of
the PHY driver to select the page in the PHY (each PHY vendor does
paging differently.) They aren't a MDIO bus level thing because paging
doesn't exist at that level.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ