linux/drivers/misc/habanalabs/goya
Ben Segal 2aa4e41079 habanalabs: fix host memory polling in BE architecture
This patch fix a bug in the host memory polling macro. The bug is that the
memory being polled can be written by the device, which always writes it
in LE. However, if the host is running Linux in BE mode, we need to
convert the value that was written by the device before matching it to the
required value that the caller has given to the macro.

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-07-29 11:40:25 +03:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
goya.c habanalabs: fix host memory polling in BE architecture 2019-07-29 11:40:25 +03:00
goyaP.h habanalabs: add MMU mappings for Goya CPU 2019-05-29 17:30:04 +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