Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2018 21:17:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232081] 12.0-BETA8 crashes under 11.2+Bhyve on Phenom-II (unemulated clflush [ebx])
Message-ID:  <bug-232081-227-lXNAK9tsGe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232081-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232081-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232081

Andriy Gapon <avg@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #1 from Andriy Gapon <avg@FreeBSD.org> ---
I suspect that the issue was uncovered by base r338807.
It seems that CPUID_CLFSH feature is advertised to the guest because the ho=
st
supports it.  But there is some special code in initializecpucache() that
clears the flag for VM guests.  But ifuncs are resolved before
initializecpucache() is called.  So, clflush gets enabled since the switch =
to
ifuncs.

I guess that if bhyve does not emulate clflush and if the hardware does not
support it in virtualized mode, then bhyve should clear CPUID_CLFSH.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232081-227-lXNAK9tsGe>