summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-05fmd: clear parser start offset for all casesMandy Lavi
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>
2015-05-05fmd: fix parsing of IPv6 GRE frames on inbound OPMandy Lavi
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>
2015-05-05fmd: rtc: set ClkRatio to 1 for T4 devicesMandy Lavi
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>
2015-05-04powerpc/fsl: add QIXIS-I2C support in qixis driverWang Dongsheng
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>
2015-05-04powerpc/t1042d4rdb: add DIU support in kernelWang Dongsheng
Add DIU support for T1042d4rdb board. DIU platform code has supported in kernel, this patch just add DT node check for T1042d4rdb. Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com> Change-Id: I2b524265ea3009961da445820193788d0c82e19e Reviewed-on: http://git.am.freescale.net:8181/35832 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Chenhui Zhao <chenhui.zhao@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-30fmd: Add support for SW parser being run before HW parserMandy Lavi
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>
2015-04-30crypto: caam - don't emit ICV check failures to dmesgKim Phillips
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>
2015-04-30powerpc:rcpm:usb: Fix kernel crash in setting usb as wakeup sourceRamneek Mehresh
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>
2015-04-28powerpc/defconfig: Correct NR_CPUS for FMAN V3L platformJianhua Xie
There are 24 cpus/threads only for FMAN V3H platform. For FMAN V3L platform like T10xx, there are only 4 cpus/threads. Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Change-Id: Idd5acc067b3e7bda9e4a6c39538f9c4078e34016 Reviewed-on: http://git.am.freescale.net:8181/35651 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-28bonding/t1040d4rdb/dts: Add separate usdpaa dt for LAGJianhua Xie
There are 4 Offline/Host Command Ports (O/H n) in t10xx platform. This patch enables OP#2 for LAG use-cases and keep separate dt for usdpaa scenarios for t1040d4rdb. Change-Id: I1df879190f90f0cf7c25200cede9c4f52a7a552e Suggested-by: Pan Jiafei <Jiafei.Pan@freescale.com> Suggested-by: Madalin Bucur <madalin.bucur@freescale.com> Suggested-by: Scott Wood <scottwood@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/35504 Reviewed-by: Pan Jiafei <Jiafei.Pan@freescale.com> Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Change-Id: I99d54e16abe6b8bb27099f2096d4ccea69c0b6f5 Reviewed-on: http://git.am.freescale.net:8181/35652 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-28bonding: Fix missed braceJianhua Xie
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>
2015-04-28powerpc/t10xx/dts: Remove software feature node from platform dtJianhua Xie
Configurable node based on software feature should not appear in platform dt, since platform dt should only describe hardware. If some software features depend on some kinds of hardware, those software should share those hardware, and provide configurable capabilities in run-time. At least, a separate device tree with usdpaa style for software features will instead to keep platform dt clear. This patch removes software feature related offline port nodes and buffer pool nodes from t10xx platform dt. Change-Id: Ib367f9facfdd6743a704f863728a7f2e0e7955ce Suggested-by: Pan Jiafei <Jiafei.Pan@freescale.com> Suggested-by: Madalin Bucur <madalin.bucur@freescale.com> Suggested-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/35429 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
2015-04-28bonding/t1040/dts: Add separate usdpaa dt for LAGJianhua Xie
There are 4 Offline/Host Command Ports (O/H n) in t10xx platform. This patch enables OP#2 for LAG use-cases and keep separate dt for usdpaa scenarios. Suggested-by: Pan Jiafei <Jiafei.Pan@freescale.com> Suggested-by: Madalin Bucur <madalin.bucur@freescale.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Change-Id: Ic39a9f6f5cab759c175c96cab57ac61fce44478f Reviewed-on: http://git.am.freescale.net:8181/35428 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com> Reviewed-by: Jiafei Pan <Jiafei.Pan@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-28net/fsl: fix a bug in xgmac_mdioShaohui Xie
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>
2015-04-27dpaa_eth: fix MACsec memory leakCamelia Groza
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>
2015-04-27fmd: Alter MACsec MFL when the SCI is missing from the SecTAGCamelia Groza
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>
2015-04-27dpaa_eth: Use different names for MAC RX/TX statsCristian Sovaiala
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>
2015-04-23fmd: chage IRAM_SIZE macro to depend on FMan block versionMandy Lavi
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>
2015-04-23dpaa_eth: supplement MEMAC sysfs statisticsMadalin Bucur
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>
2015-04-22t1042d4rdb/dts: Added usdpaa device tree and sharedSandeep Singh
interface device tree source Signed-off-by: Sandeep Singh <sandeep@freescale.com> Change-Id: If7e2e984aa0883f2ceacc30b67cf493b42f3f67d Reviewed-on: http://git.am.freescale.net:8181/35357 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-22t1040d4rdb/dts: Add usdpaa device tree and usdpaa sharedSandeep Singh
interface device tree. Signed-off-by: Sandeep Singh <sandeep@freescale.com> Change-Id: I27db2e3e2b55c66e8b75ae560f2899c0455bf893 Reviewed-on: http://git.am.freescale.net:8181/34646 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-21dpa_offload: Resync B4860QDS device tree files with NFAPI applicationsMarian Chereji
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>
2015-04-21FMD: DSAR: add dsar support to device tree filesEyal Harari
Signed-off-by: Eyal Harari <eyal.harari@freescale.com> Change-Id: I900fd4e19738897af4be22df651b106e7384f30c Reviewed-on: http://git.am.freescale.net:8181/35281 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-21fmd: rtc: consider RCW[FM_MAC_RAT] when calcuating rtc ref clockMandy Lavi
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>
2015-04-21Expose RCW in the ccsr_guts structureMandy Lavi
This will enable the reading of essential h/w configuration setup from within the kernel space Change-Id: I8d5ffbf48b02b5ef6ad6bf546f3440485ccd9778 Reviewed-on: http://git.am.freescale.net:8181/35025 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>
2015-04-21qbman: Agressively clean QMan portals before useRoy Pledge
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>
2015-04-21perf hists browser: Change print format from %lu to %PRIu64Tom Huynh
The nr_events variable in tools/perf/ui/browsers/hists.c is of type u64, so the print format (%lu) causes 'perf report' to show 0 event count when running with 32-bit userspace without redirection. This patch fixes that problem by printing nr_events as PRIu64. Signed-off-by: Tom Huynh <tom.huynh@freescale.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Matt Mullins <mmullins@mmlx.us> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1417541842-9747-1-git-send-email-tom.huynh@freescale.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Change-Id: I74e6ad212a7e0dd26b52f738f54f1b6d60edd60d Reviewed-on: http://git.am.freescale.net:8181/29120 Reviewed-by: Yang Li <LeoLi@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-17dpaa_eth: avoid race between init and probing codeMadalin Bucur
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>
2015-04-16t1024rdb/qe-tdm: remove incorrect qoriq-tdm1.0.dtsi for t1024Shengzhou Liu
qoriq-tdm1.0.dtsi is used for TDM instead of QE-TDM. qoriq-tdm1.0.dtsi was included incorrectly in t1024si-post.dtsi, so remove the unused node. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I04db42316df853ad596a466cccc0ac88621a5384 Reviewed-on: http://git.am.freescale.net:8181/34968 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-16caam: remove dependencies on QI when it is disabledCristian Stoica
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>
2015-04-16powerpc/perf: fix fsl_emb_pmu_start to write correct pmc valueTom Huynh
PMCs on PowerPC increases towards 0x80000000 and triggers an overflow interrupt when the msb is set to collect a sample. Therefore, to setup for the next sample collection, pmu_start should set the pmc value to 0x80000000 - left instead of left which incorrectly delays the next overflow interrupt. Same as commit 9a45a9407c69 ("powerpc/perf: power_pmu_start restores incorrect values, breaking frequency events") for book3s. Signed-off-by: Tom Huynh <tom.huynh@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com> (cherry picked from commit d2caa3cebda8b626336e100b80a0ed6f909dccab) Change-Id: I2179f49218e1e0cd836c67714430a86be8535a27 Reviewed-on: http://git.am.freescale.net:8181/35052 Reviewed-by: Richard Schmitt <richard.schmitt@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-15Do not miss inactive (deferred) timersJia Hongtao
The inactive timer could not be raised casued by this patch: https://lkml.org/lkml/2014/2/28/230 This makes the system using deferred timer like CPUfreq not working. Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com> Change-Id: I8e1b6dbcb2845c6e502d9ff50617e8c30d2da7c0 Reviewed-on: http://git.am.freescale.net:8181/34890 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Yang Li <LeoLi@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-14Revert "of: fix of_property_read_string"Scott Wood
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>
2015-04-13Kconfig: Patch to remove warning in non-DPA case when asf is enabled.Alok Makhariya
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>
2015-04-13t1023rdb/dts: add usdpaa device tree and usdpaaVakul Garg
shared interface device tree Signed-off-by: Sandeep Singh <sandeep@freescale.com> Change-Id: Id22399683933675957f945f61621f87856d53b2c Reviewed-on: http://git.am.freescale.net:8181/34778 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-08ENGR353929: Merge remote-tracking branch 'dpaa/dpaa-next'Olivia Yin-R63875
2015-04-08of: fix of_property_read_stringShengzhou Liu
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>
2015-04-06fmd: Fix incorrect disabling of macsec cfg ptp registerCamelia Groza
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>
2015-04-03net/phy: fixup for RTL8211F linkShengzhou Liu
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>
2015-04-03fsl/mdio: fixup for rtl8211f on t1023rdbShengzhou Liu
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>
2015-04-02kconfig: Select FSL_DPAA_HOOKS when asf is enabledAlok Makhariya
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>
2015-04-02ENGR336776: Merge remote-tracking branch 'dpaa/dpaa-next'Olivia Yin-R63875
2015-04-02dpa_offload: Add DTS file for NF DPAA offloadingMarian Chereji
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>
2015-04-01crypto: caam - change QI memory allocation on hotpathAlex Porosanu
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>
2015-04-01crypto: caam - cleanup caamalg_qiAlex Porosanu
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>
2015-04-01capwap: clear memory for variablePan Jiafei
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>
2015-03-31dpaa_eth: Add support for MACsecCristian Sovaiala
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>
2015-03-31dpaa_eth: Export several APIs for external usageCristian Sovaiala
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>
2015-03-31powerpc/fsl: add power_off support for fsl platformWang Dongsheng
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>
2015-03-31mmc: esdhc: add eMMC DDR mode support for t2080qdsYangbo Lu
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>