This patch comes from a PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224476
It looks right for me, but unfortunately I don't have any AMD FX now for testing.
Details
Details
- Reviewers
rgrimes - Group Reviewers
bhyve - Commits
- rS339911: Emulate machine check related MSR_EXTFEATURES to allow guest OSes to
Smoke test: build kernel on AMD Ryzen.
Run: Linux Fedora and FreeBSD HEAD as guest.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I am good with this too, other than it is not emulating it, it is just ignoring it by returning a 0, which may or may not have future implications.
Comment Actions
Sorry for the extra noise here, I did not mean to accept it as bhvye, only me personally, so did delete/add bhyve umbrella to clear that bit.
head/sys/amd64/vmm/amd/svm_msr.c | ||
---|---|---|
130 | This cases could have been merged with upper block, something like case MSR_MTRR64kBase: case MSR_SYSCFG: case MSR_AMDK8_IPM: case MSR_EXTFEATURES: *result = 0; break; |
head/sys/amd64/vmm/amd/svm_msr.c | ||
---|---|---|
130 | Thanks @anish , I made the changes at: https://svnweb.freebsd.org/changeset/base/339936 |