summaryrefslogtreecommitdiffstats
path: root/drivers/pci/access.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-03-16 22:50:05 +0100
committerThomas Gleixner <tglx@linutronix.de>2017-06-28 22:32:55 +0200
commitbb290fda879ffd1f6f6b0869bf7335554093f4bd (patch)
tree8a707ed0ba916117c07e25dbeb6ed98bc418d3a2 /drivers/pci/access.c
parentaae3e318d012e76211f34bb65754f3d4d2a8c93d (diff)
x86/PCI/ce4100: Properly lock accessor functions
x86 wants to get rid of the global pci_lock protecting the config space accessors so ECAM mode can operate completely lockless, but the CE4100 PCI code relies on that to protect the simulation registers. Restructure the code so it uses the x86 specific pci_config_lock to serialize the inner workings of the CE4100 PCI magic. That allows to remove the global locking via pci_lock later. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Bjorn Helgaas <helgaas@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Borislav Petkov <bp@alien8.de> Cc: linux-pci@vger.kernel.org Link: http://lkml.kernel.org/r/20170316215057.126873574@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/pci/access.c')
0 files changed, 0 insertions, 0 deletions