diff options
author | farah kassabri <fkassabri@habana.ai> | 2022-11-16 16:40:30 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-01-26 11:56:22 +0300 |
commit | c2239a251d2d738f435c46bae7d66899c62ce493 (patch) | |
tree | 6fae149dd390cffa35067eb4bf04fb22086d2c42 /scripts/gdb/linux/proc.py | |
parent | 2dd89591d8c7fe7b24daeac0faf8a0afa30f9b0b (diff) | |
download | linux-c2239a251d2d738f435c46bae7d66899c62ce493.tar.xz |
habanalabs: pass-through request from user to f/w
Add a uAPI, as part of the INFO IOCTL, to allow users to send
requests directly to f/w, according to a pre-defined set of opcodes
that the f/w exposes.
The f/w will put the result in a kernel-allocated buffer, which the
driver will then copy to the user-supplied buffer.
This will allow f/w tools to communicate directly with the f/w
without the need to add a new uAPI to the driver for each new type
of request.
Signed-off-by: farah kassabri <fkassabri@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions