On Thu, Jan 23, 2020 at 04:31:36PM +0200, Leon Romanovsky wrote: > > + ret = map_qp_buf(hr_dev, hr_qp, page_shift, udata); > > I don't remember what was the resolution if it is ok to rely on "udata" > as an indicator of user/kernel flow. udata is to be used to check for kernel/user Jason