Commit 331282f
committed
KVM: SVM: Drop 32-bit "support" from __svm_sev_es_vcpu_run()
Drop 32-bit "support" from __svm_sev_es_vcpu_run(), as SEV/SEV-ES firmly
64-bit only. The "support" was purely the result of bad copy+paste from
__svm_vcpu_run(), which in turn was slightly less bad copy+paste from
__vmx_vcpu_run().
Opportunistically convert to unadulterated register accesses so that it's
easier (but still not easy) to follow which registers hold what arguments,
and when.
Reviewed-by: Tom Lendacky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>1 parent 7774c8f commit 331282f
1 file changed
Lines changed: 13 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
| 301 | + | |
303 | 302 | | |
304 | 303 | | |
305 | 304 | | |
306 | 305 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
| 306 | + | |
312 | 307 | | |
313 | 308 | | |
314 | 309 | | |
315 | 310 | | |
316 | 311 | | |
317 | 312 | | |
318 | 313 | | |
319 | | - | |
| 314 | + | |
320 | 315 | | |
321 | 316 | | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
| 317 | + | |
331 | 318 | | |
332 | 319 | | |
333 | 320 | | |
334 | 321 | | |
335 | 322 | | |
336 | | - | |
337 | | - | |
| 323 | + | |
| 324 | + | |
338 | 325 | | |
339 | 326 | | |
340 | 327 | | |
341 | 328 | | |
342 | | - | |
| 329 | + | |
343 | 330 | | |
344 | 331 | | |
345 | 332 | | |
346 | 333 | | |
347 | | - | |
| 334 | + | |
348 | 335 | | |
349 | 336 | | |
350 | 337 | | |
351 | | - | |
| 338 | + | |
352 | 339 | | |
353 | 340 | | |
354 | 341 | | |
| |||
364 | 351 | | |
365 | 352 | | |
366 | 353 | | |
367 | | - | |
| 354 | + | |
368 | 355 | | |
369 | | - | |
| 356 | + | |
370 | 357 | | |
371 | | - | |
372 | 358 | | |
373 | 359 | | |
374 | 360 | | |
375 | 361 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
| 362 | + | |
381 | 363 | | |
382 | 364 | | |
383 | 365 | | |
384 | 366 | | |
385 | 367 | | |
386 | | - | |
| 368 | + | |
387 | 369 | | |
388 | 370 | | |
389 | 371 | | |
| |||
0 commit comments