), although this is a valid offset value.
Signed-off-by: Tang Yuantian yuantian.t...@freescale.com
Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com
---
arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h |4 +-
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c | 39 ++--
2 files
On 7/19/2012 3:07 PM, Kumar Gala wrote:
On Jul 19, 2012, at 5:28 AM, Claudiu Manoil wrote:
The sram_offset parameter represents a physical address
and should be of type phys_addr_t. As part of this fix,
the extraction of sram_params is being cleaned-up and
fixed.
This patch fixes now the case
), although this is a valid offset value.
Signed-off-by: Tang Yuantian yuantian.t...@freescale.com
Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com
---
v1: fixed copyright year format
arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h |4 +-
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c | 39
On 10/4/2013 3:03 PM, Thomas Hühn wrote:
Hi all,
We are several Openwrt users based on the TPlink 4900 device and suffer from a
crashing gianfar driver.
We troubleshooted the problem down to the fact, that a 3.8er Linux kernel is
working, and a v3.10 crashes, but there is
no reproducable case
with RX error detected at PHY level) during controller reset,
the controller might fail to indicate Rx reset (GRS) completion.
Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com
---
drivers/net/ethernet/freescale/gianfar.c | 10 --
1 file changed, 4 insertions(+), 6 deletions
) == SVR_8548) (SVR_REV(svr) == 0x20)
instead of:
(pvr == 0x80210020 mod == 0x8030 rev == 0x0020)
Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com
---
drivers/net/ethernet/freescale/gianfar.c | 33
1 file changed, 25 insertions(+), 8 deletions(-)
diff --git
in Rev 2.0.
Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com
---
drivers/net/ethernet/freescale/gianfar.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/freescale/gianfar.c
b/drivers/net/ethernet/freescale/gianfar.c
index 329a206..9fbe4dd 100644
--- a/drivers
On 10/4/2013 3:28 PM, Thomas Hühn wrote:
[code]
[ 2671.841927] Oops: Exception in kernel mode, sig: 5 [#1]
[ 2671.847141] Freescale P1014
[ 2671.849925] Modules linked in: ath9k pppoe ppp_async iptable_nat
ath9k_common pppox p
e xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent
On 10/11/2013 12:41 AM, Scott Wood wrote:
On Thu, 2013-10-10 at 14:07 +0300, Claudiu Manoil wrote:
On 10/4/2013 3:28 PM, Thomas Hühn wrote:
[code]
[ 2671.841927] Oops: Exception in kernel mode, sig: 5 [#1]
[ 2671.847141] Freescale P1014
[ 2671.849925] Modules linked in: ath9k pppoe
On 10/11/2013 11:59 AM, Thomas Hühn wrote:
Hi Claudiu,
Does this show up on a half duplex (100Mb/s) link?
In my testsetup I always used 1GBit Ethernet connections, so no 100MBit tested
yet.
Should I do so ?
Could you provide following for the gianfar interface, on your setup:
sure:
#
Hi Thomas,
On 10/31/2013 1:51 PM, Thomas Hühn wrote:
Hi Claudiu,
Please try the following patch:
http://patchwork.ozlabs.org/patch/283235/
It should help with your issue.
Several OpenWrt users including myself have tested your patch on
TPLink-4900 routers.
We do have positive feedback,
On 11/9/2013 1:17 AM, Lijun Pan wrote:
diff --git a/arch/powerpc/configs/mpc85xx_defconfig
b/arch/powerpc/configs/mpc85xx_defconfig
index d2e0fab..72fff6e 100644
--- a/arch/powerpc/configs/mpc85xx_defconfig
+++ b/arch/powerpc/configs/mpc85xx_defconfig
@@ -1,4 +1,5 @@
CONFIG_PPC_85xx=y
Hello,
Did you try this patch?
http://patchwork.ozlabs.org/patch/186315/
Claudiu
On 10/9/2012 3:22 PM, Avi Tsarfati wrote:
Hi,
I have the same problem as you do.
Have you found the CPU stuck reason (or fix) in P1020RDB board ?
Thanks,
Avi Tsarfati.
fsl_85xx_l2ctlr.o and fsl_85xx_cache_sram.o are built only
if CONFIG_FSL_85XX_CACHE_SRAM is defined. The driver that
qualifies and wants to make use of the CACHE SRAM's exported
API (i.e. a freescale net driver) should (be able to) select
this config option.
Signed-off-by: Claudiu Manoil
names (without
types) in function declaration
make[1]: *** [arch/powerpc/sysdev/fsl_85xx_cache_sram.o] Error 1
Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com
---
arch/powerpc/sysdev/fsl_85xx_cache_sram.c |1 +
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c |1 +
2 files changed, 2
names (without
types) in function declaration
make[1]: *** [arch/powerpc/sysdev/fsl_85xx_cache_sram.o] Error 1
Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com
---
Replaced linux/module.h with linux/export.h for fsl_85xx_cache_sram.c.
arch/powerpc/sysdev/fsl_85xx_cache_sram.c |1
Cc: Zhao Chenhui <chenhui.z...@freescale.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@freescale.com>
---
drivers/net/ethernet/freescale/gianfar.c | 155 +--
drivers/net/ethernet/freescale/gianfar.h | 12 +-
drivers/net/ethernet/freescale/gianfar_etht
Enable the "wake-on-filer" (aka. wake on user defined packet)
wake on lan capability for the eTSEC ethernet nodes.
Cc: Li Yang <le...@freescale.com>
Cc: Zhao Chenhui <chenhui.z...@freescale.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@freescale.com>
---
arch/
escale.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@freescale.com>
---
Documentation/devicetree/bindings/net/fsl-tsec-phy.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/fsl-tsec-phy.txt
b/Documentation/devicetree/bindings/net/fs
If the SRAM region parameters are missing the SRAM driver
probing exits and the L2 region is configured as L2 cache
entirely. This is the expected default behaviour, so it
makes no sense to report it as an error.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
arch/powerpc/
If the SRAM region parameters are missing the SRAM driver
probing exits and the L2 region is configured as L2 cache
entirely. This is the expected default behaviour, so it
makes no sense to report it as an error.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
v2: drop info
If the SRAM region parameters are missing the SRAM driver
probing exits and the L2 region is configured as L2 cache
entirely. This is the expected default behaviour, so it
makes no sense to report it as an error.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
v2: drop info
Add basic support for the Data Path Acceleration Architecture v1.x
(DPAA 1.x) hardware infrastructure and accelerators found on multicore
Freescale SoCs, commonly known as the QorIQ series.
CC: Roy Pledge <roy.ple...@nxp.com>
Claudiu Manoil (5):
soc/fsl: Introduce DPAA 1.x BMan device
com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
v2:
* FSL_DPAA depends on FSL_SOC_BOOKE (fixes allyesconfig build)
* further code cleanup and improvements around portal probing
drivers/soc/fsl/qbman/Kconfig | 28 ++
drivers/soc/fsl/qbman/Makefile | 2 +
drivers/s
Enable the drivers on the powerpc arch.
Signed-off-by: Roy Pledge <roy.ple...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
v2: none
arch/powerpc/Makefile| 4 ++--
arch/powerpc/configs/dpaa.config | 1 +
drivers/soc/Kconfig | 1 +
dri
Add a self test for the DPAA 1.x Buffer Manager driver. This
test ensures that the driver can properly acquire and release
buffers using the BMan portal infrastructure.
Signed-off-by: Roy Pledge <roy.ple...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
v2: none
Add self tests for the DPAA 1.x Queue Manager driver. The tests
ensure that the driver can properly enqueue and dequeue to/from
frame queues using the QMan portal infrastructure.
Signed-off-by: Roy Pledge <roy.ple...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/Kconfig | 24 ++
drivers/soc/fsl/qbman/Makefile | 2 +
drivers/soc/fsl/qbman/bman.c| 797
drivers/soc/fsl/qbman/bman_ccsr.c | 263
dri
Add basic support for the Data Path Acceleration Architecture v1.x
(DPAA 1.x) hardware infrastructure and accelerators found on multicore
Freescale SoCs, commonly known as the QorIQ series.
CC: Roy Pledge <roy.ple...@nxp.com>
Claudiu Manoil (5):
soc/fsl: Introduce DPAA 1.x BMan device
Enable the drivers on the powerpc arch.
Signed-off-by: Roy Pledge <roy.ple...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
arch/powerpc/Makefile| 4 ++--
arch/powerpc/configs/dpaa.config | 1 +
drivers/soc/Kconfig | 1 +
drivers/soc/
Add a self test for the DPAA 1.x Buffer Manager driver. This
test ensures that the driver can properly acquire and release
buffers using the BMan portal infrastructure.
Signed-off-by: Roy Pledge <roy.ple...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/s
Add self tests for the DPAA 1.x Queue Manager driver. The tests
ensure that the driver can properly enqueue and dequeue to/from
frame queues using the QMan portal infrastructure.
Signed-off-by: Roy Pledge <roy.ple...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
Replace dummy platform device hack with a reference to a portal's
platform device, in order to dma map the test frame for this
small unit test. The 2 qman symbols need to be exported because
this self test is a kernel module.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
d
opts is checked redundantly.
Move local_opts declaration inside its usage scope.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/s
ORP ("Order Restoration Point") mechanism not supported.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c | 3 +--
include/soc/fsl/qman.h | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/soc/fsl/qbman/
* endianness fixes to ensure correct handling on little endian CPUs,
as the qman h/w is big endian;
* removal of a platform device hack that may fail, used for dma mapping;
* various fixes and code cleanup;
Claudiu Manoil (15):
soc/qman: Fix h/w resource cleanup error path handling
soc
From: Madalin Bucur <madalin.bu...@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman_ccsr.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/soc/fsl/qbman/qman_ccs
From: Madalin Bucur <madalin.bu...@nxp.com>
Use arch portable of_property_read_u32() instead, which takes
care of endianness conversions.
Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/
context_a.hi is 32bit
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
include/soc/fsl/qman.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/soc/fsl/qman.h b/include/soc/fsl/qman.h
index 37f3eb0..1405810 100644
--- a/include/soc/fsl/qman.h
+++ b/inclu
-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c| 31 ++-
drivers/soc/fsl/qbman/qman_portal.c | 11 +++
drivers/soc/fsl/qbman/qman_priv.h | 1 +
3 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/drivers/soc/fsl
Use the proper accessor to get the FD address.
Accessing the internal field "addr_lo" directly is not portable
and error prone.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
There are multiple occurences of both contextB and context_b
in different h/w descriptors, referring to the same descriptor
field known as "Context B". Stick with the "context_b" naming,
for obvious reasons including consistency (see also context_a).
Signed-off-by: Claudiu
This function must only return the truth value of whether
two frame descriptors are different or not.
It does NOT have to compute some obscure difference between
fd fields and return it as an int, making sparse complain
about type conversions in the process.
Signed-off-by: Claudiu Manoil
Preventively mask every access to the 'fqid' h/w field,
since it is defined as a 24-bit field, for every h/w
descriptor. Add generic accessors for this field to
ensure correct access.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.
The hardware descriptors have big endian (BE) format.
Provide proper endianness handling for the remaining
descriptor fields, to ensure they are correctly
accessed by non-BE CPUs too.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c
In case init_pcfg() returns with error the CI region
must be unmapped too.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/bman_portal.c | 17 -
drivers/soc/fsl/qbman/qman_portal.c | 17 -
2 files changed, 24 insertions(
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c | 37 +++--
include/soc/fsl/qman.h | 4 ++--
2 files changed, 25 insertions(+), 16 deletions(-)
diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/
oded fqid value with corresponding define).
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c
index 119054
.
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/qman.c | 58 ---
drivers/soc/fsl/qbman/qman_priv.h | 6
2 files changed, 18 insertions(+), 46 deletions(-)
diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/s
Signed-off-by: Claudiu Manoil <claudiu.man...@nxp.com>
---
drivers/soc/fsl/qbman/bman.c | 6 +++---
drivers/soc/fsl/qbman/qman.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/soc/fsl/qbman/bman.c b/drivers/soc/fsl/qbman/bman.c
index ffa48fd..345e50c
Drop long time obsolete "per NAPI multi-queue" support in gianfar,
and related (and undocumented) device tree properties.
Claudiu Manoil (2):
gianfar: Drop GFAR_MQ_POLLING support
powerpc: dts: fsl: Drop obsolete fsl,rx-bit-map and fsl,tx-bit-map
properties
arch/powerpc/bo
ead code, and no
one asked for it so far.
For the Tx queues, multi-queue support (more than 1 Tx queue
per CPU) could be revisited by adding tc MQPRIO support, but
again, one has to consider that there are only 2 interrupt lines.
So the NAPI poll routine would have to service multiple Tx rings.
Si
These are very old properties that were used by the "gianfar" ethernet
driver. They don't have documented bindings and are obsolete.
Signed-off-by: Claudiu Manoil
---
arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi | 4
arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | 4
ar
53 matches
Mail list logo