/* Watch out, ordering is important here. */ enum mitigation_state {
SPECTRE_UNAFFECTED,
SPECTRE_MITIGATED,
SPECTRE_VULNERABLE,
};
struct pt_regs; struct task_struct;
/* * Note: the order of this enum corresponds to __bp_harden_hyp_vecs and * we rely on having the direct vectors first.
*/ enum arm64_hyp_spectre_vector { /* * Take exceptions directly to __kvm_hyp_vector. This must be * 0 so that it used by default when mitigations are not needed.
*/
HYP_VECTOR_DIRECT,
/* * Bounce via a slot in the hypervisor text mapping of * __bp_harden_hyp_vecs, which contains an SMC call.
*/
HYP_VECTOR_SPECTRE_DIRECT,
/* * Bounce via a slot in a special mapping of __bp_harden_hyp_vecs * next to the idmap page.
*/
HYP_VECTOR_INDIRECT,
/* * Bounce via a slot in a special mapping of __bp_harden_hyp_vecs * next to the idmap page, which contains an SMC call.
*/
HYP_VECTOR_SPECTRE_INDIRECT,
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.