aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-10-31 04:06:17 -0700
committerIngo Molnar <mingo@kernel.org>2025-03-03 12:48:41 +0100
commit98fdaeb296f51ef08e727a7cc72e5b5c864c4f4d (patch)
treebd5f7bdc165c78c65bbcf501fd65c5125d6a8338 /tools/perf/scripts/python/compaction-times.py
parentx86/bugs: Use the cpu_smt_possible() helper instead of open-coded code (diff)
downloadlinux-98fdaeb296f51ef08e727a7cc72e5b5c864c4f4d.tar.gz
linux-98fdaeb296f51ef08e727a7cc72e5b5c864c4f4d.zip
x86/bugs: Make spectre user default depend on MITIGATION_SPECTRE_V2
Change the default value of spectre v2 in user mode to respect the CONFIG_MITIGATION_SPECTRE_V2 config option. Currently, user mode spectre v2 is set to auto (SPECTRE_V2_USER_CMD_AUTO) by default, even if CONFIG_MITIGATION_SPECTRE_V2 is disabled. Set the spectre_v2 value to auto (SPECTRE_V2_USER_CMD_AUTO) if the Spectre v2 config (CONFIG_MITIGATION_SPECTRE_V2) is enabled, otherwise set the value to none (SPECTRE_V2_USER_CMD_NONE). Important to say the command line argument "spectre_v2_user" overwrites the default value in both cases. When CONFIG_MITIGATION_SPECTRE_V2 is not set, users have the flexibility to opt-in for specific mitigations independently. In this scenario, setting spectre_v2= will not enable spectre_v2_user=, and command line options spectre_v2_user and spectre_v2 are independent when CONFIG_MITIGATION_SPECTRE_V2=n. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: David Kaplan <David.Kaplan@amd.com> Link: https://lore.kernel.org/r/20241031-x86_bugs_last_v2-v2-2-b7ff1dab840e@debian.org
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
/+1 2018-01-10drm/amdgpu: add atpx quirk handling (v2)Alex Deucher1-7/+50 2018-01-10drm/amdgpu: Add dpm quirk for Jet PRO (v2)Alex Deucher1-0/+5 2018-01-10drm/radeon: Add dpm quirk for Jet PRO (v2)Alex Deucher1-0/+5 2018-01-10drm/msm: Add devfreq support for the GPUJordan Crouse4-1/+110 2018-01-10drm/msm/adreno: a5xx: Explicitly program the CP0 performance counterJordan Crouse1-0/+3 2018-01-10drm/msm/adreno: Read the speed bins for a5xx targetsJordan Crouse1-0/+23 2018-01-10drm/msm/adreno: Move clock parsing to adreno_gpu_init()Jordan Crouse3-77/+73 2018-01-10drm/msm/adreno: Cleanup chipid parsingJordan Crouse1-22/+22 2018-01-10drm/msm/gpu: Remove unused bus scaling codeJordan Crouse4-55/+3 2018-01-10drm/msm/adreno: Remove a useless call to dev_pm_opp_get_freq()Jordan Crouse1-1/+1 2018-01-10drm/msm/adreno: Call dev_pm_opp_put()Jordan Crouse2-2/+10 2018-01-09drm/amdgpu: use %pap format string for phys_addr_tArnd Bergmann1-2/+2 2018-01-08drm/tegra: dc: Properly cleanup overlay planesThierry Reding1-7/+11 2018-01-08drm/tegra: dc: Fix possible_crtcs mask for planesThierry Reding1-5/+12 2018-01-08drm/tegra: dc: Restore YUV overlay supportThierry Reding1-0/+5 2018-01-05drm/panel: lvds: Add support for the power-supply propertyMaxime Ripard1-0/+23 2018-01-05dt-bindings: panel: lvds: Document power-supply propertyMaxime Ripard3-1/+12 2018-01-04drm/sun4i: Add A83T supportMaxime Ripard3-0/+17 2018-01-04drm/sun4i: Add LVDS supportMaxime Ripard5-2/+456 2018-01-04drm/sun4i: Create minimal multipliers and dividersMaxime Ripard3-3/+11 2018-01-04drm/sun4i: Force the mixer rate at 150MHzMaxime Ripard2-0/+13 2018-01-04dt-bindings: display: sun4i-drm: Add A83T pipelineMaxime Ripard1-0/+3 2018-01-04dt-bindings: display: sun4i-drm: Add LVDS propertiesMaxime Ripard1-0/+8 2018-01-03drm/msm: Fix NULL deref in adreno_load_gpuArchit Taneja1-2/+5 2018-01-03drm/tinydrm: add driver for ST7735R panelsDavid Lechner4-0/+232