{"push_id":1441761961,"size":42,"distinct_size":1,"ref":"refs/heads/dra7-trng","head":"41e03a1c2d093b2bf19c13c9b1f72ca91412676d","before":"3e7d177905540906c6a2c0e266bf6b4dfd9a6d98","commits":[{"sha":"aae611c6516e9bd015fc88ee60ec1d0bc2422892","author":{"name":"Victor Chong","email":"0cffebabd56b01dd59f9e8c7bba960e2098d30f1@linaro.org"},"message":".travis.yml: Add Coverity addon\n\nEnables Travis to perform a Coverity build and scan when a push\nis made to the coverity_scan branch. In this case, the regular\nbuild script is not necessary and skipped to save time.\n\nThe Coverity build is currently based on the default qemu\nconfiguration.\n\nSigned-off-by: Victor Chong <victor.chong@linaro.org>\nReviewed-by: Joakim Bech <joakim.bech@linaro.org>\nReviewed-by: Jerome Forissier <jerome.forissier@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/aae611c6516e9bd015fc88ee60ec1d0bc2422892"},{"sha":"8c110ab1a42426c2b2379d18c572c83f5d06a058","author":{"name":"Peng Fan","email":"f732c2e470a3a86ccb657b2f5de69aafeaab63e5@nxp.com"},"message":"core: imx: fix compile error\n\nError log:\ncore/arch/arm/plat-imx/conf.mk:26: *** missing separator.  Stop.\n\nSigned-off-by: Peng Fan <peng.fan@nxp.com>\nReviewed-by: Joakim Bech <joakim.bech@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/8c110ab1a42426c2b2379d18c572c83f5d06a058"},{"sha":"9dd11da508058ae182aa673fd7d7841d0f7168c2","author":{"name":"Jens Wiklander","email":"e1ce0f2c70c51b35475585c6dc0e7ce45e8739a5@linaro.org"},"message":"core: arm32: add mov_imm assembly macro\n\nAdds mov_imm assembly macro to load 32-bit immediate values into a\nregister.\n\nReviewed-by: Etienne Carriere <etienne.carriere@linaro.org>\nSigned-off-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/9dd11da508058ae182aa673fd7d7841d0f7168c2"},{"sha":"3f4d68499f9e6e59f14b85fd9b5b8c80a73be252","author":{"name":"Jens Wiklander","email":"e1ce0f2c70c51b35475585c6dc0e7ce45e8739a5@linaro.org"},"message":"core: redesign secure monitor\n\nThe secure monitor is redesigned to make it easier to register services.\n\nReviewed-by: Etienne Carriere <etienne.carriere@linaro.org>\nSigned-off-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/3f4d68499f9e6e59f14b85fd9b5b8c80a73be252"},{"sha":"c822f03f36889a224f182a6d99966be6130b38e0","author":{"name":"Jens Wiklander","email":"e1ce0f2c70c51b35475585c6dc0e7ce45e8739a5@linaro.org"},"message":"core: sm: use stack_tmp for sm_from_nsec()\n\nAs the C function sm_from_nsec() used by the secure monitor is expected\nto be extended over time it needs a larger stack. With this patch the\nsecure monitor uses stack_tmp. The first part of stack_tmp is\npermanently reserved for secure and non-secure contexts.\n\nTested-by: Joakim Bech <joakim.bech@linaro.org> (RPi3)\nTested-by: Andrew F. Davis <afd@ti.com> (plat-ti)\nReviewed-by: Etienne Carriere <etienne.carriere@linaro.org>\nTested-by: Etienne Carriere <etienne.carriere@linaro.org> (stm-b2260)\nTested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU v7 & v8)\nSigned-off-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/c822f03f36889a224f182a6d99966be6130b38e0"},{"sha":"8daf3da9ba87fe0b323db20ff40da310f5c14e54","author":{"name":"Etienne Carriere","email":"c626ec8a828a6e8ae810792144d9f43f8e02e09e@linaro.org"},"message":"core: fix stack setup at secondary core entry\n\nstack_tmp_offset is required by secondary boot cores before\npager is initialized.\n\nFixes: e56a56428def (\"core: sm: use stack_tmp for sm_from_nsec\")\nSigned-off-by: Etienne Carriere <etienne.carriere@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/8daf3da9ba87fe0b323db20ff40da310f5c14e54"},{"sha":"be96c837733613b0f5299b587e5f32e0c5cbf342","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_GetObjectValueAttribute(): copy data on success only\n\nbuf[0] and buf[1] can be relied upon only when utee_cryp_obj_get_attr()\nis successful.\n\nFixes: Coverity CID:1378646\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/be96c837733613b0f5299b587e5f32e0c5cbf342"},{"sha":"b9d8f134b5e43d7df78ea76e3ea603e88da0d0fe","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_GetObjectValueAttribute(): 'a' and 'b' may be NULL\n\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/b9d8f134b5e43d7df78ea76e3ea603e88da0d0fe"},{"sha":"e32c5ddf3b30e72ef034bed3de3ce044861f5f50","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_CipherUpdate(): do nothing when (!srcData && !srcLen)\n\nFixes: Coverity CID:1378632\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/e32c5ddf3b30e72ef034bed3de3ce044861f5f50"},{"sha":"f21873cdf15780da35ecd3525c507c76a4c857a8","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_CipherDoFinal(): do nothing when (!srcData && !srcLen)\n\nFixes: Coverity CID:1378631\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/f21873cdf15780da35ecd3525c507c76a4c857a8"},{"sha":"4bd53c546893ac9c80f721dd190369c1628736b0","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_AllocateOperation(): rewrite FALLTHROUGH comment\n\nFixes: Coverity CID:1378629\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/4bd53c546893ac9c80f721dd190369c1628736b0"},{"sha":"2fda30ffaa3bbbe5f3e4353f0d9906a8efe87763","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_AEDecryptFinal(): do nothing when (!srcData && !srcLen)\n\nFixes: Coverity CID:1378617\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/2fda30ffaa3bbbe5f3e4353f0d9906a8efe87763"},{"sha":"a9f92a95e17142bece5c60a64fd9db08206fbea2","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_AEEncryptFinal(): do nothing when (!srcData && !srcLen)\n\nFixes: Coverity CID:1378616\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/a9f92a95e17142bece5c60a64fd9db08206fbea2"},{"sha":"827308b8ce022314ae9c77dbdaed23165ce20057","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"libutee: TEE_AEUpdate(): do nothing when (!srcData && !srcLen)\n\nFixes: Coverity CID:1378615\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/827308b8ce022314ae9c77dbdaed23165ce20057"},{"sha":"050ba6786de08aace129d6fc47b510d09dd661b6","author":{"name":"Jerome Forissier","email":"728714f68b41e35ff2e00a8cbd3afc1bd75c8224@linaro.org"},"message":"core: crypto: avoid undefined bit shifts by a negative amount (-1)\n\nThe GET_ATTRIBUTE() and SET_ATTRIBUTE() macros are replaced with static\nfunctions that properly handle the case when the attribute is not found.\n\nFixes: Coverity CID:1378609 CID:1378610 CID:1378611 CID:1378612\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/050ba6786de08aace129d6fc47b510d09dd661b6"},{"sha":"ed52538e36b296501b665fdf51b5d2fd56e0dd34","author":{"name":"Etienne Carriere","email":"c626ec8a828a6e8ae810792144d9f43f8e02e09e@linaro.org"},"message":"core/armv7: clear 4th arg of secondary boot cores nonsecure entry\n\nSecondary boot cores shall clean cpu register R4 before leaving secure.\nR4 is the 4th argument propagated to non-secure entry by optee monitor.\n\nSigned-off-by: Etienne Carriere <etienne.carriere@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>\nReviewed-by: Joakim Bech <joakim.bech@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/ed52538e36b296501b665fdf51b5d2fd56e0dd34"},{"sha":"ab046bb510e8ec746da9e643ebf241feacecc53e","author":{"name":"Etienne Carriere","email":"c626ec8a828a6e8ae810792144d9f43f8e02e09e@linaro.org"},"message":"core/armv7: cleanup bootargs\n\nIn non-A-TF boot modes, OP-TEE core expects some boot arguments:\n- nonsecure entry point, default expected from core register LR.\n- pagestore address, when pager is enable, from core register R0.\n- devicetree address, when DT is enable, from core register R2.\n\nSome non-A-TF booted platform rely on u-boot has bootloader, and\nexpect u-boot to boot both linux and op-tee. armv7/linux expects the\nfollowing boot arguments:\n- machine ID, expected from core register R1.\n- devicetree address from core register R2.\n\nBefore this patch, some platform used CFG_TEE_GDB_BOOT together with\nCFG_BUILT_IN_ARGS to both provide op-tee core boot arguments, and\nrelay linux argument from op-tee entry to linux kernel entry\n(nonsecure entry).\n\nThis change proposes to rationalize a bit. Both linux and optee expect\ndevice tree from register R2. op-tee could relay machine ID (R1).\n\nThis change removes CFG_TEE_GDB_BOOT and CFG_BUILT_IN_ARGS that are now\ndeprecated.\n\nThis change still supports CFG_PAGEABLE_ADDR, CFG_DT_ADDR and\nCFG_NS_ENTRY_ADDR to statically define the pagestore, device tree\nand nonsecure entry. These can be defined independently.\n\nSince this change, if CFG_WITH_ARM_TRUSTED_FW is not enable, the\nstandard boot arguments (registers R1 and R2 at optee entry) are\npropagated to the non secure entry.\n\nSigned-off-by: Etienne Carriere <etienne.carriere@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>\nReviewed-by: Joakim Bech <joakim.bech@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/ab046bb510e8ec746da9e643ebf241feacecc53e"},{"sha":"26ed70ec3afa4776dff3df058723e794e5263a6b","author":{"name":"Guanchao Liang","email":"016a1f513fa4b436b996df5529f66dbdad23a1e0@linaro.org"},"message":"core: add code for the interrupt framework\n\nWith this commit, we add three more GIC APIs for the kernel of OPTEE-OS:\nitr_raise_sgi : can raise software generate interrupt(SGI) from secure\nworld to no-secure world, or secure world to secure world. It's a quick\ncommunication between different worlds and different cores. Because SGI\nis using the GIC N-N model, so with this API, every core can receive\nthe interrupt if want.\n\nitr_raise_pi : can trigger the peripheral interrupt with the corresponding\ninterrupt number. When sending it to N cores, just one core can receive\nthe effective interrupt.\n\nitr_set_affinity : can target the peripheral interrupt to the core you\nwant, it means that one can bind the interrupt to the corresponding core\nuse this API.\n\nThe usage may as follow:\nitr_raise_sgi(11, 0x1 << 1)\nit will raise SGI11 to core 1, and if you want not only core 1 can receive\nSGI11 but also core 2, then you can change the code to\nitr_raise_sgi(11, 0x1 << 1 || 0x1 << 2).\n\nitr_set_affinity(61, 0x1 << 1)\nitr_raise_pi(61)\nThese two APIs may use together, the operation set_affinity set the PI61\ncan just sent to core 1, then raise_pi, core 1 will receive the peripheral\ninterrupt 61.\n\nSigned-off-by: Guanchao Liang <liang.guanchao@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>\nReviewed-by: Etienne Carriere <etienne.carriere@linaro.org>\nReviewed-by: Joakim Bech <joakim.bech@linaro.org>\nTested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU)\n[Update commit author to be same as S-o-b: above]\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/26ed70ec3afa4776dff3df058723e794e5263a6b"},{"sha":"32157afc9c9404e0ffbb7669cb31a53ce179d597","author":{"name":"Guanchao Liang","email":"016a1f513fa4b436b996df5529f66dbdad23a1e0@linaro.org"},"message":"add static ta for testing interrupt framework\n\nSigned-off-by: Guanchao Liang <liang.guanchao@linaro.org>\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>\nReviewed-by: Etienne Carriere <etienne.carriere@linaro.org>\nReviewed-by: Joakim Bech <joakim.bech@linaro.org>\nTested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU)\n[Update commit author to be same as S-o-b: above]\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/32157afc9c9404e0ffbb7669cb31a53ce179d597"},{"sha":"71c1078ae173e8d81ca6bb01eafb39611d3d80bd","author":{"name":"Victor Chong","email":"0cffebabd56b01dd59f9e8c7bba960e2098d30f1@linaro.org"},"message":"hikey: enable spi by default and add sample test code\n\nSuggested-by: Daniel Thompson <daniel.thompson@linaro.org>\nSuggested-by: Leo Yan <leo.yan@linaro.org>\nSuggested-by: Haojian Zhuang <haojian.zhuang@linaro.org>\nSigned-off-by: Victor Chong <victor.chong@linaro.org>\nTested-by: Victor Chong <victor.chong@linaro.org> (with CFG_SPI_TEST=y)\nReviewed-by: Jens Wiklander <jens.wiklander@linaro.org>\nReviewed-by: Etienne Carriere <etienne.carriere@linaro.org>","distinct":false,"url":"https://api.github.com/repos/glneo/optee_os/commits/71c1078ae173e8d81ca6bb01eafb39611d3d80bd"}]}
{"actor":{"display_login":"glneo"}}