Age | Commit message (Collapse) | Author |
|
This patch fixes the module unload for onic in the context of creating the DPAA
Ethernet drivers as dynamic kernel modules that can be loaded/unloaded at
runtime.
Change-Id: Ib813d4c99869a09875a3dc9d07f6fcb9b5bb65e2
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35781
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Change-Id: I2023fbdc7419aecdef5386933e86083daeb40d91
Reviewed-on: http://git.am.freescale.net:8181/35993
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
This patch fixes the dependencies between several DPAA Ethernet driver modules
by exporting the needed functions as kernel symbols.
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Change-Id: Idf7525add92bfd20738eaac0b9d43ed62d7de0af
Reviewed-on: http://git.am.freescale.net:8181/35747
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Change-Id: I408df80410abae8d39ed73299b4e5df2e76cc8ad
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35430
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: Ic55d4f698c2d406d524e54f817a07f0810f87e25
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35329
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: I059708174df6e363b3b35102231130c1b9ccbedc
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35897
Reviewed-by: Yangbo Lu <yangbo.lu@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
BSC9132 on-board FPGA connected on I2C bus, so add regmap support
i2c access control the QIXIS.
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Change-Id: Iecaf76384cafd9d85b13f8f95055f460a9e48f24
Reviewed-on: http://git.am.freescale.net:8181/34989
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: Ia1830aa7a73fcc081dc6e54ee0599b10747bcd2b
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35266
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
ICV check failures are part of normal operation;
leave user notification up to the higher levels,
as is done in s/w algorithm implementations.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Tested-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 3f80be023900790d029a63e27440f1e33c048b73)
Change-Id: I6b181dd09e915cf639691cb3d696ddc22ac5f195
Reviewed-on: http://git.am.freescale.net:8181/31647
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Horia Ioan Geanta Neag <horia.geanta@freescale.com>
Reviewed-by: Mircea Pop <mircea.pop@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Fix kernel crash issue in setting usb as wake-up source for system
sleep feature for relevant qoriq platforms (those supporting system
sleep via rcpm)
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Change-Id: I838234aff00800b6fafbb02ec12de7d3f2cc6075
Reviewed-on: http://git.am.freescale.net:8181/33283
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: I6738d25d36476502c93f28f5023df95c4ba7adb3
Reviewed-on: http://git.am.freescale.net:8181/35494
Reviewed-by: Pan Jiafei <Jiafei.Pan@freescale.com>
Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com>
Change-Id: Ie61c478a82ce07b53fee94fcbc78984343168232
Reviewed-on: http://git.am.freescale.net:8181/35653
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
There is a bug in xgmac_mdio_read when clear the bit MDIO_STAT_ENC,
which '&' is missed in 'mdio_stat &= ~MDIO_STAT_ENC'.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Change-Id: I5aafcea3016c2d82d2d2d9a592ffbb5c8574bc56
Reviewed-on: http://git.am.freescale.net:8181/35593
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Change-Id: I5f8d3dcebad92e14972ef9e48188e7df6642cc0a
Reviewed-on: http://git.am.freescale.net:8181/35473
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Sysfs fails to create entries with the same name so use different
names for MAC RX/TX stats.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: Ifa58d7f54d64e8b437d9268cb725f3528bf0d4c1
Reviewed-on: http://git.am.freescale.net:8181/35598
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Change-Id: Ia3943df8ebeca664c64782b3eb76f26dafde4fd7
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35431
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Add Rx/Tx detailed statistics.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: Ibcb5e2a6b564c85d434a563ab52c45143281315f
Reviewed-on: http://git.am.freescale.net:8181/35265
Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Example device tree files for the B4860QDS platform needed to be synchronized and aligned
due to differences in the Virtual Storage Profile utilization between traditional DPAA
offloading applications and the DPAA NF offloading applications.
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Change-Id: Ia6f7443b19876c1e9882419ef1e7b6b9729242e1
Reviewed-on: http://git.am.freescale.net:8181/35181
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Nicolae-Sebastian Grigore <sebastian.grigore@freescale.com>
Reviewed-by: Radu-Andrei Bulie <Radu.Bulie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: I1b8a2966ad45f995e7e6b3cdca7f8ed5e0dd397a
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35026
Reviewed-by: Igal Liberman <Igal.Liberman@freescale.com>
Reviewed-by: Yangbo Lu <yangbo.lu@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Make sure both the message ring and dequeue ring of a QMan portal
are clean before attempting to use them
Signed-off-by: Roy Pledge <Roy.Pledge@freescale.com>
Change-Id: I8b4736625acfb25954cd3fa60e0761f86c2d9620
Reviewed-on: http://git.am.freescale.net:8181/31755
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com>
Reviewed-by: Jeffrey Ladouceur <Jeffrey.Ladouceur@freescale.com>
Reviewed-by: Richard Schmitt <richard.schmitt@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35331
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
The generic driver debugfs root is now added in the
initialization code, at the end. Under certain conditions
the probing code gets to run before the debugfs root is
created resulting in errors.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
|
|
The dependency on CAAM-QI was incorrectly set on FSL_QMAN and resulted in
an always-enabled CAAM-QI on DPAA platforms. This patch fixes the dependency
and allows CAAM-QI interface to be freely disabled on DPAA platforms.
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Change-Id: Iaf752ae8774a7b03383244a6c9fbbadd9959f3d4
Reviewed-on: http://git.am.freescale.net:8181/34732
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Horia Ioan Geanta Neag <horia.geanta@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This reverts commit 9c3d11c6a2f1e86927cd762dfaa696c82def8e95.
That commit was merged too hastily with improper review, and is not only the wrong fix, but it appears to allow malformed device trees to propagate non-NULL-terminated strings into the kernel which can result in kernel code accessing beyond the end of the string.
Upstream discussion at https://www.mail-archive.com/devicetree@vger.kernel.org/msg68463.html
Change-Id: I418b29bea7e8e088e1c54c49896264616eed1b83
Reviewed-on: http://git.am.freescale.net:8181/34776
Reviewed-by: Stuart Yoder <stuart.yoder@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
When ASF is enabled FSL_DPAA_HOOKS flag is selected for
non-DPA case as well. So an if check is added to select
FSL_DPAA_HOOKS flag in DPA case only.
Signed-off-by: Alok Makhariya <B46187@freescale.com>
Change-Id: I3e7a439135339262581c2526fd1c22f464412e2e
Reviewed-on: http://git.am.freescale.net:8181/34313
Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
|
|
in of_property_read_string function, strnlen(prop->value, prop->length)
is always less or equal to prop->length and we should allow the '=='
condition, so let's remove the original unreasonable condition, otherwise
it was causing kernel crash.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: I4adf0d8ed7c3185b942d8da0f671faf7b5272720
Reviewed-on: http://git.am.freescale.net:8181/34543
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Xiaobo Xie <X.Xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Change-Id: I7ae237524eea4a1a7587850152ca88eb74a9807d
Reviewed-on: http://git.am.freescale.net:8181/34261
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Fix the checking link of RTL8211F.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: I4c88f7a19f467f680957b47e0a630c950aabe46d
Reviewed-on: http://git.am.freescale.net:8181/34202
Reviewed-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
As the 50us delay was not enough and lead to RTL8211F
PHY not working on some T1023RDB boards. so increase
the delay to make it work stably.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: Iff011d0b762e087ae401a510c71e06b8181061c5
Reviewed-on: http://git.am.freescale.net:8181/34201
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Since ASF hooks in dpa driver is replaced by FSL_DPAA_HOOKS
so selecting FSL_DPAA_HOOKS when AS_FASTPATH is enabled.
Signed-off-by: Alok Makhariya <B46187@freescale.com>
Change-Id: Iebcaf825042e0d0c8e2e4f324325cb8c2c3be1bb
Reviewed-on: http://git.am.freescale.net:8181/33922
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
|
|
Added the B4860QDS platform DTS file example for NF DPAA offloading
demo application.
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Change-Id: Ib546a6b2984735f933df90cce1be376bd60245d5
Reviewed-on: http://git.am.freescale.net:8181/33632
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This patch changes the allocation of memory on the
hotpath, by replacing the malloc allocation with a
kmem_cache backed allocation.
Change-Id: I55a21bb7cbd022f6b86bd784988491b551a0f81e
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/31371
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Mircea Pop <mircea.pop@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This patch synchronizez the QI shared descriptors creation
with the corresponding JR ones, as well as cleaning up
the unused parameters of the *edesc_alloc() functions.
While here, also fix a formatting error in cra_init().
Change-Id: Ic5bae734e4a6e6dcb329f7e9530422b9f8cc0377
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/31370
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Mircea Pop <mircea.pop@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com>
Change-Id: I4c37af569b6011945860d2d7379e728ee69e133d
Reviewed-on: http://git.am.freescale.net:8181/34071
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Jianhua Xie <jianhua.xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This patch adds support for MACsec in DPAA.
The feature is implemented as a separate driver and hooks into the DPAA
Ethernet driver using the hooks exported by the latter.
The MACsec driver exposes a set of APIs allowing the user to configure
the hardware in MACsec mode and to change configuration at runtime (add/
remove secure channels, secure associations, change secure association
keys, etc.).
The following capabilities are supported by the current implementation:
- MACsec enabled on multiple interfaces
- one SecY per interface (MAC)
- one TX Secure Channel per SecY
- up to 16 RX Secure Channels per SecY
- debugfs statistics (TX counters only) per CPU per interface
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@freescale.com>
Signed-off-by: Iulia Manda <manda.iulia@freescale.com>
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I8fe2883a716bf82dc14aae467f3e0eab140d236d
Reviewed-on: http://git.am.freescale.net:8181/33832
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Some APIs can be used by other DPAA drivers (such as MACsec driver)
which hook into the processing path of the DPAA Ethernet driver therefore we
export those APIs for external usage.
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@freescale.com>
Signed-off-by: Iulia Manda <manda.iulia@freescale.com>
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I312d281002a047d05b9471ecf4ea12c36b28c6b0
Reviewed-on: http://git.am.freescale.net:8181/33831
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
QIXIS System Logic FPGA support to manage system power. So we
through QIXIS to power off freescale SOC.
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Change-Id: I7478cca11dcd23c8d9580c3f52c46946375573c4
Reviewed-on: http://git.am.freescale.net:8181/33082
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
Change-Id: I8ff8ea59c97e562cd0786b81165ccc944670e1f2
Reviewed-on: http://git.am.freescale.net:8181/30874
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Xiaobo Xie <X.Xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This patch adds some output from the CAAM QI driver
so the engineer can gain some insight on some of
the internals of the driver. Normally, this
information should reside in debug fs, but for now
it's guarded by the DEBUG define.
Change-Id: Ic6b7e570bc8fcedd758fb4163e15c94544e47130
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/31369
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This patch removes the per-packet lookup of a
completed request by adding an opaque after the SG
entries in the FD. While here, also the software
congestion control is removed and replaced with
a proper CGR with a sensible threshold. While here,
some very likely branches are decorated.
Change-Id: I48f2c71b6ac0d537843a44f8c0627c9b70c77592
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/31368
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Alexandru Marginean <Alexandru.Marginean@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This reverts commit fa008b7d96cc30a7d711641d1513e226badd3de9.
Change-Id: If2569f9e57d697ef1cceb865326c52eeaa5b03ad
Reviewed-on: http://git.am.freescale.net:8181/33914
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Added the B4860QDS platform DTS file example for NF DPAA offloading
demo application.
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Change-Id: Ib546a6b2984735f933df90cce1be376bd60245d5
Reviewed-on: http://git.am.freescale.net:8181/33632
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: Ic80a3f28c92aba18af32416d9216759f819c3e8c
Reviewed-on: http://git.am.freescale.net:8181/33687
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
The hooks in the DPAA Ethernet driver are guarded by a new config option
FSL_DPAA_HOOKS therefore select this option when enabling FSL_FMAN_TEST.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I52a22ae0357f9169741b8ccb17fc669a087cde36
Reviewed-on: http://git.am.freescale.net:8181/33686
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Replace existing CONFIG_AS_FASTPATH and CONFIG_FSL_FMAN_TEST options
guarding the hooks with a new option CONFIG_FSL_DPAA_HOOKS.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: Ie571a761c7971bd558ec711e4c1a811f9eee1c89
Reviewed-on: http://git.am.freescale.net:8181/33685
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
The check must be added in the RX hook instead of conditioning the
call of the hook based on the frame size.
The hooks might be utilized by multiple drivers therefore each must add
its specific checks inside the hooks.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I9f1ee9321bad4b6c9c38fdc332a0a8785153f81b
Reviewed-on: http://git.am.freescale.net:8181/33684
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Make sure that saving and restoration of usb phy
registers only happen in case of deep-sleep, and
not for any other feature like sleep, etc. Also
export pm_suspend_state() and set_pm_suspend_state()
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Change-Id: I2e08208c975ec7aee7ed42e7d424aaa8d14899e3
Reviewed-on: http://git.am.freescale.net:8181/33384
Reviewed-by: Nikhil Badola <nikhil.badola@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Require 64 bytes align.
Remove compilation warnings.
Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com>
Change-Id: Ic97c690adfca42c8c9ac83de9d89b05ea32b3926
Reviewed-on: http://git.am.freescale.net:8181/33327
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Write fladj register adjusts (micro)frame length to appropriate
value thus avoiding USB 2.0 devices to time-out over a longer run
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Change-Id: I26df8b7d134d08171a096dba7871f7334be02315
Reviewed-on: http://git.am.freescale.net:8181/33664
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|