[PATCH 0/3] Fix boot on Calxeda highbank

From: Sjoerd Simons
Date: Mon May 11 2015 - 18:18:12 EST


When upgrading our trusted Calxeda server to Debian Jessie recently the machine
wedged during booting the installer. Upon further investigation, this happens
due to the transition to the generic L2C infrastructure introduced in 3.16. The
generic l2x0 code unlocks the cache during setup, however the Caldexa SMC
interface doesn't seem to allow the kernel to enable enable non-secure access
to the lock registers.. Queue Imprecise aborts and a fairly unhappy machine.

First patch in this series adds a flag to indicate to the l2x0 code the
unlocking should be skipped, second patch turns that flag on for mach-highbank,
fixing this issue. Third patch adds a (empty) configure callback for the
highbank l2c, reflecting the fact that there seeminglyisn't anything to
configured via an SMC on these maches.

Sjoerd Simons (3):
ARM: cache-l2c: Add flag to skip cache unlocking
ARM: l2c: highbank: Skip l2c unlocking
ARM: l2c: highbank: Add dummy configure function

arch/arm/include/asm/outercache.h | 1 +
arch/arm/mach-highbank/highbank.c | 9 +++++++++
arch/arm/mm/cache-l2x0.c | 4 +++-
3 files changed, 13 insertions(+), 1 deletion(-)

--
2.1.4

--
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/