Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arter97@arter97-dgist:~/beryllium$ echo "noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier" | tr ' ' '\n' | while read key; do git grep $key | cat; done
- Documentation/kernel-parameters.txt: nopti [X86_64]
- Documentation/kprobes.txt:1.4.6 Unoptimization
- Documentation/kprobes.txt:another kprobe, it will be unoptimized. If this happens before
- Documentation/kprobes.txt:probepoint will be unoptimized automatically.
- Documentation/kprobes.txt:k = unoptimized kprobe, b = boosted (single-step skipped), o = optimized kprobe,
- Documentation/kprobes.txt:r = unoptimized kretprobe, rb = boosted kretprobe, ro = optimized kretprobe.
- Documentation/kprobes.txt:0 via sysctl, all optimized probes will be unoptimized, and any new
- Documentation/kprobes.txt:(marked [OPTIMIZED]) will be unoptimized ([OPTIMIZED] tag will be
- Documentation/media/v4l-drivers/gspca-cardlist.rst:sunplus 0733:2211 Jenoptik jdc 21 LCD
- Documentation/x86/pti.txt:'nopti' or 'pti=' kernel parameters (see kernel-parameters.txt).
- arch/alpha/kernel/ptrace.c: if (displ) /* guard against unoptimized code */
- arch/arm/mm/mmu.c: * Let's use our own (unoptimized) equivalent of __pa() that is
- arch/arm/probes/kprobes/opt-arm.c:void arch_unoptimize_kprobe(struct optimized_kprobe *op)
- arch/arm/probes/kprobes/opt-arm.c:void arch_unoptimize_kprobes(struct list_head *oplist,
- arch/arm/probes/kprobes/opt-arm.c: arch_unoptimize_kprobe(op);
- arch/arm/probes/kprobes/test-core.c: * be the equivalent unoptimised instructions.
- arch/mips/pic32/pic32mzda/early_pin.h: * This is a complete, yet overly simplistic and unoptimized, PIC32MZDA PPS
- arch/powerpc/kernel/setup_64.c: * nopti we hijack that option here to also disable the RFI flush.
- arch/powerpc/kernel/setup_64.c: pr_info("rfi-flush: disabling due to 'nopti' on command line.\n");
- arch/powerpc/kernel/setup_64.c:early_param("nopti", handle_no_pti);
- arch/x86/configs/x86_64_cuttlefish_defconfig:CONFIG_CMDLINE="console=ttyS0 reboot=p nopti"
- arch/x86/kernel/kprobes/opt.c: /* This is possible if op is under delayed unoptimizing */
- arch/x86/kernel/kprobes/opt.c:void arch_unoptimize_kprobe(struct optimized_kprobe *op)
- arch/x86/kernel/kprobes/opt.c:extern void arch_unoptimize_kprobes(struct list_head *oplist,
- arch/x86/kernel/kprobes/opt.c: arch_unoptimize_kprobe(op);
- arch/x86/mm/kaiser.c: if (cmdline_find_option_bool(boot_command_line, "nopti"))
- arch/x86/mm/pageattr.c: * unoptimized should increase the testing coverage for
- drivers/target/target_core_alua.c:static inline void core_alua_state_nonoptimized(
- drivers/target/target_core_alua.c: core_alua_state_nonoptimized(cmd, cdb, nonop_delay_msecs);
- drivers/target/target_core_alua.c: * defined interval in core_alua_state_nonoptimized()
- drivers/target/target_core_configfs.c:ALUA_SUPPORTED_STATE_ATTR(active_nonoptimized, ALUA_AN_SUP);
- drivers/target/target_core_configfs.c:CONFIGFS_ATTR(target_tg_pt_gp_, alua_support_active_nonoptimized);
- drivers/target/target_core_configfs.c: &target_tg_pt_gp_attr_alua_support_active_nonoptimized,
- drivers/usb/storage/unusual_devs.h: * Entry for Jenoptik JD 5200z3
- drivers/usb/storage/unusual_devs.h: "Jenoptik",
- drivers/video/fbdev/omap2/omapfb/dss/apply.c: /* This will leave fifo configurations in a nonoptimal state */
- include/linux/kprobes.h:extern void arch_unoptimize_kprobes(struct list_head *oplist,
- include/linux/kprobes.h:extern void arch_unoptimize_kprobe(struct optimized_kprobe *op);
- kernel/kprobes.c:static LIST_HEAD(unoptimizing_list);
- kernel/kprobes.c: * The optimization/unoptimization refers online_cpus via
- kernel/kprobes.c: * Unoptimize (replace a jump with a breakpoint and remove the breakpoint
- kernel/kprobes.c: * if need) kprobes listed on unoptimizing_list.
- kernel/kprobes.c:static void do_unoptimize_kprobes(void)
- kernel/kprobes.c: /* Unoptimization must be done anytime */
- kernel/kprobes.c: if (list_empty(&unoptimizing_list))
- kernel/kprobes.c: arch_unoptimize_kprobes(&unoptimizing_list, &freeing_list);
- kernel/kprobes.c: * Step 1: Unoptimize kprobes and collect cleaned (unused and disarmed)
- kernel/kprobes.c: do_unoptimize_kprobes();
- kernel/kprobes.c: if (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list))
- kernel/kprobes.c:/* Wait for completing optimization and unoptimization */
- kernel/kprobes.c: while (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list)) {
- kernel/kprobes.c: /* This is under unoptimizing. Just dequeue the probe */
- kernel/kprobes.c:/* Short cut to direct unoptimizing */
- kernel/kprobes.c:static void force_unoptimize_kprobe(struct optimized_kprobe *op)
- kernel/kprobes.c: arch_unoptimize_kprobe(op);
- kernel/kprobes.c:/* Unoptimize a kprobe if p is optimized */
- kernel/kprobes.c:static void unoptimize_kprobe(struct kprobe *p, bool force)
- kernel/kprobes.c: /* Unoptimized or unoptimizing case */
- kernel/kprobes.c: * Only if this is unoptimizing kprobe and forced,
- kernel/kprobes.c: * forcibly unoptimize it. (No need to unoptimize
- kernel/kprobes.c: * unoptimized kprobe again :)
- kernel/kprobes.c: force_unoptimize_kprobe(op);
- kernel/kprobes.c: force_unoptimize_kprobe(op);
- kernel/kprobes.c: list_add(&op->list, &unoptimizing_list);
- kernel/kprobes.c:/* Cancel unoptimizing for reusing */
- kernel/kprobes.c: * Unused kprobe MUST be on the way of delayed unoptimizing (means
- kernel/kprobes.c:static void unoptimize_all_kprobes(void)
- kernel/kprobes.c: unoptimize_kprobe(p, false);
- kernel/kprobes.c: /* Wait for unoptimizing completion */
- kernel/kprobes.c: printk(KERN_INFO "Kprobes globally unoptimized\n");
- kernel/kprobes.c: unoptimize_all_kprobes();
- kernel/kprobes.c: /* Fallback to unoptimized kprobe */
- kernel/kprobes.c: unoptimize_kprobe(_p, true);
- kernel/kprobes.c: /* Try to unoptimize */
- kernel/kprobes.c: unoptimize_kprobe(p, kprobes_all_disarmed);
- kernel/kprobes.c: /* TODO: reoptimize others after unoptimized this probe */
- kernel/kprobes.c:#define unoptimize_kprobe(p, f) do {} while (0)
- kernel/kprobes.c: unoptimize_kprobe(ap, true); /* Fall back to normal kprobe */
- kernel/kprobes.c: * which is invoked by unoptimize_kprobe() in add_new_kprobe()
- kernel/kprobes.c: /* Since this may unoptimize old_p, locking text_mutex. */
- kernel/kprobes.c: * unoptimizing.
- tools/power/acpi/Makefile.config:# Set the following to `true' to make a unstripped, unoptimized
- tools/power/cpupower/Makefile:# Set the following to `true' to make a unstripped, unoptimized
- Documentation/kernel-parameters.txt: nospectre_v2 [X86] Disable all mitigations for the Spectre variant 2
- arch/s390/kernel/nospec-branch.c:static int __init nospectre_v2_setup_early(char *str)
- arch/s390/kernel/nospec-branch.c:early_param("nospectre_v2", nospectre_v2_setup_early);
- arch/x86/kernel/cpu/bugs.c: if (cmdline_find_option_bool(boot_command_line, "nospectre_v2"))
- Documentation/kernel-parameters.txt: nospec_store_bypass_disable
- arch/powerpc/kernel/security.c:early_param("nospec_store_bypass_disable", handle_no_ssbd);
- arch/x86/kernel/cpu/bugs.c: if (cmdline_find_option_bool(boot_command_line, "nospec_store_bypass_disable")) {
- arch/powerpc/kernel/security.c:static bool no_stf_barrier;
- arch/powerpc/kernel/security.c:static int __init handle_no_stf_barrier(char *p)
- arch/powerpc/kernel/security.c: no_stf_barrier = true;
- arch/powerpc/kernel/security.c:early_param("no_stf_barrier", handle_no_stf_barrier);
- arch/powerpc/kernel/security.c: handle_no_stf_barrier(NULL);
- arch/powerpc/kernel/security.c: handle_no_stf_barrier(NULL);
- arch/powerpc/kernel/security.c: if (!no_stf_barrier)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement