All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2 0/4] net: mvpp2: fix the mac address retrieval logic
@ 2017-08-25 14:14 Antoine Tenart
  2017-08-25 14:14 ` [PATCH net v2 1/4] net: mvpp2: fix the mac address used when using PPv2.2 Antoine Tenart
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Antoine Tenart @ 2017-08-25 14:14 UTC (permalink / raw)
  To: davem, thomas.petazzoni
  Cc: Antoine Tenart, andrew, gregory.clement, nadavh, linux,
	linux-kernel, mw, stefanc, netdev

Hi all,

The MAC address retrieval logic was broken and when using the PPv2
driver on PPv2.2 engines I ended up using the same mac address on all
ports. This series of patches fixes this, and also tackle a possible bug
when defining the mac address in the device tree.

Patch 1/4 can be applied to relevant stable trees (4.12+).

The series applies on net/master (9b4e946ce14e).

Thanks!
Antoine

Since v1:
  - Rebased onto net (was on net-next).

Antoine Tenart (4):
  net: mvpp2: fix the mac address used when using PPv2.2
  net: mvpp2: move the mac retrieval/copy logic into its own function
  net: mvpp2: fix use of the random mac address for PPv2.2
  net: mvpp2: fallback using h/w and random mac if the dt one isn't
    valid

 drivers/net/ethernet/marvell/mvpp2.c | 48 ++++++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 18 deletions(-)

-- 
2.13.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-28 18:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 14:14 [PATCH net v2 0/4] net: mvpp2: fix the mac address retrieval logic Antoine Tenart
2017-08-25 14:14 ` [PATCH net v2 1/4] net: mvpp2: fix the mac address used when using PPv2.2 Antoine Tenart
2017-08-25 14:19   ` Andrew Lunn
2017-08-25 14:29     ` Antoine Tenart
2017-08-25 15:42       ` Andrew Lunn
2017-08-25 15:54         ` Antoine Tenart
2017-08-28 18:25   ` David Miller
2017-08-25 14:14 ` [PATCH net v2 2/4] net: mvpp2: move the mac retrieval/copy logic into its own function Antoine Tenart
2017-08-25 14:14 ` [PATCH net v2 3/4] net: mvpp2: fix use of the random mac address for PPv2.2 Antoine Tenart
2017-08-25 14:14 ` [PATCH net v2 4/4] net: mvpp2: fallback using h/w and random mac if the dt one isn't valid Antoine Tenart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.