mbox series

[v2,0/3] PCI: Data corruption happening due to race condition

Message ID 1530268061-17324-1-git-send-email-hari.vyas@broadcom.com
Headers show
Series PCI: Data corruption happening due to race condition | expand

Message

Hari Vyas June 29, 2018, 10:27 a.m. UTC
Changes in v2:
	To avoid race condition while updating is_added and is_busmaster
	bits, is_added is moved to a private flag variable.
	is_added updation is handled in atomic manner also.

Hari Vyas (3):
  PCI: Data corruption happening due to race condition
  PCI: use new pci function to get device addition state
  PCI: Hotplug: use new pci function to get device addition state

 arch/powerpc/kernel/pci-common.c          |  4 +++-
 arch/powerpc/platforms/powernv/pci-ioda.c |  3 ++-
 arch/powerpc/platforms/pseries/setup.c    |  3 ++-
 drivers/pci/bus.c                         |  6 +++---
 drivers/pci/hotplug/acpiphp_glue.c        |  2 +-
 drivers/pci/pci.c                         |  1 +
 drivers/pci/pci.h                         | 18 ++++++++++++++++++
 drivers/pci/probe.c                       |  4 ++--
 drivers/pci/remove.c                      |  5 +++--
 include/linux/pci.h                       |  1 -
 10 files changed, 35 insertions(+), 12 deletions(-)