[Bug 285681] [Hyper-V] i386 panic during storvsc_xferbuf_prepare()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Mar 2025 11:16:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285681
--- Comment #29 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=a319ba694538a38429115aaaf1d4b3946ea3a8b5
commit a319ba694538a38429115aaaf1d4b3946ea3a8b5
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-03-31 10:45:14 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-03-31 11:14:42 +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
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.