├── .gitignore ├── CONTRIBUTORS ├── LICENSE ├── README.md ├── Vagrantfile ├── khack ├── env │ └── __init__.py ├── help.txt ├── khack ├── requirements.txt ├── shell │ └── __init__.py └── subjects │ ├── __init__.py │ ├── kernel.py │ ├── libc.py │ └── module.py ├── linux-config └── minimal.config ├── module ├── Makefile ├── module.c └── module.h ├── setup_vm.sh ├── shared-saver ├── README ├── script.sh └── systemd.service └── system-config ├── kexec └── smb.conf /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Python 5 | *.pyc 6 | 7 | # Object files 8 | *.o 9 | *.ko 10 | *.obj 11 | *.elf 12 | 13 | # Linker output 14 | *.ilk 15 | *.map 16 | *.exp 17 | 18 | # Precompiled Headers 19 | *.gch 20 | *.pch 21 | 22 | # Libraries 23 | *.lib 24 | *.a 25 | *.la 26 | *.lo 27 | 28 | # Shared objects (inc. Windows DLLs) 29 | *.dll 30 | *.so 31 | *.so.* 32 | *.dylib 33 | 34 | # Executables 35 | *.exe 36 | *.out 37 | *.app 38 | *.i*86 39 | *.x86_64 40 | *.hex 41 | 42 | # Debug files 43 | *.dSYM/ 44 | *.su 45 | *.idb 46 | *.pdb 47 | 48 | # Kernel Module Compile Results 49 | *.mod* 50 | *.cmd 51 | .tmp_versions/ 52 | modules.order 53 | Module.symvers 54 | Mkfile.old 55 | dkms.conf 56 | 57 | # nodejs 58 | node_modules/* 59 | 60 | # IntelliJ IDEA 61 | .idea 62 | 63 | # Vagrant 64 | .vagrant 65 | 66 | # Vim 67 | .*.swp 68 | -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | idoby 2 | solebox 3 | BackSlasher 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # KernelTLV Linux Hacking Environment 2 | 3 | ## Purpose 4 | This project is a way to bring up a Linux kernel development environment quickly and easily, without using tools like QEMU or building a toolchain and cross-compiling. This is done by building a kernel from the Debian-supplied package and using it with the Debian distribution. 5 | 6 | The project also includes **khack**, a utility for taking some guesswork out of the process of hacking on the kernel as well as serving as a guide for newcomers, as an alternative for reading a lot of material online and attempting to learn by trial and error. 7 | 8 | ## Requirements 9 | 1. [Vagrant](https://www.vagrantup.com/) 10 | 1. [VirtualBox](https://www.virtualbox.org/wiki/Downloads) 11 | 1. The vagrant-vbguest plugin (Run `vagrant plugin install vagrant-vbguest`). 12 | 1. ~15GB of free space. 13 | 14 | ## Usage 15 | Run `vagrant up` where you cloned the repo (where `Vagrantfile` is) to create a shiny new VM with everything you need. 16 | 17 | This will take a while. 18 | 19 | Once it's done, run `vagrant ssh` to enter the machine and from there, depending on your level of familiarity with kernel development, either: 20 | 21 | * Newcomer - run `khack` for an explanation of what you can do here (WIP), 22 | * Experienced developer - run `khack --help` for a list of useful scripts, 23 | 24 | or just ignore khack entirely and do your own thing. 25 | 26 | ## Details 27 | Inside the VM home directory, there will be: 28 | * `linux-source`: Linux kernel sources ready to be compiled with the minimal configuration from `linux-config`. 29 | * `khack`: The khack utility. 30 | * `module`: Scaffold code for a kernel module. 31 | * `linux-config`: Premade kernel configs. 32 | * `system-config`: Configuration files for different system-related programs, there's usually no need to touch this. 33 | * `boot-backup`: A backup of `/boot`, just in case. 34 | 35 | `khack`, `module` and `linux-config` are set up to be shared with the host operating system, so you can use your favorite editor to edit files in them. 36 | **To edit the kernel source, see below.** 37 | Everything else can be done the traditional way (compile and install the kernel, etc) or using khack for convenience. 38 | 39 | ## Editing from host 40 | We reveal the source via SMB/CIFS, to avoid issues with building the kernel on a VirtualBox shared directory. 41 | To mount: 42 | 43 | ### Ubuntu 44 | Via terminal: 45 | ``` 46 | sudo apt install cifs-utils 47 | sudo mount -t cifs //localhost/kernel-source WHERE_TO_MOUNT -o port=10139,username=vagrant,password=vagrant,uid=$USER,gid=$USER 48 | ``` 49 | Via Nautilus: 50 | ``` 51 | smb://vagrant:vagrant@localhost:10139/kernel-source/ 52 | ``` 53 | 54 | ### macOS 55 | Via terminal: 56 | ``` 57 | sudo mount -t smbfs '//vagrant:vagrant@localhost:10139/kernel-source' WHERE_TO_MOUNT 58 | ``` 59 | Via Finder: 60 | 61 | Use Connect to Server (cmd+K) with the URL `smb://vagrant:vagrant@localhost:10139/`. 62 | 63 | ## khack 64 | khack is meant to simplify hacking on the kernel and teach newcomers which commands actually work by, you know, showing that they actually work, saving learners from the frustration of trying to adjust incantations from an online tutorial written ten years ago. 65 | 66 | Its source is available under `khack` and it can be used as simply `khack` within the VM as it is symlinked into the right place (see `setup_vm.sh`). 67 | 68 | For example: 69 | 70 | * `khack kernel make` will build the kernel in `~\linux-source`. 71 | * `khack kernel install` will install the built kernel so that it will run when the VM is restarted. 72 | * `khack kernel running` will report if the latest compiled kernel is actually running. 73 | 74 | Experiment and have fun, 75 | 76 | KernelTLV Team 77 | -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | Vagrant.configure("2") do |config| 5 | config.vm.box = "bento/debian-9.3" 6 | config.vm.synced_folder "./khack", "/home/vagrant/khack" 7 | config.vm.synced_folder "./linux-config", "/home/vagrant/linux-config" 8 | config.vm.synced_folder "./system-config", "/home/vagrant/system-config" 9 | config.vm.synced_folder "./module", "/home/vagrant/module" 10 | 11 | config.vm.network "forwarded_port", guest: 139, host: 10139 12 | 13 | config.vm.provision "shell", path: "setup_vm.sh" 14 | end 15 | -------------------------------------------------------------------------------- /khack/env/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | def linux_config(): 4 | return os.getenv('KHACK_LINUX_CONFIG_DIR','/home/vagrant/linux-config') 5 | 6 | def linux_source(): 7 | return os.getenv('KHACK_LINUX_SOURCE_DIR','/home/vagrant/linux-source') 8 | 9 | def libc_source(): 10 | return os.getenv('KHACK_LIBC_SOURCE_DIR','/home/vagrant/glibc-source') 11 | -------------------------------------------------------------------------------- /khack/help.txt: -------------------------------------------------------------------------------- 1 | Welcome to 2 | ___ __ ___ ___ ________ ________ ___ __ 3 | |\ \|\ \ |\ \|\ \ |\ __ \ |\ ____\ |\ \|\ \ 4 | \ \ \/ /|_\ \ \\\ \\ \ \|\ \\ \ \___| \ \ \/ /|_ 5 | \ \ ___ \\ \ __ \\ \ __ \\ \ \ \ \ ___ \ ! 6 | \ \ \\ \ \\ \ \ \ \\ \ \ \ \\ \ \____ \ \ \\ \ \ 7 | \ \__\\ \__\\ \__\ \__\\ \__\ \__\\ \_______\\ \__\\ \__\ 8 | \|__| \|__| \|__|\|__| \|__|\|__| \|_______| \|__| \|__| 9 | 10 | Let's start hacking on the kernel. I've already downloaded the kernel source for 11 | you. To see how I did it, just read my source code at ~/khack (or the khack 12 | directory on the host). I'm just some Python and bash, nothing scary. 13 | Run the commands "khack kernel get" and "khack kernel config". 14 | Appending "--show-source" or "-s" to any command will print out its source code. 15 | 16 | The next step is to run "khack kernel make". I recommend that you read the source 17 | after you run each command. 18 | 19 | Building a kernel from scratch takes a while, but afterwards there's a lot to 20 | play around with. Use my other commands and check out what they do! 21 | 22 | Have fun! 23 | -------------------------------------------------------------------------------- /khack/khack: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | """KernelTLV Linux Hacking Utility 4 | 5 | Usage: 6 | {executable_name} 7 | {executable_name} --help 8 | {executable_name} [...] [--help|-h] [--show-source|-s] 9 | 10 | Available subjects: 11 | kernel - Commands to get, compile and hack on the Linux kernel 12 | module - Commands to help with building your own kernel modules 13 | libc - Commands to get, compile and hack on glibc (soon) 14 | 15 | Flags: 16 | --help (-h) will show this help or help per-subject or per-command 17 | --show-source (-s) will only print the source of the command instead of running it 18 | """ 19 | import os 20 | from codecs import getwriter 21 | from sys import stdout, argv 22 | 23 | from subprocess import call 24 | from importlib import import_module 25 | from inspect import getsource, getdoc, getargspec, isfunction, ismodule 26 | 27 | from pygments import highlight 28 | from pygments.lexers import PythonLexer 29 | from pygments.formatters import TerminalTrueColorFormatter 30 | 31 | UTF8Writer = getwriter('utf8') 32 | stdout = UTF8Writer(stdout) 33 | 34 | executable_name = argv[0] 35 | 36 | def show_help_and_die(about=None): 37 | if ismodule(about): 38 | print(about.__doc__.format(executable_name=executable_name)) 39 | elif isfunction(about): 40 | print(getdoc(about)) 41 | else: 42 | print(__doc__.format(executable_name=executable_name)) 43 | 44 | exit(0) 45 | 46 | def show_source_and_die(func): 47 | source_code = highlight(getsource(func), PythonLexer(), TerminalTrueColorFormatter(style='monokai')) 48 | print(source_code) 49 | exit(0) 50 | 51 | if len(argv) == 1: 52 | my_dir = os.path.dirname(os.path.realpath(__file__)) 53 | exit(call(['less', '{}/help.txt'.format(my_dir)])) 54 | 55 | if len(argv) == 2 and (argv[1] == '-h' or argv[1] == '--help'): 56 | show_help_and_die() 57 | 58 | if len(argv) == 2: 59 | show_help_and_die() 60 | 61 | subject = argv[1] 62 | subject_module = import_module('subjects.' + subject) 63 | 64 | args = [] 65 | command = None 66 | show_help = False 67 | show_source = False 68 | 69 | for word in argv[2:]: 70 | if not word.startswith('-'): 71 | if not command: 72 | command = word 73 | else: 74 | args.append(word) 75 | else: 76 | if word.startswith('--'): 77 | if word == '--help': 78 | show_help = True 79 | elif word == '--show-source': 80 | show_source = True 81 | else: 82 | show_help_and_die() 83 | else: 84 | for letter in word[1:]: 85 | if letter == 'h': 86 | show_help = True 87 | elif letter == 's': 88 | show_source = True 89 | else: 90 | show_help_and_die() 91 | 92 | try: 93 | command_func = getattr(subject_module, command) 94 | if show_help: 95 | show_help_and_die(command_func) 96 | if show_source: 97 | show_source_and_die(command_func) 98 | 99 | command_func_args = getargspec(command_func).args 100 | if len(command_func_args) != len(args): 101 | show_help_and_die(subject_module) 102 | 103 | command_func(*args) 104 | 105 | exit(0) 106 | except AttributeError: 107 | show_help_and_die() 108 | -------------------------------------------------------------------------------- /khack/requirements.txt: -------------------------------------------------------------------------------- 1 | Pygments==2.15.0 2 | -------------------------------------------------------------------------------- /khack/shell/__init__.py: -------------------------------------------------------------------------------- 1 | from subprocess import call, check_output 2 | 3 | def shell(command, shell=True): 4 | result = call(command, shell=shell) 5 | if result != 0: 6 | exit(result) 7 | 8 | def shell_output(command, shell=True): 9 | result = check_output(command, shell=shell) 10 | if not result: 11 | exit(result) 12 | 13 | return result.strip() 14 | -------------------------------------------------------------------------------- /khack/subjects/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kerneltlv/kernel-hacking/bfc536aa0b8399867a8395be711c1f69ed45cdc9/khack/subjects/__init__.py -------------------------------------------------------------------------------- /khack/subjects/kernel.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | """KernelTLV Linux Hacking Utility 4 | 5 | Usage: 6 | {executable_name} kernel get 7 | {executable_name} kernel config 8 | {executable_name} kernel make 9 | {executable_name} kernel run 10 | {executable_name} kernel clean 11 | {executable_name} kernel tag 12 | {executable_name} kernel install 13 | {executable_name} kernel uninstall 14 | {executable_name} kernel running 15 | """ 16 | 17 | import re 18 | from os.path import exists 19 | 20 | import env 21 | from shell import shell, shell_output 22 | 23 | linux_source = env.linux_source() 24 | linux_config = env.linux_config() 25 | 26 | def _make_in_linux_source(command, sudo=False): 27 | shell('sudo ' if sudo else '' + 'make -C {} {}'.format(linux_source, command)) 28 | 29 | def get(): 30 | # Get kernel source from Debian repository 31 | shell('sudo apt-get install -y linux-source') 32 | shell('mkdir -p ' + linux_source) 33 | # Extract to ~/linux-source 34 | shell('tar -x -f /usr/src/linux-source-* --strip 1 -C ' + linux_source, shell=True) 35 | 36 | def config(config_name): 37 | shell('cp {}/{}.config {}/.config'.format(linux_config, config_name, linux_source)) 38 | shell('khack kernel clean') 39 | 40 | # Answer potential new config questions with yes. If you see this happening 41 | # you might want to update khack or modify .config yourself 42 | _make_in_linux_source('olddefconfig') 43 | 44 | def make(): 45 | # Showtime, build kernel. Yeah, that's really it 46 | _make_in_linux_source('-j8') 47 | 48 | # Build initrd/initramfs too so we can boot this kernel. We need to know the 49 | # exact kernel version for this 50 | kernel_version = shell_output('cd {} && make kernelversion'.format(linux_source)) 51 | shell('sudo mkinitramfs -v -o {}/arch/x86/boot/initrd {}-khack'.format(linux_source, kernel_version)) 52 | 53 | def run(): 54 | # Run the built kernel using kexec, skipping a full reboot 55 | shell('sudo /sbin/kexec -l {}/arch/x86/boot/bzImage --initrd={}/arch/x86/boot/initrd --reuse-cmdline -f'.format( 56 | linux_source, linux_source)) 57 | 58 | def clean(): 59 | _make_in_linux_source('clean') 60 | 61 | def tag(): 62 | _make_in_linux_source('tags') 63 | 64 | def install(): 65 | # Build the module directories in /lib/modules, then install the kernel image 66 | # and boot filesystem, etc to /boot 67 | _make_in_linux_source('modules_install install', sudo=True) 68 | # Compile the VBox Guest Additions against the new kernel and install to /lib/modules, 69 | # otherwise we won't be able to access VBox shares with the new kernel 70 | shell('sudo KERN_DIR={} /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/vboxadd setup'.format(linux_source)) 71 | 72 | def uninstall(): 73 | shell('sudo rm -r /lib/modules/*-khack') 74 | shell('sudo rm /boot/*-khack*') 75 | shell('sudo update-grub') 76 | 77 | def running(): 78 | if not exists('{}/.version'.format(linux_source)): 79 | print u'\033[91m\u2716 There is no .version file.' 80 | exit(1) 81 | 82 | proc_version = shell_output('cat /proc/version') 83 | proc_version_email = re.search('\((.+?@.+?)\)', proc_version).group(1) 84 | proc_version_number = re.search('#([0-9]+)', proc_version).group(1) 85 | 86 | compiled_version_number = shell_output('cat {}/.version'.format(linux_source)) 87 | 88 | if 'vagrant' in proc_version_email: 89 | if compiled_version_number != proc_version_number: 90 | print u'\033[91m\u2716 The kernel is not up to date.' 91 | else: 92 | print u'\033[92m\u2714 The kernel is up to date.' 93 | elif 'debian' in proc_version_email: 94 | print u'\033[91m\u2716 The running kernel seems to be the stock Debian kernel.' 95 | else: 96 | print u'\033[91m\u2716 I don\'t recognize this kernel.' 97 | -------------------------------------------------------------------------------- /khack/subjects/libc.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | """KernelTLV Linux Hacking Utility 4 | 5 | Usage: 6 | {executable_name} libc get 7 | """ 8 | 9 | import env 10 | from shell import shell 11 | 12 | libc_source = env.libc_source() 13 | 14 | def get(): 15 | shell('sudo apt-get install -y gawk glibc-source') 16 | shell('mkdir -p ' + libc_source) 17 | shell('tar -x -f /usr/src/glibc/glibc-* --strip 1 -C ' + libc_source) 18 | -------------------------------------------------------------------------------- /khack/subjects/module.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | """KernelTLV Linux Hacking Utility 4 | 5 | Usage: 6 | {executable_name} module make 7 | {executable_name} module clean 8 | {executable_name} module install 9 | """ 10 | 11 | import env 12 | from shell import shell 13 | 14 | linux_source = env.linux_source() 15 | 16 | def make(): 17 | shell('make M=../module -C {} -j8'.format(linux_source)) 18 | 19 | def clean(): 20 | shell('make M=../module -C {} clean'.format(linux_source)) 21 | 22 | def install(): 23 | # Not implemented yet 24 | pass 25 | -------------------------------------------------------------------------------- /linux-config/minimal.config: -------------------------------------------------------------------------------- 1 | # 2 | # Automatically generated file; DO NOT EDIT. 3 | # Linux/x86 4.9.65 Kernel Configuration 4 | # 5 | CONFIG_64BIT=y 6 | CONFIG_X86_64=y 7 | CONFIG_X86=y 8 | CONFIG_INSTRUCTION_DECODER=y 9 | CONFIG_OUTPUT_FORMAT="elf64-x86-64" 10 | CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" 11 | CONFIG_LOCKDEP_SUPPORT=y 12 | CONFIG_STACKTRACE_SUPPORT=y 13 | CONFIG_MMU=y 14 | CONFIG_ARCH_MMAP_RND_BITS_MIN=28 15 | CONFIG_ARCH_MMAP_RND_BITS_MAX=32 16 | CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 17 | CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16 18 | CONFIG_NEED_DMA_MAP_STATE=y 19 | CONFIG_NEED_SG_DMA_LENGTH=y 20 | CONFIG_GENERIC_BUG=y 21 | CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y 22 | CONFIG_GENERIC_HWEIGHT=y 23 | CONFIG_RWSEM_XCHGADD_ALGORITHM=y 24 | CONFIG_GENERIC_CALIBRATE_DELAY=y 25 | CONFIG_ARCH_HAS_CPU_RELAX=y 26 | CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y 27 | CONFIG_HAVE_SETUP_PER_CPU_AREA=y 28 | CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y 29 | CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y 30 | CONFIG_ARCH_HIBERNATION_POSSIBLE=y 31 | CONFIG_ARCH_SUSPEND_POSSIBLE=y 32 | CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y 33 | CONFIG_ARCH_WANT_GENERAL_HUGETLB=y 34 | CONFIG_ZONE_DMA32=y 35 | CONFIG_AUDIT_ARCH=y 36 | CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y 37 | CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y 38 | CONFIG_X86_64_SMP=y 39 | CONFIG_ARCH_SUPPORTS_UPROBES=y 40 | CONFIG_FIX_EARLYCON_MEM=y 41 | CONFIG_DEBUG_RODATA=y 42 | CONFIG_PGTABLE_LEVELS=4 43 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 44 | CONFIG_IRQ_WORK=y 45 | CONFIG_BUILDTIME_EXTABLE_SORT=y 46 | CONFIG_THREAD_INFO_IN_TASK=y 47 | 48 | # 49 | # General setup 50 | # 51 | CONFIG_INIT_ENV_ARG_LIMIT=32 52 | CONFIG_CROSS_COMPILE="" 53 | # CONFIG_COMPILE_TEST is not set 54 | CONFIG_LOCALVERSION="-khack" 55 | # CONFIG_LOCALVERSION_AUTO is not set 56 | CONFIG_HAVE_KERNEL_GZIP=y 57 | CONFIG_HAVE_KERNEL_BZIP2=y 58 | CONFIG_HAVE_KERNEL_LZMA=y 59 | CONFIG_HAVE_KERNEL_XZ=y 60 | CONFIG_HAVE_KERNEL_LZO=y 61 | CONFIG_HAVE_KERNEL_LZ4=y 62 | # CONFIG_KERNEL_GZIP is not set 63 | # CONFIG_KERNEL_BZIP2 is not set 64 | # CONFIG_KERNEL_LZMA is not set 65 | CONFIG_KERNEL_XZ=y 66 | # CONFIG_KERNEL_LZO is not set 67 | # CONFIG_KERNEL_LZ4 is not set 68 | CONFIG_DEFAULT_HOSTNAME="(none)" 69 | CONFIG_SWAP=y 70 | CONFIG_SYSVIPC=y 71 | CONFIG_SYSVIPC_SYSCTL=y 72 | CONFIG_POSIX_MQUEUE=y 73 | CONFIG_POSIX_MQUEUE_SYSCTL=y 74 | CONFIG_CROSS_MEMORY_ATTACH=y 75 | CONFIG_FHANDLE=y 76 | CONFIG_USELIB=y 77 | CONFIG_AUDIT=y 78 | CONFIG_HAVE_ARCH_AUDITSYSCALL=y 79 | CONFIG_AUDITSYSCALL=y 80 | CONFIG_AUDIT_WATCH=y 81 | CONFIG_AUDIT_TREE=y 82 | 83 | # 84 | # IRQ subsystem 85 | # 86 | CONFIG_GENERIC_IRQ_PROBE=y 87 | CONFIG_GENERIC_IRQ_SHOW=y 88 | CONFIG_GENERIC_PENDING_IRQ=y 89 | CONFIG_IRQ_DOMAIN=y 90 | CONFIG_IRQ_DOMAIN_HIERARCHY=y 91 | CONFIG_GENERIC_MSI_IRQ=y 92 | CONFIG_GENERIC_MSI_IRQ_DOMAIN=y 93 | # CONFIG_IRQ_DOMAIN_DEBUG is not set 94 | CONFIG_IRQ_FORCED_THREADING=y 95 | CONFIG_SPARSE_IRQ=y 96 | CONFIG_CLOCKSOURCE_WATCHDOG=y 97 | CONFIG_ARCH_CLOCKSOURCE_DATA=y 98 | CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y 99 | CONFIG_GENERIC_TIME_VSYSCALL=y 100 | CONFIG_GENERIC_CLOCKEVENTS=y 101 | CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y 102 | CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y 103 | CONFIG_GENERIC_CMOS_UPDATE=y 104 | 105 | # 106 | # Timers subsystem 107 | # 108 | CONFIG_TICK_ONESHOT=y 109 | CONFIG_NO_HZ_COMMON=y 110 | # CONFIG_HZ_PERIODIC is not set 111 | CONFIG_NO_HZ_IDLE=y 112 | # CONFIG_NO_HZ_FULL is not set 113 | # CONFIG_NO_HZ is not set 114 | CONFIG_HIGH_RES_TIMERS=y 115 | 116 | # 117 | # CPU/Task time and stats accounting 118 | # 119 | CONFIG_TICK_CPU_ACCOUNTING=y 120 | # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set 121 | # CONFIG_IRQ_TIME_ACCOUNTING is not set 122 | CONFIG_BSD_PROCESS_ACCT=y 123 | CONFIG_BSD_PROCESS_ACCT_V3=y 124 | CONFIG_TASKSTATS=y 125 | CONFIG_TASK_DELAY_ACCT=y 126 | CONFIG_TASK_XACCT=y 127 | CONFIG_TASK_IO_ACCOUNTING=y 128 | 129 | # 130 | # RCU Subsystem 131 | # 132 | CONFIG_TREE_RCU=y 133 | # CONFIG_RCU_EXPERT is not set 134 | CONFIG_SRCU=y 135 | # CONFIG_TASKS_RCU is not set 136 | CONFIG_RCU_STALL_COMMON=y 137 | # CONFIG_TREE_RCU_TRACE is not set 138 | # CONFIG_RCU_EXPEDITE_BOOT is not set 139 | CONFIG_BUILD_BIN2C=y 140 | # CONFIG_IKCONFIG is not set 141 | CONFIG_LOG_BUF_SHIFT=17 142 | CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 143 | CONFIG_NMI_LOG_BUF_SHIFT=13 144 | CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y 145 | CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y 146 | CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y 147 | CONFIG_ARCH_SUPPORTS_INT128=y 148 | CONFIG_CGROUPS=y 149 | CONFIG_PAGE_COUNTER=y 150 | CONFIG_MEMCG=y 151 | CONFIG_MEMCG_SWAP=y 152 | # CONFIG_MEMCG_SWAP_ENABLED is not set 153 | CONFIG_BLK_CGROUP=y 154 | # CONFIG_DEBUG_BLK_CGROUP is not set 155 | CONFIG_CGROUP_WRITEBACK=y 156 | CONFIG_CGROUP_SCHED=y 157 | CONFIG_FAIR_GROUP_SCHED=y 158 | CONFIG_CFS_BANDWIDTH=y 159 | # CONFIG_RT_GROUP_SCHED is not set 160 | CONFIG_CGROUP_PIDS=y 161 | CONFIG_CGROUP_FREEZER=y 162 | # CONFIG_CGROUP_HUGETLB is not set 163 | CONFIG_CPUSETS=y 164 | CONFIG_PROC_PID_CPUSET=y 165 | CONFIG_CGROUP_DEVICE=y 166 | CONFIG_CGROUP_CPUACCT=y 167 | CONFIG_CGROUP_PERF=y 168 | # CONFIG_CGROUP_DEBUG is not set 169 | CONFIG_CHECKPOINT_RESTORE=y 170 | CONFIG_NAMESPACES=y 171 | CONFIG_UTS_NS=y 172 | CONFIG_IPC_NS=y 173 | CONFIG_USER_NS=y 174 | CONFIG_PID_NS=y 175 | CONFIG_NET_NS=y 176 | CONFIG_SCHED_AUTOGROUP=y 177 | # CONFIG_SYSFS_DEPRECATED is not set 178 | CONFIG_RELAY=y 179 | CONFIG_BLK_DEV_INITRD=y 180 | CONFIG_INITRAMFS_SOURCE="" 181 | CONFIG_RD_GZIP=y 182 | CONFIG_RD_BZIP2=y 183 | CONFIG_RD_LZMA=y 184 | CONFIG_RD_XZ=y 185 | CONFIG_RD_LZO=y 186 | CONFIG_RD_LZ4=y 187 | CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y 188 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 189 | CONFIG_SYSCTL=y 190 | CONFIG_ANON_INODES=y 191 | CONFIG_HAVE_UID16=y 192 | CONFIG_SYSCTL_EXCEPTION_TRACE=y 193 | CONFIG_HAVE_PCSPKR_PLATFORM=y 194 | CONFIG_BPF=y 195 | CONFIG_EXPERT=y 196 | CONFIG_UID16=y 197 | CONFIG_MULTIUSER=y 198 | CONFIG_SGETMASK_SYSCALL=y 199 | CONFIG_SYSFS_SYSCALL=y 200 | # CONFIG_SYSCTL_SYSCALL is not set 201 | CONFIG_KALLSYMS=y 202 | CONFIG_KALLSYMS_ALL=y 203 | CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y 204 | CONFIG_KALLSYMS_BASE_RELATIVE=y 205 | CONFIG_PRINTK=y 206 | CONFIG_PRINTK_NMI=y 207 | CONFIG_BUG=y 208 | CONFIG_ELF_CORE=y 209 | CONFIG_PCSPKR_PLATFORM=y 210 | CONFIG_BASE_FULL=y 211 | CONFIG_FUTEX=y 212 | CONFIG_EPOLL=y 213 | CONFIG_SIGNALFD=y 214 | CONFIG_TIMERFD=y 215 | CONFIG_EVENTFD=y 216 | CONFIG_BPF_SYSCALL=y 217 | CONFIG_SHMEM=y 218 | CONFIG_AIO=y 219 | CONFIG_ADVISE_SYSCALLS=y 220 | CONFIG_USERFAULTFD=y 221 | CONFIG_PCI_QUIRKS=y 222 | CONFIG_MEMBARRIER=y 223 | # CONFIG_EMBEDDED is not set 224 | CONFIG_HAVE_PERF_EVENTS=y 225 | 226 | # 227 | # Kernel Performance Events And Counters 228 | # 229 | CONFIG_PERF_EVENTS=y 230 | # CONFIG_DEBUG_PERF_USE_VMALLOC is not set 231 | CONFIG_VM_EVENT_COUNTERS=y 232 | # CONFIG_COMPAT_BRK is not set 233 | CONFIG_SLAB=y 234 | # CONFIG_SLUB is not set 235 | # CONFIG_SLOB is not set 236 | CONFIG_SLAB_FREELIST_RANDOM=y 237 | # CONFIG_SYSTEM_DATA_VERIFICATION is not set 238 | CONFIG_PROFILING=y 239 | CONFIG_KEXEC_CORE=y 240 | # CONFIG_OPROFILE is not set 241 | CONFIG_HAVE_OPROFILE=y 242 | CONFIG_OPROFILE_NMI_TIMER=y 243 | CONFIG_KPROBES=y 244 | CONFIG_JUMP_LABEL=y 245 | # CONFIG_STATIC_KEYS_SELFTEST is not set 246 | CONFIG_OPTPROBES=y 247 | # CONFIG_UPROBES is not set 248 | # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set 249 | CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y 250 | CONFIG_ARCH_USE_BUILTIN_BSWAP=y 251 | CONFIG_KRETPROBES=y 252 | CONFIG_HAVE_IOREMAP_PROT=y 253 | CONFIG_HAVE_KPROBES=y 254 | CONFIG_HAVE_KRETPROBES=y 255 | CONFIG_HAVE_OPTPROBES=y 256 | CONFIG_HAVE_KPROBES_ON_FTRACE=y 257 | CONFIG_HAVE_NMI=y 258 | CONFIG_HAVE_ARCH_TRACEHOOK=y 259 | CONFIG_HAVE_DMA_CONTIGUOUS=y 260 | CONFIG_GENERIC_SMP_IDLE_THREAD=y 261 | CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y 262 | CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y 263 | CONFIG_HAVE_CLK=y 264 | CONFIG_HAVE_DMA_API_DEBUG=y 265 | CONFIG_HAVE_HW_BREAKPOINT=y 266 | CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y 267 | CONFIG_HAVE_USER_RETURN_NOTIFIER=y 268 | CONFIG_HAVE_PERF_EVENTS_NMI=y 269 | CONFIG_HAVE_PERF_REGS=y 270 | CONFIG_HAVE_PERF_USER_STACK_DUMP=y 271 | CONFIG_HAVE_ARCH_JUMP_LABEL=y 272 | CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y 273 | CONFIG_HAVE_CMPXCHG_LOCAL=y 274 | CONFIG_HAVE_CMPXCHG_DOUBLE=y 275 | CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y 276 | CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y 277 | CONFIG_HAVE_ARCH_SECCOMP_FILTER=y 278 | CONFIG_SECCOMP_FILTER=y 279 | CONFIG_HAVE_GCC_PLUGINS=y 280 | # CONFIG_GCC_PLUGINS is not set 281 | CONFIG_HAVE_CC_STACKPROTECTOR=y 282 | CONFIG_CC_STACKPROTECTOR=y 283 | # CONFIG_CC_STACKPROTECTOR_NONE is not set 284 | # CONFIG_CC_STACKPROTECTOR_REGULAR is not set 285 | CONFIG_CC_STACKPROTECTOR_STRONG=y 286 | CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y 287 | CONFIG_HAVE_CONTEXT_TRACKING=y 288 | CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y 289 | CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y 290 | CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y 291 | CONFIG_HAVE_ARCH_HUGE_VMAP=y 292 | CONFIG_HAVE_ARCH_SOFT_DIRTY=y 293 | CONFIG_MODULES_USE_ELF_RELA=y 294 | CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y 295 | CONFIG_ARCH_HAS_ELF_RANDOMIZE=y 296 | CONFIG_HAVE_ARCH_MMAP_RND_BITS=y 297 | CONFIG_HAVE_EXIT_THREAD=y 298 | CONFIG_ARCH_MMAP_RND_BITS=28 299 | CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y 300 | CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8 301 | CONFIG_HAVE_COPY_THREAD_TLS=y 302 | CONFIG_HAVE_STACK_VALIDATION=y 303 | # CONFIG_HAVE_ARCH_HASH is not set 304 | # CONFIG_ISA_BUS_API is not set 305 | CONFIG_OLD_SIGSUSPEND3=y 306 | CONFIG_COMPAT_OLD_SIGACTION=y 307 | # CONFIG_CPU_NO_EFFICIENT_FFS is not set 308 | CONFIG_HAVE_ARCH_VMAP_STACK=y 309 | CONFIG_VMAP_STACK=y 310 | 311 | # 312 | # GCOV-based kernel profiling 313 | # 314 | # CONFIG_GCOV_KERNEL is not set 315 | CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y 316 | # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set 317 | CONFIG_SLABINFO=y 318 | CONFIG_RT_MUTEXES=y 319 | CONFIG_BASE_SMALL=0 320 | CONFIG_MODULES=y 321 | CONFIG_MODULE_FORCE_LOAD=y 322 | CONFIG_MODULE_UNLOAD=y 323 | CONFIG_MODULE_FORCE_UNLOAD=y 324 | CONFIG_MODVERSIONS=y 325 | # CONFIG_MODULE_SRCVERSION_ALL is not set 326 | # CONFIG_MODULE_SIG is not set 327 | # CONFIG_MODULE_COMPRESS is not set 328 | # CONFIG_TRIM_UNUSED_KSYMS is not set 329 | CONFIG_MODULES_TREE_LOOKUP=y 330 | CONFIG_BLOCK=y 331 | CONFIG_BLK_DEV_BSG=y 332 | CONFIG_BLK_DEV_BSGLIB=y 333 | CONFIG_BLK_DEV_INTEGRITY=y 334 | CONFIG_BLK_DEV_THROTTLING=y 335 | # CONFIG_BLK_CMDLINE_PARSER is not set 336 | 337 | # 338 | # Partition Types 339 | # 340 | CONFIG_PARTITION_ADVANCED=y 341 | # CONFIG_ACORN_PARTITION is not set 342 | # CONFIG_AIX_PARTITION is not set 343 | # CONFIG_OSF_PARTITION is not set 344 | # CONFIG_AMIGA_PARTITION is not set 345 | # CONFIG_ATARI_PARTITION is not set 346 | # CONFIG_MAC_PARTITION is not set 347 | CONFIG_MSDOS_PARTITION=y 348 | # CONFIG_BSD_DISKLABEL is not set 349 | # CONFIG_MINIX_SUBPARTITION is not set 350 | # CONFIG_SOLARIS_X86_PARTITION is not set 351 | # CONFIG_UNIXWARE_DISKLABEL is not set 352 | CONFIG_LDM_PARTITION=y 353 | # CONFIG_LDM_DEBUG is not set 354 | # CONFIG_SGI_PARTITION is not set 355 | # CONFIG_ULTRIX_PARTITION is not set 356 | # CONFIG_SUN_PARTITION is not set 357 | # CONFIG_KARMA_PARTITION is not set 358 | # CONFIG_EFI_PARTITION is not set 359 | # CONFIG_SYSV68_PARTITION is not set 360 | # CONFIG_CMDLINE_PARTITION is not set 361 | CONFIG_BLOCK_COMPAT=y 362 | CONFIG_BLK_MQ_PCI=y 363 | 364 | # 365 | # IO Schedulers 366 | # 367 | CONFIG_IOSCHED_NOOP=y 368 | CONFIG_IOSCHED_DEADLINE=y 369 | CONFIG_IOSCHED_CFQ=y 370 | CONFIG_CFQ_GROUP_IOSCHED=y 371 | # CONFIG_DEFAULT_DEADLINE is not set 372 | CONFIG_DEFAULT_CFQ=y 373 | # CONFIG_DEFAULT_NOOP is not set 374 | CONFIG_DEFAULT_IOSCHED="cfq" 375 | CONFIG_PADATA=y 376 | CONFIG_ASN1=y 377 | CONFIG_INLINE_SPIN_UNLOCK_IRQ=y 378 | CONFIG_INLINE_READ_UNLOCK=y 379 | CONFIG_INLINE_READ_UNLOCK_IRQ=y 380 | CONFIG_INLINE_WRITE_UNLOCK=y 381 | CONFIG_INLINE_WRITE_UNLOCK_IRQ=y 382 | CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y 383 | CONFIG_MUTEX_SPIN_ON_OWNER=y 384 | CONFIG_RWSEM_SPIN_ON_OWNER=y 385 | CONFIG_LOCK_SPIN_ON_OWNER=y 386 | CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y 387 | CONFIG_QUEUED_SPINLOCKS=y 388 | CONFIG_ARCH_USE_QUEUED_RWLOCKS=y 389 | CONFIG_QUEUED_RWLOCKS=y 390 | CONFIG_FREEZER=y 391 | 392 | # 393 | # Processor type and features 394 | # 395 | CONFIG_ZONE_DMA=y 396 | CONFIG_SMP=y 397 | CONFIG_X86_FEATURE_NAMES=y 398 | CONFIG_X86_FAST_FEATURE_TESTS=y 399 | CONFIG_X86_X2APIC=y 400 | CONFIG_X86_MPPARSE=y 401 | # CONFIG_GOLDFISH is not set 402 | # CONFIG_X86_EXTENDED_PLATFORM is not set 403 | CONFIG_X86_INTEL_LPSS=y 404 | CONFIG_X86_AMD_PLATFORM_DEVICE=y 405 | CONFIG_IOSF_MBI=y 406 | # CONFIG_IOSF_MBI_DEBUG is not set 407 | CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y 408 | # CONFIG_SCHED_OMIT_FRAME_POINTER is not set 409 | CONFIG_HYPERVISOR_GUEST=y 410 | CONFIG_PARAVIRT=y 411 | # CONFIG_PARAVIRT_DEBUG is not set 412 | CONFIG_PARAVIRT_SPINLOCKS=y 413 | # CONFIG_QUEUED_LOCK_STAT is not set 414 | # CONFIG_XEN is not set 415 | CONFIG_KVM_GUEST=y 416 | # CONFIG_KVM_DEBUG_FS is not set 417 | # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set 418 | CONFIG_PARAVIRT_CLOCK=y 419 | CONFIG_NO_BOOTMEM=y 420 | # CONFIG_MK8 is not set 421 | # CONFIG_MPSC is not set 422 | # CONFIG_MCORE2 is not set 423 | # CONFIG_MATOM is not set 424 | CONFIG_GENERIC_CPU=y 425 | CONFIG_X86_INTERNODE_CACHE_SHIFT=6 426 | CONFIG_X86_L1_CACHE_SHIFT=6 427 | CONFIG_X86_TSC=y 428 | CONFIG_X86_CMPXCHG64=y 429 | CONFIG_X86_CMOV=y 430 | CONFIG_X86_MINIMUM_CPU_FAMILY=64 431 | CONFIG_X86_DEBUGCTLMSR=y 432 | # CONFIG_PROCESSOR_SELECT is not set 433 | CONFIG_CPU_SUP_INTEL=y 434 | CONFIG_CPU_SUP_AMD=y 435 | CONFIG_CPU_SUP_CENTAUR=y 436 | CONFIG_HPET_TIMER=y 437 | CONFIG_HPET_EMULATE_RTC=y 438 | CONFIG_DMI=y 439 | # CONFIG_GART_IOMMU is not set 440 | # CONFIG_CALGARY_IOMMU is not set 441 | CONFIG_SWIOTLB=y 442 | CONFIG_IOMMU_HELPER=y 443 | # CONFIG_MAXSMP is not set 444 | CONFIG_NR_CPUS=512 445 | CONFIG_SCHED_SMT=y 446 | CONFIG_SCHED_MC=y 447 | # CONFIG_PREEMPT_NONE is not set 448 | CONFIG_PREEMPT_VOLUNTARY=y 449 | # CONFIG_PREEMPT is not set 450 | CONFIG_X86_LOCAL_APIC=y 451 | CONFIG_X86_IO_APIC=y 452 | CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y 453 | CONFIG_X86_MCE=y 454 | CONFIG_X86_MCE_INTEL=y 455 | CONFIG_X86_MCE_AMD=y 456 | CONFIG_X86_MCE_THRESHOLD=y 457 | CONFIG_X86_MCE_INJECT=y 458 | CONFIG_X86_THERMAL_VECTOR=y 459 | 460 | # 461 | # Performance monitoring 462 | # 463 | # CONFIG_PERF_EVENTS_INTEL_UNCORE is not set 464 | # CONFIG_PERF_EVENTS_INTEL_RAPL is not set 465 | # CONFIG_PERF_EVENTS_INTEL_CSTATE is not set 466 | # CONFIG_PERF_EVENTS_AMD_POWER is not set 467 | # CONFIG_VM86 is not set 468 | CONFIG_X86_16BIT=y 469 | CONFIG_X86_ESPFIX64=y 470 | CONFIG_X86_VSYSCALL_EMULATION=y 471 | # CONFIG_I8K is not set 472 | CONFIG_MICROCODE=y 473 | CONFIG_MICROCODE_INTEL=y 474 | CONFIG_MICROCODE_AMD=y 475 | CONFIG_MICROCODE_OLD_INTERFACE=y 476 | # CONFIG_X86_MSR is not set 477 | CONFIG_X86_CPUID=y 478 | CONFIG_ARCH_PHYS_ADDR_T_64BIT=y 479 | CONFIG_ARCH_DMA_ADDR_T_64BIT=y 480 | CONFIG_X86_DIRECT_GBPAGES=y 481 | # CONFIG_NUMA is not set 482 | CONFIG_ARCH_SPARSEMEM_ENABLE=y 483 | CONFIG_ARCH_SPARSEMEM_DEFAULT=y 484 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y 485 | CONFIG_ARCH_PROC_KCORE_TEXT=y 486 | CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 487 | CONFIG_SELECT_MEMORY_MODEL=y 488 | CONFIG_SPARSEMEM_MANUAL=y 489 | CONFIG_SPARSEMEM=y 490 | CONFIG_HAVE_MEMORY_PRESENT=y 491 | CONFIG_SPARSEMEM_EXTREME=y 492 | CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y 493 | CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y 494 | # CONFIG_SPARSEMEM_VMEMMAP is not set 495 | CONFIG_HAVE_MEMBLOCK=y 496 | CONFIG_HAVE_MEMBLOCK_NODE_MAP=y 497 | CONFIG_ARCH_DISCARD_MEMBLOCK=y 498 | CONFIG_MEMORY_ISOLATION=y 499 | # CONFIG_HAVE_BOOTMEM_INFO_NODE is not set 500 | # CONFIG_MEMORY_HOTPLUG is not set 501 | CONFIG_SPLIT_PTLOCK_CPUS=4 502 | CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y 503 | CONFIG_COMPACTION=y 504 | CONFIG_MIGRATION=y 505 | CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y 506 | CONFIG_PHYS_ADDR_T_64BIT=y 507 | CONFIG_BOUNCE=y 508 | CONFIG_VIRT_TO_BUS=y 509 | CONFIG_KSM=y 510 | CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 511 | CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y 512 | CONFIG_MEMORY_FAILURE=y 513 | # CONFIG_HWPOISON_INJECT is not set 514 | CONFIG_TRANSPARENT_HUGEPAGE=y 515 | # CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set 516 | CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y 517 | CONFIG_TRANSPARENT_HUGE_PAGECACHE=y 518 | # CONFIG_CLEANCACHE is not set 519 | CONFIG_FRONTSWAP=y 520 | # CONFIG_CMA is not set 521 | CONFIG_MEM_SOFT_DIRTY=y 522 | CONFIG_ZSWAP=y 523 | CONFIG_ZPOOL=y 524 | CONFIG_ZBUD=y 525 | # CONFIG_Z3FOLD is not set 526 | # CONFIG_ZSMALLOC is not set 527 | CONFIG_GENERIC_EARLY_IOREMAP=y 528 | CONFIG_ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT=y 529 | # CONFIG_IDLE_PAGE_TRACKING is not set 530 | CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y 531 | CONFIG_ARCH_HAS_PKEYS=y 532 | # CONFIG_X86_PMEM_LEGACY is not set 533 | # CONFIG_X86_CHECK_BIOS_CORRUPTION is not set 534 | CONFIG_X86_RESERVE_LOW=64 535 | CONFIG_MTRR=y 536 | CONFIG_MTRR_SANITIZER=y 537 | CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 538 | CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 539 | CONFIG_X86_PAT=y 540 | CONFIG_ARCH_USES_PG_UNCACHED=y 541 | CONFIG_ARCH_RANDOM=y 542 | CONFIG_X86_SMAP=y 543 | CONFIG_X86_INTEL_MPX=y 544 | CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y 545 | CONFIG_EFI=y 546 | CONFIG_EFI_STUB=y 547 | CONFIG_EFI_MIXED=y 548 | CONFIG_EFI_SECURE_BOOT_SECURELEVEL=y 549 | CONFIG_SECCOMP=y 550 | # CONFIG_HZ_100 is not set 551 | CONFIG_HZ_250=y 552 | # CONFIG_HZ_300 is not set 553 | # CONFIG_HZ_1000 is not set 554 | CONFIG_HZ=250 555 | CONFIG_SCHED_HRTICK=y 556 | CONFIG_KEXEC=y 557 | CONFIG_KEXEC_FILE=y 558 | CONFIG_KEXEC_VERIFY_SIG=y 559 | CONFIG_CRASH_DUMP=y 560 | CONFIG_KEXEC_JUMP=y 561 | CONFIG_PHYSICAL_START=0x1000000 562 | CONFIG_RELOCATABLE=y 563 | # CONFIG_RANDOMIZE_BASE is not set 564 | CONFIG_PHYSICAL_ALIGN=0x200000 565 | CONFIG_HOTPLUG_CPU=y 566 | # CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set 567 | # CONFIG_DEBUG_HOTPLUG_CPU0 is not set 568 | # CONFIG_COMPAT_VDSO is not set 569 | # CONFIG_LEGACY_VSYSCALL_NATIVE is not set 570 | CONFIG_LEGACY_VSYSCALL_EMULATE=y 571 | # CONFIG_LEGACY_VSYSCALL_NONE is not set 572 | # CONFIG_CMDLINE_BOOL is not set 573 | CONFIG_MODIFY_LDT_SYSCALL=y 574 | CONFIG_HAVE_LIVEPATCH=y 575 | CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y 576 | 577 | # 578 | # Power management and ACPI options 579 | # 580 | CONFIG_ARCH_HIBERNATION_HEADER=y 581 | CONFIG_SUSPEND=y 582 | CONFIG_SUSPEND_FREEZER=y 583 | # CONFIG_SUSPEND_SKIP_SYNC is not set 584 | CONFIG_HIBERNATE_CALLBACKS=y 585 | CONFIG_HIBERNATION=y 586 | CONFIG_PM_STD_PARTITION="" 587 | CONFIG_PM_SLEEP=y 588 | CONFIG_PM_SLEEP_SMP=y 589 | # CONFIG_PM_AUTOSLEEP is not set 590 | # CONFIG_PM_WAKELOCKS is not set 591 | CONFIG_PM=y 592 | CONFIG_PM_DEBUG=y 593 | CONFIG_PM_ADVANCED_DEBUG=y 594 | # CONFIG_PM_TEST_SUSPEND is not set 595 | CONFIG_PM_SLEEP_DEBUG=y 596 | # CONFIG_PM_TRACE_RTC is not set 597 | CONFIG_PM_CLK=y 598 | # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set 599 | CONFIG_ACPI=y 600 | CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y 601 | CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y 602 | CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y 603 | # CONFIG_ACPI_DEBUGGER is not set 604 | CONFIG_ACPI_SLEEP=y 605 | # CONFIG_ACPI_PROCFS_POWER is not set 606 | CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y 607 | # CONFIG_ACPI_EC_DEBUGFS is not set 608 | CONFIG_ACPI_AC=y 609 | # CONFIG_ACPI_BATTERY is not set 610 | # CONFIG_ACPI_BUTTON is not set 611 | CONFIG_ACPI_FAN=y 612 | # CONFIG_ACPI_DOCK is not set 613 | CONFIG_ACPI_CPU_FREQ_PSS=y 614 | CONFIG_ACPI_PROCESSOR_CSTATE=y 615 | CONFIG_ACPI_PROCESSOR_IDLE=y 616 | CONFIG_ACPI_PROCESSOR=y 617 | CONFIG_ACPI_HOTPLUG_CPU=y 618 | # CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set 619 | # CONFIG_ACPI_THERMAL is not set 620 | # CONFIG_ACPI_CUSTOM_DSDT is not set 621 | CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y 622 | # CONFIG_ACPI_TABLE_UPGRADE is not set 623 | # CONFIG_ACPI_DEBUG is not set 624 | CONFIG_ACPI_PCI_SLOT=y 625 | # CONFIG_X86_PM_TIMER is not set 626 | CONFIG_ACPI_CONTAINER=y 627 | CONFIG_ACPI_HOTPLUG_IOAPIC=y 628 | # CONFIG_ACPI_SBS is not set 629 | CONFIG_ACPI_HED=y 630 | # CONFIG_ACPI_CUSTOM_METHOD is not set 631 | CONFIG_ACPI_BGRT=y 632 | # CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set 633 | # CONFIG_ACPI_NFIT is not set 634 | CONFIG_HAVE_ACPI_APEI=y 635 | CONFIG_HAVE_ACPI_APEI_NMI=y 636 | # CONFIG_ACPI_APEI is not set 637 | # CONFIG_DPTF_POWER is not set 638 | # CONFIG_ACPI_EXTLOG is not set 639 | # CONFIG_PMIC_OPREGION is not set 640 | # CONFIG_ACPI_CONFIGFS is not set 641 | # CONFIG_SFI is not set 642 | 643 | # 644 | # CPU Frequency scaling 645 | # 646 | CONFIG_CPU_FREQ=y 647 | CONFIG_CPU_FREQ_GOV_ATTR_SET=y 648 | CONFIG_CPU_FREQ_GOV_COMMON=y 649 | CONFIG_CPU_FREQ_STAT=y 650 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set 651 | # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set 652 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set 653 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set 654 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y 655 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set 656 | # CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set 657 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y 658 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set 659 | # CONFIG_CPU_FREQ_GOV_USERSPACE is not set 660 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y 661 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set 662 | # CONFIG_CPU_FREQ_GOV_SCHEDUTIL is not set 663 | 664 | # 665 | # CPU frequency scaling drivers 666 | # 667 | # CONFIG_X86_INTEL_PSTATE is not set 668 | # CONFIG_X86_PCC_CPUFREQ is not set 669 | # CONFIG_X86_ACPI_CPUFREQ is not set 670 | # CONFIG_X86_SPEEDSTEP_CENTRINO is not set 671 | # CONFIG_X86_P4_CLOCKMOD is not set 672 | 673 | # 674 | # shared options 675 | # 676 | # CONFIG_X86_SPEEDSTEP_LIB is not set 677 | 678 | # 679 | # CPU Idle 680 | # 681 | CONFIG_CPU_IDLE=y 682 | CONFIG_CPU_IDLE_GOV_LADDER=y 683 | CONFIG_CPU_IDLE_GOV_MENU=y 684 | # CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set 685 | CONFIG_INTEL_IDLE=y 686 | 687 | # 688 | # Memory power savings 689 | # 690 | CONFIG_I7300_IDLE_IOAT_CHANNEL=y 691 | CONFIG_I7300_IDLE=y 692 | 693 | # 694 | # Bus options (PCI etc.) 695 | # 696 | CONFIG_PCI=y 697 | CONFIG_PCI_DIRECT=y 698 | CONFIG_PCI_MMCONFIG=y 699 | CONFIG_PCI_DOMAINS=y 700 | # CONFIG_PCI_CNB20LE_QUIRK is not set 701 | CONFIG_PCIEPORTBUS=y 702 | CONFIG_HOTPLUG_PCI_PCIE=y 703 | CONFIG_PCIEAER=y 704 | # CONFIG_PCIE_ECRC is not set 705 | # CONFIG_PCIEAER_INJECT is not set 706 | CONFIG_PCIEASPM=y 707 | # CONFIG_PCIEASPM_DEBUG is not set 708 | CONFIG_PCIEASPM_DEFAULT=y 709 | # CONFIG_PCIEASPM_POWERSAVE is not set 710 | # CONFIG_PCIEASPM_PERFORMANCE is not set 711 | CONFIG_PCIE_PME=y 712 | CONFIG_PCIE_DPC=y 713 | CONFIG_PCIE_PTM=y 714 | CONFIG_PCI_BUS_ADDR_T_64BIT=y 715 | CONFIG_PCI_MSI=y 716 | CONFIG_PCI_MSI_IRQ_DOMAIN=y 717 | # CONFIG_PCI_DEBUG is not set 718 | CONFIG_PCI_REALLOC_ENABLE_AUTO=y 719 | # CONFIG_PCI_STUB is not set 720 | CONFIG_HT_IRQ=y 721 | CONFIG_PCI_ATS=y 722 | CONFIG_PCI_IOV=y 723 | CONFIG_PCI_PRI=y 724 | CONFIG_PCI_PASID=y 725 | CONFIG_PCI_LABEL=y 726 | CONFIG_HOTPLUG_PCI=y 727 | CONFIG_HOTPLUG_PCI_ACPI=y 728 | # CONFIG_HOTPLUG_PCI_ACPI_IBM is not set 729 | # CONFIG_HOTPLUG_PCI_CPCI is not set 730 | # CONFIG_HOTPLUG_PCI_SHPC is not set 731 | 732 | # 733 | # PCI host controller drivers 734 | # 735 | # CONFIG_PCIE_DW_PLAT is not set 736 | # CONFIG_VMD is not set 737 | # CONFIG_ISA_BUS is not set 738 | # CONFIG_ISA_DMA_API is not set 739 | CONFIG_AMD_NB=y 740 | # CONFIG_PCCARD is not set 741 | # CONFIG_RAPIDIO is not set 742 | # CONFIG_X86_SYSFB is not set 743 | 744 | # 745 | # Executable file formats / Emulations 746 | # 747 | CONFIG_BINFMT_ELF=y 748 | CONFIG_COMPAT_BINFMT_ELF=y 749 | CONFIG_ELFCORE=y 750 | CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y 751 | CONFIG_BINFMT_SCRIPT=y 752 | # CONFIG_HAVE_AOUT is not set 753 | # CONFIG_BINFMT_MISC is not set 754 | CONFIG_COREDUMP=y 755 | CONFIG_IA32_EMULATION=y 756 | CONFIG_IA32_AOUT=y 757 | CONFIG_X86_X32=y 758 | CONFIG_X86_X32_DISABLED=y 759 | CONFIG_COMPAT=y 760 | CONFIG_COMPAT_FOR_U64_ALIGNMENT=y 761 | CONFIG_SYSVIPC_COMPAT=y 762 | CONFIG_X86_DEV_DMA_OPS=y 763 | CONFIG_PMC_ATOM=y 764 | CONFIG_NET=y 765 | 766 | # 767 | # Networking options 768 | # 769 | CONFIG_PACKET=y 770 | # CONFIG_PACKET_DIAG is not set 771 | CONFIG_UNIX=y 772 | # CONFIG_UNIX_DIAG is not set 773 | # CONFIG_XFRM_USER is not set 774 | # CONFIG_NET_KEY is not set 775 | CONFIG_INET=y 776 | CONFIG_IP_MULTICAST=y 777 | CONFIG_IP_ADVANCED_ROUTER=y 778 | CONFIG_IP_FIB_TRIE_STATS=y 779 | CONFIG_IP_MULTIPLE_TABLES=y 780 | CONFIG_IP_ROUTE_MULTIPATH=y 781 | CONFIG_IP_ROUTE_VERBOSE=y 782 | CONFIG_IP_PNP=y 783 | CONFIG_IP_PNP_DHCP=y 784 | # CONFIG_IP_PNP_BOOTP is not set 785 | # CONFIG_IP_PNP_RARP is not set 786 | # CONFIG_NET_IPIP is not set 787 | # CONFIG_NET_IPGRE_DEMUX is not set 788 | # CONFIG_NET_IP_TUNNEL is not set 789 | # CONFIG_IP_MROUTE is not set 790 | CONFIG_SYN_COOKIES=y 791 | # CONFIG_NET_UDP_TUNNEL is not set 792 | # CONFIG_NET_FOU is not set 793 | # CONFIG_INET_AH is not set 794 | # CONFIG_INET_ESP is not set 795 | # CONFIG_INET_IPCOMP is not set 796 | # CONFIG_INET_XFRM_TUNNEL is not set 797 | # CONFIG_INET_TUNNEL is not set 798 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set 799 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set 800 | # CONFIG_INET_XFRM_MODE_BEET is not set 801 | # CONFIG_INET_DIAG is not set 802 | CONFIG_TCP_CONG_ADVANCED=y 803 | CONFIG_TCP_CONG_BIC=y 804 | CONFIG_TCP_CONG_CUBIC=y 805 | CONFIG_TCP_CONG_WESTWOOD=y 806 | CONFIG_TCP_CONG_HTCP=y 807 | CONFIG_TCP_CONG_HSTCP=y 808 | CONFIG_TCP_CONG_HYBLA=y 809 | CONFIG_TCP_CONG_VEGAS=y 810 | CONFIG_TCP_CONG_NV=y 811 | CONFIG_TCP_CONG_SCALABLE=y 812 | CONFIG_TCP_CONG_LP=y 813 | CONFIG_TCP_CONG_VENO=y 814 | CONFIG_TCP_CONG_YEAH=y 815 | CONFIG_TCP_CONG_ILLINOIS=y 816 | CONFIG_TCP_CONG_DCTCP=y 817 | CONFIG_TCP_CONG_CDG=y 818 | CONFIG_TCP_CONG_BBR=y 819 | # CONFIG_DEFAULT_BIC is not set 820 | CONFIG_DEFAULT_CUBIC=y 821 | # CONFIG_DEFAULT_HTCP is not set 822 | # CONFIG_DEFAULT_HYBLA is not set 823 | # CONFIG_DEFAULT_VEGAS is not set 824 | # CONFIG_DEFAULT_VENO is not set 825 | # CONFIG_DEFAULT_WESTWOOD is not set 826 | # CONFIG_DEFAULT_DCTCP is not set 827 | # CONFIG_DEFAULT_CDG is not set 828 | # CONFIG_DEFAULT_BBR is not set 829 | # CONFIG_DEFAULT_RENO is not set 830 | CONFIG_DEFAULT_TCP_CONG="cubic" 831 | CONFIG_TCP_MD5SIG=y 832 | # CONFIG_IPV6 is not set 833 | # CONFIG_NETLABEL is not set 834 | CONFIG_NETWORK_SECMARK=y 835 | CONFIG_NET_PTP_CLASSIFY=y 836 | # CONFIG_NETWORK_PHY_TIMESTAMPING is not set 837 | # CONFIG_NETFILTER is not set 838 | # CONFIG_IP_DCCP is not set 839 | # CONFIG_IP_SCTP is not set 840 | # CONFIG_RDS is not set 841 | # CONFIG_TIPC is not set 842 | # CONFIG_ATM is not set 843 | # CONFIG_L2TP is not set 844 | # CONFIG_BRIDGE is not set 845 | CONFIG_HAVE_NET_DSA=y 846 | # CONFIG_NET_DSA is not set 847 | # CONFIG_VLAN_8021Q is not set 848 | # CONFIG_DECNET is not set 849 | # CONFIG_LLC2 is not set 850 | # CONFIG_IPX is not set 851 | # CONFIG_ATALK is not set 852 | # CONFIG_X25 is not set 853 | # CONFIG_LAPB is not set 854 | # CONFIG_PHONET is not set 855 | # CONFIG_IEEE802154 is not set 856 | # CONFIG_NET_SCHED is not set 857 | # CONFIG_DCB is not set 858 | CONFIG_DNS_RESOLVER=y 859 | # CONFIG_BATMAN_ADV is not set 860 | # CONFIG_OPENVSWITCH is not set 861 | # CONFIG_VSOCKETS is not set 862 | # CONFIG_NETLINK_DIAG is not set 863 | # CONFIG_MPLS is not set 864 | # CONFIG_HSR is not set 865 | # CONFIG_NET_SWITCHDEV is not set 866 | # CONFIG_NET_L3_MASTER_DEV is not set 867 | # CONFIG_NET_NCSI is not set 868 | CONFIG_RPS=y 869 | CONFIG_RFS_ACCEL=y 870 | CONFIG_XPS=y 871 | CONFIG_SOCK_CGROUP_DATA=y 872 | CONFIG_CGROUP_NET_PRIO=y 873 | CONFIG_CGROUP_NET_CLASSID=y 874 | CONFIG_NET_RX_BUSY_POLL=y 875 | CONFIG_BQL=y 876 | CONFIG_BPF_JIT=y 877 | CONFIG_NET_FLOW_LIMIT=y 878 | 879 | # 880 | # Network testing 881 | # 882 | # CONFIG_NET_PKTGEN is not set 883 | # CONFIG_NET_TCPPROBE is not set 884 | # CONFIG_HAMRADIO is not set 885 | # CONFIG_CAN is not set 886 | # CONFIG_IRDA is not set 887 | # CONFIG_BT is not set 888 | # CONFIG_AF_RXRPC is not set 889 | # CONFIG_AF_KCM is not set 890 | # CONFIG_STREAM_PARSER is not set 891 | CONFIG_FIB_RULES=y 892 | # CONFIG_WIRELESS is not set 893 | # CONFIG_WIMAX is not set 894 | # CONFIG_RFKILL is not set 895 | # CONFIG_NET_9P is not set 896 | # CONFIG_CAIF is not set 897 | # CONFIG_CEPH_LIB is not set 898 | # CONFIG_NFC is not set 899 | CONFIG_LWTUNNEL=y 900 | # CONFIG_DST_CACHE is not set 901 | # CONFIG_NET_DEVLINK is not set 902 | CONFIG_MAY_USE_DEVLINK=y 903 | CONFIG_HAVE_EBPF_JIT=y 904 | 905 | # 906 | # Device Drivers 907 | # 908 | 909 | # 910 | # Generic Driver Options 911 | # 912 | CONFIG_UEVENT_HELPER=y 913 | CONFIG_UEVENT_HELPER_PATH="" 914 | CONFIG_DEVTMPFS=y 915 | # CONFIG_DEVTMPFS_MOUNT is not set 916 | CONFIG_STANDALONE=y 917 | CONFIG_PREVENT_FIRMWARE_BUILD=y 918 | CONFIG_FW_LOADER=y 919 | # CONFIG_FIRMWARE_IN_KERNEL is not set 920 | CONFIG_EXTRA_FIRMWARE="" 921 | # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set 922 | CONFIG_ALLOW_DEV_COREDUMP=y 923 | # CONFIG_DEBUG_DRIVER is not set 924 | # CONFIG_DEBUG_DEVRES is not set 925 | # CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set 926 | # CONFIG_SYS_HYPERVISOR is not set 927 | # CONFIG_GENERIC_CPU_DEVICES is not set 928 | CONFIG_GENERIC_CPU_AUTOPROBE=y 929 | CONFIG_REGMAP=y 930 | CONFIG_REGMAP_I2C=y 931 | # CONFIG_DMA_SHARED_BUFFER is not set 932 | 933 | # 934 | # Bus devices 935 | # 936 | CONFIG_CONNECTOR=y 937 | CONFIG_PROC_EVENTS=y 938 | # CONFIG_MTD is not set 939 | # CONFIG_OF is not set 940 | CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y 941 | # CONFIG_PARPORT is not set 942 | CONFIG_PNP=y 943 | # CONFIG_PNP_DEBUG_MESSAGES is not set 944 | 945 | # 946 | # Protocols 947 | # 948 | CONFIG_PNPACPI=y 949 | CONFIG_BLK_DEV=y 950 | # CONFIG_BLK_DEV_NULL_BLK is not set 951 | # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set 952 | # CONFIG_BLK_CPQ_CISS_DA is not set 953 | # CONFIG_BLK_DEV_DAC960 is not set 954 | # CONFIG_BLK_DEV_UMEM is not set 955 | # CONFIG_BLK_DEV_COW_COMMON is not set 956 | # CONFIG_BLK_DEV_LOOP is not set 957 | # CONFIG_BLK_DEV_DRBD is not set 958 | # CONFIG_BLK_DEV_NBD is not set 959 | # CONFIG_BLK_DEV_SKD is not set 960 | # CONFIG_BLK_DEV_SX8 is not set 961 | # CONFIG_BLK_DEV_RAM is not set 962 | # CONFIG_CDROM_PKTCDVD is not set 963 | # CONFIG_ATA_OVER_ETH is not set 964 | # CONFIG_BLK_DEV_HD is not set 965 | # CONFIG_BLK_DEV_RBD is not set 966 | # CONFIG_BLK_DEV_RSXX is not set 967 | # CONFIG_BLK_DEV_NVME is not set 968 | # CONFIG_NVME_TARGET is not set 969 | 970 | # 971 | # Misc devices 972 | # 973 | # CONFIG_SENSORS_LIS3LV02D is not set 974 | # CONFIG_AD525X_DPOT is not set 975 | # CONFIG_DUMMY_IRQ is not set 976 | # CONFIG_IBM_ASM is not set 977 | # CONFIG_PHANTOM is not set 978 | # CONFIG_SGI_IOC4 is not set 979 | # CONFIG_TIFM_CORE is not set 980 | # CONFIG_ICS932S401 is not set 981 | # CONFIG_ENCLOSURE_SERVICES is not set 982 | # CONFIG_HP_ILO is not set 983 | # CONFIG_APDS9802ALS is not set 984 | # CONFIG_ISL29003 is not set 985 | # CONFIG_ISL29020 is not set 986 | # CONFIG_SENSORS_TSL2550 is not set 987 | # CONFIG_SENSORS_BH1770 is not set 988 | # CONFIG_SENSORS_APDS990X is not set 989 | # CONFIG_HMC6352 is not set 990 | # CONFIG_DS1682 is not set 991 | # CONFIG_USB_SWITCH_FSA9480 is not set 992 | # CONFIG_SRAM is not set 993 | # CONFIG_C2PORT is not set 994 | 995 | # 996 | # EEPROM support 997 | # 998 | # CONFIG_EEPROM_AT24 is not set 999 | # CONFIG_EEPROM_LEGACY is not set 1000 | # CONFIG_EEPROM_MAX6875 is not set 1001 | # CONFIG_EEPROM_93CX6 is not set 1002 | # CONFIG_CB710_CORE is not set 1003 | 1004 | # 1005 | # Texas Instruments shared transport line discipline 1006 | # 1007 | # CONFIG_SENSORS_LIS3_I2C is not set 1008 | 1009 | # 1010 | # Altera FPGA firmware download module 1011 | # 1012 | # CONFIG_ALTERA_STAPL is not set 1013 | # CONFIG_INTEL_MEI is not set 1014 | # CONFIG_INTEL_MEI_ME is not set 1015 | # CONFIG_INTEL_MEI_TXE is not set 1016 | # CONFIG_VMWARE_VMCI is not set 1017 | 1018 | # 1019 | # Intel MIC Bus Driver 1020 | # 1021 | # CONFIG_INTEL_MIC_BUS is not set 1022 | 1023 | # 1024 | # SCIF Bus Driver 1025 | # 1026 | # CONFIG_SCIF_BUS is not set 1027 | 1028 | # 1029 | # VOP Bus Driver 1030 | # 1031 | # CONFIG_VOP_BUS is not set 1032 | 1033 | # 1034 | # Intel MIC Host Driver 1035 | # 1036 | 1037 | # 1038 | # Intel MIC Card Driver 1039 | # 1040 | 1041 | # 1042 | # SCIF Driver 1043 | # 1044 | 1045 | # 1046 | # Intel MIC Coprocessor State Management (COSM) Drivers 1047 | # 1048 | 1049 | # 1050 | # VOP Driver 1051 | # 1052 | # CONFIG_GENWQE is not set 1053 | # CONFIG_ECHO is not set 1054 | # CONFIG_CXL_BASE is not set 1055 | # CONFIG_CXL_AFU_DRIVER_OPS is not set 1056 | CONFIG_HAVE_IDE=y 1057 | # CONFIG_IDE is not set 1058 | 1059 | # 1060 | # SCSI device support 1061 | # 1062 | CONFIG_SCSI_MOD=y 1063 | CONFIG_RAID_ATTRS=y 1064 | CONFIG_SCSI=y 1065 | CONFIG_SCSI_DMA=y 1066 | # CONFIG_SCSI_NETLINK is not set 1067 | CONFIG_SCSI_MQ_DEFAULT=y 1068 | # CONFIG_SCSI_PROC_FS is not set 1069 | 1070 | # 1071 | # SCSI support type (disk, tape, CD-ROM) 1072 | # 1073 | CONFIG_BLK_DEV_SD=y 1074 | # CONFIG_CHR_DEV_ST is not set 1075 | # CONFIG_CHR_DEV_OSST is not set 1076 | # CONFIG_BLK_DEV_SR is not set 1077 | # CONFIG_CHR_DEV_SG is not set 1078 | # CONFIG_CHR_DEV_SCH is not set 1079 | # CONFIG_SCSI_CONSTANTS is not set 1080 | # CONFIG_SCSI_LOGGING is not set 1081 | # CONFIG_SCSI_SCAN_ASYNC is not set 1082 | 1083 | # 1084 | # SCSI Transports 1085 | # 1086 | # CONFIG_SCSI_SPI_ATTRS is not set 1087 | # CONFIG_SCSI_FC_ATTRS is not set 1088 | # CONFIG_SCSI_ISCSI_ATTRS is not set 1089 | # CONFIG_SCSI_SAS_ATTRS is not set 1090 | # CONFIG_SCSI_SAS_LIBSAS is not set 1091 | # CONFIG_SCSI_SRP_ATTRS is not set 1092 | # CONFIG_SCSI_LOWLEVEL is not set 1093 | # CONFIG_SCSI_DH is not set 1094 | # CONFIG_SCSI_OSD_INITIATOR is not set 1095 | CONFIG_ATA=y 1096 | # CONFIG_ATA_NONSTANDARD is not set 1097 | CONFIG_ATA_VERBOSE_ERROR=y 1098 | CONFIG_ATA_ACPI=y 1099 | CONFIG_SATA_ZPODD=y 1100 | CONFIG_SATA_PMP=y 1101 | 1102 | # 1103 | # Controllers with non-SFF native interface 1104 | # 1105 | CONFIG_SATA_AHCI=y 1106 | # CONFIG_SATA_AHCI_PLATFORM is not set 1107 | # CONFIG_SATA_INIC162X is not set 1108 | # CONFIG_SATA_ACARD_AHCI is not set 1109 | # CONFIG_SATA_SIL24 is not set 1110 | CONFIG_ATA_SFF=y 1111 | 1112 | # 1113 | # SFF controllers with custom DMA interface 1114 | # 1115 | # CONFIG_PDC_ADMA is not set 1116 | # CONFIG_SATA_QSTOR is not set 1117 | # CONFIG_SATA_SX4 is not set 1118 | # CONFIG_ATA_BMDMA is not set 1119 | 1120 | # 1121 | # PIO-only SFF controllers 1122 | # 1123 | # CONFIG_PATA_CMD640_PCI is not set 1124 | # CONFIG_PATA_MPIIX is not set 1125 | # CONFIG_PATA_NS87410 is not set 1126 | # CONFIG_PATA_OPTI is not set 1127 | # CONFIG_PATA_PLATFORM is not set 1128 | # CONFIG_PATA_RZ1000 is not set 1129 | 1130 | # 1131 | # Generic fallback / legacy drivers 1132 | # 1133 | # CONFIG_PATA_LEGACY is not set 1134 | CONFIG_MD=y 1135 | CONFIG_BLK_DEV_MD=y 1136 | CONFIG_MD_AUTODETECT=y 1137 | CONFIG_MD_LINEAR=y 1138 | CONFIG_MD_RAID0=y 1139 | CONFIG_MD_RAID1=y 1140 | CONFIG_MD_RAID10=y 1141 | CONFIG_MD_RAID456=y 1142 | CONFIG_MD_MULTIPATH=y 1143 | CONFIG_MD_FAULTY=y 1144 | CONFIG_BCACHE=y 1145 | # CONFIG_BCACHE_DEBUG is not set 1146 | # CONFIG_BCACHE_CLOSURES_DEBUG is not set 1147 | CONFIG_BLK_DEV_DM_BUILTIN=y 1148 | CONFIG_BLK_DEV_DM=y 1149 | # CONFIG_DM_MQ_DEFAULT is not set 1150 | # CONFIG_DM_DEBUG is not set 1151 | CONFIG_DM_BUFIO=y 1152 | # CONFIG_DM_DEBUG_BLOCK_STACK_TRACING is not set 1153 | CONFIG_DM_BIO_PRISON=y 1154 | CONFIG_DM_PERSISTENT_DATA=y 1155 | CONFIG_DM_CRYPT=y 1156 | CONFIG_DM_SNAPSHOT=y 1157 | CONFIG_DM_THIN_PROVISIONING=y 1158 | CONFIG_DM_CACHE=y 1159 | CONFIG_DM_CACHE_SMQ=y 1160 | CONFIG_DM_CACHE_CLEANER=y 1161 | CONFIG_DM_ERA=y 1162 | CONFIG_DM_MIRROR=y 1163 | CONFIG_DM_LOG_USERSPACE=y 1164 | CONFIG_DM_RAID=y 1165 | CONFIG_DM_ZERO=y 1166 | # CONFIG_DM_MULTIPATH is not set 1167 | # CONFIG_DM_DELAY is not set 1168 | CONFIG_DM_UEVENT=y 1169 | # CONFIG_DM_FLAKEY is not set 1170 | # CONFIG_DM_VERITY is not set 1171 | # CONFIG_DM_SWITCH is not set 1172 | # CONFIG_DM_LOG_WRITES is not set 1173 | # CONFIG_TARGET_CORE is not set 1174 | CONFIG_FUSION=y 1175 | # CONFIG_FUSION_SPI is not set 1176 | # CONFIG_FUSION_SAS is not set 1177 | CONFIG_FUSION_MAX_SGE=128 1178 | # CONFIG_FUSION_LOGGING is not set 1179 | 1180 | # 1181 | # IEEE 1394 (FireWire) support 1182 | # 1183 | # CONFIG_FIREWIRE is not set 1184 | # CONFIG_FIREWIRE_NOSY is not set 1185 | # CONFIG_MACINTOSH_DRIVERS is not set 1186 | CONFIG_NETDEVICES=y 1187 | CONFIG_MII=y 1188 | CONFIG_NET_CORE=y 1189 | # CONFIG_BONDING is not set 1190 | # CONFIG_DUMMY is not set 1191 | # CONFIG_EQUALIZER is not set 1192 | # CONFIG_NET_FC is not set 1193 | # CONFIG_NET_TEAM is not set 1194 | # CONFIG_MACVLAN is not set 1195 | # CONFIG_VXLAN is not set 1196 | # CONFIG_MACSEC is not set 1197 | CONFIG_NETCONSOLE=y 1198 | # CONFIG_NETCONSOLE_DYNAMIC is not set 1199 | CONFIG_NETPOLL=y 1200 | CONFIG_NET_POLL_CONTROLLER=y 1201 | CONFIG_TUN=y 1202 | # CONFIG_TUN_VNET_CROSS_LE is not set 1203 | CONFIG_VETH=y 1204 | # CONFIG_NLMON is not set 1205 | # CONFIG_ARCNET is not set 1206 | 1207 | # 1208 | # CAIF transport drivers 1209 | # 1210 | 1211 | # 1212 | # Distributed Switch Architecture drivers 1213 | # 1214 | CONFIG_ETHERNET=y 1215 | CONFIG_MDIO=y 1216 | # CONFIG_NET_VENDOR_3COM is not set 1217 | # CONFIG_NET_VENDOR_ADAPTEC is not set 1218 | # CONFIG_NET_VENDOR_AGERE is not set 1219 | # CONFIG_NET_VENDOR_ALTEON is not set 1220 | # CONFIG_ALTERA_TSE is not set 1221 | # CONFIG_NET_VENDOR_AMAZON is not set 1222 | # CONFIG_NET_VENDOR_AMD is not set 1223 | # CONFIG_NET_VENDOR_ARC is not set 1224 | # CONFIG_NET_VENDOR_ATHEROS is not set 1225 | # CONFIG_NET_VENDOR_AURORA is not set 1226 | # CONFIG_NET_CADENCE is not set 1227 | # CONFIG_NET_VENDOR_BROADCOM is not set 1228 | # CONFIG_NET_VENDOR_BROCADE is not set 1229 | # CONFIG_NET_VENDOR_CAVIUM is not set 1230 | # CONFIG_NET_VENDOR_CHELSIO is not set 1231 | # CONFIG_NET_VENDOR_CISCO is not set 1232 | # CONFIG_CX_ECAT is not set 1233 | # CONFIG_DNET is not set 1234 | # CONFIG_NET_VENDOR_DEC is not set 1235 | # CONFIG_NET_VENDOR_DLINK is not set 1236 | # CONFIG_NET_VENDOR_EMULEX is not set 1237 | # CONFIG_NET_VENDOR_EZCHIP is not set 1238 | # CONFIG_NET_VENDOR_EXAR is not set 1239 | # CONFIG_NET_VENDOR_HP is not set 1240 | CONFIG_NET_VENDOR_INTEL=y 1241 | CONFIG_E100=y 1242 | CONFIG_E1000=y 1243 | CONFIG_E1000E=y 1244 | CONFIG_E1000E_HWTS=y 1245 | CONFIG_IGB=y 1246 | CONFIG_IGB_DCA=y 1247 | # CONFIG_IGBVF is not set 1248 | CONFIG_IXGB=y 1249 | CONFIG_IXGBE=y 1250 | CONFIG_IXGBE_DCA=y 1251 | # CONFIG_IXGBEVF is not set 1252 | # CONFIG_I40E is not set 1253 | # CONFIG_I40EVF is not set 1254 | # CONFIG_FM10K is not set 1255 | CONFIG_NET_VENDOR_I825XX=y 1256 | # CONFIG_JME is not set 1257 | # CONFIG_NET_VENDOR_MARVELL is not set 1258 | # CONFIG_NET_VENDOR_MELLANOX is not set 1259 | # CONFIG_NET_VENDOR_MICREL is not set 1260 | # CONFIG_NET_VENDOR_MYRI is not set 1261 | # CONFIG_FEALNX is not set 1262 | # CONFIG_NET_VENDOR_NATSEMI is not set 1263 | # CONFIG_NET_VENDOR_NETRONOME is not set 1264 | # CONFIG_NET_VENDOR_NVIDIA is not set 1265 | # CONFIG_NET_VENDOR_OKI is not set 1266 | # CONFIG_ETHOC is not set 1267 | # CONFIG_NET_PACKET_ENGINE is not set 1268 | # CONFIG_NET_VENDOR_QLOGIC is not set 1269 | # CONFIG_NET_VENDOR_QUALCOMM is not set 1270 | # CONFIG_NET_VENDOR_REALTEK is not set 1271 | # CONFIG_NET_VENDOR_RENESAS is not set 1272 | # CONFIG_NET_VENDOR_RDC is not set 1273 | # CONFIG_NET_VENDOR_ROCKER is not set 1274 | # CONFIG_NET_VENDOR_SAMSUNG is not set 1275 | # CONFIG_NET_VENDOR_SEEQ is not set 1276 | # CONFIG_NET_VENDOR_SILAN is not set 1277 | # CONFIG_NET_VENDOR_SIS is not set 1278 | # CONFIG_SFC is not set 1279 | # CONFIG_NET_VENDOR_SMSC is not set 1280 | # CONFIG_NET_VENDOR_STMICRO is not set 1281 | # CONFIG_NET_VENDOR_SUN is not set 1282 | # CONFIG_NET_VENDOR_SYNOPSYS is not set 1283 | # CONFIG_NET_VENDOR_TEHUTI is not set 1284 | # CONFIG_NET_VENDOR_TI is not set 1285 | # CONFIG_NET_VENDOR_VIA is not set 1286 | # CONFIG_NET_VENDOR_WIZNET is not set 1287 | # CONFIG_FDDI is not set 1288 | # CONFIG_HIPPI is not set 1289 | # CONFIG_NET_SB1000 is not set 1290 | # CONFIG_PHYLIB is not set 1291 | # CONFIG_PPP is not set 1292 | # CONFIG_SLIP is not set 1293 | # CONFIG_USB_NET_DRIVERS is not set 1294 | # CONFIG_WLAN is not set 1295 | 1296 | # 1297 | # Enable WiMAX (Networking options) to see the WiMAX drivers 1298 | # 1299 | # CONFIG_WAN is not set 1300 | # CONFIG_VMXNET3 is not set 1301 | # CONFIG_FUJITSU_ES is not set 1302 | # CONFIG_ISDN is not set 1303 | # CONFIG_NVM is not set 1304 | 1305 | # 1306 | # Input device support 1307 | # 1308 | CONFIG_INPUT=y 1309 | CONFIG_INPUT_FF_MEMLESS=y 1310 | CONFIG_INPUT_POLLDEV=y 1311 | CONFIG_INPUT_SPARSEKMAP=y 1312 | CONFIG_INPUT_MATRIXKMAP=y 1313 | 1314 | # 1315 | # Userland interfaces 1316 | # 1317 | CONFIG_INPUT_MOUSEDEV=y 1318 | CONFIG_INPUT_MOUSEDEV_PSAUX=y 1319 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 1320 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 1321 | # CONFIG_INPUT_JOYDEV is not set 1322 | CONFIG_INPUT_EVDEV=y 1323 | # CONFIG_INPUT_EVBUG is not set 1324 | 1325 | # 1326 | # Input Device Drivers 1327 | # 1328 | CONFIG_INPUT_KEYBOARD=y 1329 | # CONFIG_KEYBOARD_ADP5588 is not set 1330 | # CONFIG_KEYBOARD_ADP5589 is not set 1331 | CONFIG_KEYBOARD_ATKBD=y 1332 | # CONFIG_KEYBOARD_QT1070 is not set 1333 | # CONFIG_KEYBOARD_QT2160 is not set 1334 | # CONFIG_KEYBOARD_LKKBD is not set 1335 | # CONFIG_KEYBOARD_TCA6416 is not set 1336 | # CONFIG_KEYBOARD_TCA8418 is not set 1337 | # CONFIG_KEYBOARD_LM8333 is not set 1338 | # CONFIG_KEYBOARD_MAX7359 is not set 1339 | # CONFIG_KEYBOARD_MCS is not set 1340 | # CONFIG_KEYBOARD_MPR121 is not set 1341 | # CONFIG_KEYBOARD_NEWTON is not set 1342 | # CONFIG_KEYBOARD_OPENCORES is not set 1343 | # CONFIG_KEYBOARD_SAMSUNG is not set 1344 | # CONFIG_KEYBOARD_STOWAWAY is not set 1345 | # CONFIG_KEYBOARD_SUNKBD is not set 1346 | # CONFIG_KEYBOARD_XTKBD is not set 1347 | CONFIG_INPUT_MOUSE=y 1348 | CONFIG_MOUSE_PS2=y 1349 | # CONFIG_MOUSE_PS2_ALPS is not set 1350 | # CONFIG_MOUSE_PS2_BYD is not set 1351 | # CONFIG_MOUSE_PS2_LOGIPS2PP is not set 1352 | # CONFIG_MOUSE_PS2_SYNAPTICS is not set 1353 | # CONFIG_MOUSE_PS2_CYPRESS is not set 1354 | # CONFIG_MOUSE_PS2_LIFEBOOK is not set 1355 | # CONFIG_MOUSE_PS2_TRACKPOINT is not set 1356 | # CONFIG_MOUSE_PS2_ELANTECH is not set 1357 | # CONFIG_MOUSE_PS2_SENTELIC is not set 1358 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set 1359 | # CONFIG_MOUSE_PS2_FOCALTECH is not set 1360 | # CONFIG_MOUSE_PS2_VMMOUSE is not set 1361 | CONFIG_MOUSE_SERIAL=y 1362 | # CONFIG_MOUSE_APPLETOUCH is not set 1363 | # CONFIG_MOUSE_BCM5974 is not set 1364 | # CONFIG_MOUSE_CYAPA is not set 1365 | # CONFIG_MOUSE_ELAN_I2C is not set 1366 | # CONFIG_MOUSE_VSXXXAA is not set 1367 | # CONFIG_MOUSE_SYNAPTICS_I2C is not set 1368 | # CONFIG_MOUSE_SYNAPTICS_USB is not set 1369 | # CONFIG_INPUT_JOYSTICK is not set 1370 | # CONFIG_INPUT_TABLET is not set 1371 | # CONFIG_INPUT_TOUCHSCREEN is not set 1372 | CONFIG_INPUT_MISC=y 1373 | # CONFIG_INPUT_AD714X is not set 1374 | # CONFIG_INPUT_BMA150 is not set 1375 | # CONFIG_INPUT_E3X0_BUTTON is not set 1376 | CONFIG_INPUT_PCSPKR=y 1377 | # CONFIG_INPUT_MMA8450 is not set 1378 | # CONFIG_INPUT_MPU3050 is not set 1379 | # CONFIG_INPUT_ATLAS_BTNS is not set 1380 | # CONFIG_INPUT_ATI_REMOTE2 is not set 1381 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set 1382 | # CONFIG_INPUT_KXTJ9 is not set 1383 | # CONFIG_INPUT_POWERMATE is not set 1384 | # CONFIG_INPUT_YEALINK is not set 1385 | # CONFIG_INPUT_CM109 is not set 1386 | # CONFIG_INPUT_UINPUT is not set 1387 | # CONFIG_INPUT_PCF8574 is not set 1388 | # CONFIG_INPUT_ADXL34X is not set 1389 | # CONFIG_INPUT_CMA3000 is not set 1390 | # CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set 1391 | # CONFIG_INPUT_DRV2665_HAPTICS is not set 1392 | # CONFIG_INPUT_DRV2667_HAPTICS is not set 1393 | # CONFIG_RMI4_CORE is not set 1394 | 1395 | # 1396 | # Hardware I/O ports 1397 | # 1398 | CONFIG_SERIO=y 1399 | CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y 1400 | CONFIG_SERIO_I8042=y 1401 | CONFIG_SERIO_SERPORT=y 1402 | # CONFIG_SERIO_CT82C710 is not set 1403 | # CONFIG_SERIO_PCIPS2 is not set 1404 | CONFIG_SERIO_LIBPS2=y 1405 | CONFIG_SERIO_RAW=y 1406 | # CONFIG_SERIO_ALTERA_PS2 is not set 1407 | # CONFIG_SERIO_PS2MULT is not set 1408 | # CONFIG_SERIO_ARC_PS2 is not set 1409 | # CONFIG_USERIO is not set 1410 | # CONFIG_GAMEPORT is not set 1411 | 1412 | # 1413 | # Character devices 1414 | # 1415 | CONFIG_TTY=y 1416 | CONFIG_VT=y 1417 | CONFIG_CONSOLE_TRANSLATIONS=y 1418 | CONFIG_VT_CONSOLE=y 1419 | CONFIG_VT_CONSOLE_SLEEP=y 1420 | CONFIG_HW_CONSOLE=y 1421 | CONFIG_VT_HW_CONSOLE_BINDING=y 1422 | CONFIG_UNIX98_PTYS=y 1423 | # CONFIG_LEGACY_PTYS is not set 1424 | # CONFIG_SERIAL_NONSTANDARD is not set 1425 | # CONFIG_NOZOMI is not set 1426 | # CONFIG_N_GSM is not set 1427 | # CONFIG_TRACE_SINK is not set 1428 | CONFIG_DEVMEM=y 1429 | CONFIG_DEVKMEM=y 1430 | 1431 | # 1432 | # Serial drivers 1433 | # 1434 | CONFIG_SERIAL_8250=y 1435 | # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set 1436 | # CONFIG_SERIAL_8250_PNP is not set 1437 | # CONFIG_SERIAL_8250_FINTEK is not set 1438 | # CONFIG_SERIAL_8250_CONSOLE is not set 1439 | # CONFIG_SERIAL_8250_DMA is not set 1440 | # CONFIG_SERIAL_8250_PCI is not set 1441 | CONFIG_SERIAL_8250_NR_UARTS=32 1442 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 1443 | # CONFIG_SERIAL_8250_EXTENDED is not set 1444 | # CONFIG_SERIAL_8250_DW is not set 1445 | # CONFIG_SERIAL_8250_RT288X is not set 1446 | # CONFIG_SERIAL_8250_LPSS is not set 1447 | # CONFIG_SERIAL_8250_MID is not set 1448 | # CONFIG_SERIAL_8250_MOXA is not set 1449 | 1450 | # 1451 | # Non-8250 serial port support 1452 | # 1453 | # CONFIG_SERIAL_UARTLITE is not set 1454 | CONFIG_SERIAL_CORE=y 1455 | # CONFIG_SERIAL_JSM is not set 1456 | # CONFIG_SERIAL_SCCNXP is not set 1457 | # CONFIG_SERIAL_SC16IS7XX is not set 1458 | # CONFIG_SERIAL_ALTERA_JTAGUART is not set 1459 | # CONFIG_SERIAL_ALTERA_UART is not set 1460 | # CONFIG_SERIAL_ARC is not set 1461 | # CONFIG_SERIAL_RP2 is not set 1462 | # CONFIG_SERIAL_FSL_LPUART is not set 1463 | # CONFIG_TTY_PRINTK is not set 1464 | # CONFIG_IPMI_HANDLER is not set 1465 | # CONFIG_HW_RANDOM is not set 1466 | # CONFIG_NVRAM is not set 1467 | # CONFIG_R3964 is not set 1468 | # CONFIG_APPLICOM is not set 1469 | # CONFIG_MWAVE is not set 1470 | # CONFIG_RAW_DRIVER is not set 1471 | # CONFIG_HPET is not set 1472 | # CONFIG_HANGCHECK_TIMER is not set 1473 | CONFIG_TCG_TPM=y 1474 | CONFIG_TCG_TIS_CORE=y 1475 | CONFIG_TCG_TIS=y 1476 | # CONFIG_TCG_TIS_I2C_ATMEL is not set 1477 | # CONFIG_TCG_TIS_I2C_INFINEON is not set 1478 | # CONFIG_TCG_TIS_I2C_NUVOTON is not set 1479 | # CONFIG_TCG_NSC is not set 1480 | # CONFIG_TCG_ATMEL is not set 1481 | # CONFIG_TCG_INFINEON is not set 1482 | # CONFIG_TCG_CRB is not set 1483 | # CONFIG_TCG_VTPM_PROXY is not set 1484 | # CONFIG_TCG_TIS_ST33ZP24_I2C is not set 1485 | # CONFIG_TELCLOCK is not set 1486 | CONFIG_DEVPORT=y 1487 | # CONFIG_XILLYBUS is not set 1488 | 1489 | # 1490 | # I2C support 1491 | # 1492 | CONFIG_I2C=y 1493 | # CONFIG_ACPI_I2C_OPREGION is not set 1494 | CONFIG_I2C_BOARDINFO=y 1495 | # CONFIG_I2C_COMPAT is not set 1496 | # CONFIG_I2C_CHARDEV is not set 1497 | # CONFIG_I2C_MUX is not set 1498 | # CONFIG_I2C_HELPER_AUTO is not set 1499 | # CONFIG_I2C_SMBUS is not set 1500 | 1501 | # 1502 | # I2C Algorithms 1503 | # 1504 | CONFIG_I2C_ALGOBIT=y 1505 | # CONFIG_I2C_ALGOPCF is not set 1506 | # CONFIG_I2C_ALGOPCA is not set 1507 | 1508 | # 1509 | # I2C Hardware Bus support 1510 | # 1511 | 1512 | # 1513 | # PC SMBus host controller drivers 1514 | # 1515 | # CONFIG_I2C_ALI1535 is not set 1516 | # CONFIG_I2C_ALI1563 is not set 1517 | # CONFIG_I2C_ALI15X3 is not set 1518 | # CONFIG_I2C_AMD756 is not set 1519 | # CONFIG_I2C_AMD8111 is not set 1520 | # CONFIG_I2C_I801 is not set 1521 | # CONFIG_I2C_ISCH is not set 1522 | # CONFIG_I2C_ISMT is not set 1523 | # CONFIG_I2C_PIIX4 is not set 1524 | # CONFIG_I2C_NFORCE2 is not set 1525 | # CONFIG_I2C_SIS5595 is not set 1526 | # CONFIG_I2C_SIS630 is not set 1527 | # CONFIG_I2C_SIS96X is not set 1528 | # CONFIG_I2C_VIA is not set 1529 | # CONFIG_I2C_VIAPRO is not set 1530 | 1531 | # 1532 | # ACPI drivers 1533 | # 1534 | # CONFIG_I2C_SCMI is not set 1535 | 1536 | # 1537 | # I2C system bus drivers (mostly embedded / system-on-chip) 1538 | # 1539 | # CONFIG_I2C_DESIGNWARE_PLATFORM is not set 1540 | # CONFIG_I2C_DESIGNWARE_PCI is not set 1541 | # CONFIG_I2C_EMEV2 is not set 1542 | # CONFIG_I2C_OCORES is not set 1543 | # CONFIG_I2C_PCA_PLATFORM is not set 1544 | # CONFIG_I2C_PXA_PCI is not set 1545 | # CONFIG_I2C_SIMTEC is not set 1546 | # CONFIG_I2C_XILINX is not set 1547 | 1548 | # 1549 | # External I2C/SMBus adapter drivers 1550 | # 1551 | # CONFIG_I2C_DIOLAN_U2C is not set 1552 | # CONFIG_I2C_PARPORT_LIGHT is not set 1553 | # CONFIG_I2C_ROBOTFUZZ_OSIF is not set 1554 | # CONFIG_I2C_TAOS_EVM is not set 1555 | # CONFIG_I2C_TINY_USB is not set 1556 | 1557 | # 1558 | # Other I2C/SMBus bus drivers 1559 | # 1560 | # CONFIG_I2C_STUB is not set 1561 | # CONFIG_I2C_SLAVE is not set 1562 | # CONFIG_I2C_DEBUG_CORE is not set 1563 | # CONFIG_I2C_DEBUG_ALGO is not set 1564 | # CONFIG_I2C_DEBUG_BUS is not set 1565 | # CONFIG_SPI is not set 1566 | # CONFIG_SPMI is not set 1567 | # CONFIG_HSI is not set 1568 | 1569 | # 1570 | # PPS support 1571 | # 1572 | CONFIG_PPS=y 1573 | # CONFIG_PPS_DEBUG is not set 1574 | 1575 | # 1576 | # PPS clients support 1577 | # 1578 | # CONFIG_PPS_CLIENT_KTIMER is not set 1579 | # CONFIG_PPS_CLIENT_LDISC is not set 1580 | # CONFIG_PPS_CLIENT_GPIO is not set 1581 | 1582 | # 1583 | # PPS generators support 1584 | # 1585 | 1586 | # 1587 | # PTP clock support 1588 | # 1589 | CONFIG_PTP_1588_CLOCK=y 1590 | 1591 | # 1592 | # Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. 1593 | # 1594 | CONFIG_PINCTRL=y 1595 | 1596 | # 1597 | # Pin controllers 1598 | # 1599 | # CONFIG_DEBUG_PINCTRL is not set 1600 | # CONFIG_PINCTRL_CHERRYVIEW is not set 1601 | # CONFIG_PINCTRL_BROXTON is not set 1602 | # CONFIG_PINCTRL_SUNRISEPOINT is not set 1603 | # CONFIG_GPIOLIB is not set 1604 | # CONFIG_W1 is not set 1605 | # CONFIG_POWER_AVS is not set 1606 | # CONFIG_POWER_RESET is not set 1607 | CONFIG_POWER_SUPPLY=y 1608 | # CONFIG_POWER_SUPPLY_DEBUG is not set 1609 | # CONFIG_PDA_POWER is not set 1610 | # CONFIG_TEST_POWER is not set 1611 | # CONFIG_BATTERY_DS2780 is not set 1612 | # CONFIG_BATTERY_DS2781 is not set 1613 | # CONFIG_BATTERY_DS2782 is not set 1614 | # CONFIG_BATTERY_SBS is not set 1615 | # CONFIG_BATTERY_BQ27XXX is not set 1616 | # CONFIG_BATTERY_MAX17040 is not set 1617 | # CONFIG_BATTERY_MAX17042 is not set 1618 | # CONFIG_CHARGER_MAX8903 is not set 1619 | # CONFIG_CHARGER_LP8727 is not set 1620 | # CONFIG_CHARGER_BQ2415X is not set 1621 | # CONFIG_CHARGER_SMB347 is not set 1622 | # CONFIG_BATTERY_GAUGE_LTC2941 is not set 1623 | # CONFIG_HWMON is not set 1624 | CONFIG_THERMAL=y 1625 | # CONFIG_THERMAL_WRITABLE_TRIPS is not set 1626 | CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y 1627 | # CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set 1628 | # CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set 1629 | # CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR is not set 1630 | # CONFIG_THERMAL_GOV_FAIR_SHARE is not set 1631 | CONFIG_THERMAL_GOV_STEP_WISE=y 1632 | # CONFIG_THERMAL_GOV_BANG_BANG is not set 1633 | CONFIG_THERMAL_GOV_USER_SPACE=y 1634 | # CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set 1635 | # CONFIG_THERMAL_EMULATION is not set 1636 | # CONFIG_INTEL_POWERCLAMP is not set 1637 | # CONFIG_X86_PKG_TEMP_THERMAL is not set 1638 | # CONFIG_INTEL_SOC_DTS_THERMAL is not set 1639 | 1640 | # 1641 | # ACPI INT340X thermal drivers 1642 | # 1643 | # CONFIG_INT340X_THERMAL is not set 1644 | # CONFIG_INTEL_PCH_THERMAL is not set 1645 | # CONFIG_WATCHDOG is not set 1646 | CONFIG_SSB_POSSIBLE=y 1647 | 1648 | # 1649 | # Sonics Silicon Backplane 1650 | # 1651 | # CONFIG_SSB is not set 1652 | CONFIG_BCMA_POSSIBLE=y 1653 | 1654 | # 1655 | # Broadcom specific AMBA 1656 | # 1657 | # CONFIG_BCMA is not set 1658 | 1659 | # 1660 | # Multifunction device drivers 1661 | # 1662 | # CONFIG_MFD_CORE is not set 1663 | # CONFIG_MFD_AS3711 is not set 1664 | # CONFIG_PMIC_ADP5520 is not set 1665 | # CONFIG_MFD_BCM590XX is not set 1666 | # CONFIG_MFD_AXP20X_I2C is not set 1667 | # CONFIG_MFD_CROS_EC is not set 1668 | # CONFIG_PMIC_DA903X is not set 1669 | # CONFIG_MFD_DA9052_I2C is not set 1670 | # CONFIG_MFD_DA9055 is not set 1671 | # CONFIG_MFD_DA9062 is not set 1672 | # CONFIG_MFD_DA9063 is not set 1673 | # CONFIG_MFD_DA9150 is not set 1674 | # CONFIG_MFD_DLN2 is not set 1675 | # CONFIG_MFD_EXYNOS_LPASS is not set 1676 | # CONFIG_MFD_MC13XXX_I2C is not set 1677 | # CONFIG_HTC_PASIC3 is not set 1678 | # CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set 1679 | # CONFIG_LPC_ICH is not set 1680 | # CONFIG_LPC_SCH is not set 1681 | # CONFIG_MFD_INTEL_LPSS_ACPI is not set 1682 | # CONFIG_MFD_INTEL_LPSS_PCI is not set 1683 | # CONFIG_MFD_JANZ_CMODIO is not set 1684 | # CONFIG_MFD_KEMPLD is not set 1685 | # CONFIG_MFD_88PM800 is not set 1686 | # CONFIG_MFD_88PM805 is not set 1687 | # CONFIG_MFD_88PM860X is not set 1688 | # CONFIG_MFD_MAX14577 is not set 1689 | # CONFIG_MFD_MAX77693 is not set 1690 | # CONFIG_MFD_MAX77843 is not set 1691 | # CONFIG_MFD_MAX8907 is not set 1692 | # CONFIG_MFD_MAX8925 is not set 1693 | # CONFIG_MFD_MAX8997 is not set 1694 | # CONFIG_MFD_MAX8998 is not set 1695 | # CONFIG_MFD_MT6397 is not set 1696 | # CONFIG_MFD_MENF21BMC is not set 1697 | # CONFIG_MFD_VIPERBOARD is not set 1698 | # CONFIG_MFD_RETU is not set 1699 | # CONFIG_MFD_PCF50633 is not set 1700 | # CONFIG_MFD_RDC321X is not set 1701 | # CONFIG_MFD_RTSX_PCI is not set 1702 | # CONFIG_MFD_RT5033 is not set 1703 | # CONFIG_MFD_RTSX_USB is not set 1704 | # CONFIG_MFD_RC5T583 is not set 1705 | # CONFIG_MFD_SEC_CORE is not set 1706 | # CONFIG_MFD_SI476X_CORE is not set 1707 | # CONFIG_MFD_SM501 is not set 1708 | # CONFIG_MFD_SKY81452 is not set 1709 | # CONFIG_MFD_SMSC is not set 1710 | # CONFIG_ABX500_CORE is not set 1711 | # CONFIG_MFD_SYSCON is not set 1712 | # CONFIG_MFD_TI_AM335X_TSCADC is not set 1713 | # CONFIG_MFD_LP3943 is not set 1714 | # CONFIG_MFD_LP8788 is not set 1715 | # CONFIG_MFD_PALMAS is not set 1716 | # CONFIG_TPS6105X is not set 1717 | # CONFIG_TPS6507X is not set 1718 | # CONFIG_MFD_TPS65086 is not set 1719 | # CONFIG_MFD_TPS65090 is not set 1720 | # CONFIG_MFD_TPS65217 is not set 1721 | # CONFIG_MFD_TI_LP873X is not set 1722 | # CONFIG_MFD_TPS65218 is not set 1723 | # CONFIG_MFD_TPS6586X is not set 1724 | # CONFIG_MFD_TPS65912_I2C is not set 1725 | # CONFIG_MFD_TPS80031 is not set 1726 | # CONFIG_TWL4030_CORE is not set 1727 | # CONFIG_TWL6040_CORE is not set 1728 | # CONFIG_MFD_WL1273_CORE is not set 1729 | # CONFIG_MFD_LM3533 is not set 1730 | # CONFIG_MFD_TMIO is not set 1731 | # CONFIG_MFD_VX855 is not set 1732 | # CONFIG_MFD_ARIZONA_I2C is not set 1733 | # CONFIG_MFD_WM8400 is not set 1734 | # CONFIG_MFD_WM831X_I2C is not set 1735 | # CONFIG_MFD_WM8350_I2C is not set 1736 | # CONFIG_MFD_WM8994 is not set 1737 | # CONFIG_REGULATOR is not set 1738 | # CONFIG_MEDIA_SUPPORT is not set 1739 | 1740 | # 1741 | # Graphics support 1742 | # 1743 | # CONFIG_AGP is not set 1744 | CONFIG_VGA_ARB=y 1745 | CONFIG_VGA_ARB_MAX_GPUS=16 1746 | # CONFIG_VGA_SWITCHEROO is not set 1747 | # CONFIG_DRM is not set 1748 | 1749 | # 1750 | # ACP (Audio CoProcessor) Configuration 1751 | # 1752 | 1753 | # 1754 | # Frame buffer Devices 1755 | # 1756 | CONFIG_FB=y 1757 | CONFIG_FIRMWARE_EDID=y 1758 | CONFIG_FB_CMDLINE=y 1759 | CONFIG_FB_NOTIFY=y 1760 | # CONFIG_FB_DDC is not set 1761 | CONFIG_FB_BOOT_VESA_SUPPORT=y 1762 | CONFIG_FB_CFB_FILLRECT=y 1763 | CONFIG_FB_CFB_COPYAREA=y 1764 | CONFIG_FB_CFB_IMAGEBLIT=y 1765 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set 1766 | # CONFIG_FB_SYS_FILLRECT is not set 1767 | # CONFIG_FB_SYS_COPYAREA is not set 1768 | # CONFIG_FB_SYS_IMAGEBLIT is not set 1769 | # CONFIG_FB_FOREIGN_ENDIAN is not set 1770 | # CONFIG_FB_SYS_FOPS is not set 1771 | # CONFIG_FB_SVGALIB is not set 1772 | # CONFIG_FB_MACMODES is not set 1773 | # CONFIG_FB_BACKLIGHT is not set 1774 | CONFIG_FB_MODE_HELPERS=y 1775 | CONFIG_FB_TILEBLITTING=y 1776 | 1777 | # 1778 | # Frame buffer hardware drivers 1779 | # 1780 | # CONFIG_FB_CIRRUS is not set 1781 | # CONFIG_FB_PM2 is not set 1782 | # CONFIG_FB_CYBER2000 is not set 1783 | # CONFIG_FB_ARC is not set 1784 | # CONFIG_FB_ASILIANT is not set 1785 | # CONFIG_FB_IMSTT is not set 1786 | CONFIG_FB_VGA16=y 1787 | # CONFIG_FB_UVESA is not set 1788 | CONFIG_FB_VESA=y 1789 | CONFIG_FB_EFI=y 1790 | # CONFIG_FB_N411 is not set 1791 | # CONFIG_FB_HGA is not set 1792 | # CONFIG_FB_OPENCORES is not set 1793 | # CONFIG_FB_S1D13XXX is not set 1794 | # CONFIG_FB_I740 is not set 1795 | # CONFIG_FB_LE80578 is not set 1796 | # CONFIG_FB_MATROX is not set 1797 | # CONFIG_FB_RADEON is not set 1798 | # CONFIG_FB_ATY128 is not set 1799 | # CONFIG_FB_ATY is not set 1800 | # CONFIG_FB_S3 is not set 1801 | # CONFIG_FB_SAVAGE is not set 1802 | # CONFIG_FB_SIS is not set 1803 | # CONFIG_FB_NEOMAGIC is not set 1804 | # CONFIG_FB_KYRO is not set 1805 | # CONFIG_FB_3DFX is not set 1806 | # CONFIG_FB_VOODOO1 is not set 1807 | # CONFIG_FB_VT8623 is not set 1808 | # CONFIG_FB_TRIDENT is not set 1809 | # CONFIG_FB_ARK is not set 1810 | # CONFIG_FB_PM3 is not set 1811 | # CONFIG_FB_CARMINE is not set 1812 | # CONFIG_FB_SMSCUFX is not set 1813 | # CONFIG_FB_UDL is not set 1814 | # CONFIG_FB_IBM_GXT4500 is not set 1815 | # CONFIG_FB_VIRTUAL is not set 1816 | # CONFIG_FB_METRONOME is not set 1817 | # CONFIG_FB_MB862XX is not set 1818 | # CONFIG_FB_BROADSHEET is not set 1819 | # CONFIG_FB_AUO_K190X is not set 1820 | # CONFIG_FB_SIMPLE is not set 1821 | # CONFIG_FB_SM712 is not set 1822 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set 1823 | CONFIG_VGASTATE=y 1824 | 1825 | # 1826 | # Console display driver support 1827 | # 1828 | CONFIG_VGA_CONSOLE=y 1829 | CONFIG_VGACON_SOFT_SCROLLBACK=y 1830 | CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64 1831 | CONFIG_DUMMY_CONSOLE=y 1832 | CONFIG_DUMMY_CONSOLE_COLUMNS=80 1833 | CONFIG_DUMMY_CONSOLE_ROWS=25 1834 | CONFIG_FRAMEBUFFER_CONSOLE=y 1835 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y 1836 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y 1837 | CONFIG_LOGO=y 1838 | # CONFIG_LOGO_LINUX_MONO is not set 1839 | # CONFIG_LOGO_LINUX_VGA16 is not set 1840 | CONFIG_LOGO_LINUX_CLUT224=y 1841 | # CONFIG_SOUND is not set 1842 | 1843 | # 1844 | # HID support 1845 | # 1846 | # CONFIG_HID is not set 1847 | 1848 | # 1849 | # USB HID support 1850 | # 1851 | # CONFIG_USB_HID is not set 1852 | # CONFIG_HID_PID is not set 1853 | 1854 | # 1855 | # USB HID Boot Protocol drivers 1856 | # 1857 | # CONFIG_USB_KBD is not set 1858 | # CONFIG_USB_MOUSE is not set 1859 | 1860 | # 1861 | # I2C HID support 1862 | # 1863 | # CONFIG_I2C_HID is not set 1864 | 1865 | # 1866 | # Intel ISH HID support 1867 | # 1868 | # CONFIG_INTEL_ISH_HID is not set 1869 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y 1870 | CONFIG_USB_SUPPORT=y 1871 | CONFIG_USB_COMMON=y 1872 | CONFIG_USB_ARCH_HAS_HCD=y 1873 | CONFIG_USB=y 1874 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y 1875 | 1876 | # 1877 | # Miscellaneous USB options 1878 | # 1879 | CONFIG_USB_DEFAULT_PERSIST=y 1880 | CONFIG_USB_DYNAMIC_MINORS=y 1881 | # CONFIG_USB_OTG is not set 1882 | # CONFIG_USB_OTG_WHITELIST is not set 1883 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set 1884 | # CONFIG_USB_MON is not set 1885 | # CONFIG_USB_WUSB_CBAF is not set 1886 | 1887 | # 1888 | # USB Host Controller Drivers 1889 | # 1890 | # CONFIG_USB_C67X00_HCD is not set 1891 | # CONFIG_USB_XHCI_HCD is not set 1892 | # CONFIG_USB_EHCI_HCD is not set 1893 | # CONFIG_USB_OXU210HP_HCD is not set 1894 | # CONFIG_USB_ISP116X_HCD is not set 1895 | # CONFIG_USB_ISP1362_HCD is not set 1896 | # CONFIG_USB_FOTG210_HCD is not set 1897 | # CONFIG_USB_OHCI_HCD is not set 1898 | # CONFIG_USB_UHCI_HCD is not set 1899 | # CONFIG_USB_SL811_HCD is not set 1900 | # CONFIG_USB_R8A66597_HCD is not set 1901 | # CONFIG_USB_HCD_TEST_MODE is not set 1902 | 1903 | # 1904 | # USB Device Class drivers 1905 | # 1906 | # CONFIG_USB_ACM is not set 1907 | # CONFIG_USB_PRINTER is not set 1908 | # CONFIG_USB_WDM is not set 1909 | # CONFIG_USB_TMC is not set 1910 | 1911 | # 1912 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may 1913 | # 1914 | 1915 | # 1916 | # also be needed; see USB_STORAGE Help for more info 1917 | # 1918 | CONFIG_USB_STORAGE=y 1919 | # CONFIG_USB_STORAGE_DEBUG is not set 1920 | # CONFIG_USB_STORAGE_REALTEK is not set 1921 | # CONFIG_USB_STORAGE_DATAFAB is not set 1922 | # CONFIG_USB_STORAGE_FREECOM is not set 1923 | # CONFIG_USB_STORAGE_ISD200 is not set 1924 | # CONFIG_USB_STORAGE_USBAT is not set 1925 | # CONFIG_USB_STORAGE_SDDR09 is not set 1926 | # CONFIG_USB_STORAGE_SDDR55 is not set 1927 | # CONFIG_USB_STORAGE_JUMPSHOT is not set 1928 | # CONFIG_USB_STORAGE_ALAUDA is not set 1929 | # CONFIG_USB_STORAGE_ONETOUCH is not set 1930 | # CONFIG_USB_STORAGE_KARMA is not set 1931 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set 1932 | # CONFIG_USB_STORAGE_ENE_UB6250 is not set 1933 | # CONFIG_USB_UAS is not set 1934 | 1935 | # 1936 | # USB Imaging devices 1937 | # 1938 | # CONFIG_USB_MDC800 is not set 1939 | # CONFIG_USB_MICROTEK is not set 1940 | # CONFIG_USBIP_CORE is not set 1941 | # CONFIG_USB_MUSB_HDRC is not set 1942 | # CONFIG_USB_DWC3 is not set 1943 | # CONFIG_USB_DWC2 is not set 1944 | # CONFIG_USB_ISP1760 is not set 1945 | 1946 | # 1947 | # USB port drivers 1948 | # 1949 | # CONFIG_USB_SERIAL is not set 1950 | 1951 | # 1952 | # USB Miscellaneous drivers 1953 | # 1954 | # CONFIG_USB_EMI62 is not set 1955 | # CONFIG_USB_EMI26 is not set 1956 | # CONFIG_USB_ADUTUX is not set 1957 | # CONFIG_USB_SEVSEG is not set 1958 | # CONFIG_USB_RIO500 is not set 1959 | # CONFIG_USB_LEGOTOWER is not set 1960 | # CONFIG_USB_LCD is not set 1961 | # CONFIG_USB_CYPRESS_CY7C63 is not set 1962 | # CONFIG_USB_CYTHERM is not set 1963 | # CONFIG_USB_IDMOUSE is not set 1964 | # CONFIG_USB_FTDI_ELAN is not set 1965 | # CONFIG_USB_APPLEDISPLAY is not set 1966 | # CONFIG_USB_LD is not set 1967 | # CONFIG_USB_TRANCEVIBRATOR is not set 1968 | # CONFIG_USB_IOWARRIOR is not set 1969 | # CONFIG_USB_TEST is not set 1970 | # CONFIG_USB_EHSET_TEST_FIXTURE is not set 1971 | # CONFIG_USB_ISIGHTFW is not set 1972 | # CONFIG_USB_YUREX is not set 1973 | # CONFIG_USB_EZUSB_FX2 is not set 1974 | # CONFIG_USB_HSIC_USB3503 is not set 1975 | # CONFIG_USB_HSIC_USB4604 is not set 1976 | # CONFIG_USB_LINK_LAYER_TEST is not set 1977 | # CONFIG_UCSI is not set 1978 | 1979 | # 1980 | # USB Physical Layer drivers 1981 | # 1982 | # CONFIG_USB_PHY is not set 1983 | # CONFIG_NOP_USB_XCEIV is not set 1984 | # CONFIG_USB_ISP1301 is not set 1985 | # CONFIG_USB_GADGET is not set 1986 | # CONFIG_USB_ULPI_BUS is not set 1987 | # CONFIG_UWB is not set 1988 | # CONFIG_MMC is not set 1989 | # CONFIG_MEMSTICK is not set 1990 | # CONFIG_NEW_LEDS is not set 1991 | # CONFIG_ACCESSIBILITY is not set 1992 | # CONFIG_INFINIBAND is not set 1993 | CONFIG_EDAC_ATOMIC_SCRUB=y 1994 | CONFIG_EDAC_SUPPORT=y 1995 | # CONFIG_EDAC is not set 1996 | CONFIG_RTC_LIB=y 1997 | CONFIG_RTC_MC146818_LIB=y 1998 | CONFIG_RTC_CLASS=y 1999 | CONFIG_RTC_HCTOSYS=y 2000 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" 2001 | CONFIG_RTC_SYSTOHC=y 2002 | CONFIG_RTC_SYSTOHC_DEVICE="rtc0" 2003 | # CONFIG_RTC_DEBUG is not set 2004 | 2005 | # 2006 | # RTC interfaces 2007 | # 2008 | CONFIG_RTC_INTF_SYSFS=y 2009 | CONFIG_RTC_INTF_PROC=y 2010 | CONFIG_RTC_INTF_DEV=y 2011 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set 2012 | # CONFIG_RTC_DRV_TEST is not set 2013 | 2014 | # 2015 | # I2C RTC drivers 2016 | # 2017 | # CONFIG_RTC_DRV_ABB5ZES3 is not set 2018 | # CONFIG_RTC_DRV_ABX80X is not set 2019 | # CONFIG_RTC_DRV_DS1307 is not set 2020 | # CONFIG_RTC_DRV_DS1374 is not set 2021 | # CONFIG_RTC_DRV_DS1672 is not set 2022 | # CONFIG_RTC_DRV_MAX6900 is not set 2023 | # CONFIG_RTC_DRV_RS5C372 is not set 2024 | # CONFIG_RTC_DRV_ISL1208 is not set 2025 | # CONFIG_RTC_DRV_ISL12022 is not set 2026 | # CONFIG_RTC_DRV_X1205 is not set 2027 | # CONFIG_RTC_DRV_PCF8523 is not set 2028 | # CONFIG_RTC_DRV_PCF85063 is not set 2029 | # CONFIG_RTC_DRV_PCF8563 is not set 2030 | # CONFIG_RTC_DRV_PCF8583 is not set 2031 | # CONFIG_RTC_DRV_M41T80 is not set 2032 | # CONFIG_RTC_DRV_BQ32K is not set 2033 | # CONFIG_RTC_DRV_S35390A is not set 2034 | # CONFIG_RTC_DRV_FM3130 is not set 2035 | # CONFIG_RTC_DRV_RX8010 is not set 2036 | # CONFIG_RTC_DRV_RX8581 is not set 2037 | # CONFIG_RTC_DRV_RX8025 is not set 2038 | # CONFIG_RTC_DRV_EM3027 is not set 2039 | # CONFIG_RTC_DRV_RV8803 is not set 2040 | 2041 | # 2042 | # SPI RTC drivers 2043 | # 2044 | CONFIG_RTC_I2C_AND_SPI=y 2045 | 2046 | # 2047 | # SPI and I2C RTC drivers 2048 | # 2049 | # CONFIG_RTC_DRV_DS3232 is not set 2050 | # CONFIG_RTC_DRV_PCF2127 is not set 2051 | # CONFIG_RTC_DRV_RV3029C2 is not set 2052 | 2053 | # 2054 | # Platform RTC drivers 2055 | # 2056 | CONFIG_RTC_DRV_CMOS=y 2057 | # CONFIG_RTC_DRV_DS1286 is not set 2058 | # CONFIG_RTC_DRV_DS1511 is not set 2059 | # CONFIG_RTC_DRV_DS1553 is not set 2060 | # CONFIG_RTC_DRV_DS1685_FAMILY is not set 2061 | # CONFIG_RTC_DRV_DS1742 is not set 2062 | # CONFIG_RTC_DRV_DS2404 is not set 2063 | # CONFIG_RTC_DRV_STK17TA8 is not set 2064 | # CONFIG_RTC_DRV_M48T86 is not set 2065 | # CONFIG_RTC_DRV_M48T35 is not set 2066 | # CONFIG_RTC_DRV_M48T59 is not set 2067 | # CONFIG_RTC_DRV_MSM6242 is not set 2068 | # CONFIG_RTC_DRV_BQ4802 is not set 2069 | # CONFIG_RTC_DRV_RP5C01 is not set 2070 | # CONFIG_RTC_DRV_V3020 is not set 2071 | 2072 | # 2073 | # on-CPU RTC drivers 2074 | # 2075 | 2076 | # 2077 | # HID Sensor RTC drivers 2078 | # 2079 | CONFIG_DMADEVICES=y 2080 | # CONFIG_DMADEVICES_DEBUG is not set 2081 | 2082 | # 2083 | # DMA Devices 2084 | # 2085 | CONFIG_DMA_ENGINE=y 2086 | CONFIG_DMA_VIRTUAL_CHANNELS=y 2087 | CONFIG_DMA_ACPI=y 2088 | CONFIG_INTEL_IDMA64=y 2089 | CONFIG_INTEL_IOATDMA=y 2090 | # CONFIG_QCOM_HIDMA_MGMT is not set 2091 | # CONFIG_QCOM_HIDMA is not set 2092 | # CONFIG_DW_DMAC is not set 2093 | # CONFIG_DW_DMAC_PCI is not set 2094 | 2095 | # 2096 | # DMA Clients 2097 | # 2098 | # CONFIG_ASYNC_TX_DMA is not set 2099 | # CONFIG_DMATEST is not set 2100 | CONFIG_DMA_ENGINE_RAID=y 2101 | 2102 | # 2103 | # DMABUF options 2104 | # 2105 | # CONFIG_SYNC_FILE is not set 2106 | CONFIG_DCA=y 2107 | # CONFIG_AUXDISPLAY is not set 2108 | # CONFIG_UIO is not set 2109 | CONFIG_VIRT_DRIVERS=y 2110 | 2111 | # 2112 | # Virtio drivers 2113 | # 2114 | # CONFIG_VIRTIO_PCI is not set 2115 | # CONFIG_VIRTIO_MMIO is not set 2116 | 2117 | # 2118 | # Microsoft Hyper-V guest support 2119 | # 2120 | # CONFIG_HYPERV is not set 2121 | # CONFIG_STAGING is not set 2122 | # CONFIG_X86_PLATFORM_DEVICES is not set 2123 | # CONFIG_CHROME_PLATFORMS is not set 2124 | CONFIG_CLKDEV_LOOKUP=y 2125 | CONFIG_HAVE_CLK_PREPARE=y 2126 | CONFIG_COMMON_CLK=y 2127 | 2128 | # 2129 | # Common Clock Framework 2130 | # 2131 | # CONFIG_COMMON_CLK_SI5351 is not set 2132 | # CONFIG_COMMON_CLK_CDCE706 is not set 2133 | # CONFIG_COMMON_CLK_CS2000_CP is not set 2134 | # CONFIG_COMMON_CLK_NXP is not set 2135 | # CONFIG_COMMON_CLK_PXA is not set 2136 | # CONFIG_COMMON_CLK_PIC32 is not set 2137 | 2138 | # 2139 | # Hardware Spinlock drivers 2140 | # 2141 | 2142 | # 2143 | # Clock Source drivers 2144 | # 2145 | CONFIG_CLKEVT_I8253=y 2146 | CONFIG_I8253_LOCK=y 2147 | CONFIG_CLKBLD_I8253=y 2148 | # CONFIG_ATMEL_PIT is not set 2149 | # CONFIG_SH_TIMER_CMT is not set 2150 | # CONFIG_SH_TIMER_MTU2 is not set 2151 | # CONFIG_SH_TIMER_TMU is not set 2152 | # CONFIG_EM_TIMER_STI is not set 2153 | # CONFIG_MAILBOX is not set 2154 | # CONFIG_IOMMU_SUPPORT is not set 2155 | 2156 | # 2157 | # Remoteproc drivers 2158 | # 2159 | # CONFIG_STE_MODEM_RPROC is not set 2160 | 2161 | # 2162 | # Rpmsg drivers 2163 | # 2164 | 2165 | # 2166 | # SOC (System On Chip) specific Drivers 2167 | # 2168 | 2169 | # 2170 | # Broadcom SoC drivers 2171 | # 2172 | # CONFIG_SUNXI_SRAM is not set 2173 | # CONFIG_SOC_TI is not set 2174 | # CONFIG_PM_DEVFREQ is not set 2175 | # CONFIG_EXTCON is not set 2176 | CONFIG_MEMORY=y 2177 | # CONFIG_IIO is not set 2178 | # CONFIG_NTB is not set 2179 | # CONFIG_VME_BUS is not set 2180 | # CONFIG_PWM is not set 2181 | CONFIG_ARM_GIC_MAX_NR=1 2182 | # CONFIG_IPACK_BUS is not set 2183 | # CONFIG_RESET_CONTROLLER is not set 2184 | # CONFIG_FMC is not set 2185 | 2186 | # 2187 | # PHY Subsystem 2188 | # 2189 | # CONFIG_GENERIC_PHY is not set 2190 | # CONFIG_PHY_PXA_28NM_HSIC is not set 2191 | # CONFIG_PHY_PXA_28NM_USB2 is not set 2192 | # CONFIG_BCM_KONA_USB2_PHY is not set 2193 | CONFIG_POWERCAP=y 2194 | # CONFIG_INTEL_RAPL is not set 2195 | # CONFIG_MCB is not set 2196 | 2197 | # 2198 | # Performance monitor support 2199 | # 2200 | CONFIG_RAS=y 2201 | # CONFIG_THUNDERBOLT is not set 2202 | 2203 | # 2204 | # Android 2205 | # 2206 | # CONFIG_ANDROID is not set 2207 | # CONFIG_LIBNVDIMM is not set 2208 | # CONFIG_DEV_DAX is not set 2209 | # CONFIG_NVMEM is not set 2210 | # CONFIG_STM is not set 2211 | # CONFIG_INTEL_TH is not set 2212 | 2213 | # 2214 | # FPGA Configuration Support 2215 | # 2216 | # CONFIG_FPGA is not set 2217 | 2218 | # 2219 | # Firmware Drivers 2220 | # 2221 | CONFIG_EDD=y 2222 | # CONFIG_EDD_OFF is not set 2223 | CONFIG_FIRMWARE_MEMMAP=y 2224 | # CONFIG_DELL_RBU is not set 2225 | # CONFIG_DCDBAS is not set 2226 | # CONFIG_DMIID is not set 2227 | # CONFIG_DMI_SYSFS is not set 2228 | CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y 2229 | # CONFIG_ISCSI_IBFT_FIND is not set 2230 | # CONFIG_FW_CFG_SYSFS is not set 2231 | # CONFIG_GOOGLE_FIRMWARE is not set 2232 | 2233 | # 2234 | # EFI (Extensible Firmware Interface) Support 2235 | # 2236 | CONFIG_EFI_VARS=y 2237 | CONFIG_EFI_ESRT=y 2238 | CONFIG_EFI_RUNTIME_MAP=y 2239 | # CONFIG_EFI_FAKE_MEMMAP is not set 2240 | CONFIG_EFI_RUNTIME_WRAPPERS=y 2241 | # CONFIG_EFI_BOOTLOADER_CONTROL is not set 2242 | # CONFIG_EFI_CAPSULE_LOADER is not set 2243 | # CONFIG_EFI_TEST is not set 2244 | 2245 | # 2246 | # File systems 2247 | # 2248 | CONFIG_DCACHE_WORD_ACCESS=y 2249 | # CONFIG_EXT2_FS is not set 2250 | # CONFIG_EXT3_FS is not set 2251 | CONFIG_EXT4_FS=y 2252 | CONFIG_EXT4_USE_FOR_EXT2=y 2253 | CONFIG_EXT4_FS_POSIX_ACL=y 2254 | CONFIG_EXT4_FS_SECURITY=y 2255 | CONFIG_EXT4_ENCRYPTION=y 2256 | CONFIG_EXT4_FS_ENCRYPTION=y 2257 | # CONFIG_EXT4_DEBUG is not set 2258 | CONFIG_JBD2=y 2259 | # CONFIG_JBD2_DEBUG is not set 2260 | CONFIG_FS_MBCACHE=y 2261 | # CONFIG_REISERFS_FS is not set 2262 | # CONFIG_JFS_FS is not set 2263 | # CONFIG_XFS_FS is not set 2264 | # CONFIG_GFS2_FS is not set 2265 | # CONFIG_OCFS2_FS is not set 2266 | # CONFIG_BTRFS_FS is not set 2267 | # CONFIG_NILFS2_FS is not set 2268 | # CONFIG_F2FS_FS is not set 2269 | # CONFIG_FS_DAX is not set 2270 | CONFIG_FS_POSIX_ACL=y 2271 | CONFIG_EXPORTFS=y 2272 | CONFIG_EXPORTFS_BLOCK_OPS=y 2273 | CONFIG_FILE_LOCKING=y 2274 | CONFIG_MANDATORY_FILE_LOCKING=y 2275 | CONFIG_FS_ENCRYPTION=y 2276 | CONFIG_FSNOTIFY=y 2277 | CONFIG_DNOTIFY=y 2278 | CONFIG_INOTIFY_USER=y 2279 | # CONFIG_FANOTIFY is not set 2280 | # CONFIG_QUOTA is not set 2281 | # CONFIG_QUOTACTL is not set 2282 | CONFIG_AUTOFS4_FS=y 2283 | # CONFIG_FUSE_FS is not set 2284 | # CONFIG_OVERLAY_FS is not set 2285 | 2286 | # 2287 | # Caches 2288 | # 2289 | CONFIG_FSCACHE=y 2290 | CONFIG_FSCACHE_STATS=y 2291 | # CONFIG_FSCACHE_HISTOGRAM is not set 2292 | # CONFIG_FSCACHE_DEBUG is not set 2293 | # CONFIG_FSCACHE_OBJECT_LIST is not set 2294 | CONFIG_CACHEFILES=y 2295 | # CONFIG_CACHEFILES_DEBUG is not set 2296 | # CONFIG_CACHEFILES_HISTOGRAM is not set 2297 | 2298 | # 2299 | # CD-ROM/DVD Filesystems 2300 | # 2301 | # CONFIG_ISO9660_FS is not set 2302 | # CONFIG_UDF_FS is not set 2303 | 2304 | # 2305 | # DOS/FAT/NT Filesystems 2306 | # 2307 | # CONFIG_MSDOS_FS is not set 2308 | # CONFIG_VFAT_FS is not set 2309 | # CONFIG_NTFS_FS is not set 2310 | 2311 | # 2312 | # Pseudo filesystems 2313 | # 2314 | CONFIG_PROC_FS=y 2315 | CONFIG_PROC_KCORE=y 2316 | CONFIG_PROC_VMCORE=y 2317 | CONFIG_PROC_SYSCTL=y 2318 | CONFIG_PROC_PAGE_MONITOR=y 2319 | CONFIG_PROC_CHILDREN=y 2320 | CONFIG_KERNFS=y 2321 | CONFIG_SYSFS=y 2322 | CONFIG_TMPFS=y 2323 | CONFIG_TMPFS_POSIX_ACL=y 2324 | CONFIG_TMPFS_XATTR=y 2325 | CONFIG_HUGETLBFS=y 2326 | CONFIG_HUGETLB_PAGE=y 2327 | CONFIG_ARCH_HAS_GIGANTIC_PAGE=y 2328 | CONFIG_CONFIGFS_FS=y 2329 | CONFIG_EFIVAR_FS=y 2330 | # CONFIG_MISC_FILESYSTEMS is not set 2331 | # CONFIG_NETWORK_FILESYSTEMS is not set 2332 | CONFIG_NLS=y 2333 | CONFIG_NLS_DEFAULT="utf8" 2334 | CONFIG_NLS_CODEPAGE_437=y 2335 | # CONFIG_NLS_CODEPAGE_737 is not set 2336 | # CONFIG_NLS_CODEPAGE_775 is not set 2337 | CONFIG_NLS_CODEPAGE_850=y 2338 | CONFIG_NLS_CODEPAGE_852=y 2339 | CONFIG_NLS_CODEPAGE_855=y 2340 | # CONFIG_NLS_CODEPAGE_857 is not set 2341 | # CONFIG_NLS_CODEPAGE_860 is not set 2342 | # CONFIG_NLS_CODEPAGE_861 is not set 2343 | CONFIG_NLS_CODEPAGE_862=y 2344 | # CONFIG_NLS_CODEPAGE_863 is not set 2345 | CONFIG_NLS_CODEPAGE_864=y 2346 | # CONFIG_NLS_CODEPAGE_865 is not set 2347 | CONFIG_NLS_CODEPAGE_866=y 2348 | # CONFIG_NLS_CODEPAGE_869 is not set 2349 | # CONFIG_NLS_CODEPAGE_936 is not set 2350 | # CONFIG_NLS_CODEPAGE_950 is not set 2351 | # CONFIG_NLS_CODEPAGE_932 is not set 2352 | # CONFIG_NLS_CODEPAGE_949 is not set 2353 | # CONFIG_NLS_CODEPAGE_874 is not set 2354 | CONFIG_NLS_ISO8859_8=y 2355 | CONFIG_NLS_CODEPAGE_1250=y 2356 | # CONFIG_NLS_CODEPAGE_1251 is not set 2357 | CONFIG_NLS_ASCII=y 2358 | CONFIG_NLS_ISO8859_1=y 2359 | CONFIG_NLS_ISO8859_2=y 2360 | # CONFIG_NLS_ISO8859_3 is not set 2361 | # CONFIG_NLS_ISO8859_4 is not set 2362 | CONFIG_NLS_ISO8859_5=y 2363 | CONFIG_NLS_ISO8859_6=y 2364 | # CONFIG_NLS_ISO8859_7 is not set 2365 | # CONFIG_NLS_ISO8859_9 is not set 2366 | # CONFIG_NLS_ISO8859_13 is not set 2367 | # CONFIG_NLS_ISO8859_14 is not set 2368 | CONFIG_NLS_ISO8859_15=y 2369 | CONFIG_NLS_KOI8_R=y 2370 | CONFIG_NLS_KOI8_U=y 2371 | # CONFIG_NLS_MAC_ROMAN is not set 2372 | # CONFIG_NLS_MAC_CELTIC is not set 2373 | # CONFIG_NLS_MAC_CENTEURO is not set 2374 | # CONFIG_NLS_MAC_CROATIAN is not set 2375 | # CONFIG_NLS_MAC_CYRILLIC is not set 2376 | # CONFIG_NLS_MAC_GAELIC is not set 2377 | # CONFIG_NLS_MAC_GREEK is not set 2378 | # CONFIG_NLS_MAC_ICELAND is not set 2379 | # CONFIG_NLS_MAC_INUIT is not set 2380 | # CONFIG_NLS_MAC_ROMANIAN is not set 2381 | # CONFIG_NLS_MAC_TURKISH is not set 2382 | CONFIG_NLS_UTF8=y 2383 | # CONFIG_DLM is not set 2384 | 2385 | # 2386 | # Kernel hacking 2387 | # 2388 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y 2389 | 2390 | # 2391 | # printk and dmesg options 2392 | # 2393 | CONFIG_PRINTK_TIME=y 2394 | CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 2395 | CONFIG_BOOT_PRINTK_DELAY=y 2396 | CONFIG_DYNAMIC_DEBUG=y 2397 | 2398 | # 2399 | # Compile-time checks and compiler options 2400 | # 2401 | CONFIG_DEBUG_INFO=y 2402 | # CONFIG_DEBUG_INFO_REDUCED is not set 2403 | # CONFIG_DEBUG_INFO_SPLIT is not set 2404 | # CONFIG_DEBUG_INFO_DWARF4 is not set 2405 | # CONFIG_GDB_SCRIPTS is not set 2406 | CONFIG_ENABLE_WARN_DEPRECATED=y 2407 | CONFIG_ENABLE_MUST_CHECK=y 2408 | CONFIG_FRAME_WARN=2048 2409 | CONFIG_STRIP_ASM_SYMS=y 2410 | # CONFIG_READABLE_ASM is not set 2411 | # CONFIG_UNUSED_SYMBOLS is not set 2412 | # CONFIG_PAGE_OWNER is not set 2413 | CONFIG_DEBUG_FS=y 2414 | # CONFIG_HEADERS_CHECK is not set 2415 | # CONFIG_DEBUG_SECTION_MISMATCH is not set 2416 | CONFIG_SECTION_MISMATCH_WARN_ONLY=y 2417 | CONFIG_ARCH_WANT_FRAME_POINTERS=y 2418 | # CONFIG_FRAME_POINTER is not set 2419 | # CONFIG_STACK_VALIDATION is not set 2420 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set 2421 | CONFIG_MAGIC_SYSRQ=y 2422 | CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x01b6 2423 | CONFIG_DEBUG_KERNEL=y 2424 | 2425 | # 2426 | # Memory Debugging 2427 | # 2428 | CONFIG_PAGE_EXTENSION=y 2429 | # CONFIG_DEBUG_PAGEALLOC is not set 2430 | CONFIG_PAGE_POISONING=y 2431 | CONFIG_PAGE_POISONING_NO_SANITY=y 2432 | # CONFIG_PAGE_POISONING_ZERO is not set 2433 | # CONFIG_DEBUG_OBJECTS is not set 2434 | # CONFIG_DEBUG_SLAB is not set 2435 | CONFIG_HAVE_DEBUG_KMEMLEAK=y 2436 | # CONFIG_DEBUG_KMEMLEAK is not set 2437 | # CONFIG_DEBUG_STACK_USAGE is not set 2438 | # CONFIG_DEBUG_VM is not set 2439 | # CONFIG_DEBUG_VIRTUAL is not set 2440 | CONFIG_DEBUG_MEMORY_INIT=y 2441 | # CONFIG_DEBUG_PER_CPU_MAPS is not set 2442 | CONFIG_HAVE_DEBUG_STACKOVERFLOW=y 2443 | # CONFIG_DEBUG_STACKOVERFLOW is not set 2444 | CONFIG_HAVE_ARCH_KMEMCHECK=y 2445 | # CONFIG_KMEMCHECK is not set 2446 | CONFIG_ARCH_HAS_KCOV=y 2447 | # CONFIG_KCOV is not set 2448 | # CONFIG_DEBUG_SHIRQ is not set 2449 | 2450 | # 2451 | # Debug Lockups and Hangs 2452 | # 2453 | CONFIG_LOCKUP_DETECTOR=y 2454 | CONFIG_HARDLOCKUP_DETECTOR=y 2455 | # CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set 2456 | CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0 2457 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set 2458 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 2459 | CONFIG_DETECT_HUNG_TASK=y 2460 | CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 2461 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set 2462 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 2463 | # CONFIG_WQ_WATCHDOG is not set 2464 | # CONFIG_PANIC_ON_OOPS is not set 2465 | CONFIG_PANIC_ON_OOPS_VALUE=0 2466 | CONFIG_PANIC_TIMEOUT=0 2467 | CONFIG_SCHED_DEBUG=y 2468 | CONFIG_SCHED_INFO=y 2469 | CONFIG_SCHEDSTATS=y 2470 | CONFIG_SCHED_STACK_END_CHECK=y 2471 | # CONFIG_DEBUG_TIMEKEEPING is not set 2472 | 2473 | # 2474 | # Lock Debugging (spinlocks, mutexes, etc...) 2475 | # 2476 | # CONFIG_DEBUG_RT_MUTEXES is not set 2477 | # CONFIG_DEBUG_SPINLOCK is not set 2478 | # CONFIG_DEBUG_MUTEXES is not set 2479 | # CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set 2480 | # CONFIG_DEBUG_LOCK_ALLOC is not set 2481 | # CONFIG_PROVE_LOCKING is not set 2482 | # CONFIG_LOCK_STAT is not set 2483 | # CONFIG_DEBUG_ATOMIC_SLEEP is not set 2484 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set 2485 | # CONFIG_LOCK_TORTURE_TEST is not set 2486 | CONFIG_STACKTRACE=y 2487 | # CONFIG_DEBUG_KOBJECT is not set 2488 | CONFIG_DEBUG_BUGVERBOSE=y 2489 | CONFIG_DEBUG_LIST=y 2490 | # CONFIG_DEBUG_PI_LIST is not set 2491 | # CONFIG_DEBUG_SG is not set 2492 | # CONFIG_DEBUG_NOTIFIERS is not set 2493 | # CONFIG_DEBUG_CREDENTIALS is not set 2494 | 2495 | # 2496 | # RCU Debugging 2497 | # 2498 | # CONFIG_PROVE_RCU is not set 2499 | # CONFIG_SPARSE_RCU_POINTER is not set 2500 | # CONFIG_TORTURE_TEST is not set 2501 | # CONFIG_RCU_PERF_TEST is not set 2502 | # CONFIG_RCU_TORTURE_TEST is not set 2503 | CONFIG_RCU_CPU_STALL_TIMEOUT=21 2504 | # CONFIG_RCU_TRACE is not set 2505 | # CONFIG_RCU_EQS_DEBUG is not set 2506 | # CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set 2507 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set 2508 | # CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set 2509 | # CONFIG_NOTIFIER_ERROR_INJECTION is not set 2510 | # CONFIG_FAULT_INJECTION is not set 2511 | # CONFIG_LATENCYTOP is not set 2512 | CONFIG_USER_STACKTRACE_SUPPORT=y 2513 | CONFIG_HAVE_FUNCTION_TRACER=y 2514 | CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y 2515 | CONFIG_HAVE_DYNAMIC_FTRACE=y 2516 | CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y 2517 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y 2518 | CONFIG_HAVE_SYSCALL_TRACEPOINTS=y 2519 | CONFIG_HAVE_FENTRY=y 2520 | CONFIG_HAVE_C_RECORDMCOUNT=y 2521 | CONFIG_TRACING_SUPPORT=y 2522 | # CONFIG_FTRACE is not set 2523 | 2524 | # 2525 | # Runtime Testing 2526 | # 2527 | # CONFIG_LKDTM is not set 2528 | # CONFIG_TEST_LIST_SORT is not set 2529 | # CONFIG_KPROBES_SANITY_TEST is not set 2530 | # CONFIG_BACKTRACE_SELF_TEST is not set 2531 | # CONFIG_RBTREE_TEST is not set 2532 | # CONFIG_INTERVAL_TREE_TEST is not set 2533 | # CONFIG_PERCPU_TEST is not set 2534 | # CONFIG_ATOMIC64_SELFTEST is not set 2535 | # CONFIG_ASYNC_RAID6_TEST is not set 2536 | # CONFIG_TEST_HEXDUMP is not set 2537 | # CONFIG_TEST_STRING_HELPERS is not set 2538 | # CONFIG_TEST_KSTRTOX is not set 2539 | # CONFIG_TEST_PRINTF is not set 2540 | # CONFIG_TEST_BITMAP is not set 2541 | # CONFIG_TEST_UUID is not set 2542 | # CONFIG_TEST_RHASHTABLE is not set 2543 | # CONFIG_TEST_HASH is not set 2544 | # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set 2545 | # CONFIG_DMA_API_DEBUG is not set 2546 | # CONFIG_TEST_LKM is not set 2547 | # CONFIG_TEST_USER_COPY is not set 2548 | # CONFIG_TEST_BPF is not set 2549 | # CONFIG_TEST_FIRMWARE is not set 2550 | # CONFIG_TEST_UDELAY is not set 2551 | CONFIG_MEMTEST=y 2552 | # CONFIG_TEST_STATIC_KEYS is not set 2553 | # CONFIG_SAMPLES is not set 2554 | CONFIG_HAVE_ARCH_KGDB=y 2555 | # CONFIG_KGDB is not set 2556 | CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y 2557 | # CONFIG_ARCH_WANTS_UBSAN_NO_NULL is not set 2558 | # CONFIG_UBSAN is not set 2559 | CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y 2560 | # CONFIG_STRICT_DEVMEM is not set 2561 | # CONFIG_X86_VERBOSE_BOOTUP is not set 2562 | CONFIG_EARLY_PRINTK=y 2563 | # CONFIG_EARLY_PRINTK_DBGP is not set 2564 | CONFIG_EARLY_PRINTK_EFI=y 2565 | CONFIG_X86_PTDUMP_CORE=y 2566 | # CONFIG_X86_PTDUMP is not set 2567 | # CONFIG_EFI_PGT_DUMP is not set 2568 | # CONFIG_DEBUG_RODATA_TEST is not set 2569 | CONFIG_DEBUG_WX=y 2570 | CONFIG_DEBUG_SET_MODULE_RONX=y 2571 | # CONFIG_DEBUG_NX_TEST is not set 2572 | CONFIG_DOUBLEFAULT=y 2573 | # CONFIG_DEBUG_TLBFLUSH is not set 2574 | # CONFIG_IOMMU_STRESS is not set 2575 | CONFIG_HAVE_MMIOTRACE_SUPPORT=y 2576 | # CONFIG_X86_DECODER_SELFTEST is not set 2577 | CONFIG_IO_DELAY_TYPE_0X80=0 2578 | CONFIG_IO_DELAY_TYPE_0XED=1 2579 | CONFIG_IO_DELAY_TYPE_UDELAY=2 2580 | CONFIG_IO_DELAY_TYPE_NONE=3 2581 | CONFIG_IO_DELAY_0X80=y 2582 | # CONFIG_IO_DELAY_0XED is not set 2583 | # CONFIG_IO_DELAY_UDELAY is not set 2584 | # CONFIG_IO_DELAY_NONE is not set 2585 | CONFIG_DEFAULT_IO_DELAY_TYPE=0 2586 | # CONFIG_DEBUG_BOOT_PARAMS is not set 2587 | # CONFIG_CPA_DEBUG is not set 2588 | CONFIG_OPTIMIZE_INLINING=y 2589 | # CONFIG_DEBUG_ENTRY is not set 2590 | # CONFIG_DEBUG_NMI_SELFTEST is not set 2591 | CONFIG_X86_DEBUG_FPU=y 2592 | # CONFIG_PUNIT_ATOM_DEBUG is not set 2593 | 2594 | # 2595 | # Security options 2596 | # 2597 | CONFIG_KEYS=y 2598 | CONFIG_KEYS_COMPAT=y 2599 | # CONFIG_PERSISTENT_KEYRINGS is not set 2600 | # CONFIG_BIG_KEYS is not set 2601 | # CONFIG_TRUSTED_KEYS is not set 2602 | CONFIG_ENCRYPTED_KEYS=y 2603 | # CONFIG_KEY_DH_OPERATIONS is not set 2604 | CONFIG_SECURITY_DMESG_RESTRICT=y 2605 | CONFIG_SECURITY_PERF_EVENTS_RESTRICT=y 2606 | CONFIG_SECURITY=y 2607 | CONFIG_PAGE_TABLE_ISOLATION=y 2608 | CONFIG_SECURITYFS=y 2609 | CONFIG_SECURITY_NETWORK=y 2610 | CONFIG_SECURITY_PATH=y 2611 | CONFIG_SECURITY_SECURELEVEL=y 2612 | CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y 2613 | CONFIG_HAVE_ARCH_HARDENED_USERCOPY=y 2614 | CONFIG_HARDENED_USERCOPY=y 2615 | # CONFIG_HARDENED_USERCOPY_PAGESPAN is not set 2616 | # CONFIG_SECURITY_SELINUX is not set 2617 | # CONFIG_SECURITY_SMACK is not set 2618 | # CONFIG_SECURITY_TOMOYO is not set 2619 | # CONFIG_SECURITY_APPARMOR is not set 2620 | # CONFIG_SECURITY_LOADPIN is not set 2621 | # CONFIG_SECURITY_YAMA is not set 2622 | # CONFIG_INTEGRITY is not set 2623 | CONFIG_DEFAULT_SECURITY_DAC=y 2624 | CONFIG_DEFAULT_SECURITY="" 2625 | CONFIG_XOR_BLOCKS=y 2626 | CONFIG_ASYNC_CORE=y 2627 | CONFIG_ASYNC_MEMCPY=y 2628 | CONFIG_ASYNC_XOR=y 2629 | CONFIG_ASYNC_PQ=y 2630 | CONFIG_ASYNC_RAID6_RECOV=y 2631 | CONFIG_CRYPTO=y 2632 | 2633 | # 2634 | # Crypto core or helper 2635 | # 2636 | CONFIG_CRYPTO_ALGAPI=y 2637 | CONFIG_CRYPTO_ALGAPI2=y 2638 | CONFIG_CRYPTO_AEAD=y 2639 | CONFIG_CRYPTO_AEAD2=y 2640 | CONFIG_CRYPTO_BLKCIPHER=y 2641 | CONFIG_CRYPTO_BLKCIPHER2=y 2642 | CONFIG_CRYPTO_HASH=y 2643 | CONFIG_CRYPTO_HASH2=y 2644 | CONFIG_CRYPTO_RNG=y 2645 | CONFIG_CRYPTO_RNG2=y 2646 | CONFIG_CRYPTO_RNG_DEFAULT=y 2647 | CONFIG_CRYPTO_AKCIPHER2=y 2648 | CONFIG_CRYPTO_AKCIPHER=y 2649 | CONFIG_CRYPTO_KPP2=y 2650 | CONFIG_CRYPTO_KPP=y 2651 | CONFIG_CRYPTO_RSA=y 2652 | CONFIG_CRYPTO_DH=y 2653 | # CONFIG_CRYPTO_ECDH is not set 2654 | CONFIG_CRYPTO_MANAGER=y 2655 | CONFIG_CRYPTO_MANAGER2=y 2656 | # CONFIG_CRYPTO_USER is not set 2657 | # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set 2658 | CONFIG_CRYPTO_GF128MUL=y 2659 | CONFIG_CRYPTO_NULL=y 2660 | CONFIG_CRYPTO_NULL2=y 2661 | CONFIG_CRYPTO_PCRYPT=y 2662 | CONFIG_CRYPTO_WORKQUEUE=y 2663 | CONFIG_CRYPTO_CRYPTD=y 2664 | # CONFIG_CRYPTO_MCRYPTD is not set 2665 | # CONFIG_CRYPTO_AUTHENC is not set 2666 | # CONFIG_CRYPTO_TEST is not set 2667 | CONFIG_CRYPTO_ABLK_HELPER=y 2668 | CONFIG_CRYPTO_GLUE_HELPER_X86=y 2669 | 2670 | # 2671 | # Authenticated Encryption with Associated Data 2672 | # 2673 | # CONFIG_CRYPTO_CCM is not set 2674 | # CONFIG_CRYPTO_GCM is not set 2675 | # CONFIG_CRYPTO_CHACHA20POLY1305 is not set 2676 | CONFIG_CRYPTO_SEQIV=y 2677 | # CONFIG_CRYPTO_ECHAINIV is not set 2678 | 2679 | # 2680 | # Block modes 2681 | # 2682 | CONFIG_CRYPTO_CBC=y 2683 | CONFIG_CRYPTO_CTR=y 2684 | CONFIG_CRYPTO_CTS=y 2685 | CONFIG_CRYPTO_ECB=y 2686 | CONFIG_CRYPTO_LRW=y 2687 | CONFIG_CRYPTO_PCBC=y 2688 | CONFIG_CRYPTO_XTS=y 2689 | # CONFIG_CRYPTO_KEYWRAP is not set 2690 | 2691 | # 2692 | # Hash modes 2693 | # 2694 | CONFIG_CRYPTO_CMAC=y 2695 | CONFIG_CRYPTO_HMAC=y 2696 | # CONFIG_CRYPTO_XCBC is not set 2697 | # CONFIG_CRYPTO_VMAC is not set 2698 | 2699 | # 2700 | # Digest 2701 | # 2702 | CONFIG_CRYPTO_CRC32C=y 2703 | # CONFIG_CRYPTO_CRC32C_INTEL is not set 2704 | # CONFIG_CRYPTO_CRC32 is not set 2705 | # CONFIG_CRYPTO_CRC32_PCLMUL is not set 2706 | CONFIG_CRYPTO_CRCT10DIF=y 2707 | # CONFIG_CRYPTO_CRCT10DIF_PCLMUL is not set 2708 | # CONFIG_CRYPTO_GHASH is not set 2709 | # CONFIG_CRYPTO_POLY1305 is not set 2710 | # CONFIG_CRYPTO_POLY1305_X86_64 is not set 2711 | CONFIG_CRYPTO_MD4=y 2712 | CONFIG_CRYPTO_MD5=y 2713 | # CONFIG_CRYPTO_MICHAEL_MIC is not set 2714 | # CONFIG_CRYPTO_RMD128 is not set 2715 | # CONFIG_CRYPTO_RMD160 is not set 2716 | # CONFIG_CRYPTO_RMD256 is not set 2717 | # CONFIG_CRYPTO_RMD320 is not set 2718 | CONFIG_CRYPTO_SHA1=y 2719 | # CONFIG_CRYPTO_SHA1_SSSE3 is not set 2720 | # CONFIG_CRYPTO_SHA256_SSSE3 is not set 2721 | # CONFIG_CRYPTO_SHA512_SSSE3 is not set 2722 | # CONFIG_CRYPTO_SHA1_MB is not set 2723 | # CONFIG_CRYPTO_SHA256_MB is not set 2724 | # CONFIG_CRYPTO_SHA512_MB is not set 2725 | CONFIG_CRYPTO_SHA256=y 2726 | CONFIG_CRYPTO_SHA512=y 2727 | # CONFIG_CRYPTO_SHA3 is not set 2728 | # CONFIG_CRYPTO_TGR192 is not set 2729 | # CONFIG_CRYPTO_WP512 is not set 2730 | # CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set 2731 | 2732 | # 2733 | # Ciphers 2734 | # 2735 | CONFIG_CRYPTO_AES=y 2736 | CONFIG_CRYPTO_AES_X86_64=y 2737 | # CONFIG_CRYPTO_AES_NI_INTEL is not set 2738 | # CONFIG_CRYPTO_ANUBIS is not set 2739 | CONFIG_CRYPTO_ARC4=y 2740 | # CONFIG_CRYPTO_BLOWFISH is not set 2741 | # CONFIG_CRYPTO_BLOWFISH_X86_64 is not set 2742 | # CONFIG_CRYPTO_CAMELLIA is not set 2743 | CONFIG_CRYPTO_CAMELLIA_X86_64=y 2744 | CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=y 2745 | # CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64 is not set 2746 | # CONFIG_CRYPTO_CAST5 is not set 2747 | # CONFIG_CRYPTO_CAST5_AVX_X86_64 is not set 2748 | # CONFIG_CRYPTO_CAST6 is not set 2749 | # CONFIG_CRYPTO_CAST6_AVX_X86_64 is not set 2750 | CONFIG_CRYPTO_DES=y 2751 | # CONFIG_CRYPTO_DES3_EDE_X86_64 is not set 2752 | CONFIG_CRYPTO_FCRYPT=y 2753 | # CONFIG_CRYPTO_KHAZAD is not set 2754 | # CONFIG_CRYPTO_SALSA20 is not set 2755 | # CONFIG_CRYPTO_SALSA20_X86_64 is not set 2756 | # CONFIG_CRYPTO_CHACHA20 is not set 2757 | # CONFIG_CRYPTO_CHACHA20_X86_64 is not set 2758 | # CONFIG_CRYPTO_SEED is not set 2759 | # CONFIG_CRYPTO_SERPENT is not set 2760 | # CONFIG_CRYPTO_SERPENT_SSE2_X86_64 is not set 2761 | # CONFIG_CRYPTO_SERPENT_AVX_X86_64 is not set 2762 | # CONFIG_CRYPTO_SERPENT_AVX2_X86_64 is not set 2763 | # CONFIG_CRYPTO_TEA is not set 2764 | # CONFIG_CRYPTO_TWOFISH is not set 2765 | # CONFIG_CRYPTO_TWOFISH_X86_64 is not set 2766 | # CONFIG_CRYPTO_TWOFISH_X86_64_3WAY is not set 2767 | # CONFIG_CRYPTO_TWOFISH_AVX_X86_64 is not set 2768 | 2769 | # 2770 | # Compression 2771 | # 2772 | CONFIG_CRYPTO_DEFLATE=y 2773 | CONFIG_CRYPTO_LZO=y 2774 | # CONFIG_CRYPTO_842 is not set 2775 | # CONFIG_CRYPTO_LZ4 is not set 2776 | # CONFIG_CRYPTO_LZ4HC is not set 2777 | 2778 | # 2779 | # Random Number Generation 2780 | # 2781 | CONFIG_CRYPTO_ANSI_CPRNG=y 2782 | CONFIG_CRYPTO_DRBG_MENU=y 2783 | CONFIG_CRYPTO_DRBG_HMAC=y 2784 | # CONFIG_CRYPTO_DRBG_HASH is not set 2785 | # CONFIG_CRYPTO_DRBG_CTR is not set 2786 | CONFIG_CRYPTO_DRBG=y 2787 | CONFIG_CRYPTO_JITTERENTROPY=y 2788 | CONFIG_CRYPTO_USER_API=y 2789 | CONFIG_CRYPTO_USER_API_HASH=y 2790 | CONFIG_CRYPTO_USER_API_SKCIPHER=y 2791 | # CONFIG_CRYPTO_USER_API_RNG is not set 2792 | # CONFIG_CRYPTO_USER_API_AEAD is not set 2793 | # CONFIG_CRYPTO_HW is not set 2794 | # CONFIG_ASYMMETRIC_KEY_TYPE is not set 2795 | 2796 | # 2797 | # Certificates for signature checking 2798 | # 2799 | CONFIG_HAVE_KVM=y 2800 | # CONFIG_VIRTUALIZATION is not set 2801 | # CONFIG_BINARY_PRINTF is not set 2802 | 2803 | # 2804 | # Library routines 2805 | # 2806 | CONFIG_RAID6_PQ=y 2807 | CONFIG_BITREVERSE=y 2808 | # CONFIG_HAVE_ARCH_BITREVERSE is not set 2809 | CONFIG_RATIONAL=y 2810 | CONFIG_GENERIC_STRNCPY_FROM_USER=y 2811 | CONFIG_GENERIC_STRNLEN_USER=y 2812 | CONFIG_GENERIC_NET_UTILS=y 2813 | CONFIG_GENERIC_FIND_FIRST_BIT=y 2814 | CONFIG_GENERIC_PCI_IOMAP=y 2815 | CONFIG_GENERIC_IOMAP=y 2816 | CONFIG_GENERIC_IO=y 2817 | CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y 2818 | CONFIG_ARCH_HAS_FAST_MULTIPLIER=y 2819 | CONFIG_CRC_CCITT=y 2820 | CONFIG_CRC16=y 2821 | CONFIG_CRC_T10DIF=y 2822 | CONFIG_CRC_ITU_T=y 2823 | CONFIG_CRC32=y 2824 | # CONFIG_CRC32_SELFTEST is not set 2825 | CONFIG_CRC32_SLICEBY8=y 2826 | # CONFIG_CRC32_SLICEBY4 is not set 2827 | # CONFIG_CRC32_SARWATE is not set 2828 | # CONFIG_CRC32_BIT is not set 2829 | CONFIG_CRC7=y 2830 | CONFIG_LIBCRC32C=y 2831 | # CONFIG_CRC8 is not set 2832 | # CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set 2833 | # CONFIG_RANDOM32_SELFTEST is not set 2834 | CONFIG_ZLIB_INFLATE=y 2835 | CONFIG_ZLIB_DEFLATE=y 2836 | CONFIG_LZO_COMPRESS=y 2837 | CONFIG_LZO_DECOMPRESS=y 2838 | CONFIG_LZ4_DECOMPRESS=y 2839 | CONFIG_XZ_DEC=y 2840 | CONFIG_XZ_DEC_X86=y 2841 | # CONFIG_XZ_DEC_POWERPC is not set 2842 | # CONFIG_XZ_DEC_IA64 is not set 2843 | # CONFIG_XZ_DEC_ARM is not set 2844 | # CONFIG_XZ_DEC_ARMTHUMB is not set 2845 | # CONFIG_XZ_DEC_SPARC is not set 2846 | CONFIG_XZ_DEC_BCJ=y 2847 | # CONFIG_XZ_DEC_TEST is not set 2848 | CONFIG_DECOMPRESS_GZIP=y 2849 | CONFIG_DECOMPRESS_BZIP2=y 2850 | CONFIG_DECOMPRESS_LZMA=y 2851 | CONFIG_DECOMPRESS_XZ=y 2852 | CONFIG_DECOMPRESS_LZO=y 2853 | CONFIG_DECOMPRESS_LZ4=y 2854 | CONFIG_GENERIC_ALLOCATOR=y 2855 | CONFIG_RADIX_TREE_MULTIORDER=y 2856 | CONFIG_ASSOCIATIVE_ARRAY=y 2857 | CONFIG_HAS_IOMEM=y 2858 | CONFIG_HAS_IOPORT_MAP=y 2859 | CONFIG_HAS_DMA=y 2860 | CONFIG_CPU_RMAP=y 2861 | CONFIG_DQL=y 2862 | CONFIG_GLOB=y 2863 | # CONFIG_GLOB_SELFTEST is not set 2864 | CONFIG_NLATTR=y 2865 | CONFIG_CLZ_TAB=y 2866 | # CONFIG_CORDIC is not set 2867 | # CONFIG_DDR is not set 2868 | CONFIG_IRQ_POLL=y 2869 | CONFIG_MPILIB=y 2870 | CONFIG_UCS2_STRING=y 2871 | CONFIG_FONT_SUPPORT=y 2872 | # CONFIG_FONTS is not set 2873 | CONFIG_FONT_8x8=y 2874 | CONFIG_FONT_8x16=y 2875 | # CONFIG_SG_SPLIT is not set 2876 | CONFIG_SG_POOL=y 2877 | CONFIG_ARCH_HAS_SG_CHAIN=y 2878 | CONFIG_ARCH_HAS_PMEM_API=y 2879 | CONFIG_ARCH_HAS_MMIO_FLUSH=y 2880 | CONFIG_SBITMAP=y 2881 | -------------------------------------------------------------------------------- /module/Makefile: -------------------------------------------------------------------------------- 1 | obj-m := module.o 2 | -------------------------------------------------------------------------------- /module/module.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include "module.h" 6 | 7 | MODULE_LICENSE("GPL"); 8 | MODULE_AUTHOR("KernelTLV"); 9 | MODULE_DESCRIPTION("A kernel module scaffold"); 10 | MODULE_VERSION("0.1"); 11 | 12 | static int __init init(void) 13 | { 14 | printk(KERN_INFO "Module loaded!\n"); 15 | return 0; 16 | } 17 | 18 | static void __exit exit(void) 19 | { 20 | printk(KERN_DEBUG "Module unloaded!\n"); 21 | } 22 | 23 | module_init(init); 24 | module_exit(exit); -------------------------------------------------------------------------------- /module/module.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kerneltlv/kernel-hacking/bfc536aa0b8399867a8395be711c1f69ed45cdc9/module/module.h -------------------------------------------------------------------------------- /setup_vm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | echo "Installing dependencies..." 4 | sudo apt-get update 5 | sudo DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential kexec-tools ctags libncurses5-dev python-pip samba 6 | pip install -r khack/requirements.txt 7 | 8 | sudo ln -fs `realpath khack/khack` /usr/local/bin/khack 9 | sudo ln -fs `realpath khack/khack-kernel` /usr/local/bin/khack-kernel 10 | sudo ln -fs `realpath khack/khack-module` /usr/local/bin/khack-module 11 | sudo ln -fs `realpath khack/khack-libc` /usr/local/bin/khack-libc 12 | 13 | sudo cp system-config/smb.conf /etc/samba/smb.conf 14 | (echo "vagrant"; echo "vagrant") | sudo smbpasswd -as vagrant 15 | sudo systemctl restart smbd 16 | 17 | sudo cp system-config/kexec /etc/default/kexec 18 | sudo systemctl restart kexec 19 | 20 | echo "Extracting kernel source..." 21 | khack kernel get 22 | khack kernel config minimal 23 | chown -R vagrant:vagrant linux-source/ 24 | 25 | [ ! -e boot-backup ] || rm -r boot-backup 26 | mkdir boot-backup 27 | cp /boot/vmlinuz* boot-backup/ 28 | cp /boot/initrd* boot-backup 29 | cp /boot/config* boot-backup 30 | cp /boot/System.map* boot-backup 31 | 32 | # Install shared-saver 33 | cp /vagrant/shared-saver/systemd.service /etc/systemd/system/shared-saver.service 34 | cp /vagrant/shared-saver/script.sh /var/local/shared-saver.sh 35 | systemctl daemon-reload 36 | systemctl enable shared-saver 37 | systemctl start shared-saver 38 | -------------------------------------------------------------------------------- /shared-saver/README: -------------------------------------------------------------------------------- 1 | Persists VBox's shared directories across reboots 2 | -------------------------------------------------------------------------------- /shared-saver/script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -x 4 | 5 | # https://raw.githubusercontent.com/fhd/init-script-template/master/template 6 | 7 | DUMP_FILE=/var/local/shared-saver-dump 8 | 9 | save_file() { 10 | echo 'saving' 11 | mount | perl -ne 'print "$1\t$2\tvboxsf\tdefaults\t0\t0$/" if /^(\S+) on (.+) type vboxsf \(.+\)$/' | tee "$DUMP_FILE" 12 | } 13 | 14 | is_magic() { 15 | !(grep -q "BOOT_IMAGE" /proc/cmdline) 16 | } 17 | 18 | force_load_file() { 19 | if [ -f "$DUMP_FILE" ]; then 20 | echo 'file found, loading' 21 | mount -aT "$DUMP_FILE" 22 | else 23 | echo 'file not found, skipping' 24 | fi 25 | } 26 | 27 | load_file() { 28 | echo 'loading mounts, before checking' 29 | if is_magic; then 30 | force_load_file 31 | fi 32 | } 33 | 34 | case "$1" in 35 | start) 36 | load_file 37 | ;; 38 | stop) 39 | save_file 40 | ;; 41 | *) 42 | echo "Usage: $0 {start|stop}" 43 | exit 1 44 | ;; 45 | esac 46 | 47 | exit 0 48 | -------------------------------------------------------------------------------- /shared-saver/systemd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Save/Restore VBox shared dirs 3 | # TODO perhaps we depend on something else? 4 | After=network.target 5 | After=vboxadd.service 6 | After=vboxadd-service.service 7 | 8 | [Service] 9 | Type=oneshot 10 | ExecStart=/var/local/shared-saver.sh start 11 | ExecStop=/var/local/shared-saver.sh stop 12 | RemainAfterExit=yes 13 | 14 | [Install] 15 | WantedBy=multi-user.target 16 | -------------------------------------------------------------------------------- /system-config/kexec: -------------------------------------------------------------------------------- 1 | # Defaults for kexec initscript 2 | # sourced by /etc/init.d/kexec and /etc/init.d/kexec-load 3 | 4 | # Load a kexec kernel (true/false) 5 | LOAD_KEXEC=false 6 | 7 | # Kernel and initrd image 8 | KERNEL_IMAGE="/vmlinuz" 9 | INITRD="/initrd.img" 10 | 11 | # If empty, use current /proc/cmdline 12 | APPEND="" 13 | 14 | # Load the default kernel from grub config (true/false) 15 | USE_GRUB_CONFIG=false 16 | -------------------------------------------------------------------------------- /system-config/smb.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | workgroup = WORKGROUP 3 | dns proxy = no 4 | log file = /var/log/samba/log.%m 5 | max log size = 1000 6 | syslog = 0 7 | panic action = /usr/share/samba/panic-action %d 8 | server role = standalone server 9 | passdb backend = tdbsam 10 | obey pam restrictions = yes 11 | unix password sync = yes 12 | passwd program = /usr/bin/passwd %u 13 | passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . 14 | pam password change = yes 15 | map to guest = bad user 16 | usershare allow guests = no 17 | 18 | #======================= Share Definitions ======================= 19 | 20 | [kernel-source] 21 | comment = Linux Source 22 | path = /home/vagrant/linux-source 23 | browseable = yes 24 | read only = no 25 | guest ok = no 26 | writeable = yes 27 | --------------------------------------------------------------------------------