aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/pkc-firmware
AgeCommit message (Collapse)Author
2017-05-02pkc-firmware: update to 209e0e6Chunrong Guo
*include the following changes 209e0e6 - ring affinity: keep jobs and responses in the same ring pair 1cd87fb - remove unused parameter from function signature 688e402 - add new handshake parameters (like old is the new new :) bdd38f2 - fix irq missing issue for all rings b5f6504 - rename structure fields to match their content d0b6e25 - fix column alignment to avoid confusion 66ac4ef - remove not used fields from handshake structures 53716e6 - merge together the functions doing ring pairs initialization ffa6360 - make r_cntrs local to the app_ring structure 61a597f - remove not used allocation of s_c_cntrs_mem a1b8599 - remove not used allocation of cntrs_mem 1246eb8 - make ring indices local to the app_ring structure d01ed6c - remove redundant type casts a12f170 - allocate space for input rings independently instead of in bulk e41fc52 - num_of_rps is not used after initialization e827ac6 - refactoring: merge content of two functions 5dcdc32 - device ip_pool is not used on the host so we remove it 21bc000 - merge content of resource struct into c_mem_layout 4b39488 - remove not used function a276c46 - add U suffix to unsigned constants 6d13be3 - remove not used function 0aaeeab - remove redundant busyloop during handshake fe54ba4 - avoid returns from the middle of the handshake function fda0f8e - clean-up for consistent code indentation c441ffc - move macro definition to the header file e87f3e2 - wrap assembly directive with a macro 2091a40 - refactoring: clean-up code style f9261c3 - value returned by sel_sec_enqueue is ignored so make it void a7b2cf7 - avoid linking printf code by default a9cc62d - remove print_error because it duplicates print_debug 542c9d1 - remove deprecated or not used code 542c9d1 - remove deprecated or not used code b11bbbf - fix precision loss conversion errors 428c51c - remove not used code ecd79e6 - avoid playing with compiler optimizations games 5121ad3 - remove deprecated and not used code 949c908 - raise interrupt on the ring that submitted the jobs 92e7089 - refactoring: merge related code into a single function f131421 - remove no longer used handshake fields 6e3ab80 - simplify calculation of msi address 7e337a9 - rename local variables for clarity e4bef8e - refactoring: extract two functions to simplify code 9dd692d - move handshake state initialization to appropriate function 70f061b - cluster together initialization code e92ede5 - remove not used macros 31636ca - remove duplicated function 7c87c3a - search the ring that received rng descriptors and remove waiting 9d132e3 - remove inconsistently used local variable 4fab968 - remove ignored variable dcbdc8a - start counting SEC engines from 0 as in C29x documentation 2189d7a - remove not-used structure field sec_jr.id 739e1cc - remove not used structure field sec 4bb7e8f - use a dummy allocator to keep track of data addresses 0d960b7 - remove padding fields from handshake structures 6973141 - remove not used structure members dgb_print & err_print f3c1977 - remove not used structure members intr_*_ticks 612371b - rearrange code to merge two #ifdef's a86a0a9 - move definition to the header file ff8ce9d - remove unused function wait_for_timeout 97a0657 - remove unused typedef shadow_indexes_mem_t 5d0e0b0 - remove redundant definitions of standard types 86a6451 - remove unused function irja_signal_caam 8106252 - remove unused function circ_room 086f102 - job ring result has no significance as a signed integer dc8f37d - remove not used members of sec_engine structure 9a6a5c2 - rewrite the initalization code for sec engines list 8ab2b15 - remove priority queues and ignore ring order settings 1b48817 - remove not used struct member order_j_d_index e64f7fc - remove not used struct member resp_j_done_flag 7b20be4 - remove the assumption that ring 0 has any special significance 0d9946b - make explicit that we are using C89/90 standard with GNU extensions cf7cd79 - remove not used padding fields in handshake structure d7adc6e - pad not used handshake fields to prepare for their removal 670c95f - make explicit that we have a single response ring hardcoded to id 0 db84b26 - remove not used structure variable enqcount 07b9fda - remove not used structure pointer cmdrp b253763 - don't send available data through stack 0d19768 - remove macro hiding simple code 0aaba96 - remove commented code 8278186 - remove code supporting P4080 prototypes f88a9bc - remove non-high-perf supporting code 090755e - remove not used structure cmd_tbl_s 4f8184b - remove not used orig_rps structure variable 0a635a9 - remove not used structure variable drv_resp_ring_count 3432b1c - rename structure variable ring_count to num_of_rps 71a3a3d - remove duplicated assignment Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-18pkc-firmware: update to f75d281Ting Liu
fix interrupt notification to Intel(R) hosts with IOMMU enabled Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-12pkc-firmware: update to 21a6b5bTing Liu
Changelog: ed90f15 fix dequeueing of rng descriptors b83c7e9 add FIXME note regarding response rings 39ec4f5 add support to read SEC fault registers a92d35d mark as not used the command field in dev handshake structure 06d0ca0 remove code blocks to enhance clarity f8447c5 remove not used handshake field 4955e78 describe field purpose abc3893 remove not used counters from local resources 36f23a0 rename handshake counters to match local structures cfcb505 describe the structure member bcc6f5e compact the use of if-else conditional 4b0fa3e align debug print output for easy readout 9cac843 split double assignment to clarify code b05aef4 rename functions for clarity 837d691 rename counter to be consistent with the rest of code 4d5461d fix memory allocation for interrupt flags bb46e51 group functions together for easy review f0bd7f3 introduce variable to reduce code duplication e6274e0 move #define out of the structure into a common definitions area 2257be3 rename handshake structure located on host 4129716 rename handshake structure located on the device b09a3ad describe SEC registers 0e6c428 simplify calculation of address alignment cb18b7e clarify meaning of a hard-coded register (GUTS_SVR) 45e730c group assignments and prints to simplify code review 4fca737 group together all msi and ob assignments 6eb1e08 remove useless assignment which is overwritten later 4c07318 fix calculation and print free memory 479c677 minor clean-up in code layout db7c91c add missing commas to clarify code intent 7bbdf77 remove unused "intr_ctrl_flags" field fb7b45d use offset of response ring instead of its physical address 7614c6e use offsets into ob-mem instead of host dma addresses Signed-off-by: Ting Liu <ting.liu@nxp.com>
2016-04-19pkc-firmware: update to commmit 32804a0Ting Liu
New commits imported: 32804a0 note on global variable definition 29a0bcb rename variable "p_cursor" and make it global 48e9ab1 remove unnecessary "l2_cursor" variable a15c204 add -Wall and -Werror to build options fa58ed6 fix typo regarding the use of "struct sec_jr_regs" 8fcd0bc enable large bursts for DECO transactions ca35ed5 refactor code for masking interrupts from SEC 3e36d4f refactor code for setting SEC pointer size 8a7f971 remove unneeded commented "print_debug()" c73303d move defines at the start of the file afcfd66 remove commented (#if 0) code 32d119a remove unnecessary type definition "kek_regs_t" 4d99599 remove unnecessary type definition "rng_regs_t" d7e65e5 refactor: added defines for better consistency 21a4853 refactor: move defines at the start of the file baa8a25 remove unnecessary type definition "sec_jr_regs_t" df0dd86 remove unnecessary type definition "sec_op_ring_t" f70c14f remove unnecessary type definition "sec_ip_ring_t" 11ed223 remove unnecessary type definition "sec_jr_t" ba47de3 remove unnecessary commented instruction b9063e4 remove unnecessary type definition "sec_engine_t" 620cf5f remove unnecessary type definition "resource_t" bef6960 remove not used function c4a078e fix incorrect handling of multiple rings 92c6b71 c2x0_boot_loader/u-boot.lds: remove _GLOBAL_OFFSET_TABLE_ definition 453eaa9 use a logical definition for MIN 570aadd rearrange code and remove leftovers after IRQ fix patch 2f31558 rename variable to better match its purpose 029cc82 remove artificial SEC dequeue and enqueue throttling b6fe293 use a bigger type for req_mem_size e22d91f fix incorrect IRQ signalling to host 692981c remove not unused #define 7e2fbd4 remove redundant c_mem_layout_t typedef 377daaa remove redundant fsl_h_mem_handshake_t typedef 52f75d0 remove redundant crypto_c_hs_mem_t typedef f126673 use smaller type for index 8c8f4ec refactoring: fix reference to the upper half of the L2 SRAM 0092a57 refactoring: remove inner code blocks 6853157 clean-up whitespace and debug-print output c3720dd refactoring hs: extract hs_complete 3677b1c refactoring hs: extract fw_init_ring_pair 78ea81b refactoring hs: extract fw init config cc416c2 minor fixes in code layout 0076df7 fix typos and clarify comments 0ab33aa remove unused variable 17607d2 use positive logic in conditional code 5d3886f Merge pull request #2 in SDK/pkc-firmware from bugfix/QSDK-2327-pkc-host-driver-does-not-insert to master c0256e0 clean-up whitespace and indentation in uboot_print.c 8f5be56 fix compiler warnings on static declarations f3bc222 use a no-op printf when PRINT_DEBUG is disabled 541a7ed make void the function c2x0_serial_init 8ecba2c enable debug prints from config.mk and move definitions to uboot_print.h 9ef2eb5 remove conditional for always-on code bd52b94 update build instructions d872219 refactoring: resetdev: extract code blocks into readable functions f5301c1 remove unused variables 0931e3b refactoring: move defines out of the function for clarity 040cb61 refactoring: secstat: extract code blocks into readable functions 77fa0e1 refactoring: pingdev: extract code blocks into readable functions 91bf581 refactoring: ringstat: extract code blocks into readable functions 7559c79 refactoring: devstat: extract code blocks into readable functions af9d455 refactoring: resetsec: extract code blocks into readable functions 17b0905 refactoring: debug: extract code blocks into readable functions 09fa9a8 remove not-used variable ae691e8 whitespace clean-up 3e6700e update build instructions 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>
2015-07-28Move meta-fsl-ppc content to layer rootOtavio Salvador
This commit is just a rename of all contents of meta-fsl-ppc subdirectory to this layer's root, merging the contents of common files, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>