aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorRick Farrington <[email protected]>2017-08-30 16:19:53 -0700
committerDavid S. Miller <[email protected]>2017-08-30 22:07:09 -0700
commitacfb98b99647aa7dc7c111db52d5f4199d2b641f (patch)
tree60f309fcdf3198d3f7ee00b319dfd43a3051b27c /lib/mpi/mpi-cmp.c
parent12bdc5e1e58304d27cb16e30597e2e706e536fb1 (diff)
liquidio: fix crash in presence of zeroed-out base address regs
Fix crash in linux PF driver when BARs have been cleared/de-programmed; fail early init (prior to mapping BARs) if the BAR0 or BAR1 registers are zero. This situation can arise when the PF is added to a VM (PCI pass-through), then a PF FLR is issued (in the VM). After this occurs, the BAR registers will be zero. If we attempt to load the PF driver in the host (after VM has been shutdown), the host can reset. Signed-off-by: Rick Farrington <[email protected]> Signed-off-by: Raghu Vatsavayi <[email protected]> Signed-off-by: Felix Manlunas <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions