diff options
author | Thor Thayer <tthayer@opensource.altera.com> | 2016-06-07 15:35:57 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-06-08 13:23:01 +0200 |
commit | 13ab8448d2c9fbb3e0427cb5332f5ddbdf3ffc2a (patch) | |
tree | 00c1840c57bd4f8f68d1e5f5878d539ba2777867 /drivers/edac/altera_edac.h | |
parent | 47d78000eb812643a4c5bd0151af8ee427f89493 (diff) | |
download | linux-13ab8448d2c9fbb3e0427cb5332f5ddbdf3ffc2a.tar.bz2 |
EDAC, altera: Add ECC Manager IRQ controller support
To better support child devices, the ECC manager needs to be
implemented as an IRQ controller.
Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1465331757-10227-1-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/altera_edac.h')
-rw-r--r-- | drivers/edac/altera_edac.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/edac/altera_edac.h b/drivers/edac/altera_edac.h index 42090f36ba6e..62b0fa010f95 100644 --- a/drivers/edac/altera_edac.h +++ b/drivers/edac/altera_edac.h @@ -295,8 +295,7 @@ struct edac_device_prv_data { int ce_set_mask; int ue_set_mask; int set_err_ofst; - irqreturn_t (*ecc_irq_handler)(struct altr_edac_device_dev *dci, - bool sb); + irqreturn_t (*ecc_irq_handler)(int irq, void *dev_id); int trig_alloc_sz; const struct file_operations *inject_fops; }; @@ -320,6 +319,8 @@ struct altr_arria10_edac { struct regmap *ecc_mgr_map; int sb_irq; int db_irq; + struct irq_domain *domain; + struct irq_chip irq_chip; struct list_head a10_ecc_devices; }; |