/* * Vendor extension alternatives will use the value set at the time of boot * alternative patching, thus this must be called before boot alternatives are * patched (and after extension probing) to be effective. * * Returns true if mitgated, false otherwise.
*/ bool ghostwrite_enable_mitigation(void)
{ if (IS_ENABLED(CONFIG_RISCV_ISA_XTHEADVECTOR) &&
ghostwrite_state == VULNERABLE && !cpu_mitigations_off()) {
disable_xtheadvector();
ghostwrite_state = MITIGATED; returntrue;
}
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.