On Mon, Mar 11, 2019 at 06:06:14PM +0200, Michal Kalderon wrote: > + if (IS_ERR(q->db_rec_umem)) { > + DP_ERR(dev, > + "create user queue: failed db_rec ib_umem_get, error was %ld, db_rec_addr was %llx\n", > + PTR_ERR(q->db_rec_umem), db_rec_addr); > + return PTR_ERR(q->db_rec_umem); > + } > + > + q->db_rec_virt = sg_virt(q->db_rec_umem->sg_head.sgl); Can't just call sg_virt.. You need to use kmap/etc in this situation Jason