Kconfig (34069d12e239ae8f36dd96c378e4622fb1c42a76) Kconfig (bd3c5798484aa9a08302a844d7a75a2ee3b53d05)
1# SPDX-License-Identifier: GPL-2.0
2config LOONGARCH
3 bool
4 default y
5 select ACPI
6 select ACPI_GENERIC_GSI if ACPI
7 select ACPI_MCFG if ACPI
8 select ACPI_PPTT if ACPI

--- 240 unchanged lines hidden (view full) ---

249 def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0)
250
251config AS_HAS_LSX_EXTENSION
252 def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0)
253
254config AS_HAS_LASX_EXTENSION
255 def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0)
256
1# SPDX-License-Identifier: GPL-2.0
2config LOONGARCH
3 bool
4 default y
5 select ACPI
6 select ACPI_GENERIC_GSI if ACPI
7 select ACPI_MCFG if ACPI
8 select ACPI_PPTT if ACPI

--- 240 unchanged lines hidden (view full) ---

249 def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0)
250
251config AS_HAS_LSX_EXTENSION
252 def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0)
253
254config AS_HAS_LASX_EXTENSION
255 def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0)
256
257config AS_HAS_LBT_EXTENSION
258 def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0)
259
257menu "Kernel type and options"
258
259source "kernel/Kconfig.hz"
260
261choice
262 prompt "Page Table Layout"
263 default 16KB_2LEVEL if 32BIT
264 default 16KB_3LEVEL if 64BIT

--- 264 unchanged lines hidden (view full) ---

529 option is enabled the kernel will support allocating & switching LASX
530 vector register contexts. If you know that your kernel will only be
531 running on CPUs which do not support LASX or that your userland will
532 not be making use of it then you may wish to say N here to reduce
533 the size & complexity of your kernel.
534
535 If unsure, say Y.
536
260menu "Kernel type and options"
261
262source "kernel/Kconfig.hz"
263
264choice
265 prompt "Page Table Layout"
266 default 16KB_2LEVEL if 32BIT
267 default 16KB_3LEVEL if 64BIT

--- 264 unchanged lines hidden (view full) ---

532 option is enabled the kernel will support allocating & switching LASX
533 vector register contexts. If you know that your kernel will only be
534 running on CPUs which do not support LASX or that your userland will
535 not be making use of it then you may wish to say N here to reduce
536 the size & complexity of your kernel.
537
538 If unsure, say Y.
539
540config CPU_HAS_LBT
541 bool "Support for the Loongson Binary Translation Extension"
542 depends on AS_HAS_LBT_EXTENSION
543 help
544 Loongson Binary Translation (LBT) introduces 4 scratch registers (SCR0
545 to SCR3), x86/ARM eflags (eflags) and x87 fpu stack pointer (ftop).
546 Enabling this option allows the kernel to allocate and switch registers
547 specific to LBT.
548
549 If you want to use this feature, such as the Loongson Architecture
550 Translator (LAT), say Y.
551
537config CPU_HAS_PREFETCH
538 bool
539 default y
540
541config KEXEC
542 bool "Kexec system call"
543 select KEXEC_CORE
544 help

--- 120 unchanged lines hidden ---
552config CPU_HAS_PREFETCH
553 bool
554 default y
555
556config KEXEC
557 bool "Kexec system call"
558 select KEXEC_CORE
559 help

--- 120 unchanged lines hidden ---