diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2020-10-21 16:41:30 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-10-22 15:48:14 +0000 |
commit | 70fc36f26855fb4c7a56c5d1563d541b395f8f5d (patch) | |
tree | 43ff9907967c3153b3965cd79b22f02ea44b315a /src/vlib/init.c | |
parent | 8950c272550098c544976668a943b7a5bd05de91 (diff) |
pci: set PCI memory enable before mapping PCI BAR
This change mitigates software faults issued by some versions of the
linux kernel vfio-pci driver when VF PCI BARs are used without setting
the memory enable bit in the PCI configuration. This problem is
mentionned in https://lkml.org/lkml/2020/6/25/628
Change-Id: Idc177be4a5adb6ee467b4dd8f055f133ff267fe1
Type: improvement
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Diffstat (limited to 'src/vlib/init.c')
0 files changed, 0 insertions, 0 deletions