[Bug 285681] [Hyper-V] i386 panic during storvsc_xferbuf_prepare()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Apr 2025 02:26:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285681
--- Comment #32 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=07c5a2486cc6f8e64715b5d7c31ccfa02f9f3745
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(-)
--
You are receiving this mail because:
You are the assignee for the bug.