linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: Do not mess with CCI if booted from HYP
@ 2016-09-20 14:13 Marc Zyngier
  2016-09-20 14:13 ` [PATCH 1/2] ARM: vexpress: Do not enable MCPM " Marc Zyngier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marc Zyngier @ 2016-09-20 14:13 UTC (permalink / raw)
  To: linux-arm-kernel

Some systems (such as the VExpress TC2) are built around a CCI-400,
which is only accessible from secure mode. This obviously breaks if
the system is booted in non-secure mode. Detecting non-secure is
pretty hard to do, unless the system is booted from HYP.

This small patch series makes sure that:
- The CCI ports are not accessed when the kernel is booted from HYP
- MCPM (which depends on CCI) is not enabled on VExpress if booted
from HYP.

This allows a multi_v7_defconfig kernel to be booted on a TC2 booting
from HYP, instead of miserably dying very early on.

Marc Zyngier (2):
  ARM: vexpress: Do not enable MCPM if booted from HYP
  arm-cci: Do not probe the CCI ports if booted from HYP

 arch/arm/mach-vexpress/platsmp.c |  8 ++++++--
 drivers/bus/arm-cci.c            | 11 +++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2016-09-23 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 14:13 [PATCH 0/2] ARM: Do not mess with CCI if booted from HYP Marc Zyngier
2016-09-20 14:13 ` [PATCH 1/2] ARM: vexpress: Do not enable MCPM " Marc Zyngier
2016-09-20 14:13 ` [PATCH 2/2] arm-cci: Do not probe the CCI ports " Marc Zyngier
2016-09-23 10:29 ` [PATCH 0/2] ARM: Do not mess with CCI " Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).