diff options
author | Tal Cohen <talcohen@habana.ai> | 2022-12-01 16:37:30 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-01-26 10:56:22 +0200 |
commit | 2dd89591d8c7fe7b24daeac0faf8a0afa30f9b0b (patch) | |
tree | f0217e314585ab9600460395dc3e5e316d5b0095 /include/uapi/misc | |
parent | 2b30873abd49fa8f8e21c3e1cbcf2795adfb7f73 (diff) | |
download | linux-stable-2dd89591d8c7fe7b24daeac0faf8a0afa30f9b0b.tar.gz linux-stable-2dd89591d8c7fe7b24daeac0faf8a0afa30f9b0b.tar.bz2 linux-stable-2dd89591d8c7fe7b24daeac0faf8a0afa30f9b0b.zip |
habanalabs: support receiving ascii message from preboot f/w
An Ascii message that is sent from preboot towards the driver
will indicate the specific error that occurred on the f/w.
This commit supports that message and parse the ascii string
in order to print it into the kernel log
The commit also changes the way the descriptor struct is declared.
While its size increased (it now above 1024 bytes), it will be
allocated by using kmalloc instead of stack declaration.
Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'include/uapi/misc')
0 files changed, 0 insertions, 0 deletions