HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/doc/nvidia-driver-580-server/html/retpoline.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
<title>Chapter&nbsp;26.&nbsp;NVIDIA Spectre V2 Mitigation</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="index.html" title=
"NVIDIA Accelerated Linux Graphics Driver README and Installation Guide">
<link rel="up" href="installationandconfiguration.html" title=
"Part&nbsp;I.&nbsp;Installation and Configuration Instructions">
<link rel="prev" href="nvidiasettings.html" title=
"Chapter&nbsp;25.&nbsp;Using the nvidia-settings Utility">
<link rel="next" href="nvidia-smi.html" title=
"Chapter&nbsp;27.&nbsp;Using the nvidia-smi Utility">
</head>
<body>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">Chapter&nbsp;26.&nbsp;NVIDIA Spectre
V2 Mitigation</th>
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href=
"nvidiasettings.html">Prev</a>&nbsp;</td>
<th width="60%" align="center">Part&nbsp;I.&nbsp;Installation and
Configuration Instructions</th>
<td width="20%" align="right">&nbsp;<a accesskey="n" href=
"nvidia-smi.html">Next</a></td>
</tr>
</table>
<hr></div>
<div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title"><a name="retpoline" id=
"retpoline"></a>Chapter&nbsp;26.&nbsp;NVIDIA Spectre V2
Mitigation</h2>
</div>
</div>
</div>
<p>The NVIDIA Linux driver supports the retpoline Spectre V2
mitigation technique as identified by: <a href=
"https://software.intel.com/security-software-guidance/api-app/sites/default/files/Retpoline-A-Branch-Target-Injection-Mitigation.pdf"
target=
"_top">https://software.intel.com/security-software-guidance/api-app/sites/default/files/Retpoline-A-Branch-Target-Injection-Mitigation.pdf</a></p>
<p>For Linux systems that define CONFIG_RETPOLINE or
CONFIG_MITIGATION_RETPOLINE, the NVIDIA driver yields to the
kernel's implementation of Spectre V2 mitigation. When
CONFIG_RETPOLINE or CONFIG_MITIGATION_RETPOLINE is not defined, the
NVIDIA Linux driver implements the retpoline thunk without the
Spectre V2 mitigation.</p>
<p>Linux kernels that implement retpoline based Spectre V2
mitigation provide a kernel boot flag to enable or disable the
feature. When enabled, users may notice a performance degradation.
In order to recover performance, the user can disable the feature
using the <span><strong class="command">spectre_v2</strong></span>
boot flag (unsafe).</p>
<pre class="screen">
spectre_v2=off
</pre>
<p>Please note that CONFIG_RETPOLINE has been renamed to
CONFIG_MITIGATION_RETPOLINE by commit <code class=
"computeroutput">aefb2f2e619b</code> ("x86/bugs: Rename
CONFIG_RETPOLINE =&gt; CONFIG_MITIGATION_RETPOLINE") in Linux
kernel v6.9.</p>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left"><a accesskey="p" href=
"nvidiasettings.html">Prev</a>&nbsp;</td>
<td width="20%" align="center"><a accesskey="u" href=
"installationandconfiguration.html">Up</a></td>
<td width="40%" align="right">&nbsp;<a accesskey="n" href=
"nvidia-smi.html">Next</a></td>
</tr>
<tr>
<td width="40%" align="left" valign="top">
Chapter&nbsp;25.&nbsp;Using the nvidia-settings Utility&nbsp;</td>
<td width="20%" align="center"><a accesskey="h" href=
"index.html">Home</a></td>
<td width="40%" align="right" valign="top">
&nbsp;Chapter&nbsp;27.&nbsp;Using the nvidia-smi Utility</td>
</tr>
</table>
</div>
</body>
</html>