summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-03-17 00:50:05 +0300
committerThomas Gleixner <tglx@linutronix.de>2017-06-28 23:32:55 +0300
commitbb290fda879ffd1f6f6b0869bf7335554093f4bd (patch)
tree8a707ed0ba916117c07e25dbeb6ed98bc418d3a2 /scripts/patch-kernel
parentaae3e318d012e76211f34bb65754f3d4d2a8c93d (diff)
downloadlinux-bb290fda879ffd1f6f6b0869bf7335554093f4bd.tar.xz
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions