Print this page
8368 remove warlock leftovers from usr/src/uts

*** 79,90 **** int status, i, flag; char *errormsg; TAVOR_TNF_ENTER(tavor_cq_alloc); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cq_attr)) - /* * Determine whether CQ is being allocated for userland access or * whether it is being allocated for kernel access. If the CQ is * being allocated for userland access, then lookup the UAR doorbell * page number for the current process. Note: If this is not found --- 79,88 ----
*** 134,144 **** /* Set "status" and "errormsg" and goto failure */ TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed CQ handle"); goto cqalloc_fail2; } cq = (tavor_cqhdl_t)rsrc->tr_addr; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cq)) cq->cq_is_umap = cq_is_umap; /* Use the index as CQ number */ cq->cq_cqnum = cqc->tr_indx; --- 132,141 ----
*** 206,216 **** /* Set "status" and "errormsg" and goto failure */ TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed completion queue"); goto cqalloc_fail4; } buf = (tavor_hw_cqe_t *)cq->cq_cqinfo.qa_buf_aligned; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*buf)) /* * Initialize each of the Completion Queue Entries (CQE) by setting * their ownership to hardware ("owner" bit set to HW). This is in * preparation for the final transfer of ownership (below) of the --- 203,212 ----
*** 246,256 **** if (status != DDI_SUCCESS) { /* Set "status" and "errormsg" and goto failure */ TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed register mr"); goto cqalloc_fail5; } - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mr)) addr = mr->mr_bindinfo.bi_addr; lkey = mr->mr_lkey; /* Determine if later ddi_dma_sync will be necessary */ cq_sync = TAVOR_CQ_IS_SYNC_REQ(state, cq->cq_cqinfo); --- 242,251 ----
*** 482,492 **** * the deallocation of the CQ. */ tavor_wrid_cq_force_reap(cq); mutex_exit(&cq->cq_lock); - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*cq)) /* * Reclaim CQC entry from hardware (using the Tavor HW2SW_CQ * firmware command). If the ownership transfer fails for any reason, * then it is an indication that something (either in HW or SW) has --- 477,486 ----
*** 612,622 **** /* Set "status" and "errormsg" and goto failure */ TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed completion queue"); goto cqresize_fail; } buf = (tavor_hw_cqe_t *)new_cqinfo.qa_buf_aligned; - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*buf)) /* * Initialize each of the Completion Queue Entries (CQE) by setting * their ownership to hardware ("owner" bit set to HW). This is in * preparation for the final resize operation (below). --- 606,615 ----
*** 651,661 **** tavor_queue_free(state, &new_cqinfo); /* Set "status" and "errormsg" and goto failure */ TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed register mr"); goto cqresize_fail; } - _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mr)) /* Determine if later ddi_dma_sync will be necessary */ cq_sync = TAVOR_CQ_IS_SYNC_REQ(state, new_cqinfo); /* Sync entire "new" CQ for use by hardware (if necessary) */ --- 644,653 ----