Date: Thu, 20 Aug 2015 13:18:36 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202517] PCI PF memory decode disable when sizing VF BARs Message-ID: <bug-202517-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202517 Bug ID: 202517 Summary: PCI PF memory decode disable when sizing VF BARs Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: eric@badgerio.us Created attachment 160143 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160143&action=edit Patch to prevent disabling of PF during VF bar sizing During IOV config, when setting up VF bars, several calls are made to 'pci_read_bar' (in sys/dev/pci/pci.c) in order to size VF BARs, which causes memory decoding to be turned off temporarily for the PF associated with those VFs. This can interfere with an already running PF. This was discussed a few months back on -current, but it doesn't look like the fix has hit the source tree: https://lists.freebsd.org/pipermail/freebsd-current/2015-May/055725.html I've been using the attached patch (from the above thread) for some time to solve this problem. -- 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-202517-8>