drivers to configure their
respective SerDeses.
Signed-off-by: WingMan Kwok
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 239 +++
drivers/phy/Kconfig |8 +
drivers/phy/Makefile |1 +
drivers/phy/phy-keystone-serdes.c
This patch adds the serdes phy driver dts bindings
for the keystone PCIe host driver.
Signed-off-by: WingMan Kwok
---
arch/arm/boot/dts/k2e.dtsi | 10 ++
arch/arm/boot/dts/keystone.dtsi | 10 ++
2 files changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/k2e.dtsi
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
Signed-off-by: WingMan Kwok
---
drivers/pci/host/pci-keystone.c | 24
/10/13/803
2. https://lkml.org/lkml/2015/10/14/613
3. https://lkml.org/lkml/2015/10/13/818
- An update to PCIe dts bindings to enable the PCIe SerDes is
submitted in a separate patch.
WingMan Kwok (2):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI
This patch adds the serdes phy driver dts bindings
for the keystone PCIe host driver.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
arch/arm/boot/dts/k2e.dtsi | 10 ++
arch/arm/boot/dts/keystone.dtsi | 10 ++
2 files changed, 20 insertions(+)
diff --git a/ar
drivers to configure their
respective SerDeses.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 239 +++
drivers/phy/Kconfig |8 +
drivers/phy/Makefile |1 +
drivers/phy/phy-ke
/10/13/803
2. https://lkml.org/lkml/2015/10/14/613
3. https://lkml.org/lkml/2015/10/13/818
- An update to PCIe dts bindings to enable the PCIe SerDes is
submitted in a separate patch.
WingMan Kwok (2):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
drivers/pci/ho
e the PCIe SerDes is
submitted in a separate patch.
WingMan Kwok (2):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI: keystone: update to use generic keystone serdes driver
Documentation/devicetree/bindings/phy/ti-phy.txt | 239 +++
drivers/pci/host/pci-
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
Signed-off-by: WingMan Kwok
---
drivers/pci/host/pci-keystone.c | 24
This patch adds the serdes phy driver dts bindings
for the keystone PCIe host driver.
v1:
- addresses the following review comments
1. https://lkml.org/lkml/2015/10/19/264
2. https://lkml.org/lkml/2015/10/15/895
Signed-off-by: WingMan Kwok
---
arch/arm
drivers to configure their
respective SerDeses.
Signed-off-by: WingMan Kwok
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 239 +++
drivers/phy/Kconfig |8 +
drivers/phy/Makefile |1 +
drivers/phy/phy-keystone-serdes.c
drivers to configure their
respective SerDeses.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 239 +++
drivers/phy/Kconfig |8 +
drivers/phy/Makefile |1 +
drivers/phy/phy-ke
This patch adds the serdes phy driver dts bindings
for the keystone PCIe host driver.
v1:
- addresses the following review comments
1. https://lkml.org/lkml/2015/10/19/264
2. https://lkml.org/lkml/2015/10/15/895
Signed-off-by: WingMan Kwok <w-kw...@ti.
e the PCIe SerDes is
submitted in a separate patch.
WingMan Kwok (2):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI: keystone: update to use generic keystone serdes driver
Documentation/devicetree/bindings/phy/ti-phy.txt | 239 +++
drivers/pci/host/pci-
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
drivers/pci/ho
drivers to configure their
respective SerDeses.
v1:
- see cover letter for review comments addressed.
Signed-off-by: WingMan Kwok
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 278 +++
drivers/phy/Kconfig |8 +
drivers/phy/Makefile
submitted separately.
Signed-off-by: WingMan Kwok
---
arch/arm/boot/dts/k2e.dtsi | 21 +
arch/arm/boot/dts/keystone.dtsi | 21 +
2 files changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 675fb8e..3b36
to enable the PCIe SerDes is
submitted in a separate patch.
WingMan Kwok (2):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI: keystone: update to use generic keystone serdes driver
Documentation/devicetree/bindings/phy/ti-phy.txt | 278 +++
drivers/pci/host/pci-keystone.c
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
v1:
- no change.
Signed-off-by: WingMan Kwok
---
drivers/pci/host
drivers to configure their
respective SerDeses.
v1:
- see cover letter for review comments addressed.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 278 +++
drivers/phy/Kconfig |8 +
drivers/phy/Ma
to enable the PCIe SerDes is
submitted in a separate patch.
WingMan Kwok (2):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI: keystone: update to use generic keystone serdes driver
Documentation/devicetree/bindings/phy/ti-phy.txt | 278 +++
drivers/pci/host/pci-keystone.c
submitted separately.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
arch/arm/boot/dts/k2e.dtsi | 21 +
arch/arm/boot/dts/keystone.dtsi | 21 +
2 files changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dt
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
v1:
- no change.
Signed-off-by: WingMan Kwok <w-kw...@ti.
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
Signed-off-by: WingMan Kwok
---
drivers/pci/host/pci-keystone.c | 54
://www.ti.com/lit/ug/spruho3a/spruho3a.pdf)
WingMan Kwok (3):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI: keystone: update to use generic keystone serdes driver
ARM: keystone: dts: add PCI serdes driver bindings
Documentation/devicetree/bindings/phy/ti-phy.txt | 256 +++
arch/arm/boot
drivers to configure their
respective SerDeses.
Signed-off-by: WingMan Kwok
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 256 +++
drivers/phy/Kconfig |8 +
drivers/phy/Makefile |1 +
drivers/phy/phy-keystone-serdes.c
Signed-off-by: WingMan Kwok
---
arch/arm/boot/dts/k2e.dtsi | 24
arch/arm/boot/dts/keystone.dtsi | 25 +
2 files changed, 49 insertions(+)
diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 675fb8e..1ba47d8 100644
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
arch/arm/boot/dts/k2e.dtsi | 24
arch/arm/boot/dts/keystone.dtsi | 25 +
2 files changed, 49 insertions(+)
diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 6
drivers to configure their
respective SerDeses.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
Documentation/devicetree/bindings/phy/ti-phy.txt | 256 +++
drivers/phy/Kconfig |8 +
drivers/phy/Makefile |1 +
drivers/phy/phy-ke
://www.ti.com/lit/ug/spruho3a/spruho3a.pdf)
WingMan Kwok (3):
phy: keystone: serdes driver for gbe 10gbe and pcie
PCI: keystone: update to use generic keystone serdes driver
ARM: keystone: dts: add PCI serdes driver bindings
Documentation/devicetree/bindings/phy/ti-phy.txt | 256 +++
arch/arm/boot
This patch updates the Keystone PCI driver to use the
generic Keystone serdes driver for serdes initialization
and configuration. The generic serdes driver supports
peripherals on Keystone platforms that require serdes.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
drivers/pci/ho
node.
Signed-off-by: WingMan Kwok
---
arch/arm/boot/dts/k2e-netcp.dtsi |8 +++-
arch/arm/boot/dts/k2hk-netcp.dtsi | 14 ++
arch/arm/boot/dts/k2l-netcp.dtsi |8 +++-
3 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/arch/arm/boot/dts/k2e-netcp.dtsi b
node.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
arch/arm/boot/dts/k2e-netcp.dtsi |8 +++-
arch/arm/boot/dts/k2hk-netcp.dtsi | 14 ++
arch/arm/boot/dts/k2l-netcp.dtsi |8 +++-
3 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/arch/arm/boot/d
a non-zero rx queue depth dts
binding of the corresponding interface). This patch
removes the rx buffer size configuration capability.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp.h |1 -
drivers/net/ethernet/ti/netcp_core.c | 35 +-
2
a non-zero rx queue depth dts
binding of the corresponding interface). This patch
removes the rx buffer size configuration capability.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp.h |1 -
drivers/net/ethernet/ti/netcp_core.c | 35
The Keystone II DMA hardware can only access addresses in the
lower 2 GiB of SDRAM. This patch makes sure the RX buffers are
allocated using the __GFP_DMA flag so they meet this requirement.
Signed-off-by: WingMan Kwok
Signed-off-by: Reece R. Pollack
---
drivers/net/ethernet/ti/netcp_core.c
This patch makes the function __netdev_alloc_frag() non-static and
exports it so that drivers that need to specify additional flags,
such as __GFP_DMA, can use it. The currently exported function,
netdev_alloc_frag() doesn't allow passing in gfp_mask flags.
Signed-off-by: WingMan Kwok
Signed-off
The Keystone II DMA hardware can only access addresses in the
lower 2 GiB of SDRAM. This patch makes sure the RX buffers are
allocated using the __GFP_DMA flag so they meet this requirement.
Signed-off-by: WingMan Kwok w-kw...@ti.com
Signed-off-by: Reece R. Pollack x0183...@ti.com
---
drivers
This patch makes the function __netdev_alloc_frag() non-static and
exports it so that drivers that need to specify additional flags,
such as __GFP_DMA, can use it. The currently exported function,
netdev_alloc_frag() doesn't allow passing in gfp_mask flags.
Signed-off-by: WingMan Kwok w-kw
proper action. The flag can be
enabled in the corresponding netcp interface dts binding
as efuse-mac = <2> under the corresponding netcp
interface node.
Signed-off-by: WingMan Kwok
---
.../devicetree/bindings/net/keystone-netcp.txt |6 +-
drivers/net/ethernet/ti/netcp_
proper action. The flag can be
enabled in the corresponding netcp interface dts binding
as efuse-mac = 2 under the corresponding netcp
interface node.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
.../devicetree/bindings/net/keystone-netcp.txt |6 +-
drivers/net/ethernet/ti/netcp_core.c
-by: WingMan Kwok
---
This patch depends on the patch set
Subject: [net-next PATCH v1 0/6] net: netcp: Bug fixes of CPSW statistics
collection
submitted earlier.
drivers/net/ethernet/ti/netcp.h |1 +
drivers/net/ethernet/ti/netcp_ethss.c | 18 ++
drivers/net/ethernet/ti
-by: WingMan Kwok w-kw...@ti.com
---
This patch depends on the patch set
Subject: [net-next PATCH v1 0/6] net: netcp: Bug fixes of CPSW statistics
collection
submitted earlier.
drivers/net/ethernet/ti/netcp.h |1 +
drivers/net/ethernet/ti/netcp_ethss.c | 18 ++
drivers/net
of the the whole hw statistics modules,
instead of the size of statistics-entries-interested-in (i.e. et_stats),
for internal storage. This patch fixes that.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c | 46 +++--
1 file changed, 21 insertions(+), 25
Different Keystone2 platforms have different number and
layouts of hw statistics modules. This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c | 99
This patch adds the missing statistics for the host
and slave ports of the CPSW on K2L and K2E platforms.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c | 177 -
1 file changed, 174 insertions(+), 3 deletions(-)
diff --git a/drivers/net
This patch fixes a bug in which the timer routine synchronized
against the ethtool-triggered statistics updates with spin_lock_bh().
A timer function is itself a bottom-half, so this should be
spin_lock().
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c |5 +++--
1
This patch set contains bug fixes and enhencements of hw ethernet
statistics processing on TI's Keystone2 CPSW ethernet switches.
v1: Removes unused defines in PATCH 3/6 based on reviewer's comment
WingMan Kwok (6):
net: netcp: Fixes the use of spin_lock_bh in timer function
net: netcp
to one base, while modules 1 and 3 should point to the
other.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ti/netcp_ethss.c
b/drivers/net/ethernet/ti/netcp_ethss.c
index
In certain applications it's beneficial to allow the CPSW h/w
stats counters to continue to increment even while the kernel
polls them. This patch implements this behavior for both 1G
and 10G ethernet subsystem modules.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c
Different Keystone2 platforms have different number and
layouts of hw statistics modules. This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c | 99
to one base, while modules 1 and 3 should point to the
other.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ti/netcp_ethss.c
b/drivers/net/ethernet/ti/netcp_ethss.c
index
In certain applications it's beneficial to allow the CPSW h/w
stats counters to continue to increment even while the kernel
polls them. This patch implements this behavior for both 1G
and 10G ethernet subsystem modules.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c
of the the whole hw statistics modules,
instead of the size of statistics-entries-interested-in (i.e. et_stats),
for internal storage. This patch fixes that.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c | 42 -
1 file changed, 21 insertions(+), 21
This patch adds the missing statistics for the host
and slave ports of the CPSW on K2L and K2E platforms.
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c | 177 -
1 file changed, 174 insertions(+), 3 deletions(-)
diff --git a/drivers/net
This patch set contains bug fixes and enhencements of hw ethernet
statistics processing on TI's Keystone2 CPSW ethernet switches.
WingMan Kwok (6):
net: netcp: Fixes the use of spin_lock_bh in timer function
net: netcp: Fixes hw statistics module base setting error
net: netcp: Fixes error
This patch fixes a bug in which the timer routine synchronized
against the ethtool-triggered statistics updates with spin_lock_bh().
A timer function is itself a bottom-half, so this should be
spin_lock().
Signed-off-by: WingMan Kwok
---
drivers/net/ethernet/ti/netcp_ethss.c |5 +++--
1
This patch fixes a bug in which the timer routine synchronized
against the ethtool-triggered statistics updates with spin_lock_bh().
A timer function is itself a bottom-half, so this should be
spin_lock().
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c
This patch adds the missing statistics for the host
and slave ports of the CPSW on K2L and K2E platforms.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 177 -
1 file changed, 174 insertions(+), 3 deletions(-)
diff --git
of the the whole hw statistics modules,
instead of the size of statistics-entries-interested-in (i.e. et_stats),
for internal storage. This patch fixes that.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 42 -
1 file changed, 21
In certain applications it's beneficial to allow the CPSW h/w
stats counters to continue to increment even while the kernel
polls them. This patch implements this behavior for both 1G
and 10G ethernet subsystem modules.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti
This patch set contains bug fixes and enhencements of hw ethernet
statistics processing on TI's Keystone2 CPSW ethernet switches.
WingMan Kwok (6):
net: netcp: Fixes the use of spin_lock_bh in timer function
net: netcp: Fixes hw statistics module base setting error
net: netcp: Fixes error
to one base, while modules 1 and 3 should point to the
other.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ti/netcp_ethss.c
b/drivers/net/ethernet/ti
Different Keystone2 platforms have different number and
layouts of hw statistics modules. This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 99
This patch set contains bug fixes and enhencements of hw ethernet
statistics processing on TI's Keystone2 CPSW ethernet switches.
v1: Removes unused defines in PATCH 3/6 based on reviewer's comment
WingMan Kwok (6):
net: netcp: Fixes the use of spin_lock_bh in timer function
net: netcp
to one base, while modules 1 and 3 should point to the
other.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/ti/netcp_ethss.c
b/drivers/net/ethernet/ti
In certain applications it's beneficial to allow the CPSW h/w
stats counters to continue to increment even while the kernel
polls them. This patch implements this behavior for both 1G
and 10G ethernet subsystem modules.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti
This patch fixes a bug in which the timer routine synchronized
against the ethtool-triggered statistics updates with spin_lock_bh().
A timer function is itself a bottom-half, so this should be
spin_lock().
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c
Different Keystone2 platforms have different number and
layouts of hw statistics modules. This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 99
This patch adds the missing statistics for the host
and slave ports of the CPSW on K2L and K2E platforms.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 177 -
1 file changed, 174 insertions(+), 3 deletions(-)
diff --git
of the the whole hw statistics modules,
instead of the size of statistics-entries-interested-in (i.e. et_stats),
for internal storage. This patch fixes that.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 46 +++--
1 file changed, 21
72 matches
Mail list logo