]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: replace armcp with the generic cpucp
authorOded Gabbay <oded.gabbay@gmail.com>
Sat, 15 Aug 2020 13:28:10 +0000 (16:28 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:51 +0000 (18:49 +0300)
commit0557cd3921fd5353998a77389510c1f19dcd6f54
tree1a7c5ba522fa053fd4b7764ed72583108eb2c448
parent02f97bdc63c28f060a92a15bf9f1318a70f7ab4e
habanalabs: replace armcp with the generic cpucp

ArmCP mandates that the device CPU is always an ARM processor, which might
be wrong in the future.

Most of this change is an internal renaming of variables, functions and
defines but there are two entries in sysfs which have armcp in their
names. Add identical cpucp entries but don't remove yet the armcp entries.
Those will be deprecated next year. Add the documentation about it in sysfs
documentation.

Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
16 files changed:
Documentation/ABI/testing/sysfs-driver-habanalabs
drivers/misc/habanalabs/common/debugfs.c
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/firmware_if.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/habanalabs_ioctl.c
drivers/misc/habanalabs/common/hwmon.c
drivers/misc/habanalabs/common/irq.c
drivers/misc/habanalabs/common/sysfs.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/gaudi/gaudiP.h
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/goya/goyaP.h
drivers/misc/habanalabs/include/common/armcp_if.h [deleted file]
drivers/misc/habanalabs/include/common/cpucp_if.h [new file with mode: 0644]
include/uapi/misc/habanalabs.h