Merge tag 'mvebu-irqchip-fixes-3.13' of git://git.infradead.org/linux-mvebu into irq/core
mvebu irqchip fixes for v3.13 - armada-370-xp - fix races is MSI and IPI
This commit is contained in:
@@ -381,7 +381,7 @@ armada_370_xp_handle_irq(struct pt_regs *regs)
|
|||||||
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS)
|
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS)
|
||||||
& PCI_MSI_DOORBELL_MASK;
|
& PCI_MSI_DOORBELL_MASK;
|
||||||
|
|
||||||
writel(~PCI_MSI_DOORBELL_MASK, per_cpu_int_base +
|
writel(~msimask, per_cpu_int_base +
|
||||||
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS);
|
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS);
|
||||||
|
|
||||||
for (msinr = PCI_MSI_DOORBELL_START;
|
for (msinr = PCI_MSI_DOORBELL_START;
|
||||||
@@ -407,7 +407,7 @@ armada_370_xp_handle_irq(struct pt_regs *regs)
|
|||||||
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS)
|
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS)
|
||||||
& IPI_DOORBELL_MASK;
|
& IPI_DOORBELL_MASK;
|
||||||
|
|
||||||
writel(~IPI_DOORBELL_MASK, per_cpu_int_base +
|
writel(~ipimask, per_cpu_int_base +
|
||||||
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS);
|
ARMADA_370_XP_IN_DRBEL_CAUSE_OFFS);
|
||||||
|
|
||||||
/* Handle all pending doorbells */
|
/* Handle all pending doorbells */
|
||||||
|
Reference in New Issue
Block a user