aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
AgeCommit message (Collapse)Author
2016-04-19pkc-host: set COMPATIBLE_MACHINE as qoriq-ppcTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19pkc-host: do not install cliCristian Stoica
cli is a user-space application, and is splitted from pkc-host Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19pkc-host: update to commit 26df0a3Ting Liu
New commits imported: 26df0a3 fix references to dsa sign, verify and keygen buffers 3d11a8b remove obvious comments in dsa.c e04defa fix ecdsa-sign test 60a16b2 fix ecdsa-verify test ffaf905 fix ecdsa verify descriptor 7fab9ff remove redundant global variables in ecdsa_test.c fefdadb clarify assignments in dsa_keygen_init_crypto_mem 12c1e53 avoid redundant typecasts when accessing structure dsa_keygen_buffers dc3e433 avoid redundant typecasts when accessing structure dsa_verify_buffers d189aea avoid redundant typecasts when accessing structure dsa_sign_buffers bc77727 clarify assignments in dsa_verify_init_crypto_mem 0a33653 clarify assignments in dsa_sign_init_crypto_mem bc223b9 fix incorrect macro-expansion of arguments c203b2e remove redundant subtraction in dsa.c round-robin code e3f03bc remove dead code in ecdsa_test.c 7b236cb remove dead code in rsa_test.h d084594 whitespace clean-up in rsa, dsa and ecdsa test vectors b7e292a white-space clean-up in dsa.c f792c40 add notifications about not supported configurations 309202d fix SEC jobs error reporting f67f35c fix debug print for descriptors 973c09d sync with firmware build 8fcd0bc 3d32570 remove not necessary #includes in algs_reg.c 806bfae refactoring: merge trivial VIRTIO functions 4074a65 fix build error for VIRTIO_C2X0=y 58d8ba0 reduce #ifdef obfuscation for sym_cra_init and sym_cra_exit ee3aa86 merge three adjacent #ifndef VIRTIO_C2X0 regions 07b8e40 move sym_cra_init and sym_cra_exit to allow merge of #ifdef regions e545259 move fill_crypto_dev_sess_ctx function to merge two #ifdef regions 143d79f do not silence print_error at build time 4ed84e3 remove redundant void* to void* type casting 47b6f64 refactoring: use compound statements with if constructs cd15d02 use dev_err to print device related errors 30a5705 replace ALIGN* macros by function calls 96d67e7 remove redundant #define for BRR_VALUE 2d74d96 remove unnecessary #include's from crypto_ctx.h 0ac80bd rename rsa test callback function for clarity 4ee3ee1 match types of members in fsl_crypto_alg with those in related structures b6f6e97 rename structure to avoid confusions with the variables c960102 always print errors related to descriptors 9920b1f update ring index at the end of the loop 67f743b remove redundant typedef fsl_h_mem_handshake_t 3039d45 remove redundant typedef crypto_h_mem_layout_t 4b19fb5 remove redundant typedef crypto_c_hs_mem_t 6ae863d remove redundant typedef fsl_pci_dev_t e8050e2 remove redundant typedef driver_ob_mem_t 1ac31db remove redundant structure crypto_dev_mem_info 8b134fb rename members of pci_bar_info structure 60ffef6 remove redundant typedef pci_bar_info_t 1ce8047 use the same type for function and return variable 319bc02 make temporary variables the same type as the original 3fbe1f7 rename variable and function for clarity 4d4bf3c make volatile the handshake memory on host d64eac6 fix reading values from the local memory 692ab74 rename variable to reduce reading confusions c9ad613 rename per_core_struct as bh_handler 5c30ce6 remove duplicate bottom half handler variable 15254d0 merge content of structures bh_handler and per_core_struct e54a71d sync with firmware build bef6960 d1e1e5e remove redundant macro RING_FULL from within block 64898d4 clarify comment about where to put fw_resp_ring d819503 remove not used global variables 0fb1293 remove not used define 09b590d relocate external declaration of *per_core 91a450e remove Makefile target 'dist' incorrectly aliased to 'clean' dda196a separate cli application build from the driver 7261910 build a dynamic linking cli application df39d8c use a bigger type for req_mem_size f78435f fix machine crash on timer test a7e8a6a add firmware fixes for incorrect IRQ signalling 27751bf refactor: remove common_sysfs_show/store from sysfs.h 4a60e77 remove redundant print function 464704b sync with firmware updates 71446a0 clean-up tests before releasing driver structures 6d982cd fix offset calculation for shared counters struct 110b1e7 remove duplicate code and #ifdef branch f3e08dd refactoring: extract function from loop to enhance clarity 745af67 remove redundant structure for shadow counters 1f92e9b remove not used external declaration 0a53ea3 remove code fragment without purpose 26d2ef5 remove redundant fw_resp_ring_t typedef d65d0e7 remove redundant shadow_memory structure 5fb0526 remove redundant resp_ring_entry_t typedef 76f0d17 remove redundant ring_counters_mem_t typedef a7f5054 remove redundant ring_shadow_counters_mem_t typedef d2e1765 remove redundant ring_idxs_mem_t typedef ad94e8a remove redundant counters_mem_t typedef f9a4c40 remove not used typedef c581cd1 use #else to merge two exclusive #ifdef's 18909d3 remove not used structure member 4c83440 add include guards for crypto_ctx.h edeee8a remove redundant structure ctx c93c234 fix Makefile to allow parallel make e43b78e fix round-robin context allocation for RSA operations f9beb49 remove unnecessary lock contention 31e004a add static qualifier for file-bound variables bbba578 remove code for handling INTx and MSIx 7e04c32 remove unnecessary self-asignment 8f79b8c remove wt_cpu_mask variable definition from header file d1a76fd cleanup: remove unnecessary "include"s a6d3286 rename reserved identifiers 21cb055 rename source files to avoid confusions 8072597 use kernel API to count the cpus bb2ddcd rename lock variable to match its purpose e51e179 fix incorrect use of get_cpu() on debug_print 4a2d864 clear test_done flag inside check_test_done() 5432210 clarify function return value 7ef3b7a remove unused header inclusions 3119e2a move get_cpu_ticks definitions closer to their users 34bd796 remove unused 'flag' argument from callbacks 602db60 remove leftovers from Makefile fff643f merge two related short functions 36e7aeb clarify debug print message 0908d09 rename function a441393 rearrange code to remove forward declaration 9e303f3 clean-up formatting and remove dead code 509ce95 make sure side-effect ioreads are not optimized away d2104ff read-back the last written LAW to guarantee LAWs visibility f58b316 split boot procedure into independent functions 8543c2f decrement device count on device remove d4e5650 fix CPU core reset sequence 90726f3 do only a CPU core reset when device is removed ae4e740 execute device reset inside device remove function ad65fdb remove rearrange_config function b3d4633 remove redundant typedef resp_ring_entry_t d025737 remove redundant rounding of ring lengths 5805ff8 remove unused priority queue code bf6ee11 clarify the kernel patch procedure 2d19537 refactoring: use sg_cnt as index c8ad184 clear ring lists before freeing ring memory 1969e0a consider all warnings as errors d262686 clean-up Makefile e445714 Revert "add parameters to help with cross-compilation" 0877954 use standard macros to identify the platform ae1d33b move functions around to remove forward declarations 1318c36 remove unnecessary forward declarations bc07560 fix pointer dereferencing after kfree 533ccd6 remove unreachable #ifdef 0 code a03f89c remove strict_strtol macro 74f890d mark hanshake success inside handshake function f9460fb remove unused macros 8313f5c refactoring: remove unnecessary code block 2c4f52c refactoring: extract function hs_init_rp_complete 2a2139a refactoring: extract function hs_fw_init_complete 563cf8c refactoring: extract function hs_firmware_up 5e26693 remove unnecessary Makefile variables 5de6d6d remove conditional code for non-powerpc platforms 528a89d remove no longer used code 5e65fa6 use portable definitions for big endian READ64/WRITE64 0a2b97d remove ASSIGN32 macro from the rest of files 2347c8d remove ASSIGN32 macro from rsa.c e277959 remove ASSIGN32 macro from hash.c and symmetric.c cde6406 remove ASSIGN32 macro from dsa.c 3f9613c remove ASSIGN32 macro from dh.c e6d0ba2 remove all uses of ASSIGN16 macro 7ad9d6c remove all uses of ASSIGN8 macro 0a7f003 use portable constructs for all platforms 3cb5a4c remove more iowrite macros 6acb490 remove unnecessary wrapper over iowrite8 29cd4a0 remove remaining wrapper macros for PCI 32bit read/write c3c895e use iowrite32b to write to PIC_PIR register b8dd736 set a single workqueue for operations 367f105 remove unused members of per_core_struct_t 0e7324c remove unused tasklets related code 724dcd9 remove support for pre 2.6.19 kernels ef22e13 refactoring: avoid redundant typecast to void * ab04330 explain the choice of index for response ring 8bd4428 clarify the meaning of these assignments 6e0950a simplify calculation of handshake memory address 09d4f8e refactoring: use variable to avoid duplicated addition 886354a remove duplicated definitions of CACHE_LINE_SIZE 199efd0 fix calculation of outbound memory length d8d918f clarify value of dev->tot_req_mem_size to avoid code review issues 0ab7a57 remove unnecessary "crypto_dev_config_t" type definition 1b029f8 move assignment out of the if condition ba8fb48 remove unused initialization values 3fd6b86 remove unused "crypto_config_t" structure fb7fc22 add note for enabling ECC 098edf9 explain what is going on during endpoint setup a3cb153 fix value of TRGT field for PEX_PEXIWAR1 eb69306 refactoring: use kernel IO API to access device registers 476f25d minor clean-up in debug-prints 8555a14 remove unmaintained code 68cdc01 refactoring: remove short function 691e809 use upper case to refer to base address registers 19314aa remove one of two identical enum types fc3e81a remove conditional padding of buffer_header struct df81cc2 remove rarely used macros 151125f remove dead conditional code f8b9a76 remove redundant #ifdef c7b0ae0 merge conditional code blocks to ease their removal 47971d3 always link pkc.o when building the driver df748c3 fix several compiler warnings with debug print enabled 128553a Merge pull request #11 in SDK/pkc-host from ~B47441/pkc-host:master to master a2ae0f4 config device for proper module removal 185a2ef Merge pull request #10 in SDK/pkc-host from ~B18196/pkc-host:master to master 1dcb2cc add build option to disable hmac algorithms 341f4d3 Merge pull request #9 in SDK/pkc-host from ~B18196/pkc-host:hash_cleanup to master 255413f move hash init functions to hash.c 33be668 move virtio hash init functions to hash.c d4f4aed make structure definition accessible from algs.h a2bace7 remove compiler warnings about unused variables and labels 564feb6 remove debug-print compiler warnings a6dd5d6 make the include tree more shallow ed759f1 remove block of not-used macros 8daa0a6 replace unused debug-print switch 82001b1 remove dead/commented code e58a21b Merge pull request #8 in SDK/pkc-host from ~B18196/pkc-host:bugfix_QSDK-2327 to master 367235b add firmware fixes for board in PKC mode 6bf2320 Merge pull request #5 in SDK/pkc-host from ~B18196/pkc-host:bugfix_hash_array_index to master dc26e18 bound-check digest operation before array indexing d596ccb clean-up exit logic in hash_cra_init e4df9e0 remove dead code in algs_reg.h 9aa8c6f fix debug-print typo 7d9751b fix error-path clean-up for fsl_crypto_pci_probe d52f083 refactoring: extract loop into fsl_request_irqs function b467d27 refactoring: extract code-blocks into reusable functions 64dd967 cache the interrupt type for later 1ad35e9 fix isr_context memory deallocation 1130b94 save the actual requested irq number to free later 4526b47 use a single variable to remember the interrupt type a972d1e refactoring: extract clean-up code into a function 48afa04 rename error code variable 4bb959e check for NULL pointers before dereferencing ac2fc15 partial revert of c_buffers references to fix digest regression 6917577 fix incorrect buffer mem distribution 815942b dh.c: make variable declaration local to the code-block using it 6bd72b7 add comments requesting handshake clarifications 7be5358 refactoring: extract code block into send_hs_init_config() function a7569d9 make num_of_rings uint8_t as in the rest of the code c1adb61 fix 64bit compiler warning on printf type conversion 11a31e0 remove comments that duplicate code 296ac75 remove unnecessary NULL check for 'prev' pointer 9db737b remove cli binary from the package c25fc89 merge prev and after pointers as they perform the same role 499e212 check for non-null pointer to continue rsa operation 897efd2 remove unnecessary initializations 186da4e sanitize function alloc_crypto_mem() 71dbe8b remove "retry alloc" feature e9eba60 substitude macro with a local variable 15599db remove un-reachable code 0f20b53 fix memory deallocation on ecdsa_keygen_test ddd3c5f snprintf to safer buffer boundaries 93d41be fix compiler warning: zero-length gnu_printf format string d544973 minor clean-up of variable definitions in inner code-block f4fa7f4 revert condition to decrease code indentation 44de183 return error if we see too many <ring> labels 16fc7ff use uint8_t to avoid explicit downcasts in assignments 7406811 comment unused code and leave it as a reminder c6a3dca use uint8_t to hold values for 'struct buffer_header' flag field 360d092 rsa: return error if given an unsupported request type dcfcc82 use u16 to hold values for offset in struct sec4_sg_entry 7689504 fix creation of circular list 7e9934b remove unreachable code ad95665 return from callback if device config is not found 3c4fcd3 remove redundant initialization of 'loop' 86a3cca refactoring: extract common code in both branches of if statement 6b1e6cf init completion before enqueuing the operation 634b3f6 refactoring: use crypto_op_t to identify rng operations 6316fe8 fix test in if statement ec1d529 initialize error code in case we have an incorrect no_secs value 1f766cb fix error checking in rng initialization logic bc09c80 remove redundant initializations 885eee8 remove redundant temporary variable 83d01d3 use u16 type to hold msi/msix interrupt vector entries 533942f add explicit cast to avoid static code analysis issues 6083b6c check buffer boundaries in prepare_crypto_cfg_info_string() d092710 sanitize parsing_test_command() function 9666743 fix clean-up path for fsl_crypto_layer_add_device be74851 remove unnecessary variable 739b08e change function type from int32_t to void d95aaa2 remove dummy code 6f32f94 check for buffer boundaries before copying e495e63 use flag setters/getters to reduce code duplication ad23ae5 add more utilities to get/set flag values bcf3a1e refactoring: replace space indentation with tabs be34550 use positive logic in #ifdef #else #endif blocks 7a36935 check for memory allocation errors on pool inits d36c2dd move assignment inside the block where it is used Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-pkc-host: rename back to pkc-hostTing Liu
pkc-host ships not only .ko files, but also crypto.cfg/pkc-firmware.bin/etc. As the recipe inherits module.bbclass, kernel-module-* will be created to package .ko if installed into /lib/modules/. Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19skmm-host: update to commit 41a448dTing Liu
New commits imported: 41a448d fix dequeueing problem for dsa sign-verify test 290790a proper buffer cleanup for dsa sign-verify test c4d8129 rename variable to better reflect its purpose 1e555ae remove unnecessary else branches ddddb78 clean-up code flow dec7b96 fix memory clean-up on error path 59e5746 remove redundant variables initialization 60431a8 remove dead code 3badec6 set default file paths to where we install them 6b23ee3 add more rules to .gitignore b03ff68 remove unnecessary function call 86c1b1d remove cascade of defined and not used variables 8344196 remove dead code faa9cbe fix typos - probably from copy/paste Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-skmm-host: rename back to skmm-hostTing Liu
skmm-host ships not only .ko files, but also skmm_crypto.cfg/c29x_skmm_perf_profile.sh As the recipe inherits module.bbclass, kernel-module-* will be created to package .ko if installed into /lib/modules/. Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19ceetm: install ceetm.ko into /lib/modules/Ting Liu
kernel-module-ceetm will be created to package ceetm.ko by default. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19ceetm: remove useless do_configure_preappendTing Liu
The fix was merged in source code now. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19ceetm: update to commit 2c79d0bTing Liu
New commits imported: 2c79d0b ceetm: asf dummy packet hook in ceetm 179d761 ceetm: improved error handling ceb2646 ceetm: Adding support for vlan and large packets 83243fd ceetm: use the extended dpa_tx call from dpaa 6126e29 ceetm: set the fq context_a for buffer recycling 4cbb1ba Revert "Avoid crash on incorrect classid result with classifier" aaa61ff Revert "ceetm: redefine the print_rate function" c2de120 Makefile: use KBUILD_OUTPUT to point to build-artifacts b000e91 Avoid crash on incorrect classid result with classifier 2242e7a ceetm: redefine the print_rate function Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-ceetm: rename back to ceetmTing Liu
ceetm ships not only ceetm.ko, but also q_ceetm.so. Rename back to ceetm As the recipe inherits module.bbclass, kernel-module-ceetm will be created to package ceetm.ko if it is installed into /lib/modules/. Signed-off-by: Ting Liu <ting.liu@nxp.com>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19ceetm: update COMPATIBLE_MACHINE for t104xTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19ar: update COMPATIBLE_MACHINE for t104xTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: support kernel delta defconfig managed in recipe folderZhenhua Luo
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: update LOCALVERSIONTing Liu
Don't set LOCALVERSION options in .config as this will result in version mismatch between uImage and kernel modules which packaged in rootfs. This happens when using uImage built standalone toolchain + rootfs built by Yocto. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: save the merged .config as ${WORKDIR}/defconfigTing Liu
In fsl-kernel-localversion.bbclass, ${B}/.config will be regenerated based on ${WORKDIR}/defconfig. Save the merged .config to avoid issue. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: update to commit 43cecdaTing Liu
New commits imported: 43cecda fmd: remove cc-aging support 867551d fmd: relocate aging_support field to maintain compatibility 08d3161 Merge pull request #75 in SDK/linux-devel from ~R52568/linux-devel:hotfix/QLINUX-3938-fmd-ioc_compat_fm_pcd_kg_scheme_spc_t to master 1cf7b57 fmd: PCD: fix offline port blocked by fragmented IPV6 295abbb fmd: move compat_copy_fm_pcd_kg_scheme_spc out of DPAA 11 def 976b0aa fmd: PCD: fix offline port blocked by fragmented IPV6 b242e9c fmd: Add support for IPF after HMan fd8e7c7 Merge pull request #69 in SDK/linux-devel from ~R27762/linux-devel:add_hm_node_stats to master 1c291fd Merge pull request #72 in SDK/linux-devel from ~B56421/linux-devel_sdk_ip-usb:bugfix/QSDK-2454 to master 50eea51 Merge pull request #48 in SDK/linux-devel from ~R52568/linux-devel:bugfix/QLINUX-3822-monitoring-any-match-inside-hash to master dd05648 arm: dts: ls1021a: Add dma-coherent property to usb3 node e8c288e drivers: dwc3: Set dma ops for xhci dev 56afee9 drivers: dwc3 : Add support for USB snooping 3f83306 drivers: dwc3: host: Change burst beat and outstanding pipelined transfers requests. 1666d68 fmd: add ioctl call to retrieve scheme counter - spc a9d0ea5 fmd: Render header manip node statistics available in user space e176e3f fmd: fix compat layer for aging_support 3a8d082 Merge pull request #65 in SDK/linux-devel from ~R01356/linux-devel:bugfix/QUSDPA-704-segfault-in-dma_mem-allocator.c to master a57ffba Merge pull request #64 in SDK/linux-devel from ~B06830/linux-devel:bugfix/QSDK-2404-cryptodev-linux-sha1-offloading to master 0586472 Merge pull request #63 in SDK/linux-devel from ~B29983/linux-devel-tyt:QSDK-2438-there-is-some-improper-information to master 61f0e11 Merge pull request #61 in SDK/linux-devel from ~R54964/linux-devel:bug-fix to master cfb981f dev-exporting dev functions to support ceetm e98f36e fsl_usdpaa: Remove TLB entries when unmapping memory 8700bab crypto: caam - Change kmalloc to kzalloc to avoid residual data 4fd8cac crypto: caam - fix memory corruption in ahash_final_ctx 16d4087 crypto: caam - Fix incorrect size when DMA unmapping buffer 270c770 crypto: caam - improve initalization for context state saves 67ef9d13 crypto: caam - enable LARGE_BURST for enhancing DMA transactions size 2c27666 crypto: caam - make write transactions bufferable on PPC platforms 418316c cpufreq: qoriq: fix output information error 300c3ff fsl-qbman: Handle memory leaks 56e16e2 fsl-pme: Check for null pointers 3ac31aa fsl-dce: Handle memory allocation failures e11b65b fsl-dce: Correct error paths and add new labels ea1259d fsl_qbman: null check for lni in qman_ceemt_sp_release e82a761 fmd: fix locks in ModifyKey function dedb4b3 fmd: support aging in CC 0506053 pci/layerscape: Do not check link status e03bbdd asf_tcp_nf: Patch to correct typecast in tcp timestamp copy. 91aade9 Revert "gianfar: Add dma transfer endian property support" 03dd666 kconfig-asf : asf_qos disabled with asf by default b8d41cb dev-asf-qos - correcting the qos hooks for dpaa linux qos 18b0779 dpaa_eth: fix bpool seeding for advanced drivers 7faf498 net, gianfar, rt: Update TX_TIMEOUT to 5HZ 502650e net, rt: limit net_rx napi calls in threaded ISR context e37ce25 powerpc/t1040/dts: Add interrupts for PHYs connected to L2 Switch ports 6da728b fmd: support aging in CC 5cd3a8f fmd: fix policer spelling issues b5d9899 fmd: Remove FM_PORT_PcdPrsModifyStartOffset routine - not supported 4c642e7 fsl_qbman: enable sending cscn to dcp for old qman revision b8887bd t4240dts: correct the ceetm node f33567a dpaa_eth: Add a configurable dpa_tx call e48b858 mmc: sdhci-of-esdhc: fix compile error on ARM platform fb9a06b QorIQ/TMU: add TMU node to device tree for QorIQ T1023/T1024 4fbd4cf QorIQ/TMU: add thermal management support based on TMU a9463a3 QorIQ/TMU: add TMU node to device tree for QorIQ T1040/T1042 6b43e2b thermal: fix cpu_cooling max_level behavior f0a70b9 mmc: sdhci-of-esdhc: add SDR50 mode support for SD/MMC Legacy Adapter Card 9ac6075 mmc: esdhc: add eMMC45 Adapter Card HS200 mode support e89634e QorIQ/TMU: add TMU node to device tree for LS1021A fd1b282 Merge branch 'feature/LS1-for-SDK' of ssh://sw-stash.freescale.net/dnnpi/ls1-linux-jason into LS1-SDKV04-SDK1.9 8d3a3ca t104xd4rdb: add DS26522 nodes to device tree aaa395f Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0 ec78b41 arm: ls1021a: mask interrupts before entering deep sleep 13d0daf arm: dts: ls1021a: Add transfer mode property in DSPI2 node 6f50fc1 arm: dts: ls1021atwr: Enable DSPI2 dts node 7a6dba4 arm: ls1021a: change the order of setting PMC interrupt registers 4e61417 crypto: caam - fix SEC ERA reading bcd5862 crypto: caam - fix snooping for write transactions eec616d1 arm/dts: Add node for ina220 on LS1021ATWR-Rev 3915d65 arm/defconfig: Add Atheros AT803X PHYs support e364aa2 QE/HDLC: modify QE-HDLC for both ARM and POWERPC bb21962 Test patch: Enable CAN SoC level loopback a4c59bc arm/dts: Add nodes for flexcan devices present on LS1021A-Rev2 SoC 6e9c5a3 can: flexcan: Add support for non RX-FIFO mode c466de8 can: flexcan: Remodel FlexCAN register r/w APIs for BE instances 306f67c can: flexcan: Add ls1021a flexcan device entry 7e71163d doc/bindings: Add 'endianess' optional-property for FlexCAN controller 1795472 Revert 'can: flexcan: Add ls1021a flexcan device entry' 863d717 Revert 'net: can: Remodel FlexCAN register read/write APIs for BE instances' 41cfacd Revert 'can: flexcan: Add support for non RX-FIFO mode and conditional ERRATA ERR005829 handling' 8d04086 mmc: sdhci: more efficient interrupt enable register handling e08d8bf pci/layerscape: update MSI code for ls1021 rev2 MSI support d217d96 mmc: sdhci-pltfm: enable interrupt mode to detect card 7549302 arm: ls1021a: enable sleep and deep sleep for rev 2.0 silicon 3aa9846 ls1021a: dts: Add eTSEC info for 2nd interrupt groups 5217966 Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0 02d571e ls102xa: nor: Adjust the partition for NOR flash according to the new mapping table 78fd893 arm: ls1021a: add deep sleep support on TWR-LS1021A-PB b65882a Revert "gianfar: Disable Rx snooping for LS1" 138b929 Revert "gianfar: Remove tx snooping support from LS1" 7b56cb1 arm: ls1021a: add platform notifier for dma-coherent requirement 62a2834 ls102xa: dts: Remove big-endian-regs property for SAI bebea77 Revert "ls102xa: audio: Workaround for SAI data transfer endian issue" a449b22 ls102xa: nor: Adjust the partition for NOR flash Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc-mx6: Disable Tux logo for default configOtavio Salvador
The Tux logo should be disabled by default to allow a cleaner boot process. If a different configuration is needed of any specific machine, it can be overriden using custom config. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc-mx6: Disable 'evbug' module on default configOtavio Salvador
Disable evbug, so machines using the kernel recipe do not have it loaded by default. The evbug kernel module can be enabled if needed, per machine, using a custom config. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc-mx6: Fix serial console use with SystemDOtavio Salvador
The SystemD requires the CONFIG_FHANDLE option to be enabled to properly support the serial console getty initialization. This fixes following error: ,----[ i.MX6Q SABRE Smart Device boot error ] | [ TIME ] Timed out waiting for device dev-ttymxc0.device. `---- The error has been catch while testing a customer image in a pure SystemD distro, based on O.S. Systems Embedded Linux. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-imx-gpu-viv: Add 'galcore' to module autoloadingOtavio Salvador
The module autoloading ensures 'galcore' to be probed as early as possible during the boot. The order is important so the GPU can be used as fast as possible, ensuring a reduced time until the initial GPU-based application is loaded. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc (4.1): Update to the latest version e55a6a92Fabio Estevam
This merges the 4.1.13 stable release fixes into the fork. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19Revert "linux-fslc: Upgrade to 4.3-based kernel"Otavio Salvador
This reverts commit 649f479f118567d62a5a57d690fb3fe3915f0ea7. The 4.3 version of kernel cause build errors on lttng and cannot be included until those are fix. We are reverting it now and will add it back once OE-Core is fixed to support it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc: Upgrade to 4.3-based kernelOtavio Salvador
Besides the revision change, this synchronizes the defconfig used for the i.MX and the Vybrid SoCs. The only SoCs using a specific defconfig file are the MXS-based ones (i.MX23 and i.MX28) as the others are consolidated on the single defconfig file. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc-mx6-rt: Add new recipeDominic Sacré
This recipe is based on the now-deleted linux-imx-rt recipe, using the same set of patches. The linux-fslc-mx6 kernel is currently at upstream version 3.14.54, for which no realtime patch has been released, but patch 3.14.51-rt52 applies cleanly. Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: fix the kernel hang issue with gcc-5.2Zhenhua Luo
Backport a patch to fix the kernel hang issue when the uImage is built by gcc-5.2. The details can be found in https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5e95235 Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> (backported from meta-fsl-ppc:95d9f9aba81ccdae53011ac8c6fbbc2605b9cedc) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-imx-rt: Remove 3.14.28 version as it does not work with GCC 5.2Otavio Salvador
The 3.14.28 has not been fixed to work with the GCC 5.2 making it unusable. Remove this version until someone does the upgrade to the newer releases. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-imx-mfgtool: Remove leftover from 3.14.38 QP upgradeOtavio Salvador
The 33615de (linux-imx: Upgrade to 3.14.38-6QP_beta release) did not remove the linux-imx-mfgtool-3.14.28/mx6/defconfig file, keeping it unused. Remove it now. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19Remove Vybrid mcc related recipesOtavio Salvador
The mqxboot and mcc Linux kernel module requires the Timesys kernel to work. The kernel is not in use in meta-fsl-arm anymore and in long term the Vybrid will be using the remoteproc mechanism to share resources across the different CPU, inside of the SoC. As consequence of the update for the Linux 4.1 kernel, those recipes ought to move for meta-fsl-arm-extra where 3rd party boards can keep using them. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc (4.1): Update to latest version fa868c9eFabio Estevam
Commit fa868c9e ("dts: imx6: fix sd card gpio polarity specified in device tree") missed to be applied into 4.1.11 causing esdhc regressions on mx6, so let's apply it so that we can have SD card working with 4.1.11. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-timesys: Remove unused kernelOtavio Salvador
The Vybrid reference board (twr-vf65gs10) now uses the linux-fslc (4.1) kernel. This makes this kernel recipe unused. Remove it as it has known security flaws, toolchain problems and is quite old. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc (4.1): Add defconfig for Vybrid SoCsStefan Agner
Add an optimized defconfig for Vybrid which includes NFC (NAND) and DCU (fbdev) support for Vybrid. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc (4.1): Update to latest version 622e3d41Stefan Agner
This updates linux-fslc to the latest version which includes the Vybrid related patches. 622e3d4 video: fsl-dcu-fb: fix compile issue without PM_RUNTIME b71a77f video: fsl-dcu-fb: fix pixel clock polarity 55a3f93 video: fsl-dcu-fb: add suspend/resume support 526c502 video: fsl-dcu-fb: fix signal polarity defines 3b5d7a3 ARM: dts: vf610-colibri: enable DCU framebuffer 0614d77 video: fsl-dcu-fb: support signal polarity configuration 202f53d video: fsl-dcu-fb: use native-display timing 1f632a8 video: fsl-dcu-fb: use num_timings to iterate timings 5801959 Documentation: DT: Add DCU framebuffer driver 5afe56f fb: Add DCU framebuffer driver for Vybrid VF610 platform fdad0f6 ARM: clk: vf610: Add DCU and TCON clock support 0cdb0dc ARM: dts: vf610-twr: Enable DCU and TCON devices ca0333a ARM: dts: vf610: Add DCU and TCON nodes 463b5a3 ARM: dts: vf-colibri: enable NAND flash controller e439239 ARM: dts: vf610twr: add NAND flash controller peripherial 031328c mtd: nand: vf610_nfc: include missing pincrl/consumer.h 5812299 mtd: nand: vf610_nfc: add device tree bindings 48ea668 mtd: nand: vf610_nfc: add hardware BCH-ECC support ce28974 mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others 4fc9a49 mtd: nand: add common DT init code Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc (4.1): Update to revision 14b3c25bFabio Estevam
This merges the 4.1.11 stable release fixes into the fork. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19Remove unused patch filesOtavio Salvador
Those patch files were left orphan when upgrading the linux-imx and u-boot-imx recipes, becoming unused. The removal of them cause no harm and helps to keep the metadata clean. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc (4.1): Add Vybrid SoC to compatible machinesStefan Agner
Upstream Linux 4.1 supports the Vybrid SoC quite well, so enable linux-fslc also for Vybrid SoC's. Change-Id: I6745b67f4cc4b12ccc6f05754af9241e60731c6a Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-qoriq: fix gcc 5.2 build issues of ls1021atwrZhenhua Luo
Cherry picked patches from future kernel versions to fix gcc5.2 build errors (Port from meta-fsl-arm rev: d4da62e1972d78a0ebfa51e6bad232732144e4b2) Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
2016-04-19cryptodev-qoriq: Fix runtime providers so 'cryptodev' is not taken as providerZhenhua Luo
QorIQ targets should use FSL custom cryprodev instead of the one provided by poky, fix the runtime providers to ensure 'cryptodev-qoriq' is taken as provider. Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc-mx6: Update revision to 964e5a3 revisionOtavio Salvador
The 964e5a3 revision includes the 3.14.54 stable release fixes plus following changes contributed by Gateworks: 7292dc7 ASoC: add tda1997x codec support aa4ee3d ipu3: keep buffer offset aligned 05608b5 ipu3: fix stripe calculation 30c6d90 thermal: imx: allow crit_delta to be passed in via kernel param 334fc35 arm: dts: add handles to anatop regulators c7a4d85 fec: Russell Kings corruption fix 0c2c11f net: fec: fix the warning found by dma debug b5b53b5 pci: imx6: Add delay after LTSSM transition 6dba6b0 fec_main: add mb() before setting status 05ab2a6 net: fec: fix NULL pointer dereference in fec_enet_timeout_work 07465db drivers: video: mxc: Add support for interlace on hdmi out 3eca3ca imx: thermal: use CPU temperature grade info for thresholds 172ad49 media: pci: tw6869: Implement ENUM_FRAMESIZES ioctl a7d429e media: pci: tw6869: add device registered dev info 957f3fa media: pci: tw6869: initial add cb61124 ARM: dts: imx: fix invalid #address-cells value ea53bf7f imx:busfreq: disable busfreq driver by default e3e114d video: mxc: ldb: use native mode for display timings fa6b13a net: igb: register mii_bus for SerDes w/ external phy 09359b6 net: igb: add phy read/write functions that accept phy addr d6daeac net: igb: add i210/i211 support for phy read/write 00b2ceb video: mxc: add adv739x TV encoder 3117a93 mxc_capture: add tda1997x HDMI receiver video support 9348099 imx: add imx tda1997x i2s DAI support b81d263 mfd: add tda1997x HDMI receiver support dba225f mxc_capture: check for init_camera_struct failure 09f7c1f mxc_capture: add device registration info 1db12fc mxc_hdmi: present sysfs edid as binary data instead of ascii bd0601d mxc_hdmi: enable overflow interrupt after initialization complete d6cc9e6 mxc_ipuv3: show device name for overlay fb a7f44be mxc_ipuv3: show ipu_id/disp_id of registered device e9ea090 regulator: Add LTC3676 support 3e12a168 regulator: core: Fix the init of DT defined fixed regulators 154b8be hwmon: mma8451: add fxos8700 magnetometer support e19d671 hwmon: mma8451: add fxos8700 accel support 760c31c cpufreq: imx: add a 25mV tollerance to the operating point voltages ef2eda1 cpufreq: imx: show soc voltage when debugging b205762d cpufreq: imx: init mutex before it can be used 04bc9ed input: edt-ft5x06 - add device-tree config for screen res and inversion 1ca89b6 Input: edt-ft5x06 - fix an i2c write for M09 support dc5f6c9 Input: edt-ft5x06 - add a missing condition f2854dd Input: edt-ft5x06 - add support for M09 firmware version 390394c Input: edt-ft5x06 - ignore touchdown events 6b60fb3 Input: edt-ft5x06 - adjust delays to conform datasheet 74bceb0 Input: edt-ft5x06 - add DT support 481da81 input: goodix: add invert and rotate support via device-tree 6297f18 input: goodix: add support for performing init sqequence 4746ef3 input: goodix: add device-tree support For compatibility with the Vivante kernel module build, the following commit has be also applied: 964e5a3 FSLC: Add busfreq-imx.h header for forward compatibility Change-Id: I92b566943c7245751b484302f2320b42ec7d761c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-imx-gpu-viv: Fork driver for FSL CommunityOtavio Salvador
The driver source code provided by Freescale needs fixes. This fork is a community driven development and allow faster development and easier integration of fixes. The "+fslc" suffix is added to the module during probing to make a clear identification. Change-Id: I914f1a7731263effdef75827e3a9fb8daba37ec9 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-imx-gpu-viv: Better work-around for change in name of ↵Gary Thomas
busfreq-imx.h The renaming of include/linux/busfreq-imx6.h to include/linux/busfreq-imx.h is not consistent over the many kernel versions currently being built. This changeset works around this inconsistency by creating a local symbolic link to whatever file is actually present in the kernel sources. Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2016-04-19kernel-module-imx-gpu-viv: Fix build against 3.14-based kernels - againOtavio Salvador
The build fail about the bus frequency header (linux/busfreq-imx6.h) not being found is caused by the mistaken check for the wrong kernel version. The regression has been introduced by d476c35 (kernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.1 for 3.14.38-6QP_ga release) which has been not properly tested. This patch fixes it, again, by adding back the removed patch. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19Enable Vivante kernel driver dynamic providerOtavio Salvador
The linux-imx.inc based kernels now can dynamically provide the Vivante kernel driver and satisfy the runtime dependency added for the Vivante GPU user space libraries. The beauty of this solution is that it makes ease for 3rd party kernel to reuse the same infrastructure and use the external module easily. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.1 for 3.14.38-6QP_ga releaseNeena Busireddy
- Package name is changed to kernel-module-imx-gpu-viv. - Patch platform-Fix-kernel-version-check-for-3.14-based-ker.patch is no longer required as the fix has been applied upstream. - Upgrade to graphics version 5.0.11.p7.1 - Makefile patch will be included in next release. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-imx: Patches to fix gcc 5.2 build issuesLauren Post
Cherry picked patches from future kernel versions to fix gcc5.2 build errors Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-imx: Upgrade to 3.14.38-6UL_ga and 3.14.38-6QP_ga releasesLauren Post
All i.MX6 with GPU use 6QP_ga and 6ul and 7d use 6ul_ga release Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-imx-gpu-viv: Fix build against 3.14-based kernelsOtavio Salvador
The build fail about the bus frequency header (linux/busfreq-imx6.h) not being found is caused by the mistaken check for the wrong kernel version. This patch fixes it by adding the right kernel version to be checked. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19kernel-module-imx-gpu-viv: Kernel loadable modules for 5.0.11.p6.3Lauren Post
This is the Vivante kernel driver split from the kernel source code in order to make it possible to be used in any kernel source since 3.10.53. The graphic version is 5.0.11.p6.3 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc-mx6 (3.14): Update to revision 4bae14aeOtavio Salvador
This merge the 3.14.52 stable release into the fork. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc (4.1): Update to revision ac8eed12Otavio Salvador
This merges the 4.1.7 stable release fixes into the fork. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-19linux-fslc-mx6: Bump revision to 2574f81Otavio Salvador
This upgrades the kernel fork for the 3.14.51 stable release. Another change is the inclusion of: 22f6925 arm: Export cache flush management symbols when !MULTI_CACHE This fixes following error: galcore: Unknown symbol v7_dma_map_area (err 0) galcore: Unknown symbol v7_dma_flush_range (err 0) When using the Vivante GPU module as a module. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>