Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2023 19:44:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 268943] virtualized kernel panics on process exit running under pmcstat
Message-ID:  <bug-268943-227-HSCIS8lcWj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268943-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268943

Mitchell Horne <mhorne@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress
                 CC|                            |mhorne@freebsd.org
           Assignee|bugs@FreeBSD.org            |mhorne@freebsd.org

--- Comment #1 from Mitchell Horne <mhorne@freebsd.org> ---
It appears that bhyve does not support virtualized performance counters,
neither on AMD or Intel. Thus, the assertion is triggered because reading the
counter configuration register will always return a value of zero.

The AMD hwpmc class should detect when this support is disabled and bail from
the initialization routine. I will work on this change.

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

help

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