diff options
| author | Puja Gupta <pujag@codeaurora.org> | 2015-11-16 18:21:59 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:16:21 -0700 |
| commit | 35012c464e303e89f2fdf72589b2ae4a6b993bfe (patch) | |
| tree | 057211364d372672e612fd383baa4b147f0e8ae7 /include | |
| parent | 7581cb300a62a48dba58de74112177562e878e11 (diff) | |
soc: qcom: Add generic irq handler for secure processor
This patch adds the code to handle watchdog, err_ready and other
interrupts from secure processor subsystem to the PIL driver.
CRs-Fixed: 972423
Change-Id: I65455229ee14bd4da357358ac3977f2137f3c07e
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/soc/qcom/subsystem_restart.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/qcom/subsystem_restart.h b/include/soc/qcom/subsystem_restart.h index 8b878bc897ef..0331c10f958e 100644 --- a/include/soc/qcom/subsystem_restart.h +++ b/include/soc/qcom/subsystem_restart.h @@ -66,12 +66,14 @@ struct subsys_desc { irqreturn_t (*err_fatal_handler) (int irq, void *dev_id); irqreturn_t (*stop_ack_handler) (int irq, void *dev_id); irqreturn_t (*wdog_bite_handler) (int irq, void *dev_id); + irqreturn_t (*generic_handler)(int irq, void *dev_id); int is_not_loadable; int err_fatal_gpio; unsigned int err_fatal_irq; unsigned int err_ready_irq; unsigned int stop_ack_irq; unsigned int wdog_bite_irq; + unsigned int generic_irq; int force_stop_gpio; int ramdump_disable_gpio; int shutdown_ack_gpio; @@ -120,6 +122,7 @@ extern void subsys_set_crash_status(struct subsys_device *dev, bool crashed); extern bool subsys_get_crash_status(struct subsys_device *dev); void notify_proxy_vote(struct device *device); void notify_proxy_unvote(struct device *device); +void complete_err_ready(struct subsys_device *subsys); extern int wait_for_shutdown_ack(struct subsys_desc *desc); #else |
