Kconfig (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | Kconfig (09f8a6db20e6ed8eab1b2b23d09d2458f6e15062) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2config XTENSA 3 def_bool y 4 select ARCH_32BIT_OFF_T 5 select ARCH_HAS_BINFMT_FLAT if !MMU 6 select ARCH_HAS_SYNC_DMA_FOR_CPU 7 select ARCH_HAS_SYNC_DMA_FOR_DEVICE 8 select ARCH_NO_COHERENT_DMA_MMAP if !MMU --- 371 unchanged lines hidden (view full) --- 380 register windows of a calling userspace task onto its stack. 381 382 This syscall is deprecated. It may have issues when called with 383 invalid arguments. It is provided only for backwards compatibility. 384 Only enable it if your userspace software requires it. 385 386 If unsure, say N. 387 | 1# SPDX-License-Identifier: GPL-2.0 2config XTENSA 3 def_bool y 4 select ARCH_32BIT_OFF_T 5 select ARCH_HAS_BINFMT_FLAT if !MMU 6 select ARCH_HAS_SYNC_DMA_FOR_CPU 7 select ARCH_HAS_SYNC_DMA_FOR_DEVICE 8 select ARCH_NO_COHERENT_DMA_MMAP if !MMU --- 371 unchanged lines hidden (view full) --- 380 register windows of a calling userspace task onto its stack. 381 382 This syscall is deprecated. It may have issues when called with 383 invalid arguments. It is provided only for backwards compatibility. 384 Only enable it if your userspace software requires it. 385 386 If unsure, say N. 387 |
388config USER_ABI_CALL0 389 bool 390 391choice 392 prompt "Userspace ABI" 393 default USER_ABI_DEFAULT 394 help 395 Select supported userspace ABI. 396 397 If unsure, choose the default ABI. 398 399config USER_ABI_DEFAULT 400 bool "Default ABI only" 401 help 402 Assume default userspace ABI. For XEA2 cores it is windowed ABI. 403 call0 ABI binaries may be run on such kernel, but signal delivery 404 will not work correctly for them. 405 406config USER_ABI_CALL0_ONLY 407 bool "Call0 ABI only" 408 select USER_ABI_CALL0 409 help 410 Select this option to support only call0 ABI in userspace. 411 Windowed ABI binaries will crash with a segfault caused by 412 an illegal instruction exception on the first 'entry' opcode. 413 414 Choose this option if you're planning to run only user code 415 built with call0 ABI. 416 417config USER_ABI_CALL0_PROBE 418 bool "Support both windowed and call0 ABI by probing" 419 select USER_ABI_CALL0 420 help 421 Select this option to support both windowed and call0 userspace 422 ABIs. When enabled all processes are started with PS.WOE disabled 423 and a fast user exception handler for an illegal instruction is 424 used to turn on PS.WOE bit on the first 'entry' opcode executed by 425 the userspace. 426 427 This option should be enabled for the kernel that must support 428 both call0 and windowed ABIs in userspace at the same time. 429 430 Note that Xtensa ISA does not guarantee that entry opcode will 431 raise an illegal instruction exception on cores with XEA2 when 432 PS.WOE is disabled, check whether the target core supports it. 433 434endchoice 435 |
|
388endmenu 389 390config XTENSA_CALIBRATE_CCOUNT 391 def_bool n 392 help 393 On some platforms (XT2000, for example), the CPU clock rate can 394 vary. The frequency can be determined, however, by measuring 395 against a well known, fixed frequency, such as an UART oscillator. --- 186 unchanged lines hidden --- | 436endmenu 437 438config XTENSA_CALIBRATE_CCOUNT 439 def_bool n 440 help 441 On some platforms (XT2000, for example), the CPU clock rate can 442 vary. The frequency can be determined, however, by measuring 443 against a well known, fixed frequency, such as an UART oscillator. --- 186 unchanged lines hidden --- |