…REQUIRED According to the SMCCC spec[1](7.5.2 Discovery) the ARM_SMCCC_ARCH_WORKAROUND_1 function id only returns 0, 1, and SMCCC_RET_NOT_SUPPORTED. 0 is "workaround required and safe to call this function" 1 is "workaround not required but safe to call this function" SMCCC_RET...
The Linux kernel already supports making use of Arm's True Random Number Generator (TRNG) SMCCC interface within the random seed code while for the upcoming Linux 5.15 cycle an "arm_smccc_trng" driver is being added and will allow exposing the entropy to user-space. Arm defines this true ...
void __init arm64_update_smccc_conduit(struct alt_instr *alt, __le32 *origptr, __le32 *updptr, int nr_inst) { u32 insn; BUG_ON(nr_inst != 1); switch (psci_ops.conduit) { case PSCI_CONDUIT_HVC: insn = aarch64_insn_get_hvc_value(); break; case PSCI_CONDUIT_SMC: in...
@@ -150,5 +150,146 @@ asmlinkage void __arm_smccc_hvc(unsigned long a0, unsigned long a1, #define arm_smccc_hvc_quirk(...) __arm_smccc_hvc(__VA_ARGS__) +/* SMCCC v1.1 implementation madness follows */ +#ifdef CONFIG_ARM64 + +#define SMCCC_SMC_INST "smc #0" +#define ...
+ case ARM_SMCCC_VERSION_FUNC_ID: val = 0; break; default: @@ -392,7 +394,7 @@ static int kvm_psci_0_1_call(struct kvm_vcpu *vcpu) * Errors: * -EINVAL: Unrecognized PSCI function */ -int kvm_psci_call(struct kvm_vcpu *vcpu) ...
品牌 SMC 产品特性 减压阀 连接形式 螺纹 适用介质 蒸汽 3C阀门类别 工业 可售卖地 全国 材质 PVC 型号 ARM10F1-08GP SMC减压阀ARM10F1-08GP 价格说明 价格:商品在爱采购的展示标价,具体的成交价格可能因商品参加活动等情况发生变化,也可能随着购买数量不同或所选规格不同而发生变化,如用户与商家线下达...
类型 ARM5S 系列 型号 ARM5SA-06-A 我司特价销售SMC全系列产品,下单前请电话或微信联系咨询具体价格和货期为了节省您寻找型号的时间,请将您所需的型号报给客服咨询!手机/微信同号:17605024147 1348110A3C-D-A54L3C-D-A733C-D-A73L3C-D-A73L3C-D-A933C-D-A933C-D-A93L3C-D-A93L(黑头)3C-D-A93VZ3...
Non-Confidential ARM DEN 0028A (0.9.0) 1? ABOUT THIS DOCUMENT 1.1? Introduction 1.2? References 1.3? Terms and abbreviations SMC CALLING CONVENTIONS 2.1? SMC Function Identifiers 2.2? SMC32 Argument passing 2.3? SMC64 Argument passing 2.4? SIMD and Floating-point registers 2.5? SMC immediate ...
case ARM_SMCCC_ARCH_WORKAROUND_3: switch (kvm_arm_get_spectre_bhb_state()) { case SPECTRE_VULNERABLE: break; case SPECTRE_MITIGATED: val = SMCCC_RET_SUCCESS; break; case SPECTRE_UNAFFECTED: val = SMCCC_ARCH_WORKAROUND_RET_UNAFFECTED; break; } break; } break; default: 0 comments...
Add the detection and runtime code for ARM_SMCCC_ARCH_WORKAROUND_1. It is lovely. Really. Tested-by: Ard Biesheuvel <ard.biesheu...@linaro.org> Signed-off-by: Marc Zyngier <marc.zyng...@arm.com> Signed-off-by: Catalin Marinas <catalin.mari...@arm.com> ...