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>] [day] [month] [year] [list]
Message-ID: <trinity-33332a4a-1c44-46b7-8526-b53b1a94ffc2-1726082106356@3c-app-gmx-bs04>
Date: Wed, 11 Sep 2024 21:15:06 +0200
From: Hans-Frieder Vogt <hfdevel@....net>
To: netdev@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>,
 Russell King <linux@...linux.org.uk>, FUJITA Tomonori
 <fujita.tomonori@...il.com>, "David S. Miller" <davem@...emloft.net>, Eric
 Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo
 Abeni <pabeni@...hat.com>
Subject: [PATCH net-next 0/5] net: tn40xx: add support for AQR105 based
 cards (was: net: phy: aquantia: emable firmware loading for aqr105)

This patch series adds support to the Tehuti tn40xx driver for TN9510 cards
which combine a TN4010 MAC with an Aquantia AQR105.
It is a replacement for the proposed patch series "net: phy: aquantia: enable
firmware loading for aqr105 on PCIe cards" for firmware loading to Aquantia PHYs
from the filesystem, see
https://lore.kernel.org/netdev/c7c1a3ae-be97-4929-8d89-04c8aa870209@gmx.net/

As suggested by Andrew Lunn, I have replaced the potentially unreliable
firmware-name composition deriving a name from MDIO and phy names with a
more robust method, where the MAC provides a file name via software nodes.

Therefore, this is now a combined patch series adding functionality to the
aquantia PHY driver to read a file name from swnode and to the tn40xx MAC driver
to create the swnode.
Additionally, a few small changes are added to allow firmware loading from the
filesystem for the Aquantia AQR105 phy and loading of the tn40xx driver for the
TN9510 card (TN4010 MAC + AQR105 PHY).

The patch was tested on a Tehuti TN9510 card (1fc9:4025).

Hans-Frieder Vogt (5):
   net: phy: aquantia: add probe function to aqr105 for firmware loading
   net: phy: aquantia: allow firmware loading after aqr_wait_reset_complete
   net: phy: aquantia: search for firmware-name in fwnode
   net: tn40xx: enable driver to support TN4010 cards with AQR105 PHY
   net: tn40xx: register swnode and connect it to the mdiobus

 drivers/net/ethernet/tehuti/tn40.c             |    4 +
 drivers/net/ethernet/tehuti/tn40.c             |   10 +++
 drivers/net/ethernet/tehuti/tn40.h             |   25 +++++++++
 drivers/net/ethernet/tehuti/tn40_mdio.c        |   63 ++++++++++++++++++++++++-
 drivers/net/phy/aquantia/aquantia_firmware.c   |    2
 drivers/net/phy/aquantia/aquantia_firmware.c   |   25 +++++++++
 drivers/net/phy/aquantia/aquantia_main.c       |    1
 7 files changed, 126 insertions(+), 4 deletions(-)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ