]> asedeno.scripts.mit.edu Git - linux.git/commit
habanalabs: implement INFO IOCTL
authorOded Gabbay <oded.gabbay@gmail.com>
Fri, 15 Feb 2019 22:39:23 +0000 (00:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Feb 2019 08:46:46 +0000 (09:46 +0100)
commitd8dd7b0a81cc192ef5d30ec76ed6f6d35a1a7cf5
tree2625588ca1244725c6f6688203d0e902219103d2
parent0feaf86d4e69507ab9b2af7dcc63a6886352d5db
habanalabs: implement INFO IOCTL

This patch implements the INFO IOCTL. That IOCTL is used by the user to
query information that is relevant/needed by the user in order to submit
deep learning jobs to Goya.

The information is divided into several categories, such as H/W IP, Events
that happened, DDR usage and more.

Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/habanalabs.h
drivers/misc/habanalabs/habanalabs_ioctl.c
include/uapi/misc/habanalabs.h