linux/drivers/misc/habanalabs
Omer Shpigelman 71731090ab habanalabs: add "in device creation" status
On init, the disabled state is cleared right before hw_init and that
causes the device to report on "Operational" state before the device
initialization is finished. Although the char device is not yet exposed
to the user at this stage, the sysfs entries are exposed.

This can cause errors in monitoring applications that use the sysfs
entries.

In order to avoid this, a new state "in device creation" is introduced
to ne reported when the device is not disabled but is still in init
flow.

Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2021-09-01 18:38:24 +03:00
..
common habanalabs: add "in device creation" status 2021-09-01 18:38:24 +03:00
gaudi habanalabs/gaudi: invalidate PMMU mem cache on init 2021-09-01 18:38:24 +03:00
goya habanalabs: modify multi-CS to wait on stream masters 2021-09-01 18:38:24 +03:00
include habanalabs: update to latest firmware headers 2021-09-01 18:38:24 +03:00
Kconfig misc/habana: Stop using frame_vector helpers 2021-01-12 14:14:53 +01:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00