mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix boot on Calxeda highbank
@ 2015-05-11 22:17 Sjoerd Simons
  2015-05-11 22:17 ` [PATCH 1/3] ARM: cache-l2c: Add flag to skip cache unlocking Sjoerd Simons
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sjoerd Simons @ 2015-05-11 22:17 UTC (permalink / raw)
  To: Rob Herring, Russell King, Tony Lindgren
  Cc: linux-arm-kernel, linux-kernel, Javier Martinez Canillas

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-12  5:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-11 22:17 [PATCH 0/3] Fix boot on Calxeda highbank Sjoerd Simons
2015-05-11 22:17 ` [PATCH 1/3] ARM: cache-l2c: Add flag to skip cache unlocking Sjoerd Simons
2015-05-11 22:29   ` Russell King - ARM Linux
2015-05-12  5:13     ` Sjoerd Simons
2015-05-11 22:17 ` [PATCH 2/3] ARM: l2c: highbank: Skip l2c unlocking Sjoerd Simons
2015-05-11 22:17 ` [PATCH 3/3] ARM: l2c: highbank: Add dummy configure function Sjoerd Simons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®