/openbmc/linux/drivers/crypto/ccp/ |
H A D | tee-dev.c | 25 static int tee_alloc_ring(struct psp_tee_device *tee, int ring_size) in tee_alloc_ring() argument 27 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_alloc_ring() 49 static void tee_free_ring(struct psp_tee_device *tee) in tee_free_ring() argument 51 struct ring_buf_manager *rb_mgr = &tee->rb_mgr; in tee_free_ring() 65 static int tee_wait_cmd_poll(struct psp_tee_device *tee, unsigned int timeout, in tee_wait_cmd_poll() argument 72 *reg = ioread32(tee->io_regs + tee->vdata->cmdresp_reg); in tee_wait_cmd_poll() 79 dev_err(tee->dev, "tee: command timed out, disabling PSP\n"); in tee_wait_cmd_poll() 86 struct tee_init_ring_cmd *tee_alloc_cmd_buffer(struct psp_tee_device *tee) in tee_alloc_cmd_buffer() argument 94 cmd->hi_addr = upper_32_bits(tee->rb_mgr.ring_pa); in tee_alloc_cmd_buffer() 95 cmd->low_addr = lower_32_bits(tee->rb_mgr.ring_pa); in tee_alloc_cmd_buffer() [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-remote.sh | 79 echo | tee -a "$oldrun/remote-log" 80 echo " ----" kvm.sh output: "(`date`)" | tee -a "$oldrun/remote-log" 81 cat $T/kvm.sh.out | tee -a "$oldrun/remote-log" 88 echo $scriptname: kvm-again.sh failed exit code $? | tee -a "$oldrun/remote-log" 89 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log" 106 echo $scriptname: kvm-again.sh failed exit code $? | tee -a "$oldrun/remote-log" 107 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log" 113 echo | tee -a "$oldrun/remote-log" 114 echo " ----" kvm-again.sh output: "(`date`)" | tee -a "$oldrun/remote-log" 116 echo | tee -a "$oldrun/remote-log" [all …]
|
H A D | torture.sh | 226 echo " --- " $scriptname $args | tee -a $T/log 227 echo " --- Results directory: " $ds | tee -a $T/log 237 echo " --- Zero time for rcutorture, disabling" | tee -a $T/log 249 echo " --- Zero time for locktorture, disabling" | tee -a $T/log 261 echo " --- Zero time for scftorture, disabling" | tee -a $T/log 281 echo " --- $curflavor:" Start `date` | tee -a $T/log 292 cat $T/$curflavor.out | tee -a $T/log 293 echo retcode=$retcode | tee -a $T/log 344 echo " --- allmodconfig:" Start `date` | tee -a $T/log 347 echo " --- make clean" | tee $amcdir/log > "$amcdir/Make.out" 2>&1 [all …]
|
H A D | kvm-end-run-stats.sh | 30 echo | tee -a "$rundir/log" 31 echo | tee -a "$rundir/log" 32 echo " --- `date` Test summary:" | tee -a "$rundir/log" 33 echo Results directory: $rundir | tee -a "$rundir/log" 34 kcsan-collapse.sh "$rundir" | tee -a "$rundir/log" 37 cat $T/kvm-recheck.sh.out | tee -a "$rundir/log" 38 echo " --- Done at `date` (`get_starttime_duration $starttime`) exitcode $ret" | tee -a "$rundir/lo…
|
/openbmc/linux/tools/testing/selftests/amd-pstate/ |
H A D | gitsource.sh | 31 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_GIT.csv > /dev/null 2>&1 101 printf "Gitsource-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result 105 printf "Gitsource-$1-#$2 avg freq: $avg_freq\n" | tee -a $OUTFILE_GIT.result 109 printf "Gitsource-$1-#$2 avg load: $avg_load\n" | tee -a $OUTFILE_GIT.result 113 printf "Gitsource-$1-#$2 user time(s): $time_sum\n" | tee -a $OUTFILE_GIT.result 117 printf "Gitsource-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_GIT.result 127 printf "Gitsource-$1-#$2 performance per watt(1/J): $ppw\n" | tee -a $OUTFILE_GIT.result 128 printf "\n" | tee -a $OUTFILE_GIT.result 148 printf "Gitsource test result for $1 (loops:$LOOP_TIMES)" | tee -a $OUTFILE_GIT.result 149 printf "\n--------------------------------------------------\n" | tee -a $OUTFILE_GIT.result [all …]
|
H A D | tbench.sh | 26 echo "$1, $2, $3, $4, $5, $6, $7, $8" | tee -a $OUTFILE_TBENCH.csv > /dev/null 2>&1 88 printf "Tbench-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_TBENCH.result 92 printf "Tbench-$1-#$2 avg freq: $avg_freq\n" | tee -a $OUTFILE_TBENCH.result 96 printf "Tbench-$1-#$2 avg load: $avg_load\n" | tee -a $OUTFILE_TBENCH.result 100 printf "Tbench-$1-#$2 throughput(MB/s): $tp_sum\n" | tee -a $OUTFILE_TBENCH.result 104 printf "Tbench-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_TBENCH.result 114 printf "Tbench-$1-#$2 performance per watt(MB/J): $ppw\n" | tee -a $OUTFILE_TBENCH.result 115 printf "\n" | tee -a $OUTFILE_TBENCH.result 135 printf "Tbench test result for $1 (loops:$LOOP_TIMES)" | tee -a $OUTFILE_TBENCH.result 136 printf "\n--------------------------------------------------\n" | tee -a $OUTFILE_TBENCH.result [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/ |
H A D | optee-client.inc | 3 HOMEPAGE = "https://www.op-tee.org/" 12 file://tee-supplicant@.service \ 13 file://tee-supplicant.sh \ 23 -DCFG_TEE_FS_PARENT_PATH='${localstatedir}/lib/tee' \ 28 …install -D -p -m0644 ${UNPACKDIR}/tee-supplicant@.service ${D}${systemd_system_unitdir}/tee-suppli… 29 install -D -p -m0755 ${UNPACKDIR}/tee-supplicant.sh ${D}${sysconfdir}/init.d/tee-supplicant 35 ${D}${systemd_system_unitdir}/tee-supplicant@.service \ 36 ${D}${sysconfdir}/init.d/tee-supplicant 39 SYSTEMD_SERVICE:${PN} = "tee-supplicant@.service" 42 INITSCRIPT_NAME:${PN} = "tee-supplicant"
|
H A D | optee-test.inc | 3 HOMEPAGE = "https://www.op-tee.org/" 42 # install path should match the value set in optee-client/tee-supplicant 46 mkdir -p ${D}${libdir}/tee-supplicant/plugins 47 install -D -p -m0444 ${B}/supp_plugin/*.plugin ${D}${libdir}/tee-supplicant/plugins/ 58 ${libdir}/tee-supplicant/plugins/ \
|
H A D | optee-os.inc | 3 HOMEPAGE = "https://www.op-tee.org/" 11 CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os" 51 install -m 644 ${B}/core/*.bin ${B}/core/tee.elf ${D}${nonarch_base_libdir}/firmware/
|
H A D | optee-examples.inc | 35 mkdir -p ${D}${libdir}/tee-supplicant/plugins 38 install -D -p -m0444 ${B}/plugins/* ${D}${libdir}/tee-supplicant/plugins 42 ${libdir}/tee-supplicant/plugins/ \
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-optee-devices | 1 What: /sys/bus/tee/devices/optee-ta-<uuid>/ 4 Contact: op-tee@lists.trustedfirmware.org 10 What: /sys/bus/tee/devices/optee-ta-<uuid>/need_supplicant 13 Contact: op-tee@lists.trustedfirmware.org 16 tee-supplicant to function properly or not. This attribute will be present for 17 devices which depend on tee-supplicant to be running.
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/libts/ |
H A D | tee-udev.rules | 1 # tee devices can only be accessed by the teeclnt group members 2 KERNEL=="tee[0-9]*", TAG+="systemd", MODE="0660", GROUP="teeclnt" 5 # tee-supplicant.service with the device name as parameter 6 KERNEL=="teepriv[0-9]*", MODE="0660", OWNER="root", GROUP="tee", \ 7 TAG+="systemd", ENV{SYSTEMD_WANTS}+="tee-supplicant@%k.service"
|
/openbmc/linux/drivers/tee/amdtee/ |
H A D | call.c | 15 static int tee_params_to_amd_params(struct tee_param *tee, u32 count, in tee_params_to_amd_params() argument 24 if (!tee || !amd || count > TEE_MAX_PARAMS) in tee_params_to_amd_params() 30 if (tee[i].attr > TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INOUT) in tee_params_to_amd_params() 33 amd->param_types |= ((tee[i].attr & 0xF) << i * 4); in tee_params_to_amd_params() 48 u32 buf_id = get_buffer_id(tee[i].u.memref.shm); in tee_params_to_amd_params() 51 amd->params[i].mref.offset = tee[i].u.memref.shm_offs; in tee_params_to_amd_params() 52 amd->params[i].mref.size = tee[i].u.memref.size; in tee_params_to_amd_params() 59 if (tee[i].u.value.c) in tee_params_to_amd_params() 62 amd->params[i].val.a = tee[i].u.value.a; in tee_params_to_amd_params() 63 amd->params[i].val.b = tee[i].u.value.b; in tee_params_to_amd_params() [all …]
|
/openbmc/linux/drivers/tee/ |
H A D | Makefile | 2 obj-$(CONFIG_TEE) += tee.o 3 tee-objs += tee_core.o 4 tee-objs += tee_shm.o 5 tee-objs += tee_shm_pool.o
|
/openbmc/openbmc/poky/meta/recipes-core/zlib/zlib/ |
H A D | 0001-configure-Pass-LDFLAGS-to-link-tests.patch | 26 echo Checking for shared library support... | tee -a configure.log 31 echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log 33 echo No shared library support. | tee -a configure.log 41 echo "Checking for a pointer-size integer type..." $sizet"." | tee -a configure.log 49 echo "Checking for fseeko... Yes." | tee -a configure.log 58 echo "Checking for strerror... Yes." | tee -a configure.log 67 echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log 76 echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log
|
/openbmc/linux/tools/testing/selftests/filesystems/fat/ |
H A D | run_fat_tests.sh | 47 echo old | sudo tee "${old_path}" >/dev/null 2>&1 48 echo new | sudo tee "${new_path}" >/dev/null 2>&1 63 echo old | sudo tee "${old_path}" >/dev/null 2>&1 64 echo new | sudo tee "${new_path}" >/dev/null 2>&1
|
/openbmc/u-boot/common/ |
H A D | avb_verify.c | 608 struct udevice *tee = NULL; in get_open_session() local 610 while (!ops_data->tee) { in get_open_session() 615 tee = tee_find_device(tee, NULL, NULL, NULL); in get_open_session() 616 if (!tee) in get_open_session() 621 rc = tee_open_session(tee, &arg, 0, NULL); in get_open_session() 623 ops_data->tee = tee; in get_open_session() 643 if (tee_invoke_func(ops_data->tee, &arg, num_param, param)) in invoke_func() 655 tee_close_session(ops_data->tee, ops_data->session); in invoke_func() 656 ops_data->tee = NULL; in invoke_func() 890 if (ops_data->tee) in avb_ops_free() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/optee-client/ |
H A D | optee-udev.rules | 1 KERNEL=="tee[0-9]*", MODE="0660", OWNER="root", GROUP="teeclnt", TAG+="systemd" 4 # tee-supplicant.service with the device name as parameter 6 TAG+="systemd", ENV{SYSTEMD_WANTS}+="tee-supplicant@%k.service"
|
/openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/ |
H A D | run-ptest | 40 …-valgrind=${VALGRIND_BIN} --valgrind-lib=${VALGRIND_LIBEXECDIR} --yocto-ptest $i 2>&1|tee -a ${LOG} 50 2>&1|tee -a ${LOG} 55 2>&1|tee -a ${LOG} 96 ) | tee -a /${LOG}
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-bsp/trusted-firmware-a/ |
H A D | trusted-firmware-a_%.bbappend | 38 BL32=${STAGING_DIR_TARGET}${nonarch_base_libdir}/firmware/tee-header_v2.bin \ 39 BL32_EXTRA1=${STAGING_DIR_TARGET}${nonarch_base_libdir}/firmware/tee-pager_v2.bin \ 40 BL32_EXTRA2=${STAGING_DIR_TARGET}${nonarch_base_libdir}/firmware/tee-pageable_v2.bin \ 45 BL32=${STAGING_DIR_TARGET}${nonarch_base_libdir}/firmware/tee-header_v2.bin \ 46 BL32_EXTRA1=${STAGING_DIR_TARGET}${nonarch_base_libdir}/firmware/tee-pager_v2.bin \ 47 BL32_EXTRA2=${STAGING_DIR_TARGET}${nonarch_base_libdir}/firmware/tee-pageable_v2.bin \
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/trusted-services/ |
H A D | libts_git.bb | 8 SRC_URI += "file://tee-udev.rules \ 16 # Unix group name for dev/tee* ownership. 22 install -m 755 ${UNPACKDIR}/tee-udev.rules ${D}${nonarch_base_libdir}/udev/rules.d/ 23 … sed -i -e "s/teeclnt/${TEE_GROUP_NAME}/" ${D}${nonarch_base_libdir}/udev/rules.d/tee-udev.rules
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | test_build_time.sh | 204 …-o $timeoutfile -f "%e\nreal\t%E\nuser\t%Us\nsys\t%Ss\nmaxm\t%Mk" $runscript 2>&1 | tee -a $logfile 211 cat $timeoutfile | tee -a $logfile 216 echo "*** Build failed (exit code $exitstatus), skipping..." | tee -a $logfile 221 echo "Returning $ret" | tee -a $logfile
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/optee/optee-client/ |
H A D | tee-supplicant@.service | 6 EnvironmentFile=-@sysconfdir@/default/tee-supplicant 7 ExecStart=@sbindir@/tee-supplicant $OPTARGS
|
/openbmc/openbmc/poky/meta/recipes-support/libevent/libevent/ |
H A D | run-ptest | 17 …D/ s/^/FAIL: / ; /SKIPPED/ s/^/SKIP: / ; /DISABLED/ s/^/SKIP: /' | cut -f1,2 -d ':' | tee -a ${LOG} 29 ) | tee -a ${LOG}
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/nftables/nftables/ |
H A D | run-ptest | 8 …]/ s/^/FAIL: / ; /I: \[SKIPPED\]/ s/^/SKIP: /' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | tee -a "${LOG}" 22 ) | tee -a "${LOG}"
|