Page MenuHomeFreeBSD

Ignore the write to AMD microcode update MSR by guest.
AbandonedPublic

Authored by anish on Apr 3 2016, 5:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 29 2023, 9:10 AM
Unknown Object (File)
Dec 25 2023, 9:09 AM
Unknown Object (File)
Dec 20 2023, 1:59 AM
Unknown Object (File)
Nov 6 2023, 12:16 PM
Unknown Object (File)
Sep 15 2023, 9:36 AM
Unknown Object (File)
Aug 28 2023, 5:00 PM
Unknown Object (File)
Aug 24 2023, 2:42 PM
Unknown Object (File)
Aug 19 2023, 8:55 AM
Subscribers

Details

Summary

If a guest try to update microcode register, don't fail it but silently drop the write.
Submitted by: Yamagi Burmeister

Test Plan

Tested on Ubuntu VM by writing to this MSR[0xc0010020].

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3201
Build 3234: arc lint + arc unit

Event Timeline

anish retitled this revision from to Ignore the write to AMD microcode update MSR by guest..
anish updated this object.
anish edited the test plan for this revision. (Show Details)
anish added reviewers: grehan, neel.
grehan edited edge metadata.

Fix up the plurality a bit in the checkin comment e.g. "If a guest tries to update the microcode register" and it's good to go :)

This revision is now accepted and ready to land.Apr 5 2016, 6:48 PM
anish edited edge metadata.

Ignore the write to AMD microcode update MSR by guest.

Summary: Allow guest writes to AMD microcode update[0xc0010020] MSR without updating actul hardware MSR. This allows guest microcode update to go through which otherwise failing because wrmsr() was returning EINVAL.

Submitted by: Yamagi Burmeister

Test Plan: Tested on Ubuntu VM by writing to this MSR[0xc0010020].

Reviewers: neel, grehan

Subscribers:

This revision now requires review to proceed.Apr 10 2016, 4:57 PM

Was submitted by r297806