Lines Matching +full:hardware +full:- +full:accelerated
1 // SPDX-License-Identifier: GPL-2.0+
16 #include <asm/asm-prototypes.h>
17 #include <asm/code-patching.h>
61 * is not updated, but that's harmless as it's a no-op. in setup_barrier_nospec()
86 return -EINVAL; in barrier_nospec_set()
153 seq_buf_init(&s, buf, PAGE_SIZE - 1); in cpu_show_meltdown()
184 seq_buf_init(&s, buf, PAGE_SIZE - 1); in cpu_show_spectre_v1()
207 seq_buf_init(&s, buf, PAGE_SIZE - 1); in cpu_show_spectre_v2()
228 seq_buf_printf(&s, " (hardware accelerated)"); in cpu_show_spectre_v2()
240 seq_buf_printf(&s, " (hardware accelerated)"); in cpu_show_spectre_v2()
250 * Store-forwarding barrier support.
259 pr_info("stf-barrier: disabled on command line."); in handle_no_stf_barrier()
310 /* Default to fallback in case fw-features are not available */ in setup_stf_barrier()
324 pr_info("stf-barrier: fallback barrier available\n"); in setup_stf_barrier()
326 pr_info("stf-barrier: hwsync barrier available\n"); in setup_stf_barrier()
328 pr_info("stf-barrier: eieio barrier available\n"); in setup_stf_barrier()
379 * barrier is not a global or per-process mitigation, so the in ssb_prctl_get()
385 return -EINVAL; in ssb_prctl_get()
394 return -ENODEV; in arch_prctl_spec_ctrl_get()
408 return -EINVAL; in stf_barrier_set()
498 pr_info("count-cache-flush: flush disabled.\n"); in toggle_branch_cache_flush()
502 pr_info("count-cache-flush: hardware flush enabled.\n"); in toggle_branch_cache_flush()
505 pr_info("count-cache-flush: software flush enabled.\n"); in toggle_branch_cache_flush()
513 pr_info("link-stack-flush: flush disabled.\n"); in toggle_branch_cache_flush()
517 pr_info("link-stack-flush: hardware flush enabled.\n"); in toggle_branch_cache_flush()
520 pr_info("link-stack-flush: software flush enabled.\n"); in toggle_branch_cache_flush()
564 pr_info("rfi-flush: disabled on command line."); in handle_no_rfi_flush()
572 pr_info("entry-flush: disabled on command line."); in handle_no_entry_flush()
580 pr_info("uaccess-flush: disabled on command line."); in handle_no_uaccess_flush()
592 pr_info("rfi-flush: disabling due to 'nopti' on command line.\n"); in handle_no_pti()
655 * If there is no d-cache-size property in the device tree, l1d_size in init_fallback_flush()
657 * 2^64-1, and then walking off the end of the fallback area and in init_fallback_flush()
668 * hardware prefetch runoff. We don't have a recipe for load patterns to in init_fallback_flush()
681 paca->rfi_flush_fallback_area = l1d_flush_fallback_area; in init_fallback_flush()
682 paca->l1d_flush_size = l1d_size; in init_fallback_flush()
689 pr_info("rfi-flush: fallback displacement flush available\n"); in setup_rfi_flush()
694 pr_info("rfi-flush: ori type flush available\n"); in setup_rfi_flush()
697 pr_info("rfi-flush: mttrig type flush available\n"); in setup_rfi_flush()
733 return -EINVAL; in count_cache_flush_set()
771 return -EINVAL; in rfi_flush_set()
797 return -EINVAL; in entry_flush_set()
823 return -EINVAL; in uaccess_flush_set()