Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2025 02:26:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 285681] [Hyper-V] i386 panic during storvsc_xferbuf_prepare()
Message-ID:  <bug-285681-27103-ggeYEKvVWG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285681-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-285681-27103@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=3D285681

--- Comment #32 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D07c5a2486cc6f8e64715b5d7c31ccfa02=
f9f3745

commit 07c5a2486cc6f8e64715b5d7c31ccfa02f9f3745
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-03-31 10:45:14 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-04-15 02:25:24 +0000

    hyperv/storvsc: Fix busdma constraints

    - The BUS_DMA_KEEP_PG_OFFSET flag is needed, since
      storvsc_xferbuf_prepare() assumes that only the first segment may have
      a non-zero offset, and that all following segments are page-sized and
      -aligned.
    - storvsc_xferbuf_prepare() handles 64-bit bus addresses, so avoid
      unneeded bouncing on i386.

    PR:             285681
    Reported by:    dim
    Tested by:      dim, whu
    MFC after:      2 weeks

    (cherry picked from commit a319ba694538a38429115aaaf1d4b3946ea3a8b5)

 sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

--=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-285681-27103-ggeYEKvVWG>