diff options
author | Thomas Gleixner <[email protected]> | 2017-03-16 22:50:05 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-28 22:32:55 +0200 |
commit | bb290fda879ffd1f6f6b0869bf7335554093f4bd (patch) | |
tree | 8a707ed0ba916117c07e25dbeb6ed98bc418d3a2 /lib/netdev-notifier-error-inject.c | |
parent | aae3e318d012e76211f34bb65754f3d4d2a8c93d (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 <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions