@@ -253,31 +253,31 @@ config ARM64_CONT_PMD_SHIFT
253
253
default 4
254
254
255
255
config ARCH_MMAP_RND_BITS_MIN
256
- default 14 if ARM64_64K_PAGES
257
- default 16 if ARM64_16K_PAGES
258
- default 18
256
+ default 14 if ARM64_64K_PAGES
257
+ default 16 if ARM64_16K_PAGES
258
+ default 18
259
259
260
260
# max bits determined by the following formula:
261
261
# VA_BITS - PAGE_SHIFT - 3
262
262
config ARCH_MMAP_RND_BITS_MAX
263
- default 19 if ARM64_VA_BITS=36
264
- default 24 if ARM64_VA_BITS=39
265
- default 27 if ARM64_VA_BITS=42
266
- default 30 if ARM64_VA_BITS=47
267
- default 29 if ARM64_VA_BITS=48 && ARM64_64K_PAGES
268
- default 31 if ARM64_VA_BITS=48 && ARM64_16K_PAGES
269
- default 33 if ARM64_VA_BITS=48
270
- default 14 if ARM64_64K_PAGES
271
- default 16 if ARM64_16K_PAGES
272
- default 18
263
+ default 19 if ARM64_VA_BITS=36
264
+ default 24 if ARM64_VA_BITS=39
265
+ default 27 if ARM64_VA_BITS=42
266
+ default 30 if ARM64_VA_BITS=47
267
+ default 29 if ARM64_VA_BITS=48 && ARM64_64K_PAGES
268
+ default 31 if ARM64_VA_BITS=48 && ARM64_16K_PAGES
269
+ default 33 if ARM64_VA_BITS=48
270
+ default 14 if ARM64_64K_PAGES
271
+ default 16 if ARM64_16K_PAGES
272
+ default 18
273
273
274
274
config ARCH_MMAP_RND_COMPAT_BITS_MIN
275
- default 7 if ARM64_64K_PAGES
276
- default 9 if ARM64_16K_PAGES
277
- default 11
275
+ default 7 if ARM64_64K_PAGES
276
+ default 9 if ARM64_16K_PAGES
277
+ default 11
278
278
279
279
config ARCH_MMAP_RND_COMPAT_BITS_MAX
280
- default 16
280
+ default 16
281
281
282
282
config NO_IOPORT_MAP
283
283
def_bool y if !PCI
@@ -304,7 +304,7 @@ config GENERIC_HWEIGHT
304
304
def_bool y
305
305
306
306
config GENERIC_CSUM
307
- def_bool y
307
+ def_bool y
308
308
309
309
config GENERIC_CALIBRATE_DELAY
310
310
def_bool y
@@ -1037,8 +1037,7 @@ config SOCIONEXT_SYNQUACER_PREITS
1037
1037
1038
1038
If unsure, say Y.
1039
1039
1040
- endmenu
1041
-
1040
+ endmenu # "ARM errata workarounds via the alternatives framework"
1042
1041
1043
1042
choice
1044
1043
prompt "Page size"
@@ -1566,9 +1565,9 @@ config SETEND_EMULATION
1566
1565
be unexpected results in the applications.
1567
1566
1568
1567
If unsure, say Y
1569
- endif
1568
+ endif # ARMV8_DEPRECATED
1570
1569
1571
- endif
1570
+ endif # COMPAT
1572
1571
1573
1572
menu "ARMv8.1 architectural features"
1574
1573
@@ -1593,15 +1592,15 @@ config ARM64_PAN
1593
1592
bool "Enable support for Privileged Access Never (PAN)"
1594
1593
default y
1595
1594
help
1596
- Privileged Access Never (PAN; part of the ARMv8.1 Extensions)
1597
- prevents the kernel or hypervisor from accessing user-space (EL0)
1598
- memory directly.
1595
+ Privileged Access Never (PAN; part of the ARMv8.1 Extensions)
1596
+ prevents the kernel or hypervisor from accessing user-space (EL0)
1597
+ memory directly.
1599
1598
1600
- Choosing this option will cause any unprotected (not using
1601
- copy_to_user et al) memory access to fail with a permission fault.
1599
+ Choosing this option will cause any unprotected (not using
1600
+ copy_to_user et al) memory access to fail with a permission fault.
1602
1601
1603
- The feature is detected at runtime, and will remain as a 'nop'
1604
- instruction if the cpu does not implement the feature.
1602
+ The feature is detected at runtime, and will remain as a 'nop'
1603
+ instruction if the cpu does not implement the feature.
1605
1604
1606
1605
config AS_HAS_LDAPR
1607
1606
def_bool $(as-instr,.arch_extension rcpc)
@@ -1629,15 +1628,15 @@ config ARM64_USE_LSE_ATOMICS
1629
1628
built with binutils >= 2.25 in order for the new instructions
1630
1629
to be used.
1631
1630
1632
- endmenu
1631
+ endmenu # "ARMv8.1 architectural features"
1633
1632
1634
1633
menu "ARMv8.2 architectural features"
1635
1634
1636
1635
config AS_HAS_ARMV8_2
1637
- def_bool $(cc-option,-Wa$(comma)-march=armv8.2-a)
1636
+ def_bool $(cc-option,-Wa$(comma)-march=armv8.2-a)
1638
1637
1639
1638
config AS_HAS_SHA3
1640
- def_bool $(as-instr,.arch armv8.2-a+sha3)
1639
+ def_bool $(as-instr,.arch armv8.2-a+sha3)
1641
1640
1642
1641
config ARM64_PMEM
1643
1642
bool "Enable support for persistent memory"
@@ -1681,7 +1680,7 @@ config ARM64_CNP
1681
1680
at runtime, and does not affect PEs that do not implement
1682
1681
this feature.
1683
1682
1684
- endmenu
1683
+ endmenu # "ARMv8.2 architectural features"
1685
1684
1686
1685
menu "ARMv8.3 architectural features"
1687
1686
@@ -1744,7 +1743,7 @@ config AS_HAS_PAC
1744
1743
config AS_HAS_CFI_NEGATE_RA_STATE
1745
1744
def_bool $(as-instr,.cfi_startproc\n.cfi_negate_ra_state\n.cfi_endproc\n)
1746
1745
1747
- endmenu
1746
+ endmenu # "ARMv8.3 architectural features"
1748
1747
1749
1748
menu "ARMv8.4 architectural features"
1750
1749
@@ -1785,7 +1784,7 @@ config ARM64_TLB_RANGE
1785
1784
The feature introduces new assembly instructions, and they were
1786
1785
support when binutils >= 2.30.
1787
1786
1788
- endmenu
1787
+ endmenu # "ARMv8.4 architectural features"
1789
1788
1790
1789
menu "ARMv8.5 architectural features"
1791
1790
@@ -1892,7 +1891,7 @@ config ARM64_MTE
1892
1891
1893
1892
Documentation/arm64/memory-tagging-extension.rst.
1894
1893
1895
- endmenu
1894
+ endmenu # "ARMv8.5 architectural features"
1896
1895
1897
1896
menu "ARMv8.7 architectural features"
1898
1897
@@ -1901,12 +1900,12 @@ config ARM64_EPAN
1901
1900
default y
1902
1901
depends on ARM64_PAN
1903
1902
help
1904
- Enhanced Privileged Access Never (EPAN) allows Privileged
1905
- Access Never to be used with Execute-only mappings.
1903
+ Enhanced Privileged Access Never (EPAN) allows Privileged
1904
+ Access Never to be used with Execute-only mappings.
1906
1905
1907
- The feature is detected at runtime, and will remain disabled
1908
- if the cpu does not implement the feature.
1909
- endmenu
1906
+ The feature is detected at runtime, and will remain disabled
1907
+ if the cpu does not implement the feature.
1908
+ endmenu # "ARMv8.7 architectural features"
1910
1909
1911
1910
config ARM64_SVE
1912
1911
bool "ARM Scalable Vector Extension support"
@@ -1982,7 +1981,7 @@ config ARM64_DEBUG_PRIORITY_MASKING
1982
1981
the validity of ICC_PMR_EL1 when calling concerned functions.
1983
1982
1984
1983
If unsure, say N
1985
- endif
1984
+ endif # ARM64_PSEUDO_NMI
1986
1985
1987
1986
config RELOCATABLE
1988
1987
bool "Build a relocatable kernel image" if EXPERT
@@ -2053,7 +2052,7 @@ config ARCH_NR_GPIO
2053
2052
2054
2053
If unsure, leave the default value.
2055
2054
2056
- endmenu
2055
+ endmenu # "Kernel Features"
2057
2056
2058
2057
menu "Boot options"
2059
2058
@@ -2117,7 +2116,7 @@ config EFI
2117
2116
help
2118
2117
This option provides support for runtime services provided
2119
2118
by UEFI firmware (such as non-volatile variables, realtime
2120
- clock, and platform reset). A UEFI stub is also provided to
2119
+ clock, and platform reset). A UEFI stub is also provided to
2121
2120
allow the kernel to be booted as an EFI application. This
2122
2121
is only useful on systems that have UEFI firmware.
2123
2122
@@ -2132,7 +2131,7 @@ config DMI
2132
2131
However, even with this option, the resultant kernel should
2133
2132
continue to boot on existing non-UEFI platforms.
2134
2133
2135
- endmenu
2134
+ endmenu # "Boot options"
2136
2135
2137
2136
config SYSVIPC_COMPAT
2138
2137
def_bool y
@@ -2153,20 +2152,20 @@ config ARCH_HIBERNATION_HEADER
2153
2152
config ARCH_SUSPEND_POSSIBLE
2154
2153
def_bool y
2155
2154
2156
- endmenu
2155
+ endmenu # "Power management options"
2157
2156
2158
2157
menu "CPU Power Management"
2159
2158
2160
2159
source "drivers/cpuidle/Kconfig"
2161
2160
2162
2161
source "drivers/cpufreq/Kconfig"
2163
2162
2164
- endmenu
2163
+ endmenu # "CPU Power Management"
2165
2164
2166
2165
source "drivers/acpi/Kconfig"
2167
2166
2168
2167
source "arch/arm64/kvm/Kconfig"
2169
2168
2170
2169
if CRYPTO
2171
2170
source "arch/arm64/crypto/Kconfig"
2172
- endif
2171
+ endif # CRYPTO
0 commit comments