summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/pal.c
diff options
context:
space:
mode:
authorVenkatesh Srinivas <venkateshs@google.com>2018-05-25 00:13:21 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-07-26 09:04:05 -0700
commit73017f4e051c86985cf4647eceee34de7c13b1b1 (patch)
tree605507857b6a8f241e0d41bd8c303d61f74f36b2 /drivers/uwb/pal.c
parent2a83fba6cae89dd9c0625e68ff8ffff791c67ac0 (diff)
downloadtalos-obmc-linux-73017f4e051c86985cf4647eceee34de7c13b1b1.tar.gz
talos-obmc-linux-73017f4e051c86985cf4647eceee34de7c13b1b1.zip
igb: Use dma_wmb() instead of wmb() before doorbell writes
igb writes to doorbells to post transmit and receive descriptors; after writing descriptors to memory but before writing to doorbells, use dma_wmb() rather than wmb(). wmb() is more heavyweight than necessary before doorbell writes. On x86, this avoids SFENCEs before doorbell writes in both the tx and rx refill paths. Signed-off-by: Venkatesh Srinivas <venkateshs@google.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/uwb/pal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud