[Bug 202517] PCI PF memory decode disable when sizing VF BARs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 20 13:18:36 UTC 2015


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 at FreeBSD.org
          Reporter: eric at 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.


More information about the freebsd-bugs mailing list