Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2019 07:50:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 222996] FreeBSD 11.1-12 on Hyper-V with PCI Express Pass Through
Message-ID:  <bug-222996-27103-60xa14pPjF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222996-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222996-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=3D222996

--- Comment #17 from Wei Hu <weh@microsoft.com> ---
It turns out the address between 0xf8000000 and 0xf87fffff on HyperV doesn't
work for MMIO or FreeBSD has bug to incorrectly assign device MMIO address =
to
this range. When manually assign the em0 MMIO address to and above 0xf88000=
00,
the passthrough NIC works fine.=20

On same Gen 2 Linux VM, the device was assigned MMIO address above this ran=
ge.
On Gen 1 FreeBSD VM, the same card was assigned to an address above 4G. So =
both
of these works fine.=20

The workaround I am using is intercepting the memory allocation request,
changing the starting address to 0xf8800000 whenever find a request fall in=
to
this problem range. This works fine on customer's site. However still need =
to
root cause the issue when this only happens on FreeBSD Gen 2 VMs, not other
Linux Gen 2 VMs.

--=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-222996-27103-60xa14pPjF>