linux/drivers/misc/habanalabs/goya
Ben Segal 213ad5ad01 habanalabs: fix endianness handling for packets from user
Packets that arrive from the user and need to be parsed by the driver are
assumed to be in LE format.

This patch fix all the places where the code handles these packets and use
the correct endianness macros to handle them, as the driver handles the
packets in CPU format (LE or BE depending on the arch).

Signed-off-by: Ben Segal <bpsegal20@gmail.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-08-12 09:01:10 +03:00
..
goya_coresight.c habanalabs: Read upper bits of trace buffer from RWPHI 2019-06-04 15:13:09 +03:00
goya_hwmgr.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00
goya_security.c habanalabs: make tpc registers secured 2019-05-30 08:46:01 +00:00
goya.c habanalabs: fix endianness handling for packets from user 2019-08-12 09:01:10 +03:00
goyaP.h habanalabs: add MMU mappings for Goya CPU 2019-05-29 17:30:04 +03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00