diff options
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 41cbb4a53066..0d1b717e1eca 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -188,6 +188,9 @@ config ARCH_HAS_ILOG2_U64 | |||
188 | config ARCH_HAS_BANDGAP | 188 | config ARCH_HAS_BANDGAP |
189 | bool | 189 | bool |
190 | 190 | ||
191 | config FIX_EARLYCON_MEM | ||
192 | def_bool y if MMU | ||
193 | |||
191 | config GENERIC_HWEIGHT | 194 | config GENERIC_HWEIGHT |
192 | bool | 195 | bool |
193 | default y | 196 | default y |
@@ -1496,6 +1499,7 @@ config HOTPLUG_CPU | |||
1496 | config ARM_PSCI | 1499 | config ARM_PSCI |
1497 | bool "Support for the ARM Power State Coordination Interface (PSCI)" | 1500 | bool "Support for the ARM Power State Coordination Interface (PSCI)" |
1498 | depends on CPU_V7 | 1501 | depends on CPU_V7 |
1502 | select ARM_PSCI_FW | ||
1499 | help | 1503 | help |
1500 | Say Y here if you want Linux to communicate with system firmware | 1504 | Say Y here if you want Linux to communicate with system firmware |
1501 | implementing the PSCI specification for CPU-centric power | 1505 | implementing the PSCI specification for CPU-centric power |
@@ -1700,13 +1704,24 @@ config HIGHPTE | |||
1700 | consumed by page tables. Setting this option will allow | 1704 | consumed by page tables. Setting this option will allow |
1701 | user-space 2nd level page tables to reside in high memory. | 1705 | user-space 2nd level page tables to reside in high memory. |
1702 | 1706 | ||
1703 | config HW_PERF_EVENTS | 1707 | config CPU_SW_DOMAIN_PAN |
1704 | bool "Enable hardware performance counter support for perf events" | 1708 | bool "Enable use of CPU domains to implement privileged no-access" |
1705 | depends on PERF_EVENTS | 1709 | depends on MMU && !ARM_LPAE |
1706 | default y | 1710 | default y |
1707 | help | 1711 | help |
1708 | Enable hardware performance counter support for perf events. If | 1712 | Increase kernel security by ensuring that normal kernel accesses |
1709 | disabled, perf events will use software events only. | 1713 | are unable to access userspace addresses. This can help prevent |
1714 | use-after-free bugs becoming an exploitable privilege escalation | ||
1715 | by ensuring that magic values (such as LIST_POISON) will always | ||
1716 | fault when dereferenced. | ||
1717 | |||
1718 | CPUs with low-vector mappings use a best-efforts implementation. | ||
1719 | Their lower 1MB needs to remain accessible for the vectors, but | ||
1720 | the remainder of userspace will become appropriately inaccessible. | ||
1721 | |||
1722 | config HW_PERF_EVENTS | ||
1723 | def_bool y | ||
1724 | depends on ARM_PMU | ||
1710 | 1725 | ||
1711 | config SYS_SUPPORTS_HUGETLBFS | 1726 | config SYS_SUPPORTS_HUGETLBFS |
1712 | def_bool y | 1727 | def_bool y |