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-next>] [day] [month] [year] [list]
Message-Id: <1519336713-5417-1-git-send-email-andrew@lunn.ch>
Date:   Thu, 22 Feb 2018 22:58:31 +0100
From:   Andrew Lunn <andrew@...n.ch>
To:     David Miller <davem@...emloft.net>
Cc:     netdev <netdev@...r.kernel.org>,
        Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
        Gregory Clement <gregory.clement@...e-electrons.com>,
        Andrew Lunn <andrew@...n.ch>
Subject: [PATCH 0/2] mv88e6xxx: Poll when no interrupt defined

Not all boards using the mv88e6xxx switches have the interrupt output
connected to a GPIO. On these boards phylib has to poll the PHYs,
rather than use interrupts. Have the driver poll the interrupt status
register, which is more efficient than having phylib do it. And it
enables other switch interrupts to be services.

The Armada 370RD is such a board without a interrupt GPIO. Now that
interrupts work, wire up the PHYs to make use if them.

Gregory: Are you O.K. for the second patch to go through netdev?

Andrew Lunn (2):
  net: dsa: mv88e6xxx: Poll when no interrupt defined
  arm: mvebu: 370-rd: Enable PHY interrupt handling

 arch/arm/boot/dts/armada-370-rd.dts |  32 ++++++++
 drivers/net/dsa/mv88e6xxx/chip.c    | 146 +++++++++++++++++++++++++-----------
 drivers/net/dsa/mv88e6xxx/chip.h    |   3 +
 3 files changed, 138 insertions(+), 43 deletions(-)

-- 
2.15.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ