All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver
@ 2017-05-31  0:00 Woojung.Huh
  2017-05-31 18:28 ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Woojung.Huh @ 2017-05-31  0:00 UTC (permalink / raw)
  To: andrew, f.fainelli; +Cc: netdev, davem, UNGLinuxDriver

From: Woojung Huh <Woojung.Huh@microchip.com>

This series of patches is for Microchip KSZ9477 DSA driver.
KSZ9477 is 7 ports GigE switch with numerous advanced features.
5 ports are 10/100/1000 Mbps internal PHYs and 2 ports have
Interfaces to SGMII, RGMII, MII or RMII.

This patch supports VLAN, MDB, FDB and port mirroring offloads.

Welcome reviews and comments from community.

Note: Tests are performed on internal development board.

V5
- drivers/net/dsa/microchip/ksz_common.c
  * remove wrong mutex_unlock() in ksz_port_mdb_del()

V4
- update per review comments
- cosmetic changes
- net/dsa/tag_ksz.c
  * skb_put() & memset() are changed to skb_put_padto()
- drivers/net/dsa/microchip/ksz_common.
   * vlan access mutex is updated
   * mib_names[] is changed to static const

V3
- update per review comments
- cosmetic changes
- drivers/net/dsa/microchip/ksz_common.c 
  * clean up ksz_switch_chips[] 
  * consolidate checking loops into functions
  * update mutex for better locking
  * replace devm_kmalloc_array() to devm_kcalloc()
- MAINTAINERS
  * add missing net/dsa/tag_ksz.c

V2
- update per review comments
- several cosmetic changes
- net/dsa/tag_ksz.c
  * constants are changed to defines
  * remove skb_linearize() in ksz_rcv()
  * ksz_xmit()checks skb tailroom before allocate new skb
- drivers/net/phy/micrel.c
  * remove PHY_HAS_MAGICANEG from ksphy_driver[]
- drivers/net/dsa/microchip/ksz_common.c
  * add timeout to avoid endless loop
  * port initialization is move to ksz_port_enable() instead of  ksz_setup_ports()
- Documentation/devicetree/bindings/net/dsa/ksz.txt
  * fix typo and indentations

Woojung Huh (5):
  dsa: add support for Microchip KSZ tail tagging
  phy: micrel: add Microchip KSZ 9477 Switch PHY support
  dsa: add DSA switch driver for Microchip KSZ9477
  net: dsa: Add Microchip KSZ switches binding
  dsa: add maintainer of Microchip KSZ switches

 Documentation/devicetree/bindings/net/dsa/ksz.txt |   72 +
 MAINTAINERS                                       |   10 +
 drivers/net/dsa/Kconfig                           |    2 +
 drivers/net/dsa/Makefile                          |    1 +
 drivers/net/dsa/microchip/Kconfig                 |   12 +
 drivers/net/dsa/microchip/Makefile                |    2 +
 drivers/net/dsa/microchip/ksz_9477_reg.h          | 1676 +++++++++++++++++++++
 drivers/net/dsa/microchip/ksz_common.c            | 1278 ++++++++++++++++
 drivers/net/dsa/microchip/ksz_priv.h              |  210 +++
 drivers/net/dsa/microchip/ksz_spi.c               |  215 +++
 drivers/net/phy/micrel.c                          |   11 +
 include/linux/micrel_phy.h                        |    2 +
 include/linux/platform_data/microchip-ksz.h       |   29 +
 include/net/dsa.h                                 |    1 +
 net/dsa/Kconfig                                   |    3 +
 net/dsa/Makefile                                  |    1 +
 net/dsa/dsa.c                                     |    3 +
 net/dsa/dsa_priv.h                                |    3 +
 net/dsa/tag_ksz.c                                 |  101 ++
 19 files changed, 3632 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/ksz.txt
 create mode 100644 drivers/net/dsa/microchip/Kconfig
 create mode 100644 drivers/net/dsa/microchip/Makefile
 create mode 100644 drivers/net/dsa/microchip/ksz_9477_reg.h
 create mode 100644 drivers/net/dsa/microchip/ksz_common.c
 create mode 100644 drivers/net/dsa/microchip/ksz_priv.h
 create mode 100644 drivers/net/dsa/microchip/ksz_spi.c
 create mode 100644 include/linux/platform_data/microchip-ksz.h
 create mode 100644 net/dsa/tag_ksz.c

-- 
2.7.4

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

* Re: [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver
  2017-05-31  0:00 [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver Woojung.Huh
@ 2017-05-31 18:28 ` David Miller
  2017-05-31 18:47   ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: David Miller @ 2017-05-31 18:28 UTC (permalink / raw)
  To: Woojung.Huh; +Cc: andrew, f.fainelli, netdev, UNGLinuxDriver

From: <Woojung.Huh@microchip.com>
Date: Wed, 31 May 2017 00:00:34 +0000

> From: Woojung Huh <Woojung.Huh@microchip.com>
> 
> This series of patches is for Microchip KSZ9477 DSA driver.
> KSZ9477 is 7 ports GigE switch with numerous advanced features.
> 5 ports are 10/100/1000 Mbps internal PHYs and 2 ports have
> Interfaces to SGMII, RGMII, MII or RMII.
> 
> This patch supports VLAN, MDB, FDB and port mirroring offloads.
> 
> Welcome reviews and comments from community.
> 
> Note: Tests are performed on internal development board.

Series applied, thanks.

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

* Re: [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver
  2017-05-31 18:28 ` David Miller
@ 2017-05-31 18:47   ` David Miller
  2017-05-31 18:52     ` Andrew Lunn
  2017-05-31 18:56     ` Woojung.Huh
  0 siblings, 2 replies; 7+ messages in thread
From: David Miller @ 2017-05-31 18:47 UTC (permalink / raw)
  To: Woojung.Huh; +Cc: andrew, f.fainelli, netdev, UNGLinuxDriver

From: David Miller <davem@davemloft.net>
Date: Wed, 31 May 2017 14:28:30 -0400 (EDT)

> From: <Woojung.Huh@microchip.com>
> Date: Wed, 31 May 2017 00:00:34 +0000
> 
>> From: Woojung Huh <Woojung.Huh@microchip.com>
>> 
>> This series of patches is for Microchip KSZ9477 DSA driver.
>> KSZ9477 is 7 ports GigE switch with numerous advanced features.
>> 5 ports are 10/100/1000 Mbps internal PHYs and 2 ports have
>> Interfaces to SGMII, RGMII, MII or RMII.
>> 
>> This patch supports VLAN, MDB, FDB and port mirroring offloads.
>> 
>> Welcome reviews and comments from community.
>> 
>> Note: Tests are performed on internal development board.
> 
> Series applied, thanks.

Unfortunately, I had to revert, you didn't add MODULE_LICENSE() tags
to the new drivers.

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/dsa/microchip/ksz_common.o
see include/linux/module.h for more information
WARNING: modpost: missing MODULE_LICENSE() in drivers/net/dsa/microchip/ksz_spi.o
see include/linux/module.h for more information

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

* Re: [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver
  2017-05-31 18:47   ` David Miller
@ 2017-05-31 18:52     ` Andrew Lunn
  2017-05-31 18:56     ` Woojung.Huh
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew Lunn @ 2017-05-31 18:52 UTC (permalink / raw)
  To: David Miller; +Cc: Woojung.Huh, f.fainelli, netdev, UNGLinuxDriver

On Wed, May 31, 2017 at 02:47:32PM -0400, David Miller wrote:
> From: David Miller <davem@davemloft.net>
> Date: Wed, 31 May 2017 14:28:30 -0400 (EDT)
> 
> > From: <Woojung.Huh@microchip.com>
> > Date: Wed, 31 May 2017 00:00:34 +0000
> > 
> >> From: Woojung Huh <Woojung.Huh@microchip.com>
> >> 
> >> This series of patches is for Microchip KSZ9477 DSA driver.
> >> KSZ9477 is 7 ports GigE switch with numerous advanced features.
> >> 5 ports are 10/100/1000 Mbps internal PHYs and 2 ports have
> >> Interfaces to SGMII, RGMII, MII or RMII.
> >> 
> >> This patch supports VLAN, MDB, FDB and port mirroring offloads.
> >> 
> >> Welcome reviews and comments from community.
> >> 
> >> Note: Tests are performed on internal development board.
> > 
> > Series applied, thanks.
> 
> Unfortunately, I had to revert, you didn't add MODULE_LICENSE() tags
> to the new drivers.
> 
> WARNING: modpost: missing MODULE_LICENSE() in drivers/net/dsa/microchip/ksz_common.o
> see include/linux/module.h for more information
> WARNING: modpost: missing MODULE_LICENSE() in drivers/net/dsa/microchip/ksz_spi.o
> see include/linux/module.h for more information

Hi Woojung

Humm, it does not mention the GPL in any of the file headers. So it is
unclear to me what license is used on these files.

	Andrew

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

* RE: [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver
  2017-05-31 18:47   ` David Miller
  2017-05-31 18:52     ` Andrew Lunn
@ 2017-05-31 18:56     ` Woojung.Huh
  1 sibling, 0 replies; 7+ messages in thread
From: Woojung.Huh @ 2017-05-31 18:56 UTC (permalink / raw)
  To: davem; +Cc: andrew, f.fainelli, netdev, UNGLinuxDriver

> Unfortunately, I had to revert, you didn't add MODULE_LICENSE() tags
> to the new drivers.
> 
> WARNING: modpost: missing MODULE_LICENSE() in
> drivers/net/dsa/microchip/ksz_common.o
> see include/linux/module.h for more information
> WARNING: modpost: missing MODULE_LICENSE() in
> drivers/net/dsa/microchip/ksz_spi.o
> see include/linux/module.h for more information
Ouch! Will submit update soon.

Thanks.
- Woojung

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

* Re: [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver
  2017-05-31 20:19 Woojung.Huh
@ 2017-06-01  0:57 ` David Miller
  0 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2017-06-01  0:57 UTC (permalink / raw)
  To: Woojung.Huh; +Cc: netdev, andrew, f.fainelli, UNGLinuxDriver

From: <Woojung.Huh@microchip.com>
Date: Wed, 31 May 2017 20:19:00 +0000

> From: Woojung Huh <Woojung.Huh@microchip.com>
> 
> This series of patches is for Microchip KSZ9477 DSA driver.
> KSZ9477 is 7 ports GigE switch with numerous advanced features.
> 5 ports are 10/100/1000 Mbps internal PHYs and 2 ports have
> Interfaces to SGMII, RGMII, MII or RMII.
> 
> This patch supports VLAN, MDB, FDB and port mirroring offloads.
> 
> Welcome reviews and comments from community.
> 
> Note: Tests are performed on internal development board.
> 
> V5
> - add missing MODULE_LICENSE

Series applied, thanks.

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

* [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver
@ 2017-05-31 20:19 Woojung.Huh
  2017-06-01  0:57 ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Woojung.Huh @ 2017-05-31 20:19 UTC (permalink / raw)
  To: netdev, davem; +Cc: andrew, f.fainelli, UNGLinuxDriver

From: Woojung Huh <Woojung.Huh@microchip.com>

This series of patches is for Microchip KSZ9477 DSA driver.
KSZ9477 is 7 ports GigE switch with numerous advanced features.
5 ports are 10/100/1000 Mbps internal PHYs and 2 ports have
Interfaces to SGMII, RGMII, MII or RMII.

This patch supports VLAN, MDB, FDB and port mirroring offloads.

Welcome reviews and comments from community.

Note: Tests are performed on internal development board.

V5
- add missing MODULE_LICENSE

V4
- update per review comments
- cosmetic changes
- net/dsa/tag_ksz.c
  * skb_put() & memset() are changed to skb_put_padto()
- drivers/net/dsa/microchip/ksz_common.
   * vlan access mutex is updated
   * mib_names[] is changed to static const

V3
- update per review comments
- cosmetic changes
- drivers/net/dsa/microchip/ksz_common.c 
  * clean up ksz_switch_chips[] 
  * consolidate checking loops into functions
  * update mutex for better locking
  * replace devm_kmalloc_array() to devm_kcalloc()
- MAINTAINERS
  * add missing net/dsa/tag_ksz.c

V2
- update per review comments
- several cosmetic changes
- net/dsa/tag_ksz.c
  * constants are changed to defines
  * remove skb_linearize() in ksz_rcv()
  * ksz_xmit()checks skb tailroom before allocate new skb
- drivers/net/phy/micrel.c
  * remove PHY_HAS_MAGICANEG from ksphy_driver[]
- drivers/net/dsa/microchip/ksz_common.c
  * add timeout to avoid endless loop
  * port initialization is move to ksz_port_enable() instead of  ksz_setup_ports()
- Documentation/devicetree/bindings/net/dsa/ksz.txt
  * fix typo and indentations

Woojung Huh (5):
  dsa: add support for Microchip KSZ tail tagging
  phy: micrel: add Microchip KSZ 9477 Switch PHY support
  dsa: add DSA switch driver for Microchip KSZ9477
  net: dsa: Add Microchip KSZ switches binding
  dsa: add maintainer of Microchip KSZ switches

 Documentation/devicetree/bindings/net/dsa/ksz.txt |   72 +
 MAINTAINERS                                       |   10 +
 drivers/net/dsa/Kconfig                           |    2 +
 drivers/net/dsa/Makefile                          |    1 +
 drivers/net/dsa/microchip/Kconfig                 |   12 +
 drivers/net/dsa/microchip/Makefile                |    2 +
 drivers/net/dsa/microchip/ksz_9477_reg.h          | 1676 +++++++++++++++++++++
 drivers/net/dsa/microchip/ksz_common.c            | 1279 ++++++++++++++++
 drivers/net/dsa/microchip/ksz_priv.h              |  210 +++
 drivers/net/dsa/microchip/ksz_spi.c               |  216 +++
 drivers/net/phy/micrel.c                          |   11 +
 include/linux/micrel_phy.h                        |    2 +
 include/linux/platform_data/microchip-ksz.h       |   29 +
 include/net/dsa.h                                 |    1 +
 net/dsa/Kconfig                                   |    3 +
 net/dsa/Makefile                                  |    1 +
 net/dsa/dsa.c                                     |    3 +
 net/dsa/dsa_priv.h                                |    3 +
 net/dsa/tag_ksz.c                                 |  101 ++
 19 files changed, 3634 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/ksz.txt
 create mode 100644 drivers/net/dsa/microchip/Kconfig
 create mode 100644 drivers/net/dsa/microchip/Makefile
 create mode 100644 drivers/net/dsa/microchip/ksz_9477_reg.h
 create mode 100644 drivers/net/dsa/microchip/ksz_common.c
 create mode 100644 drivers/net/dsa/microchip/ksz_priv.h
 create mode 100644 drivers/net/dsa/microchip/ksz_spi.c
 create mode 100644 include/linux/platform_data/microchip-ksz.h
 create mode 100644 net/dsa/tag_ksz.c

-- 
2.7.4

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

end of thread, other threads:[~2017-06-01  0:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31  0:00 [PATCH v5 net-next 0/5] dsa: add Microchip KSZ9477 DSA driver Woojung.Huh
2017-05-31 18:28 ` David Miller
2017-05-31 18:47   ` David Miller
2017-05-31 18:52     ` Andrew Lunn
2017-05-31 18:56     ` Woojung.Huh
2017-05-31 20:19 Woojung.Huh
2017-06-01  0:57 ` David Miller

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.