mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 20:25:28 +07:00
769e47094d
- support -y option for merge_config.sh to avoid downgrading =y to =m - remove S_OTHER symbol type, and touch include/config/*.h files correctly - fix file name and line number in lexer warnings - fix memory leak when EOF is encountered in quotation - resolve all shift/reduce conflicts of the parser - warn no new line at end of file - make 'source' statement more strict to take only string literal - rewrite the lexer and remove the keyword lookup table - convert to SPDX License Identifier - compile C files independently instead of including them from zconf.y - fix various warnings of gconfig - misc cleanups -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJcJieuAAoJED2LAQed4NsGHlIP/1s0fQ86XD9dIMyHzAO0gh2f 7rylfe2kEXJgIzJ0DyZdLu4iZtwbkEUqTQrRS1abriNGVemPkfBAnZdM5d92lOQX 3iREa700AJ2xo7V7gYZ6AbhZoG3p0S9U9Q2qE5S+tFTe8c2Gy4xtjnODF+Vel85r S0P8tF5sE1/d00lm+yfMI/CJVfDjyNaMm+aVEnL0kZTPiRkaktjWgo6Fc2p4z1L5 HFmMMP6/iaXmRZ+tHJGPQ2AT70GFVZw5ePxPcl50EotUP25KHbuUdzs8wDpYm3U/ rcESVsIFpgqHWmTsdBk6dZk0q8yFZNkMlkaP/aYukVZpUn/N6oAXgTFckYl8dmQL fQBkQi6DTfr9EBPVbj18BKm7xI3Y4DdQ2fzTfYkJ2XwNRGFA5r9N3sjd7ZTVGjxC aeeMHCwvGdSx1x8PeZAhZfsUHW8xVDMSQiT713+ljBY+6cwzA+2NF0kP7B6OAqwr ETFzd4Xu2/lZcL7gQRH8WU3L2S5iedmDG6RnZgJMXI0/9V4qAA+nlsWaCgnl1TgA mpxYlLUMrd6AUJevE34FlnyFdk8IMn9iKRFsvF0f3doO5C7QzTVGqFdJu5a0CuWO 4NBJvZjFT8/4amoWLfnDlfApWXzTfwLbKG+r6V2F30fLuXpYg5LxWhBoGRPYLZSq oi4xN1Mpx3TvXz6WcKVZ =r3Fl -----END PGP SIGNATURE----- Merge tag 'kconfig-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kconfig updates from Masahiro Yamada: - support -y option for merge_config.sh to avoid downgrading =y to =m - remove S_OTHER symbol type, and touch include/config/*.h files correctly - fix file name and line number in lexer warnings - fix memory leak when EOF is encountered in quotation - resolve all shift/reduce conflicts of the parser - warn no new line at end of file - make 'source' statement more strict to take only string literal - rewrite the lexer and remove the keyword lookup table - convert to SPDX License Identifier - compile C files independently instead of including them from zconf.y - fix various warnings of gconfig - misc cleanups * tag 'kconfig-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (39 commits) kconfig: surround dbg_sym_flags with #ifdef DEBUG to fix gconf warning kconfig: split images.c out of qconf.cc/gconf.c to fix gconf warnings kconfig: add static qualifiers to fix gconf warnings kconfig: split the lexer out of zconf.y kconfig: split some C files out of zconf.y kconfig: convert to SPDX License Identifier kconfig: remove keyword lookup table entirely kconfig: update current_pos in the second lexer kconfig: switch to ASSIGN_VAL state in the second lexer kconfig: stop associating kconf_id with yylval kconfig: refactor end token rules kconfig: stop supporting '.' and '/' in unquoted words treewide: surround Kconfig file paths with double quotes microblaze: surround string default in Kconfig with double quotes kconfig: use T_WORD instead of T_VARIABLE for variables kconfig: use specific tokens instead of T_ASSIGN for assignments kconfig: refactor scanning and parsing "option" properties kconfig: use distinct tokens for type and default properties kconfig: remove redundant token defines kconfig: rename depends_list to comment_option_list ...
79 lines
2.0 KiB
Plaintext
79 lines
2.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# KVM configuration
|
|
#
|
|
source "virt/kvm/Kconfig"
|
|
|
|
menuconfig VIRTUALIZATION
|
|
bool "Virtualization"
|
|
---help---
|
|
Say Y here to get to see options for using your Linux host to run
|
|
other operating systems inside virtual machines (guests).
|
|
This option alone does not add any kernel code.
|
|
|
|
If you say N, all options in this submenu will be skipped and disabled.
|
|
|
|
if VIRTUALIZATION
|
|
|
|
config KVM
|
|
tristate "Kernel-based Virtual Machine (KVM) support"
|
|
depends on HAVE_KVM
|
|
depends on MIPS_FP_SUPPORT
|
|
select EXPORT_UASM
|
|
select PREEMPT_NOTIFIERS
|
|
select ANON_INODES
|
|
select KVM_GENERIC_DIRTYLOG_READ_PROTECT
|
|
select HAVE_KVM_VCPU_ASYNC_IOCTL
|
|
select KVM_MMIO
|
|
select MMU_NOTIFIER
|
|
select SRCU
|
|
---help---
|
|
Support for hosting Guest kernels.
|
|
|
|
choice
|
|
prompt "Virtualization mode"
|
|
depends on KVM
|
|
default KVM_MIPS_TE
|
|
|
|
config KVM_MIPS_TE
|
|
bool "Trap & Emulate"
|
|
---help---
|
|
Use trap and emulate to virtualize 32-bit guests in user mode. This
|
|
does not require any special hardware Virtualization support beyond
|
|
standard MIPS32/64 r2 or later, but it does require the guest kernel
|
|
to be configured with CONFIG_KVM_GUEST=y so that it resides in the
|
|
user address segment.
|
|
|
|
config KVM_MIPS_VZ
|
|
bool "MIPS Virtualization (VZ) ASE"
|
|
---help---
|
|
Use the MIPS Virtualization (VZ) ASE to virtualize guests. This
|
|
supports running unmodified guest kernels (with CONFIG_KVM_GUEST=n),
|
|
but requires hardware support.
|
|
|
|
endchoice
|
|
|
|
config KVM_MIPS_DYN_TRANS
|
|
bool "KVM/MIPS: Dynamic binary translation to reduce traps"
|
|
depends on KVM_MIPS_TE
|
|
default y
|
|
---help---
|
|
When running in Trap & Emulate mode patch privileged
|
|
instructions to reduce the number of traps.
|
|
|
|
If unsure, say Y.
|
|
|
|
config KVM_MIPS_DEBUG_COP0_COUNTERS
|
|
bool "Maintain counters for COP0 accesses"
|
|
depends on KVM
|
|
---help---
|
|
Maintain statistics for Guest COP0 accesses.
|
|
A histogram of COP0 accesses is printed when the VM is
|
|
shutdown.
|
|
|
|
If unsure, say N.
|
|
|
|
source "drivers/vhost/Kconfig"
|
|
|
|
endif # VIRTUALIZATION
|