Advertisement
arter97

Untitled

Apr 8th, 2019
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.44 KB | None | 0 0
  1. 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
  2. Documentation/kernel-parameters.txt: nopti [X86_64]
  3. Documentation/kprobes.txt:1.4.6 Unoptimization
  4. Documentation/kprobes.txt:another kprobe, it will be unoptimized. If this happens before
  5. Documentation/kprobes.txt:probepoint will be unoptimized automatically.
  6. Documentation/kprobes.txt:k = unoptimized kprobe, b = boosted (single-step skipped), o = optimized kprobe,
  7. Documentation/kprobes.txt:r = unoptimized kretprobe, rb = boosted kretprobe, ro = optimized kretprobe.
  8. Documentation/kprobes.txt:0 via sysctl, all optimized probes will be unoptimized, and any new
  9. Documentation/kprobes.txt:(marked [OPTIMIZED]) will be unoptimized ([OPTIMIZED] tag will be
  10. Documentation/media/v4l-drivers/gspca-cardlist.rst:sunplus 0733:2211 Jenoptik jdc 21 LCD
  11. Documentation/x86/pti.txt:'nopti' or 'pti=' kernel parameters (see kernel-parameters.txt).
  12. arch/alpha/kernel/ptrace.c: if (displ) /* guard against unoptimized code */
  13. arch/arm/mm/mmu.c: * Let's use our own (unoptimized) equivalent of __pa() that is
  14. arch/arm/probes/kprobes/opt-arm.c:void arch_unoptimize_kprobe(struct optimized_kprobe *op)
  15. arch/arm/probes/kprobes/opt-arm.c:void arch_unoptimize_kprobes(struct list_head *oplist,
  16. arch/arm/probes/kprobes/opt-arm.c: arch_unoptimize_kprobe(op);
  17. arch/arm/probes/kprobes/test-core.c: * be the equivalent unoptimised instructions.
  18. arch/mips/pic32/pic32mzda/early_pin.h: * This is a complete, yet overly simplistic and unoptimized, PIC32MZDA PPS
  19. arch/powerpc/kernel/setup_64.c: * nopti we hijack that option here to also disable the RFI flush.
  20. arch/powerpc/kernel/setup_64.c: pr_info("rfi-flush: disabling due to 'nopti' on command line.\n");
  21. arch/powerpc/kernel/setup_64.c:early_param("nopti", handle_no_pti);
  22. arch/x86/configs/x86_64_cuttlefish_defconfig:CONFIG_CMDLINE="console=ttyS0 reboot=p nopti"
  23. arch/x86/kernel/kprobes/opt.c: /* This is possible if op is under delayed unoptimizing */
  24. arch/x86/kernel/kprobes/opt.c:void arch_unoptimize_kprobe(struct optimized_kprobe *op)
  25. arch/x86/kernel/kprobes/opt.c:extern void arch_unoptimize_kprobes(struct list_head *oplist,
  26. arch/x86/kernel/kprobes/opt.c: arch_unoptimize_kprobe(op);
  27. arch/x86/mm/kaiser.c: if (cmdline_find_option_bool(boot_command_line, "nopti"))
  28. arch/x86/mm/pageattr.c: * unoptimized should increase the testing coverage for
  29. drivers/target/target_core_alua.c:static inline void core_alua_state_nonoptimized(
  30. drivers/target/target_core_alua.c: core_alua_state_nonoptimized(cmd, cdb, nonop_delay_msecs);
  31. drivers/target/target_core_alua.c: * defined interval in core_alua_state_nonoptimized()
  32. drivers/target/target_core_configfs.c:ALUA_SUPPORTED_STATE_ATTR(active_nonoptimized, ALUA_AN_SUP);
  33. drivers/target/target_core_configfs.c:CONFIGFS_ATTR(target_tg_pt_gp_, alua_support_active_nonoptimized);
  34. drivers/target/target_core_configfs.c: &target_tg_pt_gp_attr_alua_support_active_nonoptimized,
  35. drivers/usb/storage/unusual_devs.h: * Entry for Jenoptik JD 5200z3
  36. drivers/usb/storage/unusual_devs.h: "Jenoptik",
  37. drivers/video/fbdev/omap2/omapfb/dss/apply.c: /* This will leave fifo configurations in a nonoptimal state */
  38. include/linux/kprobes.h:extern void arch_unoptimize_kprobes(struct list_head *oplist,
  39. include/linux/kprobes.h:extern void arch_unoptimize_kprobe(struct optimized_kprobe *op);
  40. kernel/kprobes.c:static LIST_HEAD(unoptimizing_list);
  41. kernel/kprobes.c: * The optimization/unoptimization refers online_cpus via
  42. kernel/kprobes.c: * Unoptimize (replace a jump with a breakpoint and remove the breakpoint
  43. kernel/kprobes.c: * if need) kprobes listed on unoptimizing_list.
  44. kernel/kprobes.c:static void do_unoptimize_kprobes(void)
  45. kernel/kprobes.c: /* Unoptimization must be done anytime */
  46. kernel/kprobes.c: if (list_empty(&unoptimizing_list))
  47. kernel/kprobes.c: arch_unoptimize_kprobes(&unoptimizing_list, &freeing_list);
  48. kernel/kprobes.c: * Step 1: Unoptimize kprobes and collect cleaned (unused and disarmed)
  49. kernel/kprobes.c: do_unoptimize_kprobes();
  50. kernel/kprobes.c: if (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list))
  51. kernel/kprobes.c:/* Wait for completing optimization and unoptimization */
  52. kernel/kprobes.c: while (!list_empty(&optimizing_list) || !list_empty(&unoptimizing_list)) {
  53. kernel/kprobes.c: /* This is under unoptimizing. Just dequeue the probe */
  54. kernel/kprobes.c:/* Short cut to direct unoptimizing */
  55. kernel/kprobes.c:static void force_unoptimize_kprobe(struct optimized_kprobe *op)
  56. kernel/kprobes.c: arch_unoptimize_kprobe(op);
  57. kernel/kprobes.c:/* Unoptimize a kprobe if p is optimized */
  58. kernel/kprobes.c:static void unoptimize_kprobe(struct kprobe *p, bool force)
  59. kernel/kprobes.c: /* Unoptimized or unoptimizing case */
  60. kernel/kprobes.c: * Only if this is unoptimizing kprobe and forced,
  61. kernel/kprobes.c: * forcibly unoptimize it. (No need to unoptimize
  62. kernel/kprobes.c: * unoptimized kprobe again :)
  63. kernel/kprobes.c: force_unoptimize_kprobe(op);
  64. kernel/kprobes.c: force_unoptimize_kprobe(op);
  65. kernel/kprobes.c: list_add(&op->list, &unoptimizing_list);
  66. kernel/kprobes.c:/* Cancel unoptimizing for reusing */
  67. kernel/kprobes.c: * Unused kprobe MUST be on the way of delayed unoptimizing (means
  68. kernel/kprobes.c:static void unoptimize_all_kprobes(void)
  69. kernel/kprobes.c: unoptimize_kprobe(p, false);
  70. kernel/kprobes.c: /* Wait for unoptimizing completion */
  71. kernel/kprobes.c: printk(KERN_INFO "Kprobes globally unoptimized\n");
  72. kernel/kprobes.c: unoptimize_all_kprobes();
  73. kernel/kprobes.c: /* Fallback to unoptimized kprobe */
  74. kernel/kprobes.c: unoptimize_kprobe(_p, true);
  75. kernel/kprobes.c: /* Try to unoptimize */
  76. kernel/kprobes.c: unoptimize_kprobe(p, kprobes_all_disarmed);
  77. kernel/kprobes.c: /* TODO: reoptimize others after unoptimized this probe */
  78. kernel/kprobes.c:#define unoptimize_kprobe(p, f) do {} while (0)
  79. kernel/kprobes.c: unoptimize_kprobe(ap, true); /* Fall back to normal kprobe */
  80. kernel/kprobes.c: * which is invoked by unoptimize_kprobe() in add_new_kprobe()
  81. kernel/kprobes.c: /* Since this may unoptimize old_p, locking text_mutex. */
  82. kernel/kprobes.c: * unoptimizing.
  83. tools/power/acpi/Makefile.config:# Set the following to `true' to make a unstripped, unoptimized
  84. tools/power/cpupower/Makefile:# Set the following to `true' to make a unstripped, unoptimized
  85. Documentation/kernel-parameters.txt: nospectre_v2 [X86] Disable all mitigations for the Spectre variant 2
  86. arch/s390/kernel/nospec-branch.c:static int __init nospectre_v2_setup_early(char *str)
  87. arch/s390/kernel/nospec-branch.c:early_param("nospectre_v2", nospectre_v2_setup_early);
  88. arch/x86/kernel/cpu/bugs.c: if (cmdline_find_option_bool(boot_command_line, "nospectre_v2"))
  89. Documentation/kernel-parameters.txt: nospec_store_bypass_disable
  90. arch/powerpc/kernel/security.c:early_param("nospec_store_bypass_disable", handle_no_ssbd);
  91. arch/x86/kernel/cpu/bugs.c: if (cmdline_find_option_bool(boot_command_line, "nospec_store_bypass_disable")) {
  92. arch/powerpc/kernel/security.c:static bool no_stf_barrier;
  93. arch/powerpc/kernel/security.c:static int __init handle_no_stf_barrier(char *p)
  94. arch/powerpc/kernel/security.c: no_stf_barrier = true;
  95. arch/powerpc/kernel/security.c:early_param("no_stf_barrier", handle_no_stf_barrier);
  96. arch/powerpc/kernel/security.c: handle_no_stf_barrier(NULL);
  97. arch/powerpc/kernel/security.c: handle_no_stf_barrier(NULL);
  98. arch/powerpc/kernel/security.c: if (!no_stf_barrier)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement