Loading drivers/irqchip/irq-gic-v3.c +23 −0 Original line number Diff line number Diff line Loading @@ -344,6 +344,29 @@ static int gic_suspend(void) return 0; } /* * gic_show_pending_irq - Shows the pending interrupts * Note: Interrupts should be disabled on the cpu from which * this is called to get accurate list of pending interrupts. */ void gic_show_pending_irqs(void) { void __iomem *base; u32 pending, enabled; unsigned int j; base = gic_data.dist_base; for (j = 0; j * 32 < gic_data.irq_nr; j++) { enabled = readl_relaxed(base + GICD_ISENABLER + j * 4); pending = readl_relaxed(base + GICD_ISPENDR + j * 4); pr_err("Pending and enabled irqs[%d] %x %x\n", j, pending, enabled); } } static void gic_show_resume_irq(struct gic_chip_data *gic) { unsigned int i; Loading include/linux/irqchip/arm-gic-v3.h +1 −0 Original line number Diff line number Diff line Loading @@ -594,6 +594,7 @@ struct rdists { }; struct irq_domain; void gic_show_pending_irqs(void); struct fwnode_handle; int its_cpu_init(void); int its_init(struct fwnode_handle *handle, struct rdists *rdists, Loading Loading
drivers/irqchip/irq-gic-v3.c +23 −0 Original line number Diff line number Diff line Loading @@ -344,6 +344,29 @@ static int gic_suspend(void) return 0; } /* * gic_show_pending_irq - Shows the pending interrupts * Note: Interrupts should be disabled on the cpu from which * this is called to get accurate list of pending interrupts. */ void gic_show_pending_irqs(void) { void __iomem *base; u32 pending, enabled; unsigned int j; base = gic_data.dist_base; for (j = 0; j * 32 < gic_data.irq_nr; j++) { enabled = readl_relaxed(base + GICD_ISENABLER + j * 4); pending = readl_relaxed(base + GICD_ISPENDR + j * 4); pr_err("Pending and enabled irqs[%d] %x %x\n", j, pending, enabled); } } static void gic_show_resume_irq(struct gic_chip_data *gic) { unsigned int i; Loading
include/linux/irqchip/arm-gic-v3.h +1 −0 Original line number Diff line number Diff line Loading @@ -594,6 +594,7 @@ struct rdists { }; struct irq_domain; void gic_show_pending_irqs(void); struct fwnode_handle; int its_cpu_init(void); int its_init(struct fwnode_handle *handle, struct rdists *rdists, Loading