mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-22 04:13:09 +00:00
In order to read the HCA's cycle counter efficiently in user space, we need to map the HCA's register. This is done through mmap call. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>