Re: [PATCH] irqchip: tegra: fix wrong data being passed as the irqdomain chip data

From: Stephen Warren
Date: Wed May 13 2015 - 18:18:19 EST


On 05/09/2015 02:06 PM, Lucas Stach wrote:
The irq chip functions use the irq chipdata directly as the base register
address of the controller, so this should be passed in instead of a pointer
to the array address holding the base address.

This fixes Tegra20 CPUidle as now the un-/masking of IRQs at the LIC level
works again, but more importantly it fixes the resulting memory corruption.

Tested-by: Stephen Warren <swarren@xxxxxxxxxx>

Tested on NVIDIA Seaboard (which is affected by the bug in the default configuration/DT) with the patch applied on to of 4.1-rc3.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/