Date: Fri, 16 Aug 2024 08:01:02 +0300 From: Oleg Nauman <oleg.nauman@gmail.com> To: Navdeep Parhar <np@freebsd.org> Cc: John Baldwin <jhb@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: f44ff2aba2d6 - main - bhyve: Treat the COMMAND register for PCI passthru devices as emulated Message-ID: <CAC5YPTsbz_aa=F2D2O0=WyXSB2F3iYDsg3CF9oQw%2B5FeaDEs8Q@mail.gmail.com> In-Reply-To: <58a179b1-9e92-461a-8902-31bd0a8c057e@FreeBSD.org> References: <202407311450.46VEoql9014730@gitrepo.freebsd.org> <58a179b1-9e92-461a-8902-31bd0a8c057e@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
Hello, I can confirm that net/wifibox fails to operate after f44ff2aba2d6 On Wed, Aug 14, 2024 at 4:17 AM Navdeep Parhar <np@freebsd.org> wrote: > > On 7/31/24 7:50 AM, John Baldwin wrote: > > The branch main has been updated by jhb: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=f44ff2aba2d64d1d9312cb55008dc90275ccdc04 > > > > commit f44ff2aba2d64d1d9312cb55008dc90275ccdc04 > > Author: John Baldwin <jhb@FreeBSD.org> > > AuthorDate: 2024-07-31 14:50:33 +0000 > > Commit: John Baldwin <jhb@FreeBSD.org> > > CommitDate: 2024-07-31 14:50:33 +0000 > > > > bhyve: Treat the COMMAND register for PCI passthru devices as emulated > > > > Don't pass through writes of the command register through to the > > physical device. These registers do not need to be in sync, and in > > some cases (e.g. when the guest is sizing the BAR and temporarily > > disables decoding), the states need to diverge. > > This seems to break MSI-X interrupts for a device that is passed through > to a VM. That is, the device generates an interrupt but the driver in > the VM never receives it. Reverting this change fixes the problem. > > Regards, > Navdeep > >help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC5YPTsbz_aa=F2D2O0=WyXSB2F3iYDsg3CF9oQw%2B5FeaDEs8Q>
