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: <01a0ebf9-5d3f-e886-4072-acb9bf418b12@ti.com>
Date:   Wed, 3 Nov 2021 20:42:07 +0200
From:   Grygorii Strashko <grygorii.strashko@...com>
To:     Andrew Lunn <andrew@...n.ch>
CC:     "Russell King (Oracle)" <linux@...linux.org.uk>,
        "David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
        Jakub Kicinski <kuba@...nel.org>,
        Heiner Kallweit <hkallweit1@...il.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        <linux-kernel@...r.kernel.org>,
        Vignesh Raghavendra <vigneshr@...com>
Subject: Re: [RFC PATCH] net: phy/mdio: enable mmd indirect access through
 phy_mii_ioctl()



On 03/11/2021 02:27, Andrew Lunn wrote:
>>> What i find interesting is that you and the other resent requester are
>>> using the same user space tool. If you implement C45 over C22 in that
>>> tool, you get your solution, and it will work for older kernels as
>>> well. Also, given the diverse implementations of this IOTCL, it
>>> probably works for more drivers than just those using phy_mii_ioctl().
>>
>> Do you mean change uapi, like
>>   add mdio_phy_id_is_c45_over_c22() and
>>   flag #define MDIO_PHY_ID_C45_OVER_C22 0x4000?
> 
> No, i mean user space implements C45 over C22. Make phytool write
> MII_MMD_CTRL and MII_MMD_DATA to perform a C45 over C22.

Now I give up - as mentioned there is now way to sync User space vs Kernel
MMD transactions and so no way to get trusted results.


Thanks all for participating in discussion.

-- 
Best regards,
grygorii

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ