summaryrefslogtreecommitdiffstats
path: root/wiki/open-iov.org/index.php?title=GPU_Firmware&oldid=23779.html
blob: a43589490b64817be750b9ece2be750decc188f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>GPU Firmware - Open-IOV</title>
<script>document.documentElement.className="client-js";RLCONF={"wgBreakFrames":!1,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"b8e8d740f16bf1669e233a6d","wgCSPNonce":!1,"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":!1,"wgNamespaceNumber":0,"wgPageName":"GPU_Firmware","wgTitle":"GPU Firmware","wgCurRevisionId":23779,"wgRevisionId":23779,"wgArticleId":94,"wgIsArticle":!0,"wgIsRedirect":!1,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"GPU_Firmware","wgRelevantArticleId":94,"wgIsProbablyEditable":!1,"wgRelevantPageIsProbablyEditable":!1,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr",
"pageVariantFallbacks":"en"},"wgEditSubmitButtonLabelPublish":!1};RLSTATE={"site.styles":"ready","noscript":"ready","user.styles":"ready","user":"ready","user.options":"loading","mediawiki.action.styles":"ready","mediawiki.interface.helpers.styles":"ready","skins.vector.styles.legacy":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready"};RLPAGEMODULES=["site","mediawiki.page.ready","mediawiki.toc","skins.vector.legacy.js","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader"];</script>
<script>(RLQ=window.RLQ||[]).push(function(){mw.loader.implement("user.options@1hzgi",function($,jQuery,require,module){/*@nomin*/mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});
});});</script>
<link rel="stylesheet" href="https://open-iov.org/load.php?lang=en&amp;modules=ext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.action.styles%7Cmediawiki.interface.helpers.styles%7Cskins.vector.styles.legacy&amp;only=styles&amp;skin=vector"/>
<script async="" src="load.php%3Flang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector"></script>
<meta name="generator" content="MediaWiki 1.37.1"/>
<meta name="robots" content="noindex,nofollow"/>
<meta name="format-detection" content="telephone=no"/>
<link rel="shortcut icon" href="favicon.ico.html"/>
<link rel="search" type="application/opensearchdescription+xml" href="opensearch_desc.php" title="Open-IOV (en)"/>
<link rel="EditURI" type="application/rsd+xml" href="api.php%3Faction=rsd"/>
<link rel="alternate" type="application/atom+xml" title="Open-IOV Atom feed" href="./index.php%3Ftitle=Special:RecentChanges&amp;feed=atom"/>
</head>
<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-GPU_Firmware rootpage-GPU_Firmware skin-vector action-view skin-vector-legacy"><div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body" role="main">
	<a id="top"></a>
	<div id="siteNotice"></div>
	<div class="mw-indicators">
	</div>
	<h1 id="firstHeading" class="firstHeading" >GPU Firmware</h1>
	<div id="bodyContent" class="vector-body">
		<div id="siteSub" class="noprint">From Open-IOV</div>
		<div id="contentSub"><div class="mw-revision warningbox"><div id="mw-revision-info">Revision as of 17:13, 9 April 2023 by <a href="./index.php%3Ftitle=User:Arthur&amp;action=edit&amp;redlink=1.html" class="new mw-userlink" title="User:Arthur (page does not exist)"><bdi>Arthur</bdi></a> <span class="mw-usertoollinks">(<a href="./index.php%3Ftitle=User_talk:Arthur&amp;action=edit&amp;redlink=1.html" class="new mw-usertoollinks-talk" title="User talk:Arthur (page does not exist)">talk</a> | <a href="index.php/Special:Contributions/Arthur.html" class="mw-usertoollinks-contribs" title="Special:Contributions/Arthur">contribs</a>)</span> <span class="comment">(<span dir="auto"><span class="autocomment"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Firmware_Images">→‎Firmware Images</a></span></span>)</span></div><div id="mw-revision-nav">(<a href="https://open-iov.org/index.php?title=GPU_Firmware&amp;diff=prev&amp;oldid=23779" title="GPU Firmware">diff</a>) <a href="https://open-iov.org/index.php?title=GPU_Firmware&amp;direction=prev&amp;oldid=23779" title="GPU Firmware">← Older revision</a> | Latest revision (diff) | Newer revision → (diff)</div></div></div>
		<div id="contentSub2"></div>
		
		<div id="jump-to-nav"></div>
		<a class="mw-jump-link" href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#mw-head">Jump to navigation</a>
		<a class="mw-jump-link" href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#searchInput">Jump to search</a>
		<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-parser-output"><p>GPUs have become highly complex systems containing a number of different embedded controllers. This page will attempt to document embedded GPU firmware and support for IO virtualization through various firmware functions.</p><blockquote><p>An absence of critical technical documentation has historically slowed growth and adoption of developer ecosystems for GPU virtualization.
</p><p>This <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a> licensed content can either be used with attribution, or used as inspiration for new documentation, created by GPU vendors for public commercial distribution as developer documentation.
</p><p>
Where possible, this documentation will clearly label dates and versions of observed-but-not-guaranteed behaviour vs. vendor-documented stable interfaces/behaviour with guarantees of forward or backward compatibility.</p></blockquote>
<div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Intel"><span class="tocnumber">1</span> <span class="toctext">Intel</span></a>
<ul>
<li class="toclevel-2 tocsection-2"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Firmware_Images"><span class="tocnumber">1.1</span> <span class="toctext">Firmware Images</span></a>
<ul>
<li class="toclevel-3 tocsection-3"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Intel_Firmware_Support_Package_(FSP)"><span class="tocnumber">1.1.1</span> <span class="toctext">Intel Firmware Support Package (FSP)</span></a>
<ul>
<li class="toclevel-4 tocsection-4"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#FSP_Configuration"><span class="tocnumber">1.1.1.1</span> <span class="toctext">FSP Configuration</span></a>
<ul>
<li class="toclevel-5 tocsection-5"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Editing_FSP_Configuration"><span class="tocnumber">1.1.1.1.1</span> <span class="toctext">Editing FSP Configuration</span></a></li>
</ul>
</li>
<li class="toclevel-4 tocsection-6"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#FSP_Binary_Format"><span class="tocnumber">1.1.1.2</span> <span class="toctext">FSP Binary Format</span></a></li>
</ul>
</li>
<li class="toclevel-3 tocsection-7"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Known_Firmware_Package_Variations"><span class="tocnumber">1.1.2</span> <span class="toctext">Known Firmware Package Variations</span></a></li>
</ul>
</li>
<li class="toclevel-2 tocsection-8"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Embedded_Controllers"><span class="tocnumber">1.2</span> <span class="toctext">Embedded Controllers</span></a>
<ul>
<li class="toclevel-3 tocsection-9"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#GuC"><span class="tocnumber">1.2.1</span> <span class="toctext">GuC</span></a>
<ul>
<li class="toclevel-4 tocsection-10"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Hardware_Architecture"><span class="tocnumber">1.2.1.1</span> <span class="toctext">Hardware Architecture</span></a></li>
<li class="toclevel-4 tocsection-11"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Software_Architecture"><span class="tocnumber">1.2.1.2</span> <span class="toctext">Software Architecture</span></a>
<ul>
<li class="toclevel-5 tocsection-12"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#GuC_Blob_Checksum_&amp;_Code_Signing"><span class="tocnumber">1.2.1.2.1</span> <span class="toctext">GuC Blob Checksum &amp; Code Signing</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="toclevel-1 tocsection-13"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Nvidia"><span class="tocnumber">2</span> <span class="toctext">Nvidia</span></a>
<ul>
<li class="toclevel-2 tocsection-14"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Firmware_Images_2"><span class="tocnumber">2.1</span> <span class="toctext">Firmware Images</span></a></li>
<li class="toclevel-2 tocsection-15"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Embedded_Controllers_2"><span class="tocnumber">2.2</span> <span class="toctext">Embedded Controllers</span></a>
<ul>
<li class="toclevel-3 tocsection-16"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#Falcon_/_NV-RISCV"><span class="tocnumber">2.2.1</span> <span class="toctext">Falcon / NV-RISCV</span></a></li>
<li class="toclevel-3 tocsection-17"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#GSP"><span class="tocnumber">2.2.2</span> <span class="toctext">GSP</span></a>
<ul>
<li class="toclevel-4 tocsection-18"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#GSP_Initialization_&amp;_Offload"><span class="tocnumber">2.2.2.1</span> <span class="toctext">GSP Initialization &amp; Offload</span></a></li>
</ul>
</li>
<li class="toclevel-3 tocsection-19"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#CMU"><span class="tocnumber">2.2.3</span> <span class="toctext">CMU</span></a></li>
</ul>
</li>
</ul>
</li>
<li class="toclevel-1 tocsection-20"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#AMD"><span class="tocnumber">3</span> <span class="toctext">AMD</span></a></li>
<li class="toclevel-1 tocsection-21"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html#References_(Talks_&amp;_Reading_Material)"><span class="tocnumber">4</span> <span class="toctext">References (Talks &amp; Reading Material)</span></a></li>
</ul>
</div>

<h2><span class="mw-headline" id="Intel">Intel</span></h2>
<h3><span class="mw-headline" id="Firmware_Images">Firmware Images</span></h3><p>
This section will cover firmware images used in Intel GPUs.</p><div class="thumb tright"><div class="thumbinner" style="width:302px;"><a href="index.php/File:Screen_Shot_2022-11-18_at_4.14.32_PM.png.html" class="image"><img alt="Figure 1: The FSP Binary Layout from Intel® Firmware Support Package External Architecture Specification." src="images/thumb/0/0e/Screen_Shot_2022-11-18_at_4.14.32_PM.png/300px-Screen_Shot_2022-11-18_at_4.14.32_PM.png" decoding="async" width="300" height="261" class="thumbimage" srcset="images/thumb/0/0e/Screen_Shot_2022-11-18_at_4.14.32_PM.png/450px-Screen_Shot_2022-11-18_at_4.14.32_PM.png 1.5x, images/thumb/0/0e/Screen_Shot_2022-11-18_at_4.14.32_PM.png/600px-Screen_Shot_2022-11-18_at_4.14.32_PM.png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="index.php/File:Screen_Shot_2022-11-18_at_4.14.32_PM.png.html" class="internal" title="Enlarge"></a></div>Figure 1: The FSP Binary Layout from Intel® Firmware Support Package External Architecture Specification. <a rel="nofollow" class="external text" href="https://cdrdv2.intel.com/v1/dl/getContent/736809">Source</a></div></div></div>
<h4><span id="Intel_Firmware_Support_Package_.28FSP.29"></span><span class="mw-headline" id="Intel_Firmware_Support_Package_(FSP)">Intel Firmware Support Package (FSP)</span></h4>
<p>Much like CPUs Intel's GPUs also contain a Firmware Support Package (FSP).
</p><p>The Coreboot project provides public domain information on the FSP <a rel="nofollow" class="external text" href="https://doc.coreboot.org/soc/intel/fsp/index.html">here</a>.
</p>
<h5><span class="mw-headline" id="FSP_Configuration">FSP Configuration</span></h5>
<p>In the context of GPUs the FSP configures several functions of the device.
</p><p>Those functions are as follows:
</p>
<table class="wikitable">
<caption>GPU Firmware Support Package
</caption>
<tbody><tr>
<th>FSP Parameter
</th>
<th>Possible Values
</th></tr>
<tr>
<td>GFSP Status
</td>
<td>0x00
</td></tr>
<tr>
<td>FIVR SSC Value
</td>
<td>*.*%
</td></tr>
<tr>
<td>FIVR RFI Value
</td>
<td>*.*MHz
</td></tr>
<tr>
<td>GT Subsystem Vendor ID
</td>
<td>0x8086
</td></tr>
<tr>
<td>GT Subsystem Device ID
</td>
<td>0x**
</td></tr>
<tr>
<td>HDA Subsystem Vendor ID
</td>
<td>0x0000
</td></tr>
<tr>
<td>HDA Subsystem Device ID
</td>
<td>0x0000
</td></tr>
<tr>
<td>P2SB Enable
</td>
<td>Yes/No
</td></tr>
<tr>
<td>LMEBAR
</td>
<td>Max
</td></tr>
<tr>
<td>GTMMADDR Prefetch Capability
</td>
<td>Prefetch Enabled
</td></tr>
<tr>
<td><a rel="nofollow" class="external text" href="index.php/Merged_Drivers.html">Display Present</a>
</td>
<td>Enabled/Disabled
</td></tr>
<tr>
<td>I2C For Third Party Devices
</td>
<td>Enabled/Disabled
</td></tr>
<tr>
<td>I2C Device Address 1
</td>
<td>0x0000
</td></tr>
<tr>
<td>I2C Device Address 2
</td>
<td>0x0000
</td></tr>
<tr>
<td>I2C Bus Speed
</td>
<td>Standard mode (0 to 100Kbps)
</td></tr></tbody></table>
<h6><span class="mw-headline" id="Editing_FSP_Configuration">Editing FSP Configuration</span></h6>
<p>The FSP configuration editor can be downloaded <a rel="nofollow" class="external text" href="https://github.com/tianocore/edk2/tree/master/IntelFsp2Pkg/Tools/ConfigEditor">here</a> and it's user manual is available <a rel="nofollow" class="external text" href="https://github.com/tianocore/edk2/blob/master/IntelFsp2Pkg/Tools/UserManuals/ConfigEditorUserManual.md">here</a>.
</p>
<h5><span class="mw-headline" id="FSP_Binary_Format">FSP Binary Format</span></h5>
<p>The FSP's binary layout is detailed within the <a rel="nofollow" class="external text" href="https://cdrdv2.intel.com/v1/dl/getContent/736809">Intel® FSP External Architecture Specification v2.4</a> on page 14.
</p>
<h4><span class="mw-headline" id="Known_Firmware_Package_Variations">Known Firmware Package Variations</span></h4>
<p>Some firmware packages may include an **End of Manufacturing Flash Protection Mode** status of Protected or Unprotected.
</p>
<div class="thumb tright"><div class="thumbinner" style="width:302px;"><a href="index.php/File:Figure_2-_Firmware_status_information_for_an_Intel_DG2_device..png.html" class="image"><img alt="Figure 2: Firmware status information for an Intel DG2 device." src="images/thumb/2/28/Figure_2-_Firmware_status_information_for_an_Intel_DG2_device..png/300px-Figure_2-_Firmware_status_information_for_an_Intel_DG2_device..png" decoding="async" width="300" height="613" class="thumbimage" srcset="images/thumb/2/28/Figure_2-_Firmware_status_information_for_an_Intel_DG2_device..png/450px-Figure_2-_Firmware_status_information_for_an_Intel_DG2_device..png 1.5x, images/2/28/Figure_2-_Firmware_status_information_for_an_Intel_DG2_device..png 2x" /></a>  <div class="thumbcaption"><div class="magnify"><a href="index.php/File:Figure_2-_Firmware_status_information_for_an_Intel_DG2_device..png.html" class="internal" title="Enlarge"></a></div>Figure 2: Firmware status information for an Intel DG2 device.</div></div></div>
<p>Similar <a rel="nofollow" class="external text" href="https://eclypsium.com/2022/09/19/firmware-security-realizations-part-3-spi-write-protections/">SPI Write Protection</a> functionality is made available through Intel CPUs under <a href="https://en.wikipedia.org/wiki/System_Management_Mode" class="extiw" title="wikipedia:System Management Mode">System Management Mode (SMM)</a>.
</p>
<h3><span class="mw-headline" id="Embedded_Controllers">Embedded Controllers</span></h3>
<p>This section will cover firmware images as they apply to various embedded controllers within the Intel GPU.
</p>
<h4><span class="mw-headline" id="GuC">GuC</span></h4>
<p>The Graphics micro (µ) Controller (GuC) is an embedded controller contained within Intel's embedded and discrete graphics (DG*) series GPUs.
</p>
<h5><span class="mw-headline" id="Hardware_Architecture">Hardware Architecture</span></h5>
<p><i>The following section is supported by <a rel="nofollow" class="external text" href="https://igor-blue.github.io/2021/02/10/graphics-part1.html">igor-blue.github.io</a> (see reference <a rel="nofollow" class="external text" href="index.php/GPU_Firmware.html#References_(Talks_&amp;_Reading_Material)">1</a>, <a rel="nofollow" class="external text" href="index.php/GPU_Firmware.html#References_(Talks_&amp;_Reading_Material)">2</a>):</i>
</p><p><i>"The GuC - an embedded <a rel="nofollow" class="external text" href="https://www.wikiwand.com/en/I486">i486</a> core that supports graphics scheduling, power management and firmware attestation."</i>
</p>
<h5><span class="mw-headline" id="Software_Architecture">Software Architecture</span></h5>
<p><i>The following section is supported by <a rel="nofollow" class="external text" href="https://igor-blue.github.io/2021/02/10/graphics-part1.html">igor-blue.github.io</a> (see reference <a rel="nofollow" class="external text" href="index.php/GPU_Firmware.html#References_(Talks_&amp;_Reading_Material)">1</a>, <a rel="nofollow" class="external text" href="index.php/GPU_Firmware.html#References_(Talks_&amp;_Reading_Material)">2</a>):</i>
</p><p><i>"The μOS kernel runs in 32-bit protected mode, with no paging and old-style segments model (CS, DS, etc’). All code run in ring0. The OS handles HW/SW exceptions and crashes, and supplies debugging and logging services."</i>
</p><p><i>"It runs a single process - which initializes the system and then waits for interrupts/events in a loop."</i>
</p>
<h6><span id="GuC_Blob_Checksum_.26_Code_Signing"></span><span class="mw-headline" id="GuC_Blob_Checksum_&amp;_Code_Signing">GuC Blob Checksum &amp; Code Signing</span></h6>
<p><i>"The bootrom verifies the firmware with a digital signature using a SHA256 hash + PKCSv2.1 RSA signature, and if the test passes copies it to SRAM and starts executing."</i>
</p>
<h2><span class="mw-headline" id="Nvidia">Nvidia</span></h2>
<h3><span class="mw-headline" id="Firmware_Images_2">Firmware Images</span></h3>
<p>This section will cover firmware images used in Nvidia GPUs.
</p>
<h3><span class="mw-headline" id="Embedded_Controllers_2">Embedded Controllers</span></h3>
<p>This section will cover firmware images as they apply to various embedded controllers within the Nvidia GPU.
</p>
<h4><span id="Falcon_.2F_NV-RISCV"></span><span class="mw-headline" id="Falcon_/_NV-RISCV">Falcon / NV-RISCV</span></h4>
<p>The Fast Logic CONtroller (Falcon) and Nvidia RISC-V (<a rel="nofollow" class="external text" href="https://riscv.org/wp-content/uploads/2016/07/Tue1100_Nvidia_RISCV_Story_V2.pdf">NV-RISCV</a>) processors run the NvOS.
</p>
<h4><span class="mw-headline" id="GSP">GSP</span></h4>
<p>The GPU System Processor (GSP) is an embedded controller used for offload of the RM Core.
</p><p>The GSP runs <a rel="nofollow" class="external text" href="https://lwn.net/Articles/637658/">Library Operating System (LibOS)</a>.
</p>
<h5><span id="GSP_Initialization_.26_Offload"></span><span class="mw-headline" id="GSP_Initialization_&amp;_Offload">GSP Initialization &amp; Offload</span></h5>
<p>The <a rel="nofollow" class="external text" href="index.php/GPU_Driver_Internals.html#Initialization_3">GSP is initialized multiple times</a> during the system's bring up and runtime.
</p><p>GSP offload may occur during:
</p>
<ul><li>Hardware bring up when a cached version of the RM Core is loaded from SPI flash</li></ul>
<ul><li>During host driver bring up when the RM Core is offloaded by the <a rel="nofollow" class="external text" href="index.php/OpenRM.html">OpenRM driver</a>.</li>
<li>During guest driver bring up when the RM Core is offloaded.</li></ul>
<table class="wikitable">
<caption>Possible GSP Offloads
</caption>
<tbody><tr>
<th>Load Source
</th>
<th>Payload
</th>
<th>Notes
</th></tr>
<tr>
<td><a rel="nofollow" class="external text" href="https://wiki.segger.com/SPI_Flash">SPI Flash</a>
</td>
<td>Cached RM Core
</td>
<td>Used as a fallback in case of no rm offload.
</td></tr>
<tr>
<td>OpenRM
</td>
<td>RM Core
</td>
<td>This is the RM Core which was traditionally contained in the proprietary RM driver.
</td></tr>
<tr>
<td>VGX Guest
</td>
<td>Guest RM Core
</td>
<td>Future OpenRM guests may accomplish RM offload via GSP stubs (controlled via <a rel="nofollow" class="external text" href="https://github.com/NVIDIA/open-gpu-kernel-modules/blob/758b4ee8189c5198504cb1c3c5bc29027a9118a3/src/common/sdk/nvidia/inc/ctrl/ctrla081.h#L102">gspHeapSize</a>?).
</td></tr></tbody></table>
<h4><span class="mw-headline" id="CMU">CMU</span></h4>
<h2><span class="mw-headline" id="AMD">AMD</span></h2>
<h2><span id="References_.28Talks_.26_Reading_Material.29"></span><span class="mw-headline" id="References_(Talks_&amp;_Reading_Material)">References (Talks &amp; Reading Material)</span></h2>
<ol><li><a rel="nofollow" class="external text" href="https://igor-blue.github.io/2021/02/10/graphics-part1.html">Security of the Intel Graphics Stack - Part 1 - Introduction</a></li>
<li><a rel="nofollow" class="external text" href="https://igor-blue.github.io/2021/02/24/graphics-part2.html">Security of the Intel Graphics Stack - Part 2 - FW &lt;-&gt; GuC</a></li>
<li><a rel="nofollow" class="external text" href="https://eclypsium.com/2022/09/19/firmware-security-realizations-part-3-spi-write-protections/">Firmware Security Realizations Part 3: SPI Write Protections</a></li>
<li><a rel="nofollow" class="external text" href="https://www.intel.com/content/www/us/en/intelligent-systems/intel-firmware-support-package/fsp-firmware-solutions-iot-video.html">Intel® FSP: Firmware Solutions for the Internet of Things</a></li></ol>
<!-- 
NewPP limit report
Cached time: 20260911202653
Cache expiry: 86400
Reduced expiry: false
Complications: []
CPU time usage: 0.026 seconds
Real time usage: 0.029 seconds
Preprocessor visited node count: 66/1000000
Post‐expand include size: 0/2097152 bytes
Template argument size: 0/2097152 bytes
Highest expansion depth: 2/40
Expensive parser function count: 0/100
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 0/5000000 bytes
-->
<!--
Transclusion expansion time report (%,ms,calls,template)
100.00%    0.000      1 -total
-->

<!-- Saved in parser cache with key my_wiki:pcache:idhash:94-0!canonical and timestamp 20260911202653 and revision id 23779. Serialized with JSON.
 -->
</div>
<div class="printfooter">Retrieved from "<a dir="ltr" href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html">https://open-iov.org/index.php?title=GPU_Firmware&amp;oldid=23779</a>"</div></div>
		<div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div>
	</div>
</div>

<div id="mw-navigation">
	<h2>Navigation menu</h2>
	<div id="mw-head">
		<nav id="p-personal" class="mw-portlet mw-portlet-personal vector-user-menu-legacy vector-menu" aria-labelledby="p-personal-label" role="navigation" 
	 >
	<h3 id="p-personal-label" class="vector-menu-heading"> <span>Personal tools</span>
	</h3>
	<div class="vector-menu-content">
		
		<ul class="vector-menu-content-list"><li id="pt-login" class="mw-list-item"><a href="https://open-iov.org/index.php?title=Special:UserLogin&amp;returnto=GPU+Firmware&amp;returntoquery=oldid%3D23779" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li></ul>
		
	</div>
</nav>

		<div id="left-navigation">
			<nav id="p-namespaces" class="mw-portlet mw-portlet-namespaces vector-menu vector-menu-tabs" aria-labelledby="p-namespaces-label" role="navigation" 
	 >
	<h3 id="p-namespaces-label" class="vector-menu-heading"> <span>Namespaces</span>
	</h3>
	<div class="vector-menu-content">
		
		<ul class="vector-menu-content-list"><li id="ca-nstab-main" class="selected mw-list-item"><a href="index.php/GPU_Firmware.html" title="View the content page [c]" accesskey="c">Page</a></li><li id="ca-talk" class="new mw-list-item"><a href="https://open-iov.org/index.php?title=Talk:GPU_Firmware&amp;action=edit&amp;redlink=1" rel="discussion" title="Discussion about the content page (page does not exist) [t]" accesskey="t">Discussion</a></li></ul>
		
	</div>
</nav>

			<nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown-noicon vector-menu vector-menu-dropdown" aria-labelledby="p-variants-label" role="navigation" 
	 >
	<input type="checkbox"
		id="p-variants-checkbox"
		role="button"
		aria-haspopup="true"
		data-event-name="ui.dropdown-p-variants"
		class=" vector-menu-checkbox" aria-labelledby="p-variants-label" />
	<h3 id="p-variants-label" class="vector-menu-heading"> <span>Variants</span>
			<span class="vector-menu-checkbox-expanded">expanded</span>
			<span class="vector-menu-checkbox-collapsed">collapsed</span>
	</h3>
	<div class="vector-menu-content">
		
		<ul class="vector-menu-content-list"></ul>
		
	</div>
</nav>

		</div>
		<div id="right-navigation">
			<nav id="p-views" class="mw-portlet mw-portlet-views vector-menu vector-menu-tabs" aria-labelledby="p-views-label" role="navigation" 
	 >
	<h3 id="p-views-label" class="vector-menu-heading"> <span>Views</span>
	</h3>
	<div class="vector-menu-content">
		
		<ul class="vector-menu-content-list"><li id="ca-view" class="selected mw-list-item"><a href="index.php/GPU_Firmware.html">Read</a></li><li id="ca-viewsource" class="mw-list-item"><a href="index.php%3Ftitle=GPU_Firmware&amp;action=edit.html" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></li><li id="ca-history" class="mw-list-item"><a href="index.php%3Ftitle=GPU_Firmware&amp;action=history.html" title="Past revisions of this page [h]" accesskey="h">View history</a></li></ul>
		
	</div>
</nav>

			<nav id="p-cactions" class="mw-portlet mw-portlet-cactions emptyPortlet vector-menu-dropdown-noicon vector-menu vector-menu-dropdown" aria-labelledby="p-cactions-label" role="navigation"  title="More options"
	 >
	<input type="checkbox"
		id="p-cactions-checkbox"
		role="button"
		aria-haspopup="true"
		data-event-name="ui.dropdown-p-cactions"
		class=" vector-menu-checkbox" aria-labelledby="p-cactions-label" />
	<h3 id="p-cactions-label" class="vector-menu-heading"> <span>More</span>
			<span class="vector-menu-checkbox-expanded">expanded</span>
			<span class="vector-menu-checkbox-collapsed">collapsed</span>
	</h3>
	<div class="vector-menu-content">
		
		<ul class="vector-menu-content-list"></ul>
		
	</div>
</nav>

			<div id="p-search" role="search" class="vector-search-box">
	<div>
		<h3 >
			<label for="searchInput">Search</label>
		</h3>
		<form action="https://open-iov.org/index.php" id="searchform">
			<div id="simpleSearch" data-search-loc="header-navigation">
				<input type="search" name="search" placeholder="Search Open-IOV" autocapitalize="sentences" title="Search Open-IOV [f]" accesskey="f" id="searchInput"/>
				<input type="hidden" name="title" value="Special:Search"/>
				<input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton mw-fallbackSearchButton"/>
				<input type="submit" name="go" value="Go" title="Go to a page with this exact name if it exists" id="searchButton" class="searchButton"/>
			</div>
		</form>
	</div>
</div>

		</div>
	</div>
	
<div id="mw-panel">
	<div id="p-logo" role="banner">
		<a class="mw-wiki-logo" href="images/archive/c/c3/20221214193624!I915_Scheduling_Events_and_Requests.png.html"
			title="Visit the main page"></a>
	</div>
	<nav id="p-navigation" class="mw-portlet mw-portlet-navigation vector-menu vector-menu-portal portal" aria-labelledby="p-navigation-label" role="navigation" 
	 >
	<h3 id="p-navigation-label" class="vector-menu-heading"> <span>Navigation</span>
	</h3>
	<div class="vector-menu-content">
		
		<ul class="vector-menu-content-list"><li id="n-mainpage-description" class="mw-list-item"><a href="images/archive/c/c3/20221214193624!I915_Scheduling_Events_and_Requests.png.html" title="Visit the main page [z]" accesskey="z">Main page</a></li><li id="n-recentchanges" class="mw-list-item"><a href="https://open-iov.org/index.php/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li><li id="n-randompage" class="mw-list-item"><a href="index.php/Special:Random.html" title="Load a random page [x]" accesskey="x">Random page</a></li><li id="n-help-mediawiki" class="mw-list-item"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">Help about MediaWiki</a></li></ul>
		
	</div>
</nav>

	<nav id="p-tb" class="mw-portlet mw-portlet-tb vector-menu vector-menu-portal portal" aria-labelledby="p-tb-label" role="navigation" 
	 >
	<h3 id="p-tb-label" class="vector-menu-heading"> <span>Tools</span>
	</h3>
	<div class="vector-menu-content">
		
		<ul class="vector-menu-content-list"><li id="t-whatlinkshere" class="mw-list-item"><a href="index.php/Special:WhatLinksHere/GPU_Firmware.html" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="https://open-iov.org/index.php/Special:RecentChangesLinked/GPU_Firmware" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li><li id="t-specialpages" class="mw-list-item"><a href="index.php/Special:SpecialPages.html" title="A list of all special pages [q]" accesskey="q">Special pages</a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li><li id="t-permalink" class="mw-list-item"><a href="index.php%3Ftitle=GPU_Firmware&amp;oldid=23779.html" title="Permanent link to this revision of the page">Permanent link</a></li><li id="t-info" class="mw-list-item"><a href="index.php%3Ftitle=GPU_Firmware&amp;action=info.html" title="More information about this page">Page information</a></li></ul>
		
	</div>
</nav>

	
</div>

</div>
<footer id="footer" class="mw-footer" role="contentinfo" >
	<ul id="footer-info" >
	<li id="footer-info-lastmod"> This page was last edited on 9 April 2023, at 17:13.</li>
</ul>

	<ul id="footer-places" >
	<li id="footer-places-privacy"><a href="https://open-iov.org/index.php/Open-IOV:Privacy_policy" title="Open-IOV:Privacy policy">Privacy policy</a></li>
	<li id="footer-places-about"><a href="index.php/Open-IOV:About.html" title="Open-IOV:About">About Open-IOV</a></li>
	<li id="footer-places-disclaimer"><a href="https://open-iov.org/index.php/Open-IOV:General_disclaimer" title="Open-IOV:General disclaimer">Disclaimers</a></li>
</ul>

	<ul id="footer-icons" class="noprint">
	<li id="footer-poweredbyico"><a href="https://www.mediawiki.org/"><img src="resources/assets/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" srcset="resources/assets/poweredby_mediawiki_132x47.png 1.5x, resources/assets/poweredby_mediawiki_176x62.png 2x" width="88" height="31" loading="lazy"/></a></li>
</ul>

</footer>


<script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.026","walltime":"0.029","ppvisitednodes":{"value":66,"limit":1000000},"postexpandincludesize":{"value":0,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":2,"limit":40},"expensivefunctioncount":{"value":0,"limit":100},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"timingprofile":["100.00%    0.000      1 -total"]},"cachereport":{"timestamp":"20260911202653","ttl":86400,"transientcontent":false}}});mw.config.set({"wgBackendResponseTime":64});});</script>
<script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a39969ca6a9539c9',t:'MTc4OTE1ODQ0Nw=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body></html>