[Bug 291577] 15.0-RELEASE install panic on Hyper-V Generation 2 Virtual Machine (2+ vCPUs)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Oct 2026 22:14:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291577

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=5b1f1fd624352840cd9666447ff9cdebeaf910d4

commit 5b1f1fd624352840cd9666447ff9cdebeaf910d4
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2026-10-05 19:58:06 +0000
Commit:     ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2026-10-09 22:13:31 +0000

    hyperv: Fix single page invalidation path

    A single page invalidation sets addr2 == 0. In the original code, it
    falsely flush the whole address in non global pmap. However, the
    kernel pmap are all PG_G, which means a single page flush will always be
    staled and thus become invalid. As a result, we set parameter based on
    their op in a new helper function instead of relying on args. This
    affects only on AMD platform as Intel has their PTI implementation.

    PR:     291577
    Tested by:      franco@opnsense.org
    MFC after:      2 weeks
    Differential Revision: https://reviews.freebsd.org/D60380

 sys/dev/hyperv/vmbus/hyperv_mmu.c | 82 ++++++++++++++++++++-------------------
 1 file changed, 43 insertions(+), 39 deletions(-)

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