| .. | .. |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | config UEVENT_HELPER |
|---|
| 5 | 5 | bool "Support for uevent helper" |
|---|
| 6 | | - default y |
|---|
| 7 | 6 | help |
|---|
| 8 | 7 | The uevent helper program is forked by the kernel for |
|---|
| 9 | 8 | every uevent. |
|---|
| .. | .. |
|---|
| 149 | 148 | unusable. You should say N here unless you are explicitly looking to |
|---|
| 150 | 149 | test this functionality. |
|---|
| 151 | 150 | |
|---|
| 151 | +config PM_QOS_KUNIT_TEST |
|---|
| 152 | + bool "KUnit Test for PM QoS features" if !KUNIT_ALL_TESTS |
|---|
| 153 | + depends on KUNIT=y |
|---|
| 154 | + default KUNIT_ALL_TESTS |
|---|
| 155 | + |
|---|
| 156 | +config HMEM_REPORTING |
|---|
| 157 | + bool |
|---|
| 158 | + default n |
|---|
| 159 | + depends on NUMA |
|---|
| 160 | + help |
|---|
| 161 | + Enable reporting for heterogenous memory access attributes under |
|---|
| 162 | + their non-uniform memory nodes. |
|---|
| 163 | + |
|---|
| 152 | 164 | source "drivers/base/test/Kconfig" |
|---|
| 153 | 165 | |
|---|
| 154 | 166 | config SYS_HYPERVISOR |
|---|
| .. | .. |
|---|
| 192 | 204 | lockup related problems for dma-buffers shared across multiple |
|---|
| 193 | 205 | devices. |
|---|
| 194 | 206 | |
|---|
| 195 | | -config DMA_CMA |
|---|
| 196 | | - bool "DMA Contiguous Memory Allocator" |
|---|
| 197 | | - depends on HAVE_DMA_CONTIGUOUS && CMA |
|---|
| 198 | | - help |
|---|
| 199 | | - This enables the Contiguous Memory Allocator which allows drivers |
|---|
| 200 | | - to allocate big physically-contiguous blocks of memory for use with |
|---|
| 201 | | - hardware components that do not support I/O map nor scatter-gather. |
|---|
| 202 | | - |
|---|
| 203 | | - You can disable CMA by specifying "cma=0" on the kernel's command |
|---|
| 204 | | - line. |
|---|
| 205 | | - |
|---|
| 206 | | - For more information see <include/linux/dma-contiguous.h>. |
|---|
| 207 | | - If unsure, say "n". |
|---|
| 208 | | - |
|---|
| 209 | | -if DMA_CMA |
|---|
| 210 | | -comment "Default contiguous memory area size:" |
|---|
| 211 | | - |
|---|
| 212 | | -config CMA_SIZE_MBYTES |
|---|
| 213 | | - int "Size in Mega Bytes" |
|---|
| 214 | | - depends on !CMA_SIZE_SEL_PERCENTAGE |
|---|
| 215 | | - default 0 if X86 |
|---|
| 216 | | - default 16 |
|---|
| 217 | | - help |
|---|
| 218 | | - Defines the size (in MiB) of the default memory area for Contiguous |
|---|
| 219 | | - Memory Allocator. If the size of 0 is selected, CMA is disabled by |
|---|
| 220 | | - default, but it can be enabled by passing cma=size[MG] to the kernel. |
|---|
| 221 | | - |
|---|
| 222 | | - |
|---|
| 223 | | -config CMA_SIZE_PERCENTAGE |
|---|
| 224 | | - int "Percentage of total memory" |
|---|
| 225 | | - depends on !CMA_SIZE_SEL_MBYTES |
|---|
| 226 | | - default 0 if X86 |
|---|
| 227 | | - default 10 |
|---|
| 228 | | - help |
|---|
| 229 | | - Defines the size of the default memory area for Contiguous Memory |
|---|
| 230 | | - Allocator as a percentage of the total memory in the system. |
|---|
| 231 | | - If 0 percent is selected, CMA is disabled by default, but it can be |
|---|
| 232 | | - enabled by passing cma=size[MG] to the kernel. |
|---|
| 233 | | - |
|---|
| 234 | | -choice |
|---|
| 235 | | - prompt "Selected region size" |
|---|
| 236 | | - default CMA_SIZE_SEL_MBYTES |
|---|
| 237 | | - |
|---|
| 238 | | -config CMA_SIZE_SEL_MBYTES |
|---|
| 239 | | - bool "Use mega bytes value only" |
|---|
| 240 | | - |
|---|
| 241 | | -config CMA_SIZE_SEL_PERCENTAGE |
|---|
| 242 | | - bool "Use percentage value only" |
|---|
| 243 | | - |
|---|
| 244 | | -config CMA_SIZE_SEL_MIN |
|---|
| 245 | | - bool "Use lower value (minimum)" |
|---|
| 246 | | - |
|---|
| 247 | | -config CMA_SIZE_SEL_MAX |
|---|
| 248 | | - bool "Use higher value (maximum)" |
|---|
| 249 | | - |
|---|
| 250 | | -endchoice |
|---|
| 251 | | - |
|---|
| 252 | | -config CMA_ALIGNMENT |
|---|
| 253 | | - int "Maximum PAGE_SIZE order of alignment for contiguous buffers" |
|---|
| 254 | | - range 0 12 |
|---|
| 255 | | - default 8 |
|---|
| 256 | | - help |
|---|
| 257 | | - DMA mapping framework by default aligns all buffers to the smallest |
|---|
| 258 | | - PAGE_SIZE order which is greater than or equal to the requested buffer |
|---|
| 259 | | - size. This works well for buffers up to a few hundreds kilobytes, but |
|---|
| 260 | | - for larger buffers it just a memory waste. With this parameter you can |
|---|
| 261 | | - specify the maximum PAGE_SIZE order for contiguous buffers. Larger |
|---|
| 262 | | - buffers will be aligned only to this specified order. The order is |
|---|
| 263 | | - expressed as a power of two multiplied by the PAGE_SIZE. |
|---|
| 264 | | - |
|---|
| 265 | | - For example, if your system defaults to 4KiB pages, the order value |
|---|
| 266 | | - of 8 means that the buffers will be aligned up to 1MiB only. |
|---|
| 267 | | - |
|---|
| 268 | | - If unsure, leave the default value "8". |
|---|
| 269 | | - |
|---|
| 270 | | -endif |
|---|
| 271 | | - |
|---|
| 272 | 207 | config GENERIC_ARCH_TOPOLOGY |
|---|
| 273 | 208 | bool |
|---|
| 274 | 209 | help |
|---|
| 275 | 210 | Enable support for architectures common topology code: e.g., parsing |
|---|
| 276 | 211 | CPU capacity information from DT, usage of such information for |
|---|
| 277 | | - appropriate scaling, sysfs interface for changing capacity values at |
|---|
| 212 | + appropriate scaling, sysfs interface for reading capacity values at |
|---|
| 278 | 213 | runtime. |
|---|
| 279 | 214 | |
|---|
| 280 | 215 | endmenu |
|---|