Actually, the kernel dies because of this:
commit adaac459759db4a1fd35baddbe47bac700095496
Author: Markus Pargmann <mpa@xxxxxxxxxxxxxx>
Date: Sun Aug 30 09:33:53 2015 +0200
regmap: Introduce max_raw_read/write for regmap_bulk_read/write
There are some buses which have a limit on the maximum number of
bytes that can be send/received. An example for this is
I2C_FUNC_SMBUS_I2C_BLOCK which does not support any reads/writes of
more than 32 bytes. The regmap_bulk operations should still be able
to utilize the full 32 bytes in this case.
Signed-off-by: Markus Pargmann <mpa@xxxxxxxxxxxxxx>
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
which never considers bus to be NULL in __regmap_init. With the
following patch applied, I can boot to a prompt:
From 031eae5a1b34f952ba3dcaecb4eb4ec9d3bda352 Mon Sep 17 00:00:00 2001
From: Marc Zyngier <marc.zyngier@xxxxxxx>
Date: Mon, 31 Aug 2015 19:16:16 +0100
Subject: [PATCH] regmap: Fix max_raw_read/write handling when bus is NULL
Commit adaac459759d ("regmap: Introduce max_raw_read/write
for regmap_bulk_read/write") added new fields to regmap_bus
and started using them in __regmap_init, but failed to
consider the case where bus would be NULL, like in the
vexpress-syscgf case. The box (actually its qemu version)
ends up dying painfully.
Fix it by testing bus before doing anything else.
Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>