OpenCloudOS-Kernel/drivers/misc/habanalabs/goya
Oded Gabbay dbbe358b13 habanalabs: use %px instead of %p in error print
When parsing the address of an internal command buffer, the driver prints
an error if the buffer's address is not in the range of the device's DRAM
or SRAM memory address space.

Use %px to print the real address that the user gave the driver and not a
hashed value, so the user will get a clue regarding the origin of his
error.

Note that if the print occurs, the pointer that is printed is a
user's virtual address and not some kind of physical address.

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-02 12:03:56 +01:00
..
Makefile habanalabs: add sysfs and hwmon support 2019-02-18 09:46:45 +01:00
goya.c habanalabs: use %px instead of %p in error print 2019-03-02 12:03:56 +01:00
goyaP.h habanalabs: add MMU DRAM default page mapping 2019-02-28 13:04:59 +01:00
goya_hwmgr.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00
goya_security.c habanalabs: add basic Goya h/w initialization 2019-02-18 09:46:44 +01:00