aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
AgeCommit message (Collapse)Author
2016-09-27linux-qoriq: fix the kernel fetch errorHEADmortymaster-nextmasterZhenhua Luo
The sdk-v2.0.x branch is rebased, previous commit is in fsl-sdk-v2.0 tag instead of sdk-v2.0.x branch. Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2016-08-15auto-resp: skip ldflags checkZhenhua Luo
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2016-06-23cryptodev: add missing patchZhenhua Luo
Fix the following build warning: | WARNING: .../meta-fsl-ppc/recipes-kernel/cryptodev/cryptodev-qoriq-linux_1.8.bb: | Unable to get checksum for cryptodev-qoriq-linux SRC_URI entry | 0001-don-t-advertise-RSA-keygen.patch: file could not be found Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2016-06-23cryptodev-qoriq: upgrade to 1.8 plus fsl patchesCristian Stoica
upstream commit: 87b56e04b24c6d4be145483477eff7d3153290e9 Also: - move all fsl patches on top of cryptodev-1.8 - add CIOCHASH ioctl - fix incorrect tests initializations - modify yocto patches to match updated Makefiles Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
2016-06-23cryptodev: rename to cryptodev-qoriqTing Liu
The QorIQ version of cryptodev needs to use another recipe name and have a common provider, which is than choosen for QorIQ-based machines. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23pkc-host: update to 21a6b5bTing Liu
Changelog: 21a6b5b remove from Makefile unsupported build options 49e5c4d build this driver only for C293 de748aa fix ECDH_KEYGEN_B571 c37caf5 fix ECDH_KEYGEN_B409 8aeef34 fix ECDH_KEYGEN_B283 b978c11 fix ECDH_KEYGEN_P521 59f3256 fix ECDH_KEYGEN_P384 4942972 fix ECDH_KEYGEN_P256 0109686 remove commented code adb5ea0 fix ECPBN_SIGN_TEST_571 8c27c09 fix ECPBN_VERIFY_TEST_571 2c64f11 fix ECPBN_SIGN_TEST_409 259c64c fix ECPBN_VERIFY_TEST_409 fcd6526 fix ECPBN_SIGN_TEST_283 c42c0d0 fix ECPBN_VERIFY_TEST_283 9935bc6 fix ECP_SIGN_TEST_521 b9f414b fix ECP_VERIFY_TEST_521 ae15786 fix ECP_VERIFY_TEST_384 65e6891 fix ECP_SIGN_TEST_384 d48889b fix ECP_VERIFY_TEST_256 95a1946 fix ECP_SIGN_TEST_256 07118db fix DSA_SIGN_VERIFY_TEST aa341b9 fix ECDSA_KEYGEN_TEST 8a6ee84 remove non SEC_DMA code in ecdsa_test.c e34c882 reorder ecdsa init operations for clarity f59455d remove non SEC_DMA code in dsa_test.c a87ad87 clean-up test_dsa return codes 4c62d4b clean-up returned error codes for dh tests 303d534 fix incorrect DMA access to kernel memory in ecdh tests 69d0f04 refactoring: clean-up ecdh init tests 8218a02 use a portable API to measure test results against time 9c890fd disable printing for debug messages 5f00cff disable some debug print messages f74f9e7 device dma addresses are 36 bits f9a7e12 implement context pools for dh 74c8d36 remove unused structure variable a2bd548 use unsigned type to print values 9cd790c remove unused variable ce87c88 add dummy stub to compile on ARM c569de3 change type of temporary buffers in dsa.c 4440eef change type of temporary buffers in rsa.c e6f5d1d add support for temporary buffers to be allocated in host ip_pool fed730a combine common cases in switch 24163c3 don't unmap NULL input and output buffers ee34caa do memory unmapping in the same place to simplify review a254d5f Merge branch 'fix_host_to_dev' 030029c remove HOST_DMA code from dh.c 36e7ace remove HOST_DMA code in dsa.c 0e71ace fix rsa descriptors with pointers to _device_ addresses of data 354cd63 remove custom descriptor address conversion aff76f8 use dma addresses for ip_pool instead of physical addresses 299f846 don't copy RNG init descriptors to device SRAM 69e91a9 fix host_to_dev conversion 06768c0 fix referencing device driver by global variable 05b7cb4 remove unnecessary check on pointer before free 347c8d6 fix error path clean-up for rng_init.c f10fde8 fix error recovery code for dh.c ff53efd fix error recovery code for dsa.c 4d05d58 fix incorrect failure recovery from no mem in rsa.c e41f4fe be explicit about x86 specific code e27ba78 refactoring: remove simple assignment functions bb6fd21 fix type of the descriptor pointer c059e26 include several firmware fixes 58e36c9 remove union with a single member 9a8fcfc add FIXME for known broken (and unused) code 6035037 wrap conditional code with #ifdef ca75cd8 only high perf mode is supported 42bb43e remove conditionals for always enabled SEC_DMA code 2e39ac9 enable building of pkc.o only on x86 d860b92 Merge branch 'rm_sym_hash' cddcbe0 simplify buffer allocation 4480ab5 remove unused buffer descriptors structures d7ba05f remove unsupported digest operation types b5cdc69 remove unsupported symmetric operation types 15983c7 remove union for a single remaining member 4c37906 remove commented code 2d4ef38 remove supporting code for digests 4c973a3 remove supporting code for symmetric algorithms 16aa4e9 remove digest options from Makefile 0046906 remove symmetric algorithms option from Makefile ddba6e5 remove host dma supporting code 8964e47 remove redundant cast when assigning from void* b21bdea refactoring: drop else branch on a conditional 4c130a1 explain what this structure holds 4bb526d debug prints for setup-ep 235b377 use the recommended dma-allocator function 4ca6775 separate firmware and host lines in their handshake dialog f4e5221 extract functions from a switch case catch-all function 1d77ba3 don't write values to this field since they are ignored 7471d52 align output of debug prints 126b55c remove unnecessary cast in function definition 6156ad9 remove unnecessary casts when converting phys-to-virt e84ac1e fix descriptors debug print d7714ec match ring counters all the way back to handshake a98d899 match other ring counters to handshake names 4e9ff64 match ring counters names with the ones from handshake c545ea2 add FIXME note for intr_ctrl_flag 73f41e3 rename local counters with the names used in firmware 72b8884 rename other local counters with their firmware correspondents 4005735 rename local ring counters to match variable names in firmware 398a910 rename local indexes memory to match the rest of the code d508974 rename ring counters to match the rest of the code fa8fa98 use dma addresses instead of physical ones 3d75058 clarify code and do not allow incorrect unmapping dc4b53f remove non descriptive and out of sync comments 878b10d remove non sec-dma build options from desc_buffs.c 4da5c14 replace ASSIGN64 macro in rsa code 59487fa inline redundant wrappers over simple arithmetics a273744 inline function that performs a simple addition 4263e72 inline redundand wrapper over a memory mapping function 1f87a74 pool info is on host - rename variables to clarify their meanings a6ead52 rename variable referring to virtual address 986e670 rename variable referring to device physical address 7c65096 embed buffer_pool structure into pool_info d0b4272 move function declaration to the proper header 26e9abf make explicit the type of create_pool 61bca33 remove obscure comment 4a9cc8c remove declaration of non-existing function bb233eb use consistent naming when referring to buffer pools 5603762 remove duplicated definitions of pool info structures 1cbe21d split host and device input pools into separate entities 762f784 rename the host virtual address field to match our convention 02a0f9c remove duplicated address 9e8e66f remove customized data-dump debug prints b3890d0 refactoring: inline the contents of dev_buffer structure 24b9dad disable code used only with host dma 5277c39 use offset instead of physical address to avoid conversion errors 32198d0 rename structure variable to show we have more than one ring fe95ddd drop unused handshake field 9630d19 remove assignment and space for not-used counters 717264f clarify the intent of the code in the handshake process 5d091af remove not used allocation for shadow indexes 4d3528b remove not used counters from ob-mem a1c0b25 rename handshake structure located on device f87d9cd rename handshake structure located on host 92d5105 rename structure for host memory layout 42eac76 document details of pci_bar_info structure aeafe7a simplify error checking for rng alloc functions bfad291 fix content of debug-print messages 2f396f4 fix some compilation warnings on debug print code a682f70 communicate to the device only offsets in ob-mem 6abcb44 remove information ignored during handshake f64dc51 drop volatile from host handshake memory 28d91c1 drop volatile qualifier for device handshake area 2c8f914 refactoring: remove dispatching step for command hs_init_config 85bdf97 allow only SEC_DMA build option 5e10672 remove support for DES and 3DES 1ebe7f0 fine tune the length of the key buffer fbd5e8f add support for aes-cbc SEC_DMA mode b7d88bc replace scatterwalk_sg_next with sg_next 3cde754 remove duplicated sg copy functions 2acadfe fix scatterlist buffer start address computation 34d4dd1 add option for analysing code coverage db38cd6 fix module's description string 591ccd5 fix modpost section mismatch warning Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23skmm-host: update to d5912ebTing Liu
Changelog: d5912eb replace scatterwalk_sg_next with sg_next 0b99bce remove duplicated sg copy functions 4da8ba7 remove strict_strtol macro Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23uio-seville: update to 0f31fbcTing Liu
Changelog: 0f31fbc Fix kernel warning when no PHY interrupts are found and module is removed c9abc13 Use %pa to print resource_size_t Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23ceetm: update to a237e09Camelia Groza
Changelog: a237e09 ceetm: qcount and qweight aren't mandatory; update the help message 09fd87e ceetm: change the qweight for wbfs classes at runtime 09d6bc7 ceetm: remove the ceetm kernel module fd9c4b3 ceetm: update class statistics 92c37a4 ceetm: edit the help message d155fd6 ceetm: configure the cr and er of prio classes 610e157 ceetm: separate print_opt into two calls 3a35a3c ceetm: configure the wbfs weight 3b2fdd0 ceetm: show wbfs classes 8b42626 ceetm: add the wbfs qdisc e9deb04 ceetm: merge the qdisc and class types; allow rates equal to 0 e45fc61 Configure the channels in the root classes 0eb7c9b Print a prio class 270c21b ceetm: configure the prio qdisc f272dbe ceetm: configure the root qdisc and the underlying classes fa07c93 ceetm: update the qdisc's help messages 1adfe00 ceetm: obtain the port's subportal dynamically * update the compatible machine list * no kernel module needs to be installed add ls1043 to the compatible machine list Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23ar: update to 9a74743Ting Liu
Changelog: 0a908cd QSDK-2770: Makefile change required for SDK2.0 to handle directory structure change in fman 907f66a Makefile change required for SDK2.0 to handle directory structure change in fman Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23asf: update to a8bbba6Zhenhua Luo
Changelog: a8bbba6 Adding missing NULL checks for pointers a57b54c ASF: Fix for compilation error in IPSEC 4c1e657 IPSEC: Fix for crash with RedSide disabled. 53c68a9 ASFQOS: Removing Compilation errors. a2435dd ASF: Changing dpa files path and Flag 03d158e asf: Patch to fix api issue in kernel change. 30fe696 asf_ipsec: Patch to fix the insmod issue with gcc5.2 705730c asf: Patch to remove compilation error when ASF_IPV6 is disabled. 08c71f3 asfipsec: Patch to linearize nr_frag and fraglist coming from linux. Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23linux-qoriq: fix vmpic_msi_feature not used errorTing Liu
Fix the below 'unused-const-variable' error: .../arch/powerpc/sysdev/fsl_msi.c:661:37: error: 'vmpic_msi_feature' | defined but not used [-Werror=unused-const-variable=] | static const struct fsl_msi_feature vmpic_msi_feature = { | ^~~~~~~~~~~~~~~~~ | cc1: all warnings being treated as errors | make[3]: *** [arch/powerpc/sysdev/fsl_msi.o] Error 1 | make[2]: *** [arch/powerpc/sysdev] Error 2 | make[1]: *** [sub-make] Error 2 | make: *** [__sub-make] Error 2 Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23linux-qoriq: upgrade to 4.1Ting Liu
The main features are: * Linux kernel 4.1.8 * ARM A7 (AARCH32), A53 and A57 (AARCH64), Little Endian (default) * Power Architecture e500mc, e5500, e6500 * Multicore SMP support and multithread (e6500) * 32-bit effective kernel addressing [e500mc, e5500, A57] * 64-bit effective addressing [e6500, A53, A57] * Huge Pages (hugetlbfs) * Linux Real-Time (RT) [P4080, B4860, LS1021A] * Kernel-based Virtual Machine (KVM) * Libvirt 1.2.19 * Linux Containers (LXC) 1.1.4 function support Detailed commit log can be found at: http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git/log/?h=sdk-v2.0.x Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-23linux-qoriq: merge .inc and .bbTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-06-02linux-qoriq: fix build issue under gcc6Zhenhua Luo
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2016-06-01pkc-host: disable -WerrorZhenhua Luo
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2016-05-10openssl/cryptodev: base_contains -> bb.utils.containsZhenhua Luo
base_contains is deprecated. Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2016-03-01linux-qoriq: check $WORKDIR for config fragmentsAdrian Dudau
Config fragments passed through SRC_URI are installed in $WORKDIR. Adapt the recipe to look there too. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
2015-12-28ceetm: 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@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28ceetm: remove useless do_configure_preappendTing Liu
The fix was merged in source code now. Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28ceetm: replace tab with spacesTing Liu
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28ipc-module: remove useless do_configure_preappendTing Liu
The fix was merged in source code now. Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28pkc-host: set COMPATIBLE_MACHINE as qoriq-ppcTing Liu
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28pkc-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>
2015-12-28pkc-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@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28ipc-module: define SOC outside of do_compileTing Liu
the SOC need to be availble for all tasks as it used in EXTRA_OEMAKE. otherwise, make clean will break Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28ceetm: 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@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28ceetm: set COMPATIBLE_MACHINE as t104x/e6500-64bTing Liu
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28skmm-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@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28asf: update to commit 9580a62Ting Liu
New commits imported: 9580a62 asf_ipsec: Patch to fix the compilation error. e7a1828 Merge pull request #84 in SDK/asf from ~B49015/asf:sdk_1.9_master to sdk_1.9_master eee4467 DEBUG: compilation error fixed when ASF_IPSEC_DEBUF flag is enabled. 71db029 asf_tcp: Patch to correct tcp timestamp type. f8e3df0 IPSEC: Fixed for stack dump on running fragmented ping traffic c63ffa5 asfipsec: Patch to fix iph issue in non-proto offload case. 7170610 asfipsec: Patch to decrement buffer count of all frag in red off case f5cd876 asfipsec: Patch to fix inSA offload in NAT-T case. d455e70 Makefile: use KBUILD_OUTPUT to point to build-artifacts be19cd0 asf_frag: Patch to fix crash on mtu change. 0f88dae asf_ipv6_frag: Patch to fix ipv6 UDP frag and ping6 forwarding issue. 8c3f4bc ipsecfp.h: Patch to add support of SHA2-384 and SHA2-512 03bd11a ipsecfp.c: Patch to fix crash in ipsec in full mode. e2213ef ipsec ctrl - correction in container index check 33e0fd4 ipsec - ah - fix the fragmentation case for dpbp check f5f542d asf - return packets to linux on interface not found 1c7241e asfipsec - 64 bit support Signed-off-by: Hemant Agrawal <Hemant@freescale.com> 879b161 asfctrl - using ASF defined number of interfaces 83b6181 IPSEC: Crash fixed in case of revalidation 1b26690 ASF_REASM_DEBUG: Fix for compilation error when ASF_REASM_DEBUG is enabled 74a5953 ASF_DEBUG: Improving prints for ASF Debugging eee54a3 asf icmp reply support for DF flag 10e3bf8 asfipsec - error checks, debug prints and error handling corrections c47696c ipsec - lock, unlikely, null checks 5d26d9f ipsec- meaningfull caam error prints 834f88a asfipsec-ah- correction in ah shared desc direction 88edb32 asf_ipsec: adds the support for SHA2 algorithms in AH. ca8c486 ASFIPSEC: While deleting container properly freeing the pSASPDMapNode in SA c2c81cc ASF_IPSEC: Wrong counter being incremented. When OuSA is not found 32cea7f ASFIPSEC: Patch to avoid looping in case of rekeying on running traffic. 239c317 ASF_IPSEC: Adding local_bh_enable() in error case. CQ:ENGR00336981 Signed-off-by: Sridhar Pothuganti <sridhar.pothuganti@freescale.com> Change-Id: If72f7135fe5e294a51f0c582bdbd56ca3c78f844 Reviewed-on: http://git.am.freescale.net:8181/24207 Reviewed-by: Nikhil Agarwal <Nikhil.Agarwal@freescale.com> Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com> Tested-by: Sandeep Malik <Sandeep.Malik@freescale.com> 42837b8 ASF_IPSEC_AH: ASFSkbFree is not happening for DPAA/QMAN based platforms in some error cases as the free is under check. Correcting this. CQ:ENGR00336981 Signed-off-by: Sridhar Pothuganti <sridhar.pothuganti@freescale.com> Change-Id: Iaf847710cf583ff4d7e708013af77f522027e2eb Reviewed-on: http://git.am.freescale.net:8181/24208 Reviewed-by: Arun Pathak <arun.pathak@freescale.com> Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com> Tested-by: Sandeep Malik <Sandeep.Malik@freescale.com> e0410f9 ASFIPSEC: [sswan] Fix for issues with Child SA re-negotiation. e52f3c5 ASFIPSEC: Patch to fix flow re-validation issue. b99fb26 ASF_IPSEC: Freeing the skb in case of ICV comparion failed for AH 163ed89 asf: Patch to fix ping6 fragmentation issue. 48220d7 asf: Patch to fix skb data pointer and other frag issue. 2ff46e7 ASF for DPAA integrated with Linux QoS module a7d1981 asf-disabling qos compilation for dpaa platforms 8bcee43 ipsec-changing multi-policy sa support to be compile time 580a4f7 ipsecproc: Patch to fix display of ipsec stats. 955d26f asfctrl: Patch to fix error print when vlan i/f is removed. 44a5110 asf_fmc: Patch to update the name of xml files. 9f67f3f asf: Patch to fix ipv6 issue on dpaa. fac492d asf: Patch to return jumbo packet back 6b3d862 Removing Ethernet padding in abuf to skb conversion db49a6b Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows 6b5e75d ASFIPSEC: Patch to fix issues of order conversion while code review. 1c80cd5 Klocwork_LS1021_ASF: Fixing klocwork issues. 6a4a834 ASF ARM Porting: Using ASF network order and host order macros. e60d41c asfipsec: Patch to fix crash in running traffic when ipsec script is run. b682589 Adding HARD_TX_LOCK while doing dev hard xmit. da26fbd ASFIPSEC: Fix for out_sa stats not incremented in IPv6 3a41ff1 ASFQOS: Crash on configuring DRR QDisc after flushing out DRR Qdisc first time. 04fd26d ASFIPSEC: Patch to fix ICV error due to cache cohorency issue. 26b8f9d ASFIPSEC: Porting ASFIPSEC to LS1021 80d1153 ASFIPSEC: Flushing ah-sha1 policy at high rate 982d542 Firewall rules don't work if applied, before flows get offloaded. a7a2fee ASF_FW/NAT: SCP is not working when SNAT [IPv4/IPv6] is enabled on the DUT. 9d2ed93 Applying Firewall rule in running traffic gives CRASH. 426aefa ASFIPSEC: Getting crash while testing for IPv6-in-IPv6 ESP with TCP protocol. d3843de ASFIPSEC: Crash on making interface down. ae72e06 ASF IPv6 Firewall: Sending high rate traffic in the e19c45e ASF ARM Porting: While forwarding if we down Egress interface, we get crash. c01729e ASF ARM Porting: Cannot remove configured VLan 0ac82ad ASFIPSEC: Porting IPSEC AH to LS1021A (arm based). 38671c3 ASF ARM porting: IPv6 Fragmentation fb2ca85 ASF ARM porting: IPv4 Fragmentation 471a4b2 ASF ARM porting: IPv6 forwarding with TCP/UDP header. 4d443a1 ASF ARM Porting: Removing compilation error of ASF without rx tx patch in linux. aa33f01 ASF ARM porting: IPv4 forwarding with UDP/TCP header. f5a8705 ASF ARM porting: Defining order conversion macros. 3f76910 ASF ARM porting: Setting ARCH=$(ARCH) in Makefile d5dabe7 ASF: Removing compilation error because of updation in linux structure 'dpa_priv_s'. 01cd004 asf: Patch to fix crash in case of ipsec at high rate traffic. 66fe758 asfipsec_ah: Patch to fix sha256 in case of AH only. a81d920 asf: Patch to fix wrong port no assigned in ipsec flow. 8ebb93b asf: Patch to handle ipv6 traffic in case of seqno overflow. fcd0843 asf: Patch to fix sha256 issue. 7467249 Crash observed with AH-ONLY-SHA384 9e37dc8 asf: Patch to fix some klockwork issue. e1b2a12 ASFIPSEC: Adding support for handling IPv6 in IPv4 and IPv4 in IPv6 case in QMAN SEC4x 3c05ad1 ASFIPSEC: TOS is not correctly copied in IPv4 in IPv6 case 6363e0b Solution to Fragmented packets are not getting through AH tunnel 5a96807 asf: Patch to fix tail pointer-offset issue in 64-bit machine. 26375d3 ASFIPSEC: Solving problem in secfp_inCompleteCheckAndTrimPkt code bdb17ab ASFIPSEC: Solving case of infinite loop in secfp_qman_out_submit 13dc5a9 ASFIPSEC: Freeing correct sgt pointer in espDQRRCallback ca75bf9 ASFIPSEC: Incrementing pSG->len by ulFragPadlen in secfp_qman_in_submit a58ba45 ASFIPSEC: struct addr in scatter_gather_entry_t is changed. 81d797b ASFIPSEC: Linearising frag_list or nr_frags coming from Linux 9458153 asf: Patch to remove conflict of skb cb field b/w reasm and ipsec. 4d3993b Solution to ESP IP pakcet more than interface MTU going out 1175536 ASFIPSEC: Handling seq number overflow in espDQRRCallback b5fb8fc ASF: Removing compilation error after adding patch: "ASFFFP adding support for PPP-IPV6 traffic" 4018106 ASFFFP - adding support for PPP-IPV6 traffic b26d25f asf_klockwork: Patch to fix issue reported by klockwork 36ffe84 ASFIPSEC: Fix for crash seen on T4240 in case of ping ef4a7a1 asf_compilation: Patch to remove the compilation warnings. 3f7d40c secfp_finishOffloadOutPacket: corrected the SPD index value l2blob refresh 837a5f9 ASFIPSEC_AH: Fix for crash seen on T4240 in AH only case 745a912 ASFIPSEC: Fixing miscellaneous error 1cdde18 asfIpv4Fragment was not copying the IP options in fragmented packets. 62b1311 asfIpv4Defrag IP header length corruption solved c7c8ba3 ASF fragmentation: Buffer freed in case of VLAN parent device not found 2c478eb asf_free_buf_skb function was not considering the frag_lsit while releasing the buffer to BMan. asf_free_buf_skb is also called, in error case, after ip reassemmbly. In that case the buffers are leaked. d0572b1 ASFIPSEC: Removing compilation errors. ee1e3e8 ASF_IPSEC: Fix for SA leak(Orphaned SA wothout Container) b2ac65f asf_ipsec: Patch to add the support for AH in Sec 3.x 44cb2b0 asf_reasm: Patch to fix the processing for re-asm. 99f89ed asf_ipsec: Patch for multi-policy single SA additional cases. a6cb24c ASF-IPSEC:SA flush with traffic through the DUT causing crash. fd7f119 ASFCTRL: Out SA is not getting offloaded if SA and then policy is configured. 93eb52b TC/TOS in inner header is not getting copied to TOS/TC of outer header respectively. 0fc4363 asf: Resolve fragmentation issue in case of red-off ipsec. 2ed8b33 ASF: Patch to fix hop-limit/ttl decrement in asf IPSec module. d6cc5b5 ASFREASM: Patch to fix the crash in case cb not found. aef3564 asf_ipsec_ah: Patch to fix the issue of ping6 not working. 5a82c4d ASFIPSEC: Use correct length in descriptor while using dpovrd for multiple policy. f305c67 asf_ipsec: Patch to fix the ICV errors in case of ESN. 9b5ae90 asf_ipsec: Patch to fix the crash seen in case of AH IPsec. ae85d24 ASFIPSEC: Trim correct fragment after decrypting packet. 8d2c11c ASFIPSEC_AH: Search AH table to find SA in case of dropping packet. d83a4d5 ASFIPSEC: Changing the block size of AES-CTR. a37f009 ASFIPSEC: Added des/3des-xcbc support. 38259f6 asf_ipsec: Patch for ICV errors seen in case of SHA256. 07e2c90 ASFIPSEC: Fix for ASF-IPSec to run with SA first then policy configuration. 62844a7 asf_ipsec: Patch to fix the issue of crash in Ping6. 4f60755 asf_ipsec: Patch to add the support of multiple policy mapping to single SA. b5c14e6 ASF-AH: Take care of padding in ICV of AH Header 98c79ea asf_ipsec: Patch to fix the issue of errors introduced while removing the compilation errors. 31ab748 asf_ipsec: Patch to fix the issue of memory leak for ping6. 0e3836e asfipsec: TCP retransmission fails with IPSec configuration. efdf28a ASF-IPv6-IPSEC : proper link table creation for IPv6 packets having nr_frags 69fccba ASFIPSEC: Correcting the in_sa and sa_list stats display 6552560 sf_ipsec: Patch to fix the issue of packet drop for > 1360 bytes. 55be89f ASFIPSEC: Added support for NULL XCBC algorithm. a2a0982 asf_ipsec_qos: Patch to fix the memory leak in IPsec module. 103094e asf_ipsec: Patch to fix the AH IPv6 ping with ESN. 24cde96 ASFIPSEC: Fragment the IPv4 packet if required and send for IPv4-in-IPv6 tunnel. 2c16da6 ASF: setting gianfar_destructor to NULL before sending packet to linux. 9d817d0 asf_ipsec: Patch to add the support to copy DSCP from inner to outer header. 0992f05 IPSEC: fix for fragmentation data buffer corruption. db18bda IPSEC- Supporting cipher algo AES-CTR, ESP-NULL and 81b20cd asfipsec-enabling seq overflow handling and adding re-keying in overflow case. c23b1ae IPSEC-supporting PMTU based icmp in Source NAT case. fd708ce asfipsec-fix the tail stripping for fragmented packets 1887c6d asfipsec-optimizing the mtu length check and l2blob expiry. 76c5d69 Fixed ESP padding in IPsec to be monotonically increasing numbers. ca74bfa ASF: Removing compilation errors for XTRA Stats 606c594 Adding more functionality in asf_pktdump 80c8fa0 ASF: Supporting Multiple flows in SCTP 2ba1847 ASF: Miscellaneous changes d27137e ASF: Supporting SCTP traffic in firewall/NAT 82a89e4 ASF: Invalidate all VSG's in asfctrl_invalidate_sessions function ec6d625 ASF: Added VSG support df42b23 ASF_V6: Patch to fix crash if first fragmented packet is sent to Linux 63a13e2 ASF: optimization of SG while fragmentation to reuse the first buffer 7718065 ASF: Check the more fragment bit for IPv6 at proper offset 810f173 ASF_FFP: Patch to fix the race condition in case of RT c9e4edd ASF: dummy functions removal e63f176 ASF: Making asfGetNode and asfReleaseNode thread safe 3e8e7b3 ASF: Fix for iface_not_found problem when device ifindex > 16 1354c95 ASF_REASMBLY: Modifying IP options only if option header is present 349d6d9 ASF: Change the dummy packet offset b3ee577 ASF: made old_l2blob_jiffies_timeout user configurable 93c4864 ASF - runtime packet dump support 2471d1d ASF Cleanup - Timer RQ corrections 4180b6e Using IP header Identifcation field from the Head SKB itself. a82969d ASF_IPv6: Porting the miscellenous changes for IPv6 activity. 61c08a4 ASF STATS - Adding extra stats for Reassembly and Timer 6def023 ASFSTATS - Enhancing the stats printing 3009524 Replacing printk with pr_err, pr_info, pr_warning 1f896bf ASF: Patch to avoid creation of duplicate flows 5862af3 ASF: Patch to add support for ip_options. 4c58c87 ASFIPSEC: Adding proc interface for showing IN/OUT SA list 4398bc9 ASF: Cleanup and reallignement of common global variables 1ebe80c ASFCTRL: Enabling the net MTU change event 7062cec ASF_REASSEM: Allocating fragmentation frame from outer dev 2875982 ASF: Minor enhancements d41f350 ASF: Setting skb->next to null in asfReasmCleanCb 51d7efa ASF: Defining dimensioning macros at single place 93d673d ASF: updating the the asf reassembly library Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28asf: remove empty install directoriesTing Liu
If ASF was not enabled in kernel, no .ko will be generated. rm these empty install directories to avoid QA issue. Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28asf: not package .ko files in PNTing Liu
The .ko files will be packaged into kernel-modules-asf by default. Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28qoriq-debug: remove as it is not supportedTing Liu
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28auto-resp: set COMPATIBLE_MACHINE as t104xTing Liu
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28cryptodev: update to match commit 53e4d0feTing Liu
New commits imported: 53e4d0f fix COMPAT_CIOCKEY ioctl command number 7d0d0de remove MAY_BACKLOG flag from requests 85146b8 fix double free pkc->req on error 4078382 check return codes for copy to/from user functions Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28linux-qoriq: inherit kernel-archTing Liu
This avoids using hardcoded 'powerpc'. Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28linux-qoriq: replace tab with spacesTing Liu
Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28linux-qoriq: default not install Images into rootfsTing Liu
As size limited, kernel image files are not wanted in rootfs. Install kernel-image if needed. Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-12-28linux-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@freescale.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
2015-11-10linux-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>
2015-08-02cryptodev: set CLEANBROKENTing Liu
Fix the below error: DEBUG: Executing shell function do_configure NOTE: make -e MAKEFLAGS= clean make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=`pwd` clean make[1]: *** /lib/modules/3.16.0-4-amd64/build: No such file or directory. Stop. Makefile:39: recipe for target 'clean' failed make: *** [clean] Error 2 ERROR: oe_runmake failed This aligns with the cryptodev recipe in Poky. Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20cryptodev: update to 1.7 plus FSL patchesCristian Stoica
To avoid build issue when Poky upgrades cryptodev, keep a copy of cryptodev-{linux,modules,tests) recipe in this repository. Based on the upstream, this includes the following FSL patches: 0001-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch 0002-add-support-for-COMPAT_CIOCAUTHCRYPT-ioctl.patch 0003-PKC-support-added-in-cryptodev-module.patch 0004-Compat-versions-of-PKC-IOCTLs.patch 0005-Asynchronous-interface-changes-in-cryptodev.patch 0006-ECC_KEYGEN-and-DLC_KEYGEN-supported-in-cryptodev-mod.patch 0007-RCU-stall-fixed-in-PKC-asynchronous-interface.patch 0008-Add-RSA-Key-generation-offloading.patch 0009-Fixed-compilation-error-of-openssl-with-fsl-cryptode.patch 0010-add-support-for-composite-TLS10-SHA1-3DES-algorithm-.patch 0011-add-support-for-TLSv1.1-record-offload.patch 0012-add-support-for-TLSv1.2-record-offload.patch 0013-clean-up-code-layout.patch 0014-remove-redundant-data-copy-for-pkc-operations.patch 0015-fix-pkc-request-deallocation.patch 0016-add-basic-detection-of-asym-features.patch 0017-remove-dead-code.patch 0018-fix-compat-warnings.patch 0019-fix-size_t-print-format.patch 0020-fix-uninitialized-variable-compiler-warning.patch Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Ting Liu <ting.liu@freescale.com>
2015-07-20linux-qoriq: update to revision f488de6Ting Liu
Minor version update to 3.12.37-rt51 with new features: * e6500 hugepage TLB miss performance improvement * T1023RDB support * T1040D4RDB and T1042D4RDB support * DIU [T1042] * DPAA Ethernet: loadable module * eMMC: DDR mode [T2080] * eTSEC: Gianfar upstream updates and fixes * fmlib: table statistics, stats extension * IEEE802.1AE (MACSEC) and IEEE802.1X (port-based network access control) [T104x, T102x] * IEEE1588 ptpd open source stack includes more DPAA processors: P1023, P2041, P3041, P5020, P5040, T4240, T1023 * LAG SGMII 2.5G ports support - IPv4 traffics forwarding on aggregated 2 x 2.5Gb L2 Switch FMAN ports [1040] * LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding (2 x 2.5Gb L2 Switch WAN) [1040] * LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding on both 1 G RGMII port and 1G SGMII port [1040] * Power Management: Power off feature for all QDS boards except B9132QDS and B4860QDS * SEC: QI Driver IPSec performance improvement * SGMII 2.5G fixed link [T1024] * USB: Dual UTMI For detailed history, see http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git/tag/?id=fsl-sdk-v1.8 Also remove the patches which already merged in 3.12.37-rt51 Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20asf: use KBUILD_OUTPUT to point to build-artifactsTing Liu
In poky commit 46cdaf1, the kernel build output was put into kernel-build-artifacts, and kernel-source is kept "pristine". KERNEL_PATH points to kernel-source, while KBUILD_OUTPUT points to build-artifacts which can be used for external module build. asf Makefile tries to include the .config, use KBUILD_OUTPUT to avoid build error. It is needed to process all the Makefile with new revision. Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20asf: update to revision 62ba10aTing Liu
This imports following changes: 62ba10a asf_fmc: Patch to update the name of xml files. 8d744dd asf: Patch to fix ipv6 issue on dpaa. ddf9678 asf: Patch to return jumbo packet back. dcda291 asf: Patch to include caam_jr_strstatus in ASF_IPSEC_DEBUG mode. 49f591f asf: Patch to change function signature caam_jr_strstatus f860eff ipsecproc: Patch to fix display of ipsec stats. 461586d ASFIPSEC: fix compilation for SEC 3.x when ASF_IPSEC_DEBUG is defined 03b9bad asf: Patch to fix sha256 issue. a21b2d7 Removing Ethernet padding in abuf to skb conversion a03283d4 Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20pkc-host: update license to BSD & GPLv2+Ting Liu
The license information is moved to COPYING file, use it. Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20pkc-host: update to revision 564f535Ting Liu
The changes include: - bc is added as a runtime dependency for performance tests - mini_calc is dropped and replaced by bc - use 'oe_runmake modules_install' to install kernel modules There are 138 new git commits. For detailed info, see: http://git.freescale.com/git/cgit.cgi/ppc/sdk/pkc-host.git/tag/?id=fsl-sdk-v1.8 Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20skmm-host: correct license to BSP & GPLv2+Ting Liu
The right license is BSP & GPLv2+, fix it. And the licensing information is separated to COPYING file, use it. Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20skmm-host: update to revison a655c57Ting Liu
This imports the following changes: a655c57 rename perf script to avoid conflicts with pkc driver 3e40e67 make perf script executable and install it to /usr/bin 1668005 add gitignore 7abf553 update perf script with the fixes from pkc-host driver ec39361 extract licensing information to a separate file e821c4f merge Makefile with config.mk Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-20uio-seville: update to revision 80de832Ting Liu
This imports the following changes: 80de832 Fix Copyright issues 0c9921f Add support for interrupts on PHYs connected to seville's ports 53de571 fix: Avoid memory leak 6cf2d52 Refractoring uio_seville_main.c file 7b2ccba Fix: Use Seville register when flushing, not remapper's register d347b98 Beautify: Replace big switch() with a 2-line for() f8c8249 Beautify: Fix for() alignment fdde45d Fix: Pad undersized injected CPU control frames 3b9cff6 Fix: Typo for "reciving" 052d776 Fix: Assure that there can't be 2 processes that open the uio device 3c29b27 Fix: Interrupts might occur when /dev/npi is closing 59e3d2e Fix: Assure that only one thread is allowed to inject a frame at a time b96827c Fix: Assure that only one thread may extract a CPU frame at a time 8c9c47e Fix: Remove unecessary check for data in the polling function a202daf Fix: L2 Switch interrupt handler is called twice for each packet 985d4c2 Fix: dev/npi might be opened by two applications 3ecb8f3 Fix: Fix initialization of valiables for struct dev_npi dd74172 Beautify: Add ':' at the end of npi_read_q in description aceb6be Beautify: function do_control_frame_extr_dev() has duplicated code 262876b Beautify: Remove unnecessary macro d737cd8 Fix: Treat interrupts only from group 0 181ae15 Beautify: Rename variable leftovers_start to leftovers_begin Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>