]> git.baikalelectronics.ru Git - kernel.git/commit
staging/rdma/hfi1: Add irqsaves in the packet processing path
authorDean Luick <dean.luick@intel.com>
Mon, 26 Oct 2015 14:28:43 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:45:51 +0000 (17:45 +0900)
commit600a7cbc093b4c77e9f7c53e0f483baa767f261a
tree482853a8a51b68e3c739a7e375ff1df9a22c22ea
parent2318a78dfdd36a44f8eb045ca22ce4f734dbcefd
staging/rdma/hfi1: Add irqsaves in the packet processing path

In preparation for threading the receive interrupt, add irqsaves in the packet
processing path.

When the receive interrupt is threaded, the packet processing path is no longer
guaranteed to have IRQs disabled.  Add irqsaves where needed on several locks
in the packet processing path.  Anything that did not have an obvious, "close"
irqsave in its caller is a candidate.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/driver.c
drivers/staging/rdma/hfi1/init.c
drivers/staging/rdma/hfi1/mad.c
drivers/staging/rdma/hfi1/rc.c
drivers/staging/rdma/hfi1/sdma.c
drivers/staging/rdma/hfi1/verbs.c