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  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, 30 Dec 2020 08:17:42 -0800
From:   Florian Fainelli <>
To:     Andrew Lunn <>, DENG Qingfang <>
Cc:     "David S. Miller" <>,
        Heiner Kallweit <>,
        Jakub Kicinski <>,
        Landen Chao <>,
        Marc Zyngier <>,
        Matthias Brugger <>,
        Philipp Zabel <>,
        Russell King <>,
        Sean Wang <>,
        Thomas Gleixner <>,
        Vivien Didelot <>,
        Vladimir Oltean <>,,,
        Weijie Gao <>,
        Chuanhong Guo <>,
        Linus Walleij <>,
        René van Dorst <>
Subject: Re: Registering IRQ for MT7530 internal PHYs

On 12/30/2020 7:16 AM, Andrew Lunn wrote:
>> 2. Allocated ds->slave_mii_bus before calling ds->ops->setup, because
>> we cannot call dsa_slave_mii_bus_init which is private.
>> Any better ideas?
> Do what mv88e6xxx does, allocate the MDIO bus inside the switch
> driver.

Yes, exactly, or you could add additional hooks to allow intercepting
the initialization and de-initialization of the ds->slave_mii_bus,
something like this:

which was part of a larger series adding threaded IRQ support to the b53

Powered by blists - more mailing lists