Lines Matching refs:iova_start
203 u64 *iova_start)
236 iova_start, &size);
242 (((u64)iova_start + size) < (u64)iova_start)) {
243 ehca_err(pd->device, "bad input values: size=%llx iova_start=%p",
244 size, iova_start);
257 if (ehca_mr_is_maxmr(size, iova_start)) {
259 ret = ehca_reg_maxmr(shca, e_mr, iova_start, mr_access_flags,
272 num_kpages = NUM_CHUNKS(((u64)iova_start % PAGE_SIZE) + size,
276 num_hwpages = NUM_CHUNKS(((u64)iova_start % hw_pgsize) + size,
286 ((u64)iova_start & ~PAGE_MASK) / hw_pgsize;
288 ret = ehca_reg_mr(shca, e_mr, iova_start, size, mr_access_flags,
305 "num_phys_buf=%x mr_access_flags=%x iova_start=%p",
307 num_phys_buf, mr_access_flags, iova_start);
449 u64 *iova_start)
539 new_start = iova_start; /* change address */
542 num_phys_buf, iova_start,
547 (((u64)iova_start + new_size) < (u64)iova_start)) {
549 "iova_start=%p", new_size, iova_start);
565 ((u64)iova_start & ~PAGE_MASK) / hw_pgsize;
589 "iova_start=%p",
591 num_phys_buf, mr_access_flags, iova_start);
1023 u64 *iova_start,
1043 (u64)iova_start, size, hipz_acl,
1068 e_mr->start = iova_start;
1079 "iova_start=%p size=%llx acl=%x e_pd=%p lkey=%x "
1081 h_ret, shca, e_mr, iova_start, size, acl, e_pd,
1090 "iova_start=%p size=%llx acl=%x e_pd=%p pginfo=%p "
1092 ret, shca, e_mr, iova_start, size, acl, e_pd, pginfo,
1199 u64 *iova_start,
1241 (u64)iova_start, size, hipz_acl,
1253 } else if ((u64 *)hipzout.vaddr != iova_start) {
1254 ehca_err(&shca->ib_device, "PHYP changed iova_start in "
1255 "rereg_pmr, iova_start=%p iova_start_out=%llx e_mr=%p "
1256 "mr_handle=%llx lkey=%x lkey_out=%x", iova_start,
1268 e_mr->start = iova_start;
1290 u64 *iova_start,
1323 ret = ehca_rereg_mr_rereg1(shca, e_mr, iova_start, size,
1360 ret = ehca_reg_mr(shca, e_mr, iova_start, size, acl,
1373 "iova_start=%p size=%llx acl=%x e_pd=%p pginfo=%p "
1375 "rereg_3_hcall=%x", ret, shca, e_mr, iova_start, size,
1474 u64 *iova_start,
1489 (u64)iova_start, hipz_acl, e_pd->fw_pd,
1493 "shca=%p e_origmr=%p e_newmr=%p iova_start=%p acl=%x "
1495 h_ret, shca, e_origmr, e_newmr, iova_start, acl, e_pd,
1506 e_newmr->start = iova_start;
1517 "e_newmr=%p iova_start=%p acl=%x e_pd=%p",
1518 ret, shca, e_origmr, e_newmr, iova_start, acl, e_pd);
1616 u64 *iova_start;
1639 iova_start = (u64 *)ehca_map_vaddr((void *)KERNELBASE);
1642 num_kpages = NUM_CHUNKS(((u64)iova_start % PAGE_SIZE) + size_maxmr,
1645 num_hwpages = NUM_CHUNKS(((u64)iova_start % hw_pgsize) + size_maxmr,
1656 ret = ehca_reg_mr(shca, e_mr, iova_start, size_maxmr, 0, e_pd,
1661 "e_mr=%p iova_start=%p size_maxmr=%llx num_kpages=%x "
1662 "num_hwpages=%x", e_mr, iova_start, size_maxmr,
1689 u64 *iova_start,
1704 (u64)iova_start, hipz_acl, e_pd->fw_pd,
1718 e_newmr->start = iova_start;
1771 u64 *iova_start,
1783 if (((u64)iova_start & ~PAGE_MASK) != (pbuf->addr & ~PAGE_MASK)) {
1784 ehca_gen_err("iova_start/addr mismatch, iova_start=%p "
1786 iova_start, pbuf->addr, pbuf->size);
2208 u64 *iova_start)
2212 (iova_start == (void *)ehca_map_vaddr((void *)KERNELBASE))) {