diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-10-14 16:23:03 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-10-15 15:38:09 -0400 |
commit | a78c942df64ef4cf495fd4d8715e48501bd7f8a4 (patch) | |
tree | fe44212d36e6ca23dbe9f2c633824389216a3d1d /arch/tile/Kconfig | |
parent | bf65e440e8248f22b2eacf8d47961bb9d52260f7 (diff) |
arch/tile: parameterize system PLs to support KVM port
While not a port to KVM (yet), this change modifies the kernel
to be able to build either at PL1 or at PL2 with a suitable
config switch. Pushing up this change avoids handling branch
merge issues going forward with the KVM work.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/Kconfig')
-rw-r--r-- | arch/tile/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index 2361e3e80bd5..89cfee07efa9 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
@@ -96,6 +96,7 @@ config HVC_TILE | |||
96 | 96 | ||
97 | config TILE | 97 | config TILE |
98 | def_bool y | 98 | def_bool y |
99 | select HAVE_KVM if !TILEGX | ||
99 | select GENERIC_FIND_FIRST_BIT | 100 | select GENERIC_FIND_FIRST_BIT |
100 | select GENERIC_FIND_NEXT_BIT | 101 | select GENERIC_FIND_NEXT_BIT |
101 | select USE_GENERIC_SMP_HELPERS | 102 | select USE_GENERIC_SMP_HELPERS |
@@ -314,6 +315,15 @@ config HARDWALL | |||
314 | bool "Hardwall support to allow access to user dynamic network" | 315 | bool "Hardwall support to allow access to user dynamic network" |
315 | default y | 316 | default y |
316 | 317 | ||
318 | config KERNEL_PL | ||
319 | int "Processor protection level for kernel" | ||
320 | range 1 2 | ||
321 | default "1" | ||
322 | ---help--- | ||
323 | This setting determines the processor protection level the | ||
324 | kernel will be built to run at. Generally you should use | ||
325 | the default value here. | ||
326 | |||
317 | endmenu # Tilera-specific configuration | 327 | endmenu # Tilera-specific configuration |
318 | 328 | ||
319 | menu "Bus options" | 329 | menu "Bus options" |
@@ -354,3 +364,5 @@ source "security/Kconfig" | |||
354 | source "crypto/Kconfig" | 364 | source "crypto/Kconfig" |
355 | 365 | ||
356 | source "lib/Kconfig" | 366 | source "lib/Kconfig" |
367 | |||
368 | source "arch/tile/kvm/Kconfig" | ||