linux/arch/arm/mach-mvebu
Gregory CLEMENT dc4910d9e9 ARM: mvebu: Fix kernel hang in mvebu_soc_id_init() when of_iomap failed
When pci_base is accessed whereas it has not been properly mapped by
of_iomap() the kernel hang. The check of this pointer made an improper
use of IS_ERR() instead of comparing to NULL. This patch fix this
issue.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: stable@vger.kernel.org # v3.12+: af8d1c63af: ARM: mvebu: Add support to get the ID and the revision of a SoC
Cc: stable@vger.kernel.org # v3.12+: 85e618a1be: ARM: mvebu: Add quirk for i2c for the OpenBlocks AX3-4 board
Cc: stable@vger.kernel.org # v3.12+: 6cf70ae928: i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs
Cc: stable@vger.kernel.org # v3.12+: f8b94beb7e: i2c: mv64xxx: Document the newly introduced Armada XP A0 compatible
Cc: stable@vger.kernel.org # v3.12+
Fixes: 930ab3d403 (i2c: mv64xxx: Add I2C Transaction Generator support)
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-01-20 20:11:46 +00:00
..
include/mach Merge branch 'kirkwood/drivers' of git://git.infradead.org/users/jcooper/linux into late/kirkwood 2012-09-22 14:23:11 -07:00
armada-370-xp.c ARM: mvebu: Add quirk for i2c for the OpenBlocks AX3-4 board 2014-01-14 02:00:01 +00:00
armada-370-xp.h arm: mvebu: don't hardcode the physical address for mvebu-mbus 2013-06-13 17:48:46 +00:00
coherency_ll.S ARM: mvebu: support running big-endian 2013-10-19 20:46:34 +01:00
coherency.c ARM: mvebu: add missing of_node_put() to fix reference leak 2013-09-18 16:40:53 +00:00
coherency.h arm: mvebu: remove dependency of SMP init on static I/O mapping 2013-06-13 17:48:13 +00:00
common.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
headsmp.S ARM: mvebu: support running big-endian 2013-10-19 20:46:34 +01:00
hotplug.c arm: mvebu: Add SMP support for Armada XP 2012-11-21 16:49:38 +01:00
Kconfig ARM: mvebu: support running big-endian 2013-10-19 20:46:34 +01:00
Makefile ARM: mvebu: Add support to get the ID and the revision of a SoC 2014-01-14 01:59:16 +00:00
mvebu-soc-id.c ARM: mvebu: Fix kernel hang in mvebu_soc_id_init() when of_iomap failed 2014-01-20 20:11:46 +00:00
mvebu-soc-id.h ARM: mvebu: Add support to get the ID and the revision of a SoC 2014-01-14 01:59:16 +00:00
platsmp.c ARM: SoC platform changes for 3.12 2013-09-06 13:30:06 -07:00
pmsu.c ARM: mvebu: add missing of_node_put() to fix reference leak 2013-09-18 16:40:53 +00:00
pmsu.h arm: mvebu: Add initial support for power managmement service unit 2012-11-21 16:49:36 +01:00
system-controller.c ARM: mvebu: add missing of_node_put() to fix reference leak 2013-09-18 16:40:53 +00:00