summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-25fsl_qbman: Update ceetm with some user friendly APIsHaiying Wang
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Change-Id: Iaaf60a7e20a7cd96698fbcb3f98b5918000872e1 Reviewed-on: http://git.am.freescale.net:8181/36225 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Roy Pledge <roy.pledge@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-22t1023rdb/dts: set ifc nand chip select from 2 to 1Jaiprakash Singh
IFC NAND chip select is wrongly mapped to 2 in reg property of NAND node.Due to this kernel is not able probe NAND flash.Set chip select to 1 in reg property Signed-off-by: Jaiprakash Singh <b44839@freescale.com> Change-Id: I44c020f964c3960ec0208ba6b594f69dd5019e9d Reviewed-on: http://git.am.freescale.net:8181/36183 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-22crypto: caam/qi - tls10 support for 32bit platformsTudor Ambarus
Tested with tcrypt on p1023rdb platform. Change-Id: Ic19a8d2ed5ce3603d2d9f893736b68eea03d480b Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36220 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-05-22bsc9132/pci: Fix PCIe interrput always be triggered on BSC9132Wang Dongsheng
We missed to handle PME and message interrupt when system back from sleep, so system will popup "nobody cared" call trace. Add .pcibios_fixup_phb for BSC9132 platform, PME interrupt handler will be registered in fsl_pcibios_fixup_phb. Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com> Change-Id: I0550322707a7a48116761f2d691304aec217e4a2 Reviewed-on: http://git.am.freescale.net:8181/36664 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com> Reviewed-by: Chenhui Zhao <chenhui.zhao@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-22mtd: m25p80: add reset process before suspendHou Zhiqiang
Make sure the SPI Flash into reset state. Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Change-Id: I627606256571b80ba80a5a84a25b52685e799b0c Reviewed-on: http://git.am.freescale.net:8181/36725 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-22spi-nor: Add the SPI Flash RESET commandsHou Zhiqiang
Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Change-Id: I1ec25215b53c3edd542c2afb5d6cc820ef2de041 Reviewed-on: http://git.am.freescale.net:8181/36724 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-21dce: Typo correctionMahammad Ismayilzada
slab_scr_128b should be checked for NULL. Signed-off-by: Mahammad Ismayilzada <mahammad.ismayilzada@freescale.com> Change-Id: I51f5b7c96fbee9a0f1baf2340ff97b23caed434e Reviewed-on: http://git.am.freescale.net:8181/36649 Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Roy Pledge <roy.pledge@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-21qbman: Fix null pointer issueMahammad Ismayilzada
bufs passed as NULL and dereferenced. Replaced with local variable. Signed-off-by: Mahammad Ismayilzada <mahammad.ismayilzada@freescale.com> Change-Id: I39aecee95b086567a21487ee2b751126aa0777f1 Reviewed-on: http://git.am.freescale.net:8181/36648 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com> Reviewed-by: Roy Pledge <roy.pledge@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-21fsl_usdpaa: Protect against truncationAhmed Mansour
is_power_of_2 is a Linux function that takes unsigned long. it was used by our new function is_power_of_4 which takes u64. Trucation is possible because unsigned long is 32 bits wide in 32 bit applications. This patch removes the dependancy on is_power_of_2 to solve this issue Signed-off-by: Ahmed Mansour <Ahmed.Mansour@freescale.com> Change-Id: I5939e7e6457e07e9355ba54fef80a7bc71c3a64b Reviewed-on: http://git.am.freescale.net:8181/36609 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mahammad Ismayilzada <mahammad.ismayilzada@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-21pme: Protect against possible NULL dereferenceAhmed Mansour
Add BUG_ON to prevent NULL dereference if ctx->flags indicate flow mode (none direct mode) then a call back token must be specified otherwise the call back token can be passed NULL Signed-off-by: Ahmed Mansour <Ahmed.Mansour@freescale.com> Change-Id: I20f95b2fd77699eb32ef54515666127ebc6b1743 Reviewed-on: http://git.am.freescale.net:8181/36607 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Roy Pledge <roy.pledge@freescale.com> Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com> Reviewed-by: Mahammad Ismayilzada <mahammad.ismayilzada@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-21t1024rdb/dts: add ina220 current sense nodeShengzhou Liu
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I08f12b33f73528abc681bfa34027b28eea9dc45b Reviewed-on: http://git.am.freescale.net:8181/36539 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-05-21board/t1023rdb: add ina220 current sense nodeShengzhou Liu
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I8a09e9a41219ce5d31bf8744be1552927cd0b302 Reviewed-on: http://git.am.freescale.net:8181/36538 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-05-21crypto: caampkc - workaround for erratum A-006899Tudor Ambarus
The problem will occur only in T1040R1. A workaround has been verified; set a Scatter Gather (SG) flag on the Q or G Pointers on KPG, which will give the PKHA unload time to complete. It's sufficient to have the SG flag set for only one of these. Change-Id: I5a403576c6e995110227872c84de7e74da0144c5 Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36617 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-05-21qbman: Fix qman_ceetm_cscn_dcp_get()Ahmed Mansour
Corrections to struct qm_mcr_ceetm_ccgr_query to match block guide Corrections to qman_ceetm_cscn_dcp_get() bit manipulation to match bit order in block guide Signed-off-by: Ahmed Mansour <Ahmed.Mansour@freescale.com> Change-Id: I78d730263495358c29be766933aceae9d5b36326 Reviewed-on: http://git.am.freescale.net:8181/36407 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com> Reviewed-by: Roy Pledge <roy.pledge@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-20fmd: fix buffer overflow in dsar sysfs printoutsMandy Lavi
Change-Id: Id5ecb2f85caea934dc3de2b69e538af45316e14f Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36567 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-19crypto: caam - fix TLS processing for SEC in LE modeAlex Porosanu
In order to process TLS data that is received in network byte order, a swap is needed for a SEC block working in little endian mode. This is done by using the MOVEB command. Change-Id: I8290ad7348d9e66169c05eff8bda71e587beb0a9 Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36369 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-19crypto: caam - add support for MOVEB commandAlex Porosanu
CHAs of SEC work natively in BE mode. When moving data to the alignment blocks, swapping is needed for LE platforms. This is done by means of the MOVEB command (introduced in ERA 7). This patch adds support to DCL for this command. Change-Id: Ie74f2d8a1cf101acd5a23686ff8eb835d1a1f047 Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36365 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com> Reviewed-by: Horia Ioan Geanta Neag <horia.geanta@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-19crypto: caam - tls10 support for 32bit ppc platformsTudor Ambarus
Tested with tcrypt on bsc9132qds platform. Change-Id: Ia8a58b786779e00b267ad3cd2fa05b30d5e17bfb Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36219 Reviewed-by: Horia Ioan Geanta Neag <horia.geanta@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-19crypto: caam - fix warning in APPEND_MATH_IMM_u64Tudor Ambarus
An implicit truncation is done when using a variable of 64 bits in MATH command: warning: large integer implicitly truncated to unsigned type [-Woverflow] Silence the compiler by feeding it with an explicit truncated value. Change-Id: I95e3f397f62f9b850c0c7f26e7079b9d9688b87e Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36218 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-05-19fmd: fix licensing conflictsMandy Lavi
Change-Id: Ib662fba72d3ad0e5260bcc36006fa0dd7158b056 Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36405 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Nir Erez <nir.erez@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-19powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT_FULLBogdan Purcareata
Current in-kernel MPIC emulation for PowerPC is unsuitable for RT. More specifically, the MPIC lock becomes a sleeping mutex, causing concurrency issues on a KVM guest enter. Converting the lock to a raw_spinlock is still not a viable solution, since the current implementation is prone to induce large latencies with preemption and irqs disabled on the host kernel. Patch aready applied in the upstream 3.18.13 RT patch, version 9 [1]. [1] http://www.spinics.net/lists/linux-rt-users/msg13340.html Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Change-Id: Ie942de00717527ea78c2471f6a5153489f432e89 Reviewed-on: http://git.am.freescale.net:8181/36530 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-18dpa_offload: Avoid illegal access of IPSec instance after releaseMarian Chereji
The function "dpa_ipsec_free" is calling "free_resources" which is releasing the dpa_ipsec instance by executing kfree(dpa_ipsec); Once this call ends, "dpa_ipsec_free" is accessing again the "instance" pointer to call "mark_unused_gbl_dpa_ipsec". The problem is that the "instance" pointer is inconsistent at his point (was released by the call to "free_resources"). To fix this, the call to "mark_unused_gbl_dpa_ipsec" was simply removed from "dpa_ipsec_free" because the function "free_resources" is already doing that. Signed-off-by: Marian Chereji <marian.chereji@freescale.com> Change-Id: Ibabc69253a8a21c7bb158bc371193a6b9ace01ac Reviewed-on: http://git.am.freescale.net:8181/36404 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Pinghua An <pinghua.an@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-14fmd: fix ioctl of FM_CtrlMonGetCountersPan Jiafei
Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com> Change-Id: If3f1264a02dbc9241b10e6050ff0c55c17170ab1 Reviewed-on: http://git.am.freescale.net:8181/35983 Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-13crypto: talitos - avoid memleak in talitos_alg_alloc()Horia Geanta
Change-Id: I0e1cbb1d09eef65fedf75d7c3787898fc5b67f50 Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36121 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-13crypto: talitos - static code checker fixesHoria Geanta
-change req_ctx->nbuf from u64 to unsigned int to silence checker warnings; this is safe since nbuf value is <= HASH_MAX_BLOCK_SIZE -remove unused value read from TALITOS_CCPSR; there is no requirement to read upper 32b before reading lower 32b of a 64b register; SEC RM mentions: "reads can always be done by byte, word, or dword" -remove unused return value of sg_to_link_tbl() -change "len" parameter of map_single_talitos_ptr(); cpu_to_be16 will __force downcast the value to unsigned short without any checker warning Change-Id: I2245e6a7f5e7d60d3a86b3b68a76a104ba372530 Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36124 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-13Revert "crypto: talitos - convert to use be16_add_cpu()"Horia Geanta
This reverts commit 7291a932c6e27d9768e374e9d648086636daf61c. The conversion to be16_add_cpu() is incorrect in case cryptlen is negative due to premature (i.e. before addition / subtraction) implicit conversion of cryptlen (int -> u16) leading to sign loss. Change-Id: Iee27eb0881df6f1134f977cbe471cd23479752ce Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36123 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-13crypto: talitos - avoid out of bound scatterlist iteratorHoria Geanta
Check return value of scatterlist_sg_next(), i.e. don't rely solely on number of bytes to be processed or number of scatterlist entries. Change-Id: I6c10ed15e9a456b87828ebb21cc1121c7041be7d Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36122 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-13mdio: remove unused workaround for xgmac_mdio_readShengzhou Liu
The bug in xgmac_mdio_read have been fixed, so remove the temporary workaround which is no longer needed. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I7d932208ff81bd00f6c761b57c5b1dacf456e48b Reviewed-on: http://git.am.freescale.net:8181/35748 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-05-13dpa_offload: Restore ONIC interface buffer poolMarian Chereji
The ONIC interface only works when the offline port OH2 is using buffer pool #17 which was prepared for it. This prevents the unification of the DTS example files for the "ipsec_offload" and "dpa_offload" demo applications, because the NF offloading demo application requests the buffer pool #16 on the OH2 offline port as NF IP Forwarding does not support VSPs. Signed-off-by: Marian Chereji <marian.chereji@freescale.com> Change-Id: I3e2996f6777e4b16aee1a3cf489f89b60a37f325 Reviewed-on: http://git.am.freescale.net:8181/36070 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Nicolae-Sebastian Grigore <sebastian.grigore@freescale.com> Reviewed-by: Pinghua An <pinghua.an@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-13drivers:usb:fsl: Compile out USB clk functionsNikhil Badola
Compile out USB clk functions for PPC platforms as there is no usb clk specific initialization on any of these platforms Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com> Change-Id: I766a30c6584b56d7105f7c080440ba5acb3f62a8 Reviewed-on: http://git.am.freescale.net:8181/36197 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>
2015-05-13drivers:usb:fsl: Correct endpoint name checkingNikhil Badola
Endpoint name being statically defined cannot be NULL hence checking name's first two character with "ep" for endpoint validity Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com> Change-Id: I1fc6b71fce4807fdc18a96db0182c15dd9e3c649 Reviewed-on: http://git.am.freescale.net:8181/36196 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>
2015-05-13drivers:usb:fsl: Remove unused variableNikhil Badola
Remove unused variable td_complete Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com> Change-Id: I5e16b5ff77577db19ddd5f231603aba78bbaaa6d Reviewed-on: http://git.am.freescale.net:8181/36195 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>
2015-05-13drivers:usb:fsl: Check memory resource before releasing itNikhil Badola
Check memory resource existence before releasing it to avoid NULL pointer dereference Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com> Change-Id: I1f34b13e1669a3271250205c788e74b3228477e8 Reviewed-on: http://git.am.freescale.net:8181/36193 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-11powerpc/corenet64_smp_defconfig: Enable spi-nor frameworkHou Zhiqiang
Enable CONFIG_MTD_SPI_NOR_BASE for corenet64_smp_defconfig. Verified on P5040DS. Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Change-Id: I534c2bf9d18ef330d14c4d7ed79dcfeb5185d562 Reviewed-on: http://git.am.freescale.net:8181/35462 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-08fmd: fix total-fifo-size related error messagesMandy Lavi
Change-Id: Ibb15bb7b55678030e577c7ec6e0f0980b49e985b Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36009 Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-08fmd: add replication of relative_storage_profile_id in compat layerMandy Lavi
Change-Id: I408d577d952f3ce9237dce1105ef1e577ad2cc6b Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/35819 Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-06dpaa_eth: fix unload procedure for onicMarian-Cristian Rotariu
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>
2015-05-06onic: fix debugfs remove procedureMarian-Cristian Rotariu
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>
2015-05-06dpaa_eth: fix symbols for dynamic driver modulesMarian-Cristian Rotariu
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>
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>