[PATCH for v3.16] ARM: mvebu: Fix coherency bus notifiers by using separate notifiers

Jason Cooper jason at lakedaemon.net
Tue Jul 8 06:59:16 PDT 2014


On Tue, Jul 08, 2014 at 10:37:37AM -0300, Ezequiel Garcia wrote:
> Currently, the coherency fabric support registers two bus notifiers;
> one for platform, one for pci bus types, with the same notifier block.
> However, this is illegal and can cause serious issues: the notifier
> block is also a link in the notifier list and cannot be inserted twice.
> 
> This commit fixes this by using different notifier blocks (with the same
> notifier callback) to set the platform and pci bus types notifiers.
> 
> Fixes: b0063aad5dd8 ("ARM: mvebu: use hardware I/O coherency also for PCI devices")
> Reported-by: Paolo Pisati <p.pisati at gmail.com>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
> ---
>  arch/arm/mach-mvebu/coherency.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Applied to mvebu/fixes

thx,

Jason.



More information about the linux-arm-kernel mailing list