aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_device.h
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2022-03-14 16:09:12 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2022-03-23 13:16:25 +0100
commitf5b98c965c51def4f63d7fb198f70180e195b2e8 (patch)
treed8457be3deed68b1c729b998c0720e9a5a63ecd9 /kernel/ethosu_device.h
parent3c6a260a705a668b5ff8e8159f04c257273fb458 (diff)
downloadethos-u-linux-driver-stack-f5b98c965c51def4f63d7fb198f70180e195b2e8.tar.gz
Kernel watchdog timeout
Implement kernel watchdog that detects when firmware becomes unresponsive. Change-Id: I5c5b58a56a2ce629e1fd7cabae83b61823239ea6
Diffstat (limited to 'kernel/ethosu_device.h')
-rw-r--r--kernel/ethosu_device.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/kernel/ethosu_device.h b/kernel/ethosu_device.h
index d096e23..7d8791a 100644
--- a/kernel/ethosu_device.h
+++ b/kernel/ethosu_device.h
@@ -27,6 +27,7 @@
#include "uapi/ethosu.h"
#include "ethosu_mailbox.h"
+#include "ethosu_watchdog.h"
#include <linux/device.h>
#include <linux/cdev.h>
@@ -43,15 +44,16 @@
* struct ethosu_device - Device structure
*/
struct ethosu_device {
- struct device *dev;
- struct cdev cdev;
- struct class *class;
- dev_t devt;
- struct mutex mutex;
- struct ethosu_mailbox mailbox;
- struct list_head capabilities_list;
- struct list_head inference_list;
- struct list_head network_info_list;
+ struct device *dev;
+ struct cdev cdev;
+ struct class *class;
+ dev_t devt;
+ struct mutex mutex;
+ struct ethosu_mailbox mailbox;
+ struct ethosu_watchdog watchdog;
+ struct list_head capabilities_list;
+ struct list_head inference_list;
+ struct list_head network_info_list;
};
/**