linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Detect presence of LPAE when not running an LPAE kernel?
@ 2013-10-03 19:43 Ian Campbell
  2013-10-03 20:07 ` Russell King - ARM Linux
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Campbell @ 2013-10-03 19:43 UTC (permalink / raw)
  To: linux-arm-kernel

Is this possible?

The Features field of /proc/cpuinfo only appears to reflect the presence
of LPAE if CONFIG_LPAE is actually on in the running kernel.

The reason I care is so that distro installers can ship a generic kernel
but select LPAE for the running system when appropriate.

On x86 for example I would check /proc/cpuinfo:flags which contains the
CPU features, regardless of whether they are currently enabled.

Is there any equivalent on ARM?

Ian.

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

end of thread, other threads:[~2013-10-04 16:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 19:43 Detect presence of LPAE when not running an LPAE kernel? Ian Campbell
2013-10-03 20:07 ` Russell King - ARM Linux
2013-10-04  7:15   ` Ian Campbell
2013-10-04 16:09     ` Will Deacon
2013-10-04 16:23       ` Ian Campbell
2013-10-04 16:26         ` Will Deacon
2013-10-04 16:34           ` Ian Campbell

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).