From 432c862334d4344390e8ac6c1c17324bd3e33c41 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Tue, 6 Aug 2024 21:17:23 +0200 Subject: [PATCH] Remove PKGBUILDs, use upstream Upstream is now maintained by myself after metak, the previous maintainer, announced that he'd stop maintaining the linux-clear package. Props to him for even creating the AUR package in the first place. --- .gitignore | 9 - .gitmodules | 3 + LICENSE | 663 +++++++++++++++++++++++++++++++- PKGBUILD | 393 ------------------- PKGBUILD.buildtool | 305 --------------- README.md | 17 +- buildtool.sh | 606 +++++++++++++++-------------- cleantool.sh | 46 ++- kconfig | 928 ++++++++++++++++++++++++++++++++------------- kernel | 1 + linux.install | 29 -- 11 files changed, 1676 insertions(+), 1324 deletions(-) delete mode 100644 .gitignore create mode 100644 .gitmodules delete mode 100644 PKGBUILD delete mode 100644 PKGBUILD.buildtool create mode 160000 kernel delete mode 100644 linux.install diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b6f43a9..0000000 --- a/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -linux-*.tar.sign -linux-*.tar.xz -linux-jstm-optimized-*.pkg.tar.zst -linux-jstm-optimized-headers-*.pkg.tar.zst -more-uarches-*.tar.gz -patch-*.xz -cl-linux -pkg -src diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f244166 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "kernel"] + path = kernel + url = https://aur.archlinux.org/linux-clear.git diff --git a/LICENSE b/LICENSE index 6fa6790..2beb9e1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,662 @@ -This project is licensed under different licences. + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. -Code written by JeremyStarTM is written under the GNU AGPL v3 license (see https://www.gnu.org/licenses/agpl-3.0.en.html) diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index 0d7ffb7..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,393 +0,0 @@ -#!/bin/bash -# shellcheck disable=SC2034 disable=SC2154 disable=SC2155 disable=SC2048 disable=SC2086 disable=SC2295 -# ^^^^^ These have been deliberately disabled throughout this entire PKGBUILD, please don't remove them :) -# Maintainer: JeremyStarTM -# Maintainer: Josip Ponjavic - -### BUILD OPTIONS - -# Set to anything but null to activate -# Tweak kernel options prior to a build via menuconfig -: "${_makemenuconfig:=""}" - -# Set to anything but null to activate -# Tweak kernel options prior to a build via nconfig -: "${_makenconfig:=""}" - -# Set to anything but null to activate -# Tweak kernel options prior to a build via xconfig -: "${_makexconfig:=""}" - -# Set to anything but null to activate -# Copies the final kernel configuration before building -: "${_copyfinalconfig:=""}" - -# Set to anything but null to activate -# Only compile active modules to VASTLY reduce the number of modules built and -# the build time. -# -# To keep track of which modules are needed for your specific system/hardware, -# give module_db a try: https://aur.archlinux.org/packages/modprobed-db -# This PKGBUILD reads the database kept if it exists -# -# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db -: "${_localmodcfg:=""}" - -# Optionally select a sub architecture by number or leave blank which will -# require user interaction during the build. Note that the generic (default) -# option is 40. -# -# 1. AMD Opteron/Athlon64/Hammer/K8 (MK8) -# 2. AMD Opteron/Athlon64/Hammer/K8 with SSE3 (MK8SSE3) -# 3. AMD 61xx/7x50/PhenomX3/X4/II/K10 (MK10) -# 4. AMD Barcelona (MBARCELONA) -# 5. AMD Bobcat (MBOBCAT) -# 6. AMD Jaguar (MJAGUAR) -# 7. AMD Bulldozer (MBULLDOZER) -# 8. AMD Piledriver (MPILEDRIVER) -# 9. AMD Steamroller (MSTEAMROLLER) -# 10. AMD Excavator (MEXCAVATOR) -# 11. AMD Zen (MZEN) -# 12. AMD Zen 2 (MZEN2) -# 13. AMD Zen 3 (MZEN3) -# 14. AMD Zen 4 (MZEN4) -# 15. Intel P4 / older Netburst based Xeon (MPSC) -# 16. Intel Core 2 (MCORE2) -# 17. Intel Atom (MATOM) -# 18. Intel Nehalem (MNEHALEM) -# 19. Intel Westmere (MWESTMERE) -# 20. Intel Silvermont (MSILVERMONT) -# 21. Intel Goldmont (MGOLDMONT) -# 22. Intel Goldmont Plus (MGOLDMONTPLUS) -# 23. Intel Sandy Bridge (MSANDYBRIDGE) -# 24. Intel Ivy Bridge (MIVYBRIDGE) -# 25. Intel Haswell (MHASWELL) -# 26. Intel Broadwell (MBROADWELL) -# 27. Intel Skylake (MSKYLAKE) -# 28. Intel Skylake X (MSKYLAKEX) -# 29. Intel Cannon Lake (MCANNONLAKE) -# 30. Intel Ice Lake (MICELAKE) -# 31. Intel Cascade Lake (MCASCADELAKE) -# 32. Intel Cooper Lake (MCOOPERLAKE) -# 33. Intel Tiger Lake (MTIGERLAKE) -# 34. Intel Sapphire Rapids (MSAPPHIRERAPIDS) -# 35. Intel Rocket Lake (MROCKETLAKE) -# 36. Intel Alder Lake (MALDERLAKE) -# 37. Intel Raptor Lake (MRAPTORLAKE) -# 38. Intel Meteor Lake (MMETEORLAKE) -# 39. Intel Emerald Rapids (MEMERALDRAPIDS) -# 40. Generic-x86-64 (GENERIC_CPU) -# 41. Generic-x86-64-v2 (GENERIC_CPU2) -# 42. Generic-x86-64-v3 (GENERIC_CPU3) -# 43. Generic-x86-64-v4 (GENERIC_CPU4) -# 44. Intel-Native optimizations autodetected by the compiler (MNATIVE_INTEL) -# 45. AMD-Native optimizations autodetected by the compiler (MNATIVE_AMD) -: "${_subarch:=""}" - -# Enable compiling with LLVM -# Be warned: This is untested -: "${_use_llvm_lto:=""}" - -# Enable/Disable debug options -# Set 'y' to enable, 'n' to force disable debug options if already enabled in your -# .config file or leave empty to ignore debug options. -: "${_debug:=""}" - -### BUILD OPTIONS END - -_kerneloptimized_version=ko2 -_kernel_major=6.9 -_kernel_minor=8 -_gcc_more_v='20240221.2' -_srcname_linux=linux-${_kernel_major} -_srcname_clpatches=${_kernel_major}.7-1445 -pkgbase=linux-jstm-optimized -pkgver=linux${_kernel_major}.${_kernel_minor}+clear${_srcname_clpatches//-/_}+${_kerneloptimized_version} -pkgrel=1 -pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by JeremyStarTM." -arch=('x86_64') -url="https://git.staropensource.de/JeremyStarTM/kernel-optimized" -license=(GPL-2.0-only) -makedepends=('bc' 'cpio' 'gettext' 'git' 'libelf' 'pahole' 'perl' 'python' 'tar' 'xz' 'zstd') -if [ -n "$_use_llvm_lto" ]; then - makedepends+=(clang llvm lld) -fi -options=(!strip !debug) -if [ "${_debug}" == "y" ]; then - options=(!strip) -fi -source=( - "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${_kernel_major}.tar.xz" - "https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-${_kernel_major}.${_kernel_minor}.xz" - "cl-linux::git+https://github.com/clearlinux-pkgs/linux.git#tag=${_srcname_clpatches}" - "more-uarches-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_compiler_patch/archive/$_gcc_more_v.tar.gz" -) - -if [ -n "$_use_llvm_lto" ]; then - BUILD_FLAGS=( - LLVM=1 - LLVM_IAS=1 - ) -fi - -export KBUILD_BUILD_HOST=archlinux -export KBUILD_BUILD_USER=$pkgbase -export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -prepare() { - echo ":: prepare: prepare() called" - echo ":: prepare: cding into \"${_srcname_linux}\"" - cd "${_srcname_linux}" || exit 1 - - ### Add upstream patches - echo ":: prepare: adding upstream patches" - patch -Np1 -i ../patch-${_kernel_major}.${_kernel_minor} || true - - ### Setting version - echo ":: prepare: updating version" - echo "-$pkgrel" > localversion.10-pkgrel - echo "${pkgbase#linux}" > localversion.20-pkgname - - ### Add Clear Linux patches - echo ":: prepare: patching kernel with Clear Linux patches" - # shellcheck disable=SC2013 - for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do - if [ -n "$_use_llvm_lto" ]; then - if [ "${i}" == "0133-novector.patch" ] ; then - continue - fi - fi - echo ":: prepare: applying patch ${i}..." - patch -Np1 -i "$srcdir/cl-linux/${i}" || true - done - - ### Copy config - echo ":: prepare: copying kernel-optimized kconfig into kernel repository" - cp -Tf "${startdir}/kconfig" ./.config - - if [ -n "$_use_llvm_lto" ]; then - echo ":: prepare: enabling LLVM support" - scripts/config -d LTO_NONE \ - -e LTO \ - -e LTO_CLANG \ - -e ARCH_SUPPORTS_LTO_CLANG \ - -e ARCH_SUPPORTS_LTO_CLANG_THIN \ - -e HAS_LTO_CLANG \ - -e LTO_CLANG_THIN \ - -e HAVE_GCC_PLUGINS - fi - - if [ "$_debug" == "y" ]; then - echo ":: prepare: enabling debugging features" - scripts/config -e DEBUG_INFO \ - -e DEBUG_INFO_BTF \ - -e DEBUG_INFO_DWARF4 \ - -e PAHOLE_HAS_SPLIT_BTF \ - -e DEBUG_INFO_BTF_MODULES - elif [ "$_debug" == "n" ]; then - echo ":: prepare: disabling debugging features" - scripts/config -d DEBUG_INFO \ - -d DEBUG_INFO_BTF \ - -d DEBUG_INFO_DWARF4 \ - -d PAHOLE_HAS_SPLIT_BTF \ - -d DEBUG_INFO_BTF_MODULES - fi - - echo ":: prepare: running olddefconfig" - make ${BUILD_FLAGS[*]} olddefconfig - diff -u $srcdir/cl-linux/config .config || : - - # https://github.com/graysky2/kernel_compiler_patch - # make sure to apply after olddefconfig to allow the next section - echo ":: prepare: patching kernel with kernel_compiler_patch" - patch -Np1 -i "$srcdir/kernel_compiler_patch-$_gcc_more_v/more-uarches-for-kernel-6.8-rc4+.patch" - - if [ -n "$_subarch" ]; then - # user wants a subarch so apply choice defined above interactively via 'yes' - echo ":: prepare: selecting sub architecture (automatic)" - yes "$_subarch" | make ${BUILD_FLAGS[*]} oldconfig - else - # no subarch defined so allow user to pick one - echo ":: prepare: selecting sub architecture (intervention required)" - make ${BUILD_FLAGS[*]} oldconfig - fi - - ### Optionally load needed modules for the make localmodconfig - # See https://aur.archlinux.org/packages/modprobed-db - if [ -n "$_localmodcfg" ]; then - if [ -e "$HOME/.config/modprobed.db" ]; then - echo ":: prepare: executing localmodconfig" - make ${BUILD_FLAGS[*]} LSMOD=$HOME/.config/modprobed.db localmodconfig - else - echo ":: prepare: error: no modprobed.db found at \"${HOME}/.config/modprobed.db\", skipping" - fi - fi - - echo ":: prepare: writing kernel version" - make -s kernelrelease > version - - [[ -z "$_makemenuconfig" ]] || ( - echo ":: prepare: executing menuconfig" - make ${BUILD_FLAGS[*]} menuconfig - ) - [[ -z "$_makexconfig" ]] || ( - echo ":: prepare: executing xconfig" - make ${BUILD_FLAGS[*]} xconfig - ) - [[ -z "$_makenconfig" ]] || ( - echo ":: prepare: executing nconfig" - make ${BUILD_FLAGS[*]} nconfig - ) - - ### Save configuration for later reuse - [[ -z "$_copyfinalconfig" ]] || ( - echo ":: prepare: copying configuration file into kernel-optimized repository" - cp -Tf ./.config "${startdir}/kconfig-final" - ) - echo ":: prepare: prepare() finished" -} - -build() { - echo ":: build: build() called" - echo ":: build: cding into \"${_srcname_linux}\"" - cd "${_srcname_linux}" || exit 1 - echo ":: build: starting compilation (make ${BUILD_FLAGS[*]} all)" - make ${BUILD_FLAGS[*]} all - echo ":: build: build() finished" -} - -_package() { - echo ":: _package: _package() called" - echo ":: _package: updating package information" - pkgdesc="${pkgdesc} This package includes the kernel and compiled modules." - depends=('coreutils' 'kmod' 'initramfs') - optdepends=('wireless-regdb: to set the correct wireless channels of your country' - 'linux-firmware: firmware images needed for some devices' - 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig') - provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE) - install=linux.install - - echo ":: _package: cding into \"${_srcname_linux}\"" - cd "$_srcname_linux" || exit 1 - - local modulesdir="$pkgdir/usr/lib/modules/$( -# Maintainer: Josip Ponjavic - -# All build options have been removed as this PKGBUILD is exclusively used for buildtool.sh. -# If you want to build linux-jstm-optimized without using buildtool.sh use the other PKGBUILD file instead. - -_kerneloptimized_version=ko2 -_kernel_major=6.9 -_kernel_minor=3 -_gcc_more_v='20240221.2' -_srcname_linux=linux-${_kernel_major} -_srcname_clpatches=${_kernel_major}.2-1437 -pkgbase=linux-jstm-optimized -pkgver=linux${_kernel_major}.${_kernel_minor}+clear${_srcname_clpatches//-/_}+${_kerneloptimized_version} -pkgrel=1 -pkgdesc="Optimized Linux kernel. Includes Clear Linux's kernel config and some tweaks made by JeremyStarTM." -arch=('x86_64') -url="https://git.staropensource.de/JeremyStarTM/kernel-optimized" -license=(GPL-2.0-only) -makedepends=('bc' 'cpio' 'gettext' 'git' 'libelf' 'pahole' 'perl' 'python' 'tar' 'xz' 'zstd') -if [ -n "$_use_llvm_lto" ]; then - makedepends+=(clang llvm lld) -fi -options=(!strip !debug) -if [ "${_debug}" == "y" ]; then - options=(!strip) -fi -source=( - "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${_kernel_major}.tar.xz" - "https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-${_kernel_major}.${_kernel_minor}.xz" - "cl-linux::git+https://github.com/clearlinux-pkgs/linux.git#tag=${_srcname_clpatches}" - "more-uarches-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_compiler_patch/archive/$_gcc_more_v.tar.gz" -) - -if [ -n "$_use_llvm_lto" ]; then - BUILD_FLAGS=( - LLVM=1 - LLVM_IAS=1 - ) -fi - -export KBUILD_BUILD_HOST=archlinux -export KBUILD_BUILD_USER=$pkgbase -export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - -prepare() { - echo ":: prepare: prepare() called" - echo ":: prepare: cding into \"${_srcname_linux}\"" - cd "${_srcname_linux}" || exit 1 - - ### Add upstream patches - echo ":: prepare: adding upstream patches" - patch -Np1 -i ../patch-${_kernel_major}.${_kernel_minor} || true - - ### Setting version - echo ":: prepare: updating version" - echo "-$pkgrel" > localversion.10-pkgrel - echo "${pkgbase#linux}" > localversion.20-pkgname - - ### Add Clear Linux patches - echo ":: prepare: patching kernel with Clear Linux patches" - # shellcheck disable=SC2013 - for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do - if [ -n "$_use_llvm_lto" ]; then - if [ "${i}" == "0133-novector.patch" ] ; then - continue - fi - fi - echo ":: prepare: applying patch ${i}..." - patch -Np1 -i "$srcdir/cl-linux/${i}" || true - done - - ### Copy config - echo ":: prepare: copying kernel-optimized kconfig into kernel repository" - cp -Tf "${startdir}/kconfig" ./.config - - if [ -n "$_use_llvm_lto" ]; then - echo ":: prepare: enabling LLVM support" - scripts/config -d LTO_NONE \ - -e LTO \ - -e LTO_CLANG \ - -e ARCH_SUPPORTS_LTO_CLANG \ - -e ARCH_SUPPORTS_LTO_CLANG_THIN \ - -e HAS_LTO_CLANG \ - -e LTO_CLANG_THIN \ - -e HAVE_GCC_PLUGINS - fi - - if [ "$_debug" == "y" ]; then - echo ":: prepare: enabling debugging features" - scripts/config -e DEBUG_INFO \ - -e DEBUG_INFO_BTF \ - -e DEBUG_INFO_DWARF4 \ - -e PAHOLE_HAS_SPLIT_BTF \ - -e DEBUG_INFO_BTF_MODULES - elif [ "$_debug" == "n" ]; then - echo ":: prepare: disabling debugging features" - scripts/config -d DEBUG_INFO \ - -d DEBUG_INFO_BTF \ - -d DEBUG_INFO_DWARF4 \ - -d PAHOLE_HAS_SPLIT_BTF \ - -d DEBUG_INFO_BTF_MODULES - fi - - echo ":: prepare: running olddefconfig" - make ${BUILD_FLAGS[*]} olddefconfig - diff -u $srcdir/cl-linux/config .config || : - - # https://github.com/graysky2/kernel_compiler_patch - # make sure to apply after olddefconfig to allow the next section - echo ":: prepare: patching kernel with kernel_compiler_patch" - patch -Np1 -i "$srcdir/kernel_compiler_patch-$_gcc_more_v/more-uarches-for-kernel-6.8-rc4+.patch" - - if [ -n "$_subarch" ]; then - # user wants a subarch so apply choice defined above interactively via 'yes' - echo ":: prepare: selecting sub architecture (automatic)" - yes "$_subarch" | make ${BUILD_FLAGS[*]} oldconfig - else - # no subarch defined so allow user to pick one - echo ":: prepare: selecting sub architecture (intervention required)" - make ${BUILD_FLAGS[*]} oldconfig - fi - - ### Optionally load needed modules for the make localmodconfig - # See https://aur.archlinux.org/packages/modprobed-db - if [ -n "$_localmodcfg" ]; then - if [ -e "$HOME/.config/modprobed.db" ]; then - echo ":: prepare: executing localmodconfig" - make ${BUILD_FLAGS[*]} LSMOD=$HOME/.config/modprobed.db localmodconfig - else - echo ":: prepare: error: no modprobed.db found at \"${HOME}/.config/modprobed.db\", skipping" - fi - fi - - echo ":: prepare: writing kernel version" - make -s kernelrelease > version - - [[ -z "$_makemenuconfig" ]] || ( - echo ":: prepare: executing menuconfig" - make ${BUILD_FLAGS[*]} menuconfig - ) - [[ -z "$_makexconfig" ]] || ( - echo ":: prepare: executing xconfig" - make ${BUILD_FLAGS[*]} xconfig - ) - [[ -z "$_makenconfig" ]] || ( - echo ":: prepare: executing nconfig" - make ${BUILD_FLAGS[*]} nconfig - ) - - ### Save configuration for later reuse - [[ -z "$_copyfinalconfig" ]] || ( - echo ":: prepare: copying configuration file into kernel-optimized repository" - cp -Tf ./.config "${startdir}/kconfig-final" - ) - echo ":: prepare: prepare() finished" -} - -build() { - echo ":: build: build() called" - echo ":: build: cding into \"${_srcname_linux}\"" - cd "${_srcname_linux}" || exit 1 - echo ":: build: starting compilation (make ${BUILD_FLAGS[*]} all)" - make ${BUILD_FLAGS[*]} all - echo ":: build: build() finished" -} - -_package() { - echo ":: _package: _package() called" - echo ":: _package: updating package information" - pkgdesc="${pkgdesc} This package includes the kernel and compiled modules." - depends=('coreutils' 'kmod' 'initramfs') - optdepends=('wireless-regdb: to set the correct wireless channels of your country' - 'linux-firmware: firmware images needed for some devices' - 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig') - provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE) - install=linux.install - - echo ":: _package: cding into \"${_srcname_linux}\"" - cd "$_srcname_linux" || exit 1 - - local modulesdir="$pkgdir/usr/lib/modules/$(/tmp/buildtool.sh;chmod +x /tmp/buildtool.sh;/tmp/buildtool.sh +curl -sSL "https://git.staropensource.de/JeremyStarTM/jstm-optimized/raw/branch/develop/buildtool.sh">/tmp/buildtool.sh +chmod +x /tmp/buildtool.sh +/tmp/buildtool.sh ``` ## Building from local repository diff --git a/buildtool.sh b/buildtool.sh index d440d64..e2c44bf 100755 --- a/buildtool.sh +++ b/buildtool.sh @@ -6,15 +6,15 @@ export "LANG=C.UTF-8" export "LC_MESSAGES=${LANG}" # Variables -export "BUILDTOOL_ISSUETRACKER=https://git.staropensource.de/JeremyStarTM/kernel-optimized/issues" -## Cloning (update these if you fork this project) -export "BUILDTOOL_REPOSITORY=https://git.staropensource.de/JeremyStarTM/kernel-optimized.git" +## Repository URLs (update these if you fork this project) +export "BUILDTOOL_REPOSITORY=https://git.staropensource.de/JeremyStarTM/jstm-optimized.git" +export "BUILDTOOL_ISSUETRACKER=https://git.staropensource.de/JeremyStarTM/jstm-optimized/issues" export "BUILDTOOL_CLONEDIR=jstm-kernel-optimized" -## Base packages to install, packages will be added by questions +## Packages to install. This list only includes the bare minimum for kernel compilation, options may add packages to this list export "BUILDTOOL_PACKAGES=base-devel git rustup" -## Building command line stuff +## Command line flags passed to makepkg export "BUILDTOOL_BUILDCMDLINE=nice -20 env MAKEFLAGS=-j$(nproc)" -## OOOOoooo colors! (not true color tho) +## OOOOoooo colors! export "BUILDTOOL_COLOR_SPECIAL=\e[0;35m" export "BUILDTOOL_COLOR_DIAG=\e[0;36m" export "BUILDTOOL_COLOR_WARN=\e[0;33m" @@ -24,353 +24,346 @@ export "BUILDTOOL_COLOR_RESET=\e[0m" # Logging ## Empty function empty() { - echo "" + echo "" } ## Special function special() { - echo -e "${BUILDTOOL_COLOR_SPECIAL}${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_SPECIAL}${*}${BUILDTOOL_COLOR_RESET}" } ## Diagnostic (header) function diagh() { - if [ -z "${BUILDTOOL_DEBUG}" ]; then return; fi - echo -e "${BUILDTOOL_COLOR_DIAG}[DIAG] ${*}${BUILDTOOL_COLOR_RESET}" + [[ -z "${BUILDTOOL_DEBUG}" ]] && return + echo -e "${BUILDTOOL_COLOR_DIAG}[DIAG] ${*}${BUILDTOOL_COLOR_RESET}" } ## Diagnostic (extension) function diage() { - if [ -z "${BUILDTOOL_DEBUG}" ]; then return; fi - echo -e "${BUILDTOOL_COLOR_DIAG} ${*}${BUILDTOOL_COLOR_RESET}" + [[ -z "${BUILDTOOL_DEBUG}" ]] && return + echo -e "${BUILDTOOL_COLOR_DIAG} ${*}${BUILDTOOL_COLOR_RESET}" } ## Informational (header) function infoh() { - echo -e "${BUILDTOOL_COLOR_RESET}[INFO] ${*}" + echo -e "${BUILDTOOL_COLOR_RESET}[INFO] ${*}" } ## Informational (extension) function infoe() { - echo -e "${BUILDTOOL_COLOR_RESET} ${*}" + echo -e "${BUILDTOOL_COLOR_RESET} ${*}" } ## Warning (header) function warnh() { - echo -e "${BUILDTOOL_COLOR_WARN}[WARN] ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_WARN}[WARN] ${*}${BUILDTOOL_COLOR_RESET}" } ## Warning (extension) function warne() { - echo -e "${BUILDTOOL_COLOR_WARN} ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_WARN} ${*}${BUILDTOOL_COLOR_RESET}" } ## Error (header) function errorh() { - echo -e "${BUILDTOOL_COLOR_ERROR}[ERR!] ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_ERROR}[ERR!] ${*}${BUILDTOOL_COLOR_RESET}" } ## Error (extension) function errore() { - echo -e "${BUILDTOOL_COLOR_ERROR} ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_ERROR} ${*}${BUILDTOOL_COLOR_RESET}" } # Banner -special " _ _ _ _ _ _ _ _ " -special " (_)___| |_ _ __ ___ | | _____ _ __ _ __ ___| | ___ _ __ | |_(_)_ __ ___ (_)_______ __| |" -special " | / __| __| '_ \` _ \\ _____| |/ / _ \\ '__| '_ \\ / _ \\ |_____ / _ \\| '_ \\| __| | '_ \` _ \\| |_ / _ \\/ _\` |" -special " | \\__ \\ |_| | | | | |_____| < __/ | | | | | __/ |_____| (_) | |_) | |_| | | | | | | |/ / __/ (_| |" -special " _/ |___/\\__|_| |_| |_| |_|\\_\\___|_| |_| |_|\\___|_| \\___/| .__/ \\__|_|_| |_| |_|_/___\\___|\\__,_|" -special "|__/ |_|" +special " _ _ _ _ _ _" +special " (_)___| |_ _ __ ___ ___ _ __ | |_(_)_ __ ___ (_)_______ __| |" +special " | / __| __| '_ \` _ \\ _____ / _ \\| '_ \\| __| | '_ \` _ \\| |_ / _ \\/ _\` |" +special " | \\__ \\ |_| | | | | |_____| (_) | |_) | |_| | | | | | | |/ / __/ (_| |" +special " _/ |___/\\__|_| |_| |_| \\___/| .__/ \\__|_|_| |_| |_|_/___\\___|\\__,_|" +special "|__/" empty # Print environment configuration -if [ -n "${BUILDTOOL_DEBUG}" ]; then - warnh "\$BUILDTOOL_DEBUG is set, debug mode is enabled" -fi -if [ -n "${BUILDTOOL_LOCALDIR}" ]; then - warnh "\$BUILDTOOL_LOCALDIR is set, will build kernel package from current working directory" -fi +[[ -n "${BUILDTOOL_DEBUG}" ]] && warnh "\$BUILDTOOL_DEBUG is set, debug mode is enabled" +[[ -n "${BUILDTOOL_LOCALDIR}" ]] && warnh "\$BUILDTOOL_LOCALDIR is set, will build kernel package from current working directory" # Checks ## Check for Arch Linux ( - # shellcheck disable=SC1091 - source "/etc/os-release" - if [ "${NAME}" != "Arch Linux" ] || [ "${PRETTY_NAME}" != "Arch Linux" ] || [ "${ID}" != "arch" ]; then - if [ -z "${BUILDTOOL_COMPILE_NONARCH}" ]; then - errorh "Not running on Arch Linux" - errore "This kernel can only compile on Arch Linux" - errore "If you are sure that you want to compile this kernel on other distributions" - errore "set the \$BUILDTOOL_COMPILE_NONARCH environment variable to \"true\"" - exit 1 - else - warnh "\$BUILDTOOL_COMPILE_NONARCH is set, allowing compiling on a non-arch distribution" - fi - fi + # shellcheck disable=SC1091 + source "/etc/os-release" + if [ "${NAME}" != "Arch Linux" ] || [ "${PRETTY_NAME}" != "Arch Linux" ] || [ "${ID}" != "arch" ]; then + if [ -z "${BUILDTOOL_COMPILE_NONARCH}" ]; then + errorh "Not running on Arch Linux" + errore "This build tool can only be executed on Arch Linux" + errore "If you are sure that you want to run the build tool on a non-Arch distro," + errore "set \$BUILDTOOL_COMPILE_NONARCH." + exit 1 + else + warnh "\$BUILDTOOL_COMPILE_NONARCH is set, allowing compiling on a non-arch distribution" + fi + fi ) ## Check for root if [ "${UID}" == "0" ]; then - errorh "Can't build kernel as root" - errore "Please create a new user for building the kernel" - exit 1 + errorh "Can't build kernel as root" + errore "Please create a new user and then run the build tool as the new user" + exit 1 fi ## Check for sudo if ! which sudo &> /dev/null; then - errorh "Could not find sudo in \$PATH" - errore "Please ensure that you have sudo installed" - exit 1 + errorh "Could not find sudo in \$PATH" + errore "Please ensure that you have sudo installed in \$PATH" + exit 1 fi # Questions ## Ask if mold should replace ld/lld function ask_mold() { - read -rp "$(infoh "Do you want to use mold as your linker (much faster) [Y/n]? ")" BUILDTOOL_MOLD - case "${BUILDTOOL_MOLD}" in - "y"|"Y"|"") - export "BUILDTOOL_PACKAGES=${BUILDTOOL_PACKAGES} mold" - export "BUILDTOOL_BUILDCMDLINE=${BUILDTOOL_BUILDCMDLINE} LDFLAGS=-fuse-ld=mold RUSTFLAGS=\"-C link-arg=-fuse-ld=mold\"" - ;; - "n"|"N") ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_mold - esac + read -rp "$(infoh "Do you want to use mold as your linker (much faster) [Y/n]? ")" BUILDTOOL_MOLD + case "${BUILDTOOL_MOLD}" in + "y"|"Y"|"") + export "BUILDTOOL_PACKAGES=${BUILDTOOL_PACKAGES} mold" + export "BUILDTOOL_BUILDCMDLINE=${BUILDTOOL_BUILDCMDLINE} LDFLAGS=-fuse-ld=mold RUSTFLAGS=\"-C link-arg=-fuse-ld=mold\"" + ;; + "n"|"N") ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_mold + esac } ## Ask if the governor should be adjusted function ask_cpupower() { - read -rp "$(infoh "Do you want to adjust the cpu governor (improves build performance) [Y/n]? ")" BUILDTOOL_CPUPOWER - case "${BUILDTOOL_CPUPOWER}" in - "y"|"Y"|"") - export "BUILDTOOL_PACKAGES=${BUILDTOOL_PACKAGES} cpupower" - ;; - "n"|"N") ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_cpupower - esac + read -rp "$(infoh "Do you want to adjust the cpu governor (improves build performance) [Y/n]? ")" BUILDTOOL_CPUPOWER + case "${BUILDTOOL_CPUPOWER}" in + "y"|"Y"|"") + export "BUILDTOOL_PACKAGES=${BUILDTOOL_PACKAGES} cpupower" + ;; + "n"|"N") ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_cpupower + esac } ## Ask for building in tmpfs function ask_tmpfs() { - if [ -n "${BUILDTOOL_LOCALDIR}" ]; then - warnh "Skipped ask_tmpfs, building in local directory instead (\$BUILDTOOL_LOCALDIR is set)" - export "BUILDTOOL_CLONEDIR=$(pwd)" - return - fi - read -rp "$(infoh "Do you want to build in a tmpfs (improves build performance, protects your disk from wearing out faster, ~32 GiB memory required) [Y/n]? ")" BUILDTOOL_TMPFS - case "${BUILDTOOL_TMPFS}" in - "y"|"Y"|"") - export "BUILDTOOL_CLONEDIR=/tmp/${BUILDTOOL_CLONEDIR}" - ;; - "n"|"N") - export "BUILDTOOL_CLONEDIR=$(pwd)/${BUILDTOOL_CLONEDIR}" - ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_tmpfs - esac + if [ -n "${BUILDTOOL_LOCALDIR}" ]; then + warnh "Skipped ask_tmpfs, building in local directory instead (\$BUILDTOOL_LOCALDIR is set)" + export "BUILDTOOL_CLONEDIR=$(pwd)" + return + fi + read -rp "$(infoh "Do you want to build in a tmpfs (improves build performance, protects your disk from wearing out faster, ~32 GiB memory required) [Y/n]? ")" BUILDTOOL_TMPFS + case "${BUILDTOOL_TMPFS}" in + "y"|"Y"|"") + export "BUILDTOOL_CLONEDIR=/tmp/${BUILDTOOL_CLONEDIR}" + ;; + "n"|"N") + export "BUILDTOOL_CLONEDIR=$(pwd)/${BUILDTOOL_CLONEDIR}" + ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_tmpfs + esac } ## Ask for kernel config modification using menuconfig function ask_menuconfig() { - read -rp "$(infoh "Do you want to configure the kernel using menuconfig before build [y/N]? ")" BUILDTOOL_MENUCONFIG - case "${BUILDTOOL_MENUCONFIG}" in - "y"|"Y") - export "BUILDTOOL_PKGBUILD_MENUCONFIG=_makemenuconfig=SET" - ;; - "n"|"N"|"") - export "BUILDTOOL_PKGBUILD_MENUCONFIG=_makemenuconfig=" - ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_menuconfig - esac + read -rp "$(infoh "Do you want to configure the kernel using menuconfig before build [y/N]? ")" BUILDTOOL_MENUCONFIG + case "${BUILDTOOL_MENUCONFIG}" in + "y"|"Y") + export "BUILDTOOL_PKGBUILD_MENUCONFIG=_makemenuconfig=y" + ;; + "n"|"N"|"") + export "BUILDTOOL_PKGBUILD_MENUCONFIG=_makemenuconfig=" + ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_menuconfig + esac } ## Ask for kernel config modification using xconfig function ask_xconfig() { - read -rp "$(infoh "Do you want to configure the kernel using xconfig before build [y/N]? ")" BUILDTOOL_XCONFIG - case "${BUILDTOOL_XCONFIG}" in - "y"|"Y") - export "BUILDTOOL_PKGBUILD_XCONFIG=_makexconfig=SET" - ;; - "n"|"N"|"") - export "BUILDTOOL_PKGBUILD_XCONFIG=_makexconfig=" - ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_xconfig - esac + read -rp "$(infoh "Do you want to configure the kernel using xconfig before build [y/N]? ")" BUILDTOOL_XCONFIG + case "${BUILDTOOL_XCONFIG}" in + "y"|"Y") + export "BUILDTOOL_PKGBUILD_XCONFIG=_makexconfig=y" + ;; + "n"|"N"|"") + export "BUILDTOOL_PKGBUILD_XCONFIG=_makexconfig=" + ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_xconfig + esac } ## Ask for kernel config modification using xconfig function ask_nconfig() { - read -rp "$(infoh "Do you want to configure the kernel using nconfig before build [y/N]? ")" BUILDTOOL_NCONFIG - case "${BUILDTOOL_NCONFIG}" in - "y"|"Y") - export "BUILDTOOL_PKGBUILD_NCONFIG=_makenconfig=SET" - ;; - "n"|"N"|"") - export "BUILDTOOL_PKGBUILD_NCONFIG=_makenconfig=" - ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_nconfig - esac + read -rp "$(infoh "Do you want to configure the kernel using nconfig before build [y/N]? ")" BUILDTOOL_NCONFIG + case "${BUILDTOOL_NCONFIG}" in + "y"|"Y") + export "BUILDTOOL_PKGBUILD_NCONFIG=_makenconfig=y" + ;; + "n"|"N"|"") + export "BUILDTOOL_PKGBUILD_NCONFIG=_makenconfig=" + ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_nconfig + esac } ## Ask if the final kernel configuration should be copied function ask_cpfinalconfig() { - read -rp "$(infoh "Do you want to copy the final kernel configuration before build [y/N]? ")" BUILDTOOL_CPFINALCONFIG - case "${BUILDTOOL_CPFINALCONFIG}" in - "y"|"Y") - export "BUILDTOOL_PKGBUILD_CPFINALCONFIG=_copyfinalconfig=SET" - ;; - "n"|"N"|"") - export "BUILDTOOL_PKGBUILD_CPFINALCONFIG=_copyfinalconfig=" - ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_cpfinalconfig - esac + read -rp "$(infoh "Do you want to copy the final kernel configuration before build [y/N]? ")" BUILDTOOL_CPFINALCONFIG + case "${BUILDTOOL_CPFINALCONFIG}" in + "y"|"Y") + export "BUILDTOOL_PKGBUILD_CPFINALCONFIG=_copyfinalconfig=y" + ;; + "n"|"N"|"") + export "BUILDTOOL_PKGBUILD_CPFINALCONFIG=_copyfinalconfig=" + ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_cpfinalconfig + esac } ## Ask if only active modules should be compiled into the kernel function ask_modprobeddb() { - read -rp "$(infoh "Do you want to only build active kernel modules (modprobed-db must be installed, read \"https://wiki.archlinux.org/index.php/Modprobed-db\" first) [y/N]? ")" BUILDTOOL_MODPROBEDDB - case "${BUILDTOOL_MODPROBEDDB}" in - "y"|"Y") - if ! which modprobed-db &> /dev/null; then - errorh "Could not find modprobed-db in \$PATH." - errore "Please ensure that you have modprobed-db installed." - ask_modprobeddb - return 1 - fi - export "BUILDTOOL_PACKAGES=${BUILDTOOL_PACKAGES} modprobed-db" - export "BUILDTOOL_PKGBUILD_MODPROBEDDB=_localmodcfg=SET" - ;; - "n"|"N"|"") - export "BUILDTOOL_PKGBUILD_MODPROBEDDB=_localmodcfg=" - ;; - *) - errorh "Invalid answer. Please answer with Y or N" - ask_modprobeddb - esac + read -rp "$(infoh "Do you want to only build active kernel modules (modprobed-db must be installed, read \"https://wiki.archlinux.org/index.php/Modprobed-db\" first) [y/N]? ")" BUILDTOOL_MODPROBEDDB + case "${BUILDTOOL_MODPROBEDDB}" in + "y"|"Y") + if ! which modprobed-db &> /dev/null; then + errorh "Could not find modprobed-db in \$PATH." + errore "Please ensure that you have modprobed-db installed." + ask_modprobeddb + return 1 + fi + export "BUILDTOOL_PACKAGES=${BUILDTOOL_PACKAGES} modprobed-db" + export "BUILDTOOL_PKGBUILD_MODPROBEDDB=_localmodcfg=y" + ;; + "n"|"N"|"") + export "BUILDTOOL_PKGBUILD_MODPROBEDDB=_localmodcfg=" + ;; + *) + errorh "Invalid answer. Please answer with Y or N" + ask_modprobeddb + esac } ## Ask for sub architecture function ask_subarchitecture() { infoh "Displaying sub architecture list" - infoe " 1. AMD Opteron/Athlon64/Hammer/K8 (MK8)" - infoe " 2. AMD Opteron/Athlon64/Hammer/K8 with SSE3 (MK8SSE3)" - infoe " 3. AMD 61xx/7x50/PhenomX3/X4/II/K10 (MK10)" - infoe " 4. AMD Barcelona (MBARCELONA)" - infoe " 5. AMD Bobcat (MBOBCAT)" - infoe " 6. AMD Jaguar (MJAGUAR)" - infoe " 7. AMD Bulldozer (MBULLDOZER)" - infoe " 8. AMD Piledriver (MPILEDRIVER)" - infoe " 9. AMD Steamroller (MSTEAMROLLER)" - infoe "10. AMD Excavator (MEXCAVATOR)" - infoe "11. AMD Zen (MZEN)" - infoe "12. AMD Zen 2 (MZEN2)" - infoe "13. AMD Zen 3 (MZEN3)" - infoe "14. AMD Zen 4 (MZEN4)" - infoe "15. Intel P4 / older Netburst based Xeon (MPSC)" - infoe "16. Intel Core 2 (MCORE2)" - infoe "17. Intel Atom (MATOM)" - infoe "18. Intel Nehalem (MNEHALEM)" - infoe "19. Intel Westmere (MWESTMERE)" - infoe "20. Intel Silvermont (MSILVERMONT)" - infoe "21. Intel Goldmont (MGOLDMONT)" - infoe "22. Intel Goldmont Plus (MGOLDMONTPLUS)" - infoe "23. Intel Sandy Bridge (MSANDYBRIDGE)" - infoe "24. Intel Ivy Bridge (MIVYBRIDGE)" - infoe "25. Intel Haswell (MHASWELL)" - infoe "26. Intel Broadwell (MBROADWELL)" - infoe "27. Intel Skylake (MSKYLAKE)" - infoe "28. Intel Skylake X (MSKYLAKEX)" - infoe "29. Intel Cannon Lake (MCANNONLAKE)" - infoe "30. Intel Ice Lake (MICELAKE)" - infoe "31. Intel Cascade Lake (MCASCADELAKE)" - infoe "32. Intel Cooper Lake (MCOOPERLAKE)" - infoe "33. Intel Tiger Lake (MTIGERLAKE)" - infoe "34. Intel Sapphire Rapids (MSAPPHIRERAPIDS)" - infoe "35. Intel Rocket Lake (MROCKETLAKE)" - infoe "36. Intel Alder Lake (MALDERLAKE)" - infoe "37. Intel Raptor Lake (MRAPTORLAKE)" - infoe "38. Intel Meteor Lake (MMETEORLAKE)" - infoe "39. Intel Emerald Rapids (MEMERALDRAPIDS)" - infoe "40. Generic-x86-64 (GENERIC_CPU)" - infoe "41. Generic-x86-64-v2 (GENERIC_CPU2)" - infoe "42. Generic-x86-64-v3 (GENERIC_CPU3)" - infoe "43. Generic-x86-64-v4 (GENERIC_CPU4)" - infoe "44. Intel-Native optimizations autodetected by the compiler (MNATIVE_INTEL)" - infoe "45. AMD-Native optimizations autodetected by the compiler (MNATIVE_AMD)" - read -rp ":: Which sub architecture do you want to build Linux for (see above, enter 40 if unsure) [40]? " BUILDTOOL_SUBARCHITECTURE - case "${BUILDTOOL_SUBARCHITECTURE}" in - "") - export "BUILDTOOL_PKGBUILD_SUBARCHITECTURE=_subarch=40" - ;; - *[!0-9]*) - errorh "Invalid subarchitecture" - ask_subarchitecture - return 1 - ;; - *) - if [ ! "${BUILDTOOL_SUBARCHITECTURE}" -gt 0 ] || [ ! "${BUILDTOOL_SUBARCHITECTURE}" -lt 46 ]; then - errorh "Invalid subarchitecture" - ask_subarchitecture - else - export "BUILDTOOL_PKGBUILD_SUBARCHITECTURE=_subarch=${BUILDTOOL_SUBARCHITECTURE}" - fi - ;; - esac + infoe " 1. AMD Opteron/Athlon64/Hammer/K8 (MK8)" + infoe " 2. AMD Opteron/Athlon64/Hammer/K8 with SSE3 (MK8SSE3)" + infoe " 3. AMD 61xx/7x50/PhenomX3/X4/II/K10 (MK10)" + infoe " 4. AMD Barcelona (MBARCELONA)" + infoe " 5. AMD Bobcat (MBOBCAT)" + infoe " 6. AMD Jaguar (MJAGUAR)" + infoe " 7. AMD Bulldozer (MBULLDOZER)" + infoe " 8. AMD Piledriver (MPILEDRIVER)" + infoe " 9. AMD Steamroller (MSTEAMROLLER)" + infoe "10. AMD Excavator (MEXCAVATOR)" + infoe "11. AMD Zen (MZEN)" + infoe "12. AMD Zen 2 (MZEN2)" + infoe "13. AMD Zen 3 (MZEN3)" + infoe "14. AMD Zen 4 (MZEN4)" + infoe "15. Intel P4 / older Netburst based Xeon (MPSC)" + infoe "16. Intel Core 2 (MCORE2)" + infoe "17. Intel Atom (MATOM)" + infoe "18. Intel Nehalem (MNEHALEM)" + infoe "19. Intel Westmere (MWESTMERE)" + infoe "20. Intel Silvermont (MSILVERMONT)" + infoe "21. Intel Goldmont (MGOLDMONT)" + infoe "22. Intel Goldmont Plus (MGOLDMONTPLUS)" + infoe "23. Intel Sandy Bridge (MSANDYBRIDGE)" + infoe "24. Intel Ivy Bridge (MIVYBRIDGE)" + infoe "25. Intel Haswell (MHASWELL)" + infoe "26. Intel Broadwell (MBROADWELL)" + infoe "27. Intel Skylake (MSKYLAKE)" + infoe "28. Intel Skylake X (MSKYLAKEX)" + infoe "29. Intel Cannon Lake (MCANNONLAKE)" + infoe "30. Intel Ice Lake (MICELAKE)" + infoe "31. Intel Cascade Lake (MCASCADELAKE)" + infoe "32. Intel Cooper Lake (MCOOPERLAKE)" + infoe "33. Intel Tiger Lake (MTIGERLAKE)" + infoe "34. Intel Sapphire Rapids (MSAPPHIRERAPIDS)" + infoe "35. Intel Rocket Lake (MROCKETLAKE)" + infoe "36. Intel Alder Lake (MALDERLAKE)" + infoe "37. Intel Raptor Lake (MRAPTORLAKE)" + infoe "38. Intel Meteor Lake (MMETEORLAKE)" + infoe "39. Intel Emerald Rapids (MEMERALDRAPIDS)" + infoe "40. Generic-x86-64 (GENERIC_CPU)" + infoe "41. Generic-x86-64-v2 (GENERIC_CPU2)" + infoe "42. Generic-x86-64-v3 (GENERIC_CPU3)" + infoe "43. Generic-x86-64-v4 (GENERIC_CPU4)" + infoe "44. Intel-Native optimizations autodetected by the compiler (MNATIVE_INTEL)" + infoe "45. AMD-Native optimizations autodetected by the compiler (MNATIVE_AMD)" + read -rp ":: Which sub architecture do you want to build Linux for (see above, enter 40 if unsure) [40]? " BUILDTOOL_SUBARCHITECTURE + case "${BUILDTOOL_SUBARCHITECTURE}" in + "") + export "BUILDTOOL_PKGBUILD_SUBARCHITECTURE=_subarch=40" + ;; + *[!0-9]*) + errorh "Invalid subarchitecture" + ask_subarchitecture + return 1 + ;; + *) + if [ ! "${BUILDTOOL_SUBARCHITECTURE}" -gt 0 ] || [ ! "${BUILDTOOL_SUBARCHITECTURE}" -lt 46 ]; then + errorh "Invalid subarchitecture" + ask_subarchitecture + else + export "BUILDTOOL_PKGBUILD_SUBARCHITECTURE=_subarch=${BUILDTOOL_SUBARCHITECTURE}" + fi + ;; + esac } ## Ask for kernel debug mode function ask_debug() { - read -rp "$(infoh "Do you want to enable kernel debug mode [y/N/i(gnore)]? ")" BUILDTOOL_KERNELDEBUG - case "${BUILDTOOL_KERNELDEBUG}" in - "y"|"Y") - export "BUILDTOOL_PKGBUILD_DEBUG=_debug=y" - ;; - "n"|"N"|"") - export "BUILDTOOL_PKGBUILD_DEBUG=_debug=n" - ;; - "i"|"I") - export "BUILDTOOL_PKGBUILD_DEBUG=_debug=" - ;; - *) - errorh "Invalid answer. Please answer with Y, N or I" - ask_debug - esac + read -rp "$(infoh "Do you want to enable kernel debug mode [y/N/i(gnore)]? ")" BUILDTOOL_KERNELDEBUG + case "${BUILDTOOL_KERNELDEBUG}" in + "y"|"Y") + export "BUILDTOOL_PKGBUILD_DEBUG=_debug=y" + ;; + "n"|"N"|"") + export "BUILDTOOL_PKGBUILD_DEBUG=_debug=n" + ;; + "i"|"I") + export "BUILDTOOL_PKGBUILD_DEBUG=_debug=" + ;; + *) + errorh "Invalid answer. Please answer with Y, N or I" + ask_debug + esac } ## Ask for clone directory conflict resolution (includes check) function ask_clonedir_conflictresolution() { - if [ -n "${BUILDTOOL_LOCALDIR}" ]; then - warnh "Skipped conflict resolution (\$BUILDTOOL_LOCALDIR is set)" - export "BUILDTOOL_CLONEDIR_CONFLICT=r" - if [ -a "${BUILDTOOL_CLONEDIR}/src" ]; then - diagh "src/ directory present, appending \"--noextract\"" - export "BUILDTOOL_MAKEPKG_REUSE= --noextract" - fi - if [ -a "${BUILDTOOL_CLONEDIR}/pkg" ]; then - diagh "pkg/ directory present, appending \"--force\"" - export "BUILDTOOL_MAKEPKG_REUSE=${BUILDTOOL_MAKEPKG_REUSE} --force" - fi - return - fi - if [ ! -d "${BUILDTOOL_CLONEDIR}" ] && [ ! -L "${BUILDTOOL_CLONEDIR}" ]; then - return - elif [ -a "${BUILDTOOL_CLONEDIR}" ] && [ ! -d "${BUILDTOOL_CLONEDIR}" ] && [ ! -L "${BUILDTOOL_CLONEDIR}" ]; then - warnh "Something that isn't a directory or symlink exists at location \"${BUILDTOOL_CLONEDIR}\"" - fi - read -rp "$(infoh "Warning: \"${BUILDTOOL_CLONEDIR}\" already exists. What should be done to resolve the conflict [A(bort)/r(ecompile)/f(resh)]? ")" BUILDTOOL_CLONEDIR_CONFLICT - case "${BUILDTOOL_CLONEDIR_CONFLICT}" in - "a"|"A"|"") - errorh "Conflict resolution failed" - exit 1 - ;; - "r"|"R") - if [ -a "${BUILDTOOL_CLONEDIR}/src" ]; then - diagh "src/ directory present, appending \"--noextract\"" - export "BUILDTOOL_MAKEPKG_REUSE= --noextract" - elif [ -a "${BUILDTOOL_CLONEDIR}/pkg" ]; then - diagh "pkg/ directory present, appending \"--force\"" - export "BUILDTOOL_MAKEPKG_REUSE=${BUILDTOOL_MAKEPKG_REUSE} --force" - fi - ;; - "f"|"F") - infoh "Removing existing \$BUILDTOOL_CLONEDIR directory" - rm -rf "${BUILDTOOL_CLONEDIR}" - ;; - *) - errorh "Invalid answer. Please answer with Y, N or I" - ask_debug - esac + if [ -n "${BUILDTOOL_LOCALDIR}" ]; then + warnh "Skipped conflict resolution (\$BUILDTOOL_LOCALDIR is set)" + export "BUILDTOOL_CLONEDIR_CONFLICT=r" + if [ -a "${BUILDTOOL_CLONEDIR}/src" ]; then + diagh "src/ directory present, appending \"--noextract\"" + export "BUILDTOOL_MAKEPKG_REUSE= --noextract" + fi + if [ -a "${BUILDTOOL_CLONEDIR}/pkg" ]; then + diagh "pkg/ directory present, appending \"--force\"" + export "BUILDTOOL_MAKEPKG_REUSE=${BUILDTOOL_MAKEPKG_REUSE} --force" + fi + return + fi + [[ ! -d "${BUILDTOOL_CLONEDIR}" ]] && [[ ! -L "${BUILDTOOL_CLONEDIR}" ]] && return + [[ -a "${BUILDTOOL_CLONEDIR}" ]] && [[ ! -d "${BUILDTOOL_CLONEDIR}" ]] && [[ ! -L "${BUILDTOOL_CLONEDIR}" ]] && warnh "Something that isn't a directory or symlink exists at location \"${BUILDTOOL_CLONEDIR}\"" + read -rp "$(infoh "Warning: \"${BUILDTOOL_CLONEDIR}\" already exists. What should be done to resolve the conflict [A(bort)/r(ecompile)/f(resh)]? ")" BUILDTOOL_CLONEDIR_CONFLICT + case "${BUILDTOOL_CLONEDIR_CONFLICT}" in + "a"|"A"|"") + errorh "Conflict resolution failed" + exit 1 + ;; + "r"|"R") + if [ -a "${BUILDTOOL_CLONEDIR}/src" ]; then + diagh "src/ directory present, appending \"--noextract\"" + export "BUILDTOOL_MAKEPKG_REUSE= --noextract" + elif [ -a "${BUILDTOOL_CLONEDIR}/pkg" ]; then + diagh "pkg/ directory present, appending \"--force\"" + export "BUILDTOOL_MAKEPKG_REUSE=${BUILDTOOL_MAKEPKG_REUSE} --force" + fi + ;; + "f"|"F") + infoh "Removing existing \$BUILDTOOL_CLONEDIR directory" + rm -rf "${BUILDTOOL_CLONEDIR}" + ;; + *) + errorh "Invalid answer. Please answer with Y, N or I" + ask_debug + esac } ask_mold ask_cpupower @@ -389,58 +382,63 @@ ask_clonedir_conflictresolution infoh "Installing dependencies" # shellcheck disable=SC2086 if ! sudo pacman -Syu --asdeps --needed ${BUILDTOOL_PACKAGES}; then - errorh "Installing dependencies failed: pacman returned with non-zero exit code" - exit 1 + errorh "Installing dependencies failed: pacman returned with non-zero exit code" + exit 1 fi if ! rustup default nightly; then - errorh "Installing dependencies failed: rustup returned with non-zero exit code" - exit 1 + errorh "Installing dependencies failed: rustup returned with non-zero exit code" + exit 1 fi ## Adjust cpu governor case "${BUILDTOOL_CPUPOWER}" in - "y"|"Y"|"") - infoh "Adjusting cpu governor" - if ! sudo cpupower frequency-set -g performance; then - errorh "Adjusting cpu governor failed: cpupower returned with non-zero exit code" - return 1 - fi - ;; - "n"|"N") ;; - *) - errorh "Internal inconsistency detected: Value of \$BUILDTOOL_CPUPOWER is not a valid boolean answer" - exit 2 - ;; + "y"|"Y"|"") + infoh "Adjusting cpu governor" + if ! sudo cpupower frequency-set -g performance; then + errorh "Adjusting cpu governor failed: cpupower returned with non-zero exit code" + return 1 + fi + ;; + "n"|"N") ;; + *) + errorh "Internal inconsistency detected: Value of \$BUILDTOOL_CPUPOWER is not a valid boolean answer" + exit 2 + ;; esac # Clone repository if [ "${BUILDTOOL_CLONEDIR_CONFLICT}" == "r" ] || [ "${BUILDTOOL_CLONEDIR_CONFLICT}" == "R" ]; then - warnh "Skipping cloning process" + warnh "Skipping cloning process" else - infoh "Cloning repository" - git clone "${BUILDTOOL_REPOSITORY}" "${BUILDTOOL_CLONEDIR}" + infoh "Cloning repository" + git clone "${BUILDTOOL_REPOSITORY}" "${BUILDTOOL_CLONEDIR}" fi cd "${BUILDTOOL_CLONEDIR}" +git submodule update --init --recursive +cd kernel + +# Patch PKGBUILD +sed "s/pkgbase\=linux\-clear/pkgbase\=linux\-jstm\-optimized/g" -i PKGBUILD # Print debug information if [ -n "${BUILDTOOL_DEBUG}" ]; then - diagh "Printing debug information" - diage "Environment variables:" - env|grep "BUILDTOOL_"|sort - diagh "More debug information:" - diage "Build cmdline=${BUILDTOOL_BUILDCMDLINE} ${BUILDTOOL_PKGBUILD_MENUCONFIG} ${BUILDTOOL_PKGBUILD_XCONFIG} ${BUILDTOOL_PKGBUILD_NCONFIG} ${BUILDTOOL_PKGBUILD_CPFINALCONFIG} ${BUILDTOOL_PKGBUILD_MODPROBEDDB} ${BUILDTOOL_PKGBUILD_SUBARCHITECTURE} ${BUILDTOOL_PKGBUILD_DEBUG} makepkg --syncdeps -p PKGBUILD.buildtool" - diage "Cwd=$(pwd)" + diagh "Printing debug information" + diage "Environment variables:" + env|grep "BUILDTOOL_"|sort + diagh "More debug information:" + diage "Build cmdline=${BUILDTOOL_BUILDCMDLINE} ${BUILDTOOL_PKGBUILD_MENUCONFIG} ${BUILDTOOL_PKGBUILD_XCONFIG} ${BUILDTOOL_PKGBUILD_NCONFIG} ${BUILDTOOL_PKGBUILD_CPFINALCONFIG} ${BUILDTOOL_PKGBUILD_MODPROBEDDB} ${BUILDTOOL_PKGBUILD_SUBARCHITECTURE} ${BUILDTOOL_PKGBUILD_DEBUG} makepkg --syncdeps -p PKGBUILD" + diage "cwd=$(pwd)" fi # Build package infoh "Building package" # shellcheck disable=SC2086 -if ! ${BUILDTOOL_BUILDCMDLINE} "${BUILDTOOL_PKGBUILD_MENUCONFIG}" "${BUILDTOOL_PKGBUILD_XCONFIG}" "${BUILDTOOL_PKGBUILD_NCONFIG}" "${BUILDTOOL_PKGBUILD_CPFINALCONFIG}" "${BUILDTOOL_PKGBUILD_MODPROBEDDB}" "${BUILDTOOL_PKGBUILD_SUBARCHITECTURE}" "${BUILDTOOL_PKGBUILD_DEBUG}" makepkg --syncdeps${BUILDTOOL_MAKEPKG_REUSE} -p PKGBUILD.buildtool; then - errorh "Failed package compilation: makepkg returned with non-zero exit code" - errore "Please report this at \"${BUILDTOOL_ISSUETRACKER}\"" - exit 1 +if ! ${BUILDTOOL_BUILDCMDLINE} "${BUILDTOOL_PKGBUILD_MENUCONFIG}" "${BUILDTOOL_PKGBUILD_XCONFIG}" "${BUILDTOOL_PKGBUILD_NCONFIG}" "${BUILDTOOL_PKGBUILD_CPFINALCONFIG}" "${BUILDTOOL_PKGBUILD_MODPROBEDDB}" "${BUILDTOOL_PKGBUILD_SUBARCHITECTURE}" "${BUILDTOOL_PKGBUILD_DEBUG}" makepkg --syncdeps${BUILDTOOL_MAKEPKG_REUSE} -p PKGBUILD; then + errorh "Failed package compilation: makepkg returned with non-zero exit code" + errore "Please report this at \"${BUILDTOOL_ISSUETRACKER}\"" + exit 1 fi # Finish message infoh "Finished kernel compilation successfully" infoe "You can now install your kernel and kernel headers using this command:" -infoe "pacman -U \"${BUILDTOOL_CLONEDIR}/\"linux-jstm-optimized-*linux*-x86_64.pkg.tar.zst" +infoe "pacman -U \"${BUILDTOOL_CLONEDIR}/kernel/\"linux-jstm-optimized-*linux*-x86_64.pkg.tar.zst" diff --git a/cleantool.sh b/cleantool.sh index 522f52b..00edf0e 100755 --- a/cleantool.sh +++ b/cleantool.sh @@ -1,18 +1,32 @@ #!/bin/bash echo ":: Cleaning built files" -rm -rf linux-*.tar.sign linux-*.tar.xz linux-jstm-optimized-*.pkg.tar.zst linux-jstm-optimized-headers-*.pkg.tar.zst more-uarches-*.tar.gz patch-*.xz cl-linux pkg -function ask_cleansrc() { - read -rp "Clean src/ directory too [y/N]? " CLEANTOOL_SRC - case "${CLEANTOOL_SRC}" in - "y"|"Y") - rm -rf src - ;; - "n"|"N"|"") - ;; - *) - echo ":: Error: Invalid answer. Please answer with Y or N" - ask_cleansrc - ;; - esac -} -ask_cleansrc + +[[ ! -d "kernel" ]] && exit +cd kernel + +rm -rf linux-*.tar.xz \ + linux-*.tar.sign \ + linux-jstm-optimized-*.pkg.tar.zst \ + linux-jstm-optimized-headers-*.pkg.tar.zst \ + more-uarches-*.tar.gz \ + patch-*.xz \ + cl-linux \ + pkg + +[[ -d "src" ]] && ( + while true; do + read -rp ":: Clean src/ directory too [y/N]? " CLEANTOOL_SRC + case "${CLEANTOOL_SRC}" in + "y"|"Y") + rm -rf src + break + ;; + "n"|"N"|"") + break + ;; + *) + echo ":: Error: Invalid answer. Please answer with Y or N" + ;; + esac + done +) diff --git a/kconfig b/kconfig index 8210203..26023b5 100644 --- a/kconfig +++ b/kconfig @@ -1,10 +1,10 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 6.9.3 Kernel Configuration +# Linux/x86 6.10.2 Kernel Configuration # -CONFIG_CC_VERSION_TEXT="gcc (GCC) 14.1.1 20240522" +CONFIG_CC_VERSION_TEXT="gcc (GCC) 14.2.1 20240802" CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=140101 +CONFIG_GCC_VERSION=140201 CONFIG_CLANG_VERSION=0 CONFIG_AS_IS_GNU=y CONFIG_AS_VERSION=24200 @@ -18,7 +18,7 @@ CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y CONFIG_TOOLS_SUPPORT_RELR=y CONFIG_CC_HAS_ASM_INLINE=y CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y -CONFIG_PAHOLE_VERSION=126 +CONFIG_PAHOLE_VERSION=127 CONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y @@ -47,7 +47,7 @@ CONFIG_HAVE_KERNEL_ZSTD=y # CONFIG_KERNEL_LZ4 is not set CONFIG_KERNEL_ZSTD=y CONFIG_DEFAULT_INIT="" -CONFIG_DEFAULT_HOSTNAME="jstmcomp" +CONFIG_DEFAULT_HOSTNAME="archlinux" CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_SYSVIPC_COMPAT=y @@ -160,6 +160,7 @@ CONFIG_RCU_EXPERT=y CONFIG_TREE_SRCU=y CONFIG_TASKS_RCU_GENERIC=y # CONFIG_FORCE_TASKS_RCU is not set +CONFIG_NEED_TASKS_RCU=y # CONFIG_FORCE_TASKS_RUDE_RCU is not set # CONFIG_FORCE_TASKS_TRACE_RCU is not set CONFIG_TASKS_TRACE_RCU=y @@ -199,6 +200,7 @@ CONFIG_CC_NO_STRINGOP_OVERFLOW=y CONFIG_ARCH_SUPPORTS_INT128=y CONFIG_NUMA_BALANCING=y CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y +CONFIG_SLAB_OBJ_EXT=y CONFIG_CGROUPS=y CONFIG_PAGE_COUNTER=y # CONFIG_CGROUP_FAVOR_DYNMODS is not set @@ -240,8 +242,8 @@ CONFIG_RD_GZIP=y # CONFIG_RD_BZIP2 is not set # CONFIG_RD_LZMA is not set CONFIG_RD_XZ=y -# CONFIG_RD_LZO is not set -# CONFIG_RD_LZ4 is not set +CONFIG_RD_LZO=y +CONFIG_RD_LZ4=y CONFIG_RD_ZSTD=y CONFIG_BOOT_CONFIG=y # CONFIG_BOOT_CONFIG_FORCE is not set @@ -264,9 +266,9 @@ CONFIG_FHANDLE=y CONFIG_POSIX_TIMERS=y CONFIG_PRINTK=y CONFIG_BUG=y -# CONFIG_ELF_CORE is not set +CONFIG_ELF_CORE=y # CONFIG_PCSPKR_PLATFORM is not set -CONFIG_BASE_FULL=y +# CONFIG_BASE_SMALL is not set CONFIG_FUTEX=y CONFIG_FUTEX_PI=y CONFIG_EPOLL=y @@ -306,13 +308,8 @@ CONFIG_TRACEPOINTS=y # # Kexec and crash features # -CONFIG_KEXEC_CORE=y -CONFIG_KEXEC=y -CONFIG_KEXEC_FILE=y -CONFIG_KEXEC_SIG=y -# CONFIG_KEXEC_SIG_FORCE is not set -CONFIG_KEXEC_JUMP=y -# CONFIG_CRASH_DUMP is not set +# CONFIG_KEXEC is not set +# CONFIG_KEXEC_FILE is not set # end of Kexec and crash features # end of General setup @@ -350,9 +347,10 @@ CONFIG_CC_HAS_SANE_STACKPROTECTOR=y # CONFIG_SMP=y CONFIG_X86_X2APIC=y +CONFIG_X86_POSTED_MSI=y CONFIG_X86_MPPARSE=y CONFIG_X86_CPU_RESCTRL=y -# CONFIG_X86_FRED is not set +CONFIG_X86_FRED=y # CONFIG_X86_EXTENDED_PLATFORM is not set CONFIG_X86_INTEL_LPSS=y CONFIG_X86_AMD_PLATFORM_DEVICE=y @@ -385,7 +383,7 @@ CONFIG_INTEL_TDX_GUEST=y # CONFIG_MSTEAMROLLER is not set # CONFIG_MEXCAVATOR is not set # CONFIG_MZEN is not set -CONFIG_MZEN2=y +# CONFIG_MZEN2 is not set # CONFIG_MZEN3 is not set # CONFIG_MZEN4 is not set # CONFIG_MPSC is not set @@ -415,13 +413,12 @@ CONFIG_MZEN2=y # CONFIG_MEMERALDRAPIDS is not set # CONFIG_GENERIC_CPU is not set # CONFIG_GENERIC_CPU2 is not set -# CONFIG_GENERIC_CPU3 is not set +CONFIG_GENERIC_CPU3=y # CONFIG_GENERIC_CPU4 is not set # CONFIG_MNATIVE_INTEL is not set # CONFIG_MNATIVE_AMD is not set CONFIG_X86_INTERNODE_CACHE_SHIFT=6 CONFIG_X86_L1_CACHE_SHIFT=6 -CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_TSC=y CONFIG_X86_HAVE_PAE=y CONFIG_X86_CMPXCHG64=y @@ -474,7 +471,8 @@ CONFIG_PERF_EVENTS_AMD_BRS=y CONFIG_X86_VSYSCALL_EMULATION=y CONFIG_X86_IOPL_IOPERM=y CONFIG_MICROCODE=y -# CONFIG_MICROCODE_LATE_LOADING is not set +CONFIG_MICROCODE_LATE_LOADING=y +# CONFIG_MICROCODE_LATE_FORCE_MINREV is not set CONFIG_X86_MSR=y CONFIG_X86_CPUID=y # CONFIG_X86_5LEVEL is not set @@ -511,12 +509,13 @@ CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y CONFIG_X86_INTEL_TSX_MODE_AUTO=y CONFIG_X86_SGX=y CONFIG_X86_USER_SHADOW_STACK=y +CONFIG_INTEL_TDX_HOST=y CONFIG_EFI=y CONFIG_EFI_STUB=y CONFIG_EFI_HANDOVER_PROTOCOL=y # CONFIG_EFI_MIXED is not set # CONFIG_EFI_FAKE_MEMMAP is not set -CONFIG_EFI_RUNTIME_MAP=y +# CONFIG_EFI_RUNTIME_MAP is not set # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set # CONFIG_HZ_300 is not set @@ -525,7 +524,6 @@ CONFIG_HZ=1000 CONFIG_SCHED_HRTICK=y CONFIG_ARCH_SUPPORTS_KEXEC=y CONFIG_ARCH_SUPPORTS_KEXEC_FILE=y -CONFIG_ARCH_SELECTS_KEXEC_FILE=y CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY=y CONFIG_ARCH_SUPPORTS_KEXEC_SIG=y CONFIG_ARCH_SUPPORTS_KEXEC_SIG_FORCE=y @@ -546,15 +544,14 @@ CONFIG_HOTPLUG_CPU=y # CONFIG_COMPAT_VDSO is not set # CONFIG_LEGACY_VSYSCALL_XONLY is not set CONFIG_LEGACY_VSYSCALL_NONE=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="cryptomgr.notests initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 tsc=reliable" -# CONFIG_CMDLINE_OVERRIDE is not set +# CONFIG_CMDLINE_BOOL is not set # CONFIG_MODIFY_LDT_SYSCALL is not set CONFIG_STRICT_SIGALTSTACK_SIZE=y CONFIG_HAVE_LIVEPATCH=y # end of Processor type and features CONFIG_CC_HAS_NAMED_AS=y +CONFIG_CC_HAS_NAMED_AS_FIXED_SANITIZERS=y CONFIG_USE_X86_SEG_SUPPORT=y CONFIG_CC_HAS_SLS=y CONFIG_CC_HAS_RETURN_THUNK=y @@ -652,6 +649,7 @@ CONFIG_ACPI_SBS=m CONFIG_ACPI_HED=y CONFIG_ACPI_BGRT=y # CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set +CONFIG_ACPI_NHLT=y CONFIG_ACPI_NFIT=m # CONFIG_NFIT_SECURITY_DEBUG is not set CONFIG_ACPI_NUMA=y @@ -687,12 +685,12 @@ CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_GOV_ATTR_SET=y CONFIG_CPU_FREQ_GOV_COMMON=y CONFIG_CPU_FREQ_STAT=y -# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set -CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y +# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y +# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set @@ -776,13 +774,18 @@ CONFIG_KVM_XFER_TO_GUEST_WORK=y CONFIG_HAVE_KVM_PM_NOTIFIER=y CONFIG_KVM_GENERIC_HARDWARE_ENABLING=y CONFIG_KVM_GENERIC_MMU_NOTIFIER=y +CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES=y +CONFIG_KVM_PRIVATE_MEM=y +CONFIG_KVM_GENERIC_PRIVATE_MEM=y CONFIG_VIRTUALIZATION=y CONFIG_KVM=y CONFIG_KVM_WERROR=y -# CONFIG_KVM_SW_PROTECTED_VM is not set +CONFIG_KVM_SW_PROTECTED_VM=y CONFIG_KVM_INTEL=y +# CONFIG_KVM_INTEL_PROVE_VE is not set CONFIG_X86_SGX_KVM=y -CONFIG_KVM_AMD=y +CONFIG_KVM_AMD=m +CONFIG_KVM_AMD_SEV=y CONFIG_KVM_SMM=y CONFIG_KVM_HYPERV=y CONFIG_KVM_XEN=y @@ -794,6 +797,8 @@ CONFIG_AS_SHA1_NI=y CONFIG_AS_SHA256_NI=y CONFIG_AS_TPAUSE=y CONFIG_AS_GFNI=y +CONFIG_AS_VAES=y +CONFIG_AS_VPCLMULQDQ=y CONFIG_AS_WRUSS=y CONFIG_ARCH_CONFIGURES_CPU_MITIGATIONS=y @@ -945,6 +950,7 @@ CONFIG_DYNAMIC_SIGFRAME=y CONFIG_HAVE_ARCH_NODE_DEV_GROUP=y CONFIG_ARCH_HAS_HW_PTE_YOUNG=y CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG=y +CONFIG_ARCH_HAS_KERNEL_FPU_SUPPORT=y # # GCOV-based kernel profiling @@ -965,7 +971,6 @@ CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT=y # end of General architecture-dependent options CONFIG_RT_MUTEXES=y -CONFIG_BASE_SMALL=0 CONFIG_MODULE_SIG_FORMAT=y CONFIG_MODULES=y CONFIG_MODULE_DEBUGFS=y @@ -1008,7 +1013,6 @@ CONFIG_BLK_DEV_INTEGRITY_T10=y CONFIG_BLK_DEV_WRITE_MOUNTED=y CONFIG_BLK_DEV_ZONED=y CONFIG_BLK_DEV_THROTTLING=y -CONFIG_BLK_DEV_THROTTLING_LOW=y CONFIG_BLK_WBT=y CONFIG_BLK_WBT_MQ=y # CONFIG_BLK_CGROUP_IOLATENCY is not set @@ -1087,6 +1091,7 @@ CONFIG_FREEZER=y CONFIG_BINFMT_ELF=y CONFIG_COMPAT_BINFMT_ELF=y CONFIG_ELFCORE=y +CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y CONFIG_BINFMT_SCRIPT=y CONFIG_BINFMT_MISC=y CONFIG_COREDUMP=y @@ -1098,8 +1103,8 @@ CONFIG_COREDUMP=y CONFIG_ZPOOL=y CONFIG_SWAP=y CONFIG_ZSWAP=y -CONFIG_ZSWAP_DEFAULT_ON=y -CONFIG_ZSWAP_SHRINKER_DEFAULT_ON=y +# CONFIG_ZSWAP_DEFAULT_ON is not set +# CONFIG_ZSWAP_SHRINKER_DEFAULT_ON is not set # CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set # CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set # CONFIG_ZSWAP_COMPRESSOR_DEFAULT_842 is not set @@ -1113,7 +1118,7 @@ CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y CONFIG_ZSWAP_ZPOOL_DEFAULT="zbud" CONFIG_ZBUD=y CONFIG_Z3FOLD=y -CONFIG_ZSMALLOC=y +CONFIG_ZSMALLOC=m # CONFIG_ZSMALLOC_STAT is not set CONFIG_ZSMALLOC_CHAIN_SIZE=8 @@ -1138,7 +1143,8 @@ CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y CONFIG_SPARSEMEM_VMEMMAP=y CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=y CONFIG_ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP=y -CONFIG_HAVE_FAST_GUP=y +CONFIG_HAVE_GUP_FAST=y +CONFIG_ARCH_KEEP_MEMBLOCK=y CONFIG_NUMA_KEEP_MEMINFO=y CONFIG_MEMORY_ISOLATION=y CONFIG_EXCLUSIVE_SYSTEM_RAM=y @@ -1178,6 +1184,7 @@ CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y # CONFIG_TRANSPARENT_HUGEPAGE_NEVER is not set CONFIG_THP_SWAP=y # CONFIG_READ_ONLY_THP_FOR_FS is not set +CONFIG_PGTABLE_HAS_HUGE_LEAVES=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_USE_PERCPU_NUMA_NODE_ID=y @@ -1218,6 +1225,7 @@ CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y CONFIG_PER_VMA_LOCK=y CONFIG_LOCK_MM_AND_FIND_VMA=y CONFIG_IOMMU_MM_DATA=y +CONFIG_EXECMEM=y # # Data Access Monitoring @@ -1232,6 +1240,7 @@ CONFIG_NET_INGRESS=y CONFIG_NET_EGRESS=y CONFIG_NET_XGRESS=y CONFIG_NET_REDIRECT=y +CONFIG_SKB_DECRYPTED=y CONFIG_SKB_EXTENSIONS=y # @@ -1262,6 +1271,7 @@ CONFIG_NET_KEY_MIGRATE=y CONFIG_XFRM_ESPINTCP=y CONFIG_SMC=m CONFIG_SMC_DIAG=m +# CONFIG_SMC_LO is not set CONFIG_XDP_SOCKETS=y CONFIG_XDP_SOCKETS_DIAG=m CONFIG_NET_HANDSHAKE=y @@ -1945,14 +1955,13 @@ CONFIG_BT_RFCOMM_TTY=y CONFIG_BT_BNEP=m CONFIG_BT_BNEP_MC_FILTER=y CONFIG_BT_BNEP_PROTO_FILTER=y -# CONFIG_BT_CMTP is not set CONFIG_BT_HIDP=m CONFIG_BT_LE=y CONFIG_BT_LE_L2CAP_ECRED=y CONFIG_BT_6LOWPAN=m # CONFIG_BT_LEDS is not set CONFIG_BT_MSFTEXT=y -CONFIG_BT_AOSPEXT=y +# CONFIG_BT_AOSPEXT is not set # CONFIG_BT_DEBUGFS is not set # CONFIG_BT_SELFTEST is not set @@ -1996,6 +2005,7 @@ CONFIG_BT_MTKSDIO=m CONFIG_BT_HCIRSI=m CONFIG_BT_VIRTIO=m # CONFIG_BT_NXPUART is not set +CONFIG_BT_INTEL_PCIE=m # end of Bluetooth device drivers CONFIG_AF_RXRPC=m @@ -2045,22 +2055,50 @@ CONFIG_RFKILL=m CONFIG_RFKILL_LEDS=y CONFIG_RFKILL_INPUT=y CONFIG_RFKILL_GPIO=m -# CONFIG_NET_9P is not set +CONFIG_NET_9P=m +CONFIG_NET_9P_FD=m +CONFIG_NET_9P_VIRTIO=m +CONFIG_NET_9P_RDMA=m +# CONFIG_NET_9P_DEBUG is not set # CONFIG_CAIF is not set CONFIG_CEPH_LIB=m # CONFIG_CEPH_LIB_PRETTYDEBUG is not set # CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not set CONFIG_NFC=m -# CONFIG_NFC_DIGITAL is not set -# CONFIG_NFC_NCI is not set -# CONFIG_NFC_HCI is not set +CONFIG_NFC_DIGITAL=m +CONFIG_NFC_NCI=m +# CONFIG_NFC_NCI_SPI is not set +# CONFIG_NFC_NCI_UART is not set +CONFIG_NFC_HCI=m +# CONFIG_NFC_SHDLC is not set # # Near Field Communication (NFC) devices # -# CONFIG_NFC_PN533_USB is not set -# CONFIG_NFC_PN533_I2C is not set -# CONFIG_NFC_PN532_UART is not set +CONFIG_NFC_TRF7970A=m +CONFIG_NFC_MEI_PHY=m +CONFIG_NFC_SIM=m +CONFIG_NFC_PORT100=m +CONFIG_NFC_VIRTUAL_NCI=m +# CONFIG_NFC_FDP is not set +CONFIG_NFC_PN544=m +CONFIG_NFC_PN544_MEI=m +CONFIG_NFC_PN533=m +CONFIG_NFC_PN533_USB=m +CONFIG_NFC_PN533_I2C=m +CONFIG_NFC_PN532_UART=m +CONFIG_NFC_MICROREAD=m +CONFIG_NFC_MICROREAD_MEI=m +CONFIG_NFC_MRVL=m +CONFIG_NFC_MRVL_USB=m +# CONFIG_NFC_MRVL_I2C is not set +# CONFIG_NFC_ST_NCI_I2C is not set +# CONFIG_NFC_ST_NCI_SPI is not set +CONFIG_NFC_NXP_NCI=m +CONFIG_NFC_NXP_NCI_I2C=m +# CONFIG_NFC_S3FWRN5_I2C is not set +# CONFIG_NFC_S3FWRN82_UART is not set +# CONFIG_NFC_ST95HF is not set # end of Near Field Communication (NFC) devices CONFIG_PSAMPLE=m @@ -2070,6 +2108,7 @@ CONFIG_LWTUNNEL_BPF=y CONFIG_DST_CACHE=y CONFIG_GRO_CELLS=y CONFIG_SOCK_VALIDATE_XMIT=y +CONFIG_NET_IEEE8021Q_HELPERS=y CONFIG_NET_SELFTESTS=m CONFIG_NET_SOCK_MSG=y CONFIG_NET_DEVLINK=y @@ -2210,7 +2249,7 @@ CONFIG_EXTRA_FIRMWARE="" CONFIG_FW_LOADER_USER_HELPER=y # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set CONFIG_FW_LOADER_COMPRESS=y -CONFIG_FW_LOADER_COMPRESS_XZ=y +# CONFIG_FW_LOADER_COMPRESS_XZ is not set CONFIG_FW_LOADER_COMPRESS_ZSTD=y CONFIG_FW_CACHE=y CONFIG_FW_UPLOAD=y @@ -2322,11 +2361,161 @@ CONFIG_UEFI_CPER_X86=y # end of Firmware Drivers # CONFIG_GNSS is not set -# CONFIG_MTD is not set +CONFIG_MTD=m +# CONFIG_MTD_TESTS is not set + +# +# Partition parsers +# +# CONFIG_MTD_CMDLINE_PARTS is not set +# CONFIG_MTD_REDBOOT_PARTS is not set +# end of Partition parsers + +# +# User Modules And Translation Layers +# +CONFIG_MTD_BLKDEVS=m +CONFIG_MTD_BLOCK=m +# CONFIG_MTD_BLOCK_RO is not set + +# +# Note that in some cases UBI block is preferred. See MTD_UBI_BLOCK. +# +# CONFIG_FTL is not set +# CONFIG_NFTL is not set +# CONFIG_INFTL is not set +# CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set +# CONFIG_SM_FTL is not set +# CONFIG_MTD_OOPS is not set +# CONFIG_MTD_SWAP is not set +# CONFIG_MTD_PARTITIONED_MASTER is not set + +# +# RAM/ROM/Flash chip drivers +# +CONFIG_MTD_CFI=m +# CONFIG_MTD_JEDECPROBE is not set +CONFIG_MTD_GEN_PROBE=m +CONFIG_MTD_CFI_ADV_OPTIONS=y +CONFIG_MTD_CFI_NOSWAP=y +# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set +# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set +CONFIG_MTD_CFI_GEOMETRY=y +CONFIG_MTD_MAP_BANK_WIDTH_1=y +CONFIG_MTD_MAP_BANK_WIDTH_2=y +CONFIG_MTD_MAP_BANK_WIDTH_4=y +CONFIG_MTD_MAP_BANK_WIDTH_8=y +CONFIG_MTD_MAP_BANK_WIDTH_16=y +CONFIG_MTD_MAP_BANK_WIDTH_32=y +CONFIG_MTD_CFI_I1=y +CONFIG_MTD_CFI_I2=y +CONFIG_MTD_CFI_I4=y +CONFIG_MTD_CFI_I8=y +# CONFIG_MTD_OTP is not set +CONFIG_MTD_CFI_INTELEXT=m +# CONFIG_MTD_CFI_AMDSTD is not set +# CONFIG_MTD_CFI_STAA is not set +CONFIG_MTD_CFI_UTIL=m +CONFIG_MTD_RAM=m +# CONFIG_MTD_ROM is not set +# CONFIG_MTD_ABSENT is not set +# end of RAM/ROM/Flash chip drivers + +# +# Mapping drivers for chip access +# +CONFIG_MTD_COMPLEX_MAPPINGS=y +# CONFIG_MTD_PHYSMAP is not set +# CONFIG_MTD_SBC_GXX is not set +# CONFIG_MTD_PCI is not set +CONFIG_MTD_PLATRAM=m +# end of Mapping drivers for chip access + +# +# Self-contained MTD device drivers +# +# CONFIG_MTD_PMC551 is not set +# CONFIG_MTD_DATAFLASH is not set +# CONFIG_MTD_MCHP23K256 is not set +# CONFIG_MTD_MCHP48L640 is not set +# CONFIG_MTD_SST25L is not set +# CONFIG_MTD_SLRAM is not set +# CONFIG_MTD_PHRAM is not set +# CONFIG_MTD_MTDRAM is not set +CONFIG_MTD_BLOCK2MTD=m + +# +# Disk-On-Chip Device Drivers +# +# CONFIG_MTD_DOCG3 is not set +# end of Self-contained MTD device drivers + +# +# NAND +# +CONFIG_MTD_NAND_CORE=m +# CONFIG_MTD_ONENAND is not set +CONFIG_MTD_RAW_NAND=m + +# +# Raw/parallel NAND flash controllers +# +# CONFIG_MTD_NAND_DENALI_PCI is not set +# CONFIG_MTD_NAND_CAFE is not set +# CONFIG_MTD_NAND_MXIC is not set +CONFIG_MTD_NAND_GPIO=m +CONFIG_MTD_NAND_PLATFORM=m +# CONFIG_MTD_NAND_ARASAN is not set + +# +# Misc +# +CONFIG_MTD_SM_COMMON=m +# CONFIG_MTD_NAND_NANDSIM is not set +CONFIG_MTD_NAND_RICOH=m +# CONFIG_MTD_NAND_DISKONCHIP is not set +CONFIG_MTD_SPI_NAND=m + +# +# ECC engine support +# +CONFIG_MTD_NAND_ECC=y +CONFIG_MTD_NAND_ECC_SW_HAMMING=y +# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set +# CONFIG_MTD_NAND_ECC_SW_BCH is not set # CONFIG_MTD_NAND_ECC_MXIC is not set +# end of ECC engine support +# end of NAND + +# +# LPDDR & LPDDR2 PCM memory drivers +# +# CONFIG_MTD_LPDDR is not set +# end of LPDDR & LPDDR2 PCM memory drivers + +CONFIG_MTD_SPI_NOR=m +CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y +# CONFIG_MTD_SPI_NOR_SWP_DISABLE is not set +CONFIG_MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE=y +# CONFIG_MTD_SPI_NOR_SWP_KEEP is not set +CONFIG_MTD_UBI=m +CONFIG_MTD_UBI_WL_THRESHOLD=4096 +CONFIG_MTD_UBI_BEB_LIMIT=20 +# CONFIG_MTD_UBI_FASTMAP is not set +# CONFIG_MTD_UBI_GLUEBI is not set +# CONFIG_MTD_UBI_BLOCK is not set +# CONFIG_MTD_UBI_NVMEM is not set +# CONFIG_MTD_HYPERBUS is not set # CONFIG_OF is not set CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y -# CONFIG_PARPORT is not set +CONFIG_PARPORT=m +CONFIG_PARPORT_PC=m +CONFIG_PARPORT_SERIAL=m +CONFIG_PARPORT_PC_FIFO=y +CONFIG_PARPORT_PC_SUPERIO=y +CONFIG_PARPORT_1284=y +CONFIG_PARPORT_NOT_PC=y CONFIG_PNP=y # CONFIG_PNP_DEBUG_MESSAGES is not set @@ -2339,7 +2528,7 @@ CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_FD is not set CONFIG_CDROM=m CONFIG_BLK_DEV_PCIESSD_MTIP32XX=m -CONFIG_ZRAM=y +CONFIG_ZRAM=m # CONFIG_ZRAM_DEF_COMP_LZORLE is not set CONFIG_ZRAM_DEF_COMP_ZSTD=y # CONFIG_ZRAM_DEF_COMP_LZ4 is not set @@ -2406,24 +2595,24 @@ CONFIG_TIFM_CORE=m CONFIG_TIFM_7XX1=m # CONFIG_ICS932S401 is not set CONFIG_ENCLOSURE_SERVICES=m -# CONFIG_HP_ILO is not set -# CONFIG_APDS9802ALS is not set -# CONFIG_ISL29003 is not set -# CONFIG_ISL29020 is not set -# CONFIG_SENSORS_TSL2550 is not set -# CONFIG_SENSORS_BH1770 is not set -# CONFIG_SENSORS_APDS990X is not set +CONFIG_HP_ILO=m +CONFIG_APDS9802ALS=m +CONFIG_ISL29003=m +CONFIG_ISL29020=m +CONFIG_SENSORS_TSL2550=m +CONFIG_SENSORS_BH1770=m +CONFIG_SENSORS_APDS990X=m # CONFIG_HMC6352 is not set # CONFIG_DS1682 is not set -# CONFIG_VMWARE_BALLOON is not set +CONFIG_VMWARE_BALLOON=m # CONFIG_LATTICE_ECP3_CONFIG is not set # CONFIG_SRAM is not set -# CONFIG_DW_XDATA_PCIE is not set +CONFIG_DW_XDATA_PCIE=m # CONFIG_PCI_ENDPOINT_TEST is not set # CONFIG_XILINX_SDFEC is not set CONFIG_MISC_RTSX=y # CONFIG_TPS6594_ESM is not set -# CONFIG_TPS6594_PFSM is not set +CONFIG_TPS6594_PFSM=m CONFIG_NSM=m # CONFIG_C2PORT is not set @@ -2574,6 +2763,8 @@ CONFIG_SCSI_ISCI=y CONFIG_SCSI_IPS=m CONFIG_SCSI_INITIO=m CONFIG_SCSI_INIA100=m +# CONFIG_SCSI_PPA is not set +# CONFIG_SCSI_IMM is not set CONFIG_SCSI_STEX=m CONFIG_SCSI_SYM53C8XX_2=m CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1 @@ -2694,6 +2885,7 @@ CONFIG_PATA_MPIIX=y # CONFIG_PATA_NS87410 is not set # CONFIG_PATA_OPTI is not set # CONFIG_PATA_RZ1000 is not set +# CONFIG_PATA_PARPORT is not set # # Generic fallback / legacy drivers @@ -2752,7 +2944,7 @@ CONFIG_DM_LOG_WRITES=m CONFIG_DM_INTEGRITY=m CONFIG_DM_ZONED=m CONFIG_DM_AUDIT=y -# CONFIG_DM_VDO is not set +CONFIG_DM_VDO=m CONFIG_TARGET_CORE=m CONFIG_TCM_IBLOCK=m CONFIG_TCM_FILEIO=m @@ -2804,6 +2996,7 @@ CONFIG_VXLAN=m CONFIG_GENEVE=m CONFIG_BAREUDP=m CONFIG_GTP=m +CONFIG_PFCP=m CONFIG_AMT=m CONFIG_MACSEC=m CONFIG_NETCONSOLE=m @@ -2960,6 +3153,8 @@ CONFIG_NET_VENDOR_HUAWEI=y CONFIG_HINIC=m CONFIG_NET_VENDOR_I825XX=y CONFIG_NET_VENDOR_INTEL=y +CONFIG_LIBETH=m +CONFIG_LIBIE=m CONFIG_E100=y CONFIG_E1000=m CONFIG_E1000E=m @@ -2999,7 +3194,7 @@ CONFIG_SKGE_GENESIS=y CONFIG_SKY2=m # CONFIG_SKY2_DEBUG is not set CONFIG_OCTEON_EP=m -# CONFIG_OCTEON_EP_VF is not set +CONFIG_OCTEON_EP_VF=m # CONFIG_PRESTERA is not set CONFIG_NET_VENDOR_MELLANOX=y CONFIG_MLX4_EN=m @@ -3071,6 +3266,7 @@ CONFIG_QED_SRIOV=y # CONFIG_NET_VENDOR_QUALCOMM is not set # CONFIG_NET_VENDOR_RDC is not set CONFIG_NET_VENDOR_REALTEK=y +CONFIG_ATP=m CONFIG_8139CP=m CONFIG_8139TOO=m CONFIG_8139TOO_PIO=y @@ -3087,11 +3283,14 @@ CONFIG_R8169_LEDS=y # CONFIG_NET_VENDOR_SIS is not set CONFIG_NET_VENDOR_SOLARFLARE=y CONFIG_SFC=m +CONFIG_SFC_MTD=y CONFIG_SFC_MCDI_MON=y CONFIG_SFC_SRIOV=y CONFIG_SFC_MCDI_LOGGING=y CONFIG_SFC_FALCON=m +CONFIG_SFC_FALCON_MTD=y CONFIG_SFC_SIENA=m +CONFIG_SFC_SIENA_MTD=y CONFIG_SFC_SIENA_MCDI_MON=y # CONFIG_SFC_SIENA_SRIOV is not set CONFIG_SFC_SIENA_MCDI_LOGGING=y @@ -3119,7 +3318,6 @@ CONFIG_TXGBE=m # CONFIG_NET_VENDOR_XILINX is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set -# CONFIG_NET_SB1000 is not set CONFIG_PHYLINK=m CONFIG_PHYLIB=m CONFIG_SWPHY=y @@ -3130,6 +3328,7 @@ CONFIG_SFP=m # # MII PHY device drivers # +CONFIG_AIR_EN8811H_PHY=m CONFIG_AMD_PHY=m # CONFIG_ADIN_PHY is not set CONFIG_ADIN1100_PHY=m @@ -3169,8 +3368,8 @@ CONFIG_NXP_CBTX_PHY=m CONFIG_NCN26000_PHY=m CONFIG_QCOM_NET_PHYLIB=m CONFIG_AT803X_PHY=m -# CONFIG_QCA83XX_PHY is not set -# CONFIG_QCA808X_PHY is not set +CONFIG_QCA83XX_PHY=m +CONFIG_QCA808X_PHY=m CONFIG_QSEMI_PHY=m CONFIG_REALTEK_PHY=m CONFIG_RENESAS_PHY=m @@ -3190,6 +3389,8 @@ CONFIG_XILINX_GMII2RGMII=m # CONFIG_MICREL_KS8995MA is not set CONFIG_PSE_CONTROLLER=y CONFIG_PSE_REGULATOR=m +CONFIG_PSE_PD692X0=m +CONFIG_PSE_TPS23881=m CONFIG_CAN_DEV=m CONFIG_CAN_VCAN=m CONFIG_CAN_VXCAN=m @@ -3221,6 +3422,7 @@ CONFIG_PCS_LYNX=m CONFIG_PCS_MTK_LYNXI=m # end of PCS device drivers +CONFIG_PLIP=m CONFIG_PPP=m CONFIG_PPP_BSDCOMP=m CONFIG_PPP_DEFLATE=m @@ -3523,6 +3725,7 @@ CONFIG_RTLWIFI_PCI=m CONFIG_RTLWIFI_USB=m # CONFIG_RTLWIFI_DEBUG is not set CONFIG_RTL8192C_COMMON=m +CONFIG_RTL8192D_COMMON=m CONFIG_RTL8723_COMMON=m CONFIG_RTLBTCOEXIST=m CONFIG_RTL8XXXU=m @@ -3534,6 +3737,8 @@ CONFIG_RTW88_SDIO=m CONFIG_RTW88_USB=m CONFIG_RTW88_8822B=m CONFIG_RTW88_8822C=m +CONFIG_RTW88_8723X=m +CONFIG_RTW88_8703B=m CONFIG_RTW88_8723D=m CONFIG_RTW88_8821C=m CONFIG_RTW88_8822BE=m @@ -3544,6 +3749,7 @@ CONFIG_RTW88_8822CS=m CONFIG_RTW88_8822CU=m CONFIG_RTW88_8723DE=m CONFIG_RTW88_8723DS=m +CONFIG_RTW88_8723CS=m CONFIG_RTW88_8723DU=m CONFIG_RTW88_8821CE=m CONFIG_RTW88_8821CS=m @@ -3557,10 +3763,12 @@ CONFIG_RTW89_8851B=m CONFIG_RTW89_8852A=m CONFIG_RTW89_8852B=m CONFIG_RTW89_8852C=m +CONFIG_RTW89_8922A=m CONFIG_RTW89_8851BE=m CONFIG_RTW89_8852AE=m CONFIG_RTW89_8852BE=m CONFIG_RTW89_8852CE=m +CONFIG_RTW89_8922AE=m # CONFIG_RTW89_DEBUGMSG is not set # CONFIG_RTW89_DEBUGFS is not set CONFIG_WLAN_VENDOR_RSI=y @@ -3620,12 +3828,10 @@ CONFIG_MTK_T7XX=m CONFIG_VMXNET3=m CONFIG_FUJITSU_ES=y CONFIG_USB4_NET=m -# CONFIG_HYPERV_NET is not set +CONFIG_HYPERV_NET=m # CONFIG_NETDEVSIM is not set CONFIG_NET_FAILOVER=m -CONFIG_ISDN=y -CONFIG_ISDN_CAPI=y -# CONFIG_MISDN is not set +# CONFIG_ISDN is not set # # Input device support @@ -3677,6 +3883,7 @@ CONFIG_KEYBOARD_PINEPHONE=m # CONFIG_KEYBOARD_SUNKBD is not set CONFIG_KEYBOARD_TM2_TOUCHKEY=m # CONFIG_KEYBOARD_XTKBD is not set +CONFIG_KEYBOARD_CROS_EC=m CONFIG_KEYBOARD_CYPRESS_SF=m CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=m @@ -3727,17 +3934,21 @@ CONFIG_JOYSTICK_ANALOG=m # CONFIG_JOYSTICK_STINGER is not set # CONFIG_JOYSTICK_TWIDJOY is not set # CONFIG_JOYSTICK_ZHENHUA is not set +# CONFIG_JOYSTICK_DB9 is not set +# CONFIG_JOYSTICK_GAMECON is not set +# CONFIG_JOYSTICK_TURBOGRAFX is not set # CONFIG_JOYSTICK_AS5011 is not set # CONFIG_JOYSTICK_JOYDUMP is not set CONFIG_JOYSTICK_XPAD=m CONFIG_JOYSTICK_XPAD_FF=y CONFIG_JOYSTICK_XPAD_LEDS=y +# CONFIG_JOYSTICK_WALKERA0701 is not set # CONFIG_JOYSTICK_PSXPAD_SPI is not set # CONFIG_JOYSTICK_PXRC is not set # CONFIG_JOYSTICK_QWIIC is not set # CONFIG_JOYSTICK_FSIA6B is not set CONFIG_JOYSTICK_SENSEHAT=m -CONFIG_JOYSTICK_SEESAW=m +# CONFIG_JOYSTICK_SEESAW is not set # CONFIG_INPUT_TABLET is not set CONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_ADS7846=m @@ -3768,8 +3979,9 @@ CONFIG_TOUCHSCREEN_EGALAX_SERIAL=m CONFIG_TOUCHSCREEN_EXC3000=m CONFIG_TOUCHSCREEN_FUJITSU=m CONFIG_TOUCHSCREEN_GOODIX=m -# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set -# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set +CONFIG_TOUCHSCREEN_GOODIX_BERLIN_CORE=m +CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C=m +CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI=m CONFIG_TOUCHSCREEN_HIDEEP=m CONFIG_TOUCHSCREEN_HYCON_HY46XX=m CONFIG_TOUCHSCREEN_HYNITRON_CSTXXX=m @@ -3903,6 +4115,7 @@ CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y CONFIG_SERIO_I8042=m CONFIG_SERIO_SERPORT=m # CONFIG_SERIO_CT82C710 is not set +# CONFIG_SERIO_PARKBD is not set # CONFIG_SERIO_PCIPS2 is not set CONFIG_SERIO_LIBPS2=m CONFIG_SERIO_RAW=m @@ -3990,6 +4203,9 @@ CONFIG_HVC_DRIVER=y CONFIG_SERIAL_DEV_BUS=m CONFIG_TTY_PRINTK=y CONFIG_TTY_PRINTK_LEVEL=6 +CONFIG_PRINTER=m +# CONFIG_LP_CONSOLE is not set +CONFIG_PPDEV=m CONFIG_VIRTIO_CONSOLE=y CONFIG_IPMI_HANDLER=m CONFIG_IPMI_DMI_DECODE=y @@ -4014,13 +4230,14 @@ CONFIG_HW_RANDOM_VIRTIO=y # CONFIG_APPLICOM is not set CONFIG_MWAVE=m # CONFIG_DEVMEM is not set -CONFIG_NVRAM=y -# CONFIG_DEVPORT is not set +CONFIG_NVRAM=m +CONFIG_DEVPORT=y CONFIG_HPET=y CONFIG_HPET_MMAP=y CONFIG_HPET_MMAP_DEFAULT=y CONFIG_HANGCHECK_TIMER=m CONFIG_TCG_TPM=y +CONFIG_TCG_TPM2_HMAC=y CONFIG_HW_RANDOM_TPM=y CONFIG_TCG_TIS_CORE=y CONFIG_TCG_TIS=y @@ -4088,6 +4305,7 @@ CONFIG_I2C_AMD756_S4882=m CONFIG_I2C_AMD8111=m CONFIG_I2C_AMD_MP2=m CONFIG_I2C_I801=m +CONFIG_I2C_I801_MUX=y CONFIG_I2C_ISCH=m CONFIG_I2C_ISMT=m CONFIG_I2C_PIIX4=m @@ -4100,6 +4318,7 @@ CONFIG_I2C_NVIDIA_GPU=m CONFIG_I2C_SIS96X=m CONFIG_I2C_VIA=m CONFIG_I2C_VIAPRO=m +# CONFIG_I2C_ZHAOXIN is not set # # ACPI drivers @@ -4128,6 +4347,7 @@ CONFIG_I2C_XILINX=m CONFIG_I2C_DIOLAN_U2C=m CONFIG_I2C_LJCA=m # CONFIG_I2C_CP2615 is not set +CONFIG_I2C_PARPORT=m CONFIG_I2C_PCI1XXXX=m # CONFIG_I2C_ROBOTFUZZ_OSIF is not set # CONFIG_I2C_TAOS_EVM is not set @@ -4138,6 +4358,7 @@ CONFIG_I2C_VIPERBOARD=m # Other I2C/SMBus bus drivers # CONFIG_I2C_MLXCPLD=m +CONFIG_I2C_CROS_EC_TUNNEL=m CONFIG_I2C_VIRTIO=m # end of I2C Hardware Bus support @@ -4168,6 +4389,7 @@ CONFIG_SPI_ALTERA_CORE=m # CONFIG_SPI_ALTERA_DFL is not set # CONFIG_SPI_AXI_SPI_ENGINE is not set CONFIG_SPI_BITBANG=m +# CONFIG_SPI_BUTTERFLY is not set CONFIG_SPI_CADENCE=m CONFIG_SPI_DESIGNWARE=m # CONFIG_SPI_DW_DMA is not set @@ -4176,6 +4398,7 @@ CONFIG_SPI_DW_MMIO=m # CONFIG_SPI_GPIO is not set # CONFIG_SPI_INTEL_PCI is not set # CONFIG_SPI_INTEL_PLATFORM is not set +# CONFIG_SPI_LM70_LLP is not set CONFIG_SPI_LJCA=m CONFIG_SPI_MICROCHIP_CORE=m CONFIG_SPI_MICROCHIP_CORE_QSPI=m @@ -4215,6 +4438,7 @@ CONFIG_PPS=y # # CONFIG_PPS_CLIENT_KTIMER is not set CONFIG_PPS_CLIENT_LDISC=m +CONFIG_PPS_CLIENT_PARPORT=m CONFIG_PPS_CLIENT_GPIO=m # @@ -4231,9 +4455,10 @@ CONFIG_PTP_1588_CLOCK_INES=m # CONFIG_PTP_1588_CLOCK_KVM is not set CONFIG_PTP_1588_CLOCK_IDT82P33=m CONFIG_PTP_1588_CLOCK_IDTCM=m -# CONFIG_PTP_1588_CLOCK_FC3W is not set +CONFIG_PTP_1588_CLOCK_FC3W=m CONFIG_PTP_1588_CLOCK_MOCK=m CONFIG_PTP_1588_CLOCK_VMW=m +CONFIG_PTP_1588_CLOCK_OCP=m # CONFIG_PTP_DFL_TOD is not set # end of PTP clock support @@ -4298,6 +4523,7 @@ CONFIG_GPIO_AMDPT=m # CONFIG_GPIO_DWAPB is not set CONFIG_GPIO_EXAR=m # CONFIG_GPIO_GENERIC_PLATFORM is not set +CONFIG_GPIO_GRANITERAPIDS=m CONFIG_GPIO_ICH=m # CONFIG_GPIO_MB86S7X is not set # CONFIG_GPIO_AMD_FCH is not set @@ -4332,6 +4558,7 @@ CONFIG_GPIO_PCA9570=m # MFD GPIO expanders # CONFIG_GPIO_BD9571MWV=m +CONFIG_GPIO_CROS_EC=m CONFIG_GPIO_CRYSTAL_COVE=m # CONFIG_GPIO_ELKHARTLAKE is not set CONFIG_GPIO_LJCA=m @@ -4383,8 +4610,8 @@ CONFIG_W1_CON=y # CONFIG_W1_MASTER_AMD_AXI=m # CONFIG_W1_MASTER_MATROX is not set -# CONFIG_W1_MASTER_DS2490 is not set -# CONFIG_W1_MASTER_DS2482 is not set +CONFIG_W1_MASTER_DS2490=m +CONFIG_W1_MASTER_DS2482=m # CONFIG_W1_MASTER_GPIO is not set # CONFIG_W1_MASTER_SGI is not set # CONFIG_W1_MASTER_UART is not set @@ -4393,22 +4620,24 @@ CONFIG_W1_MASTER_AMD_AXI=m # # 1-wire Slaves # -# CONFIG_W1_SLAVE_THERM is not set -# CONFIG_W1_SLAVE_SMEM is not set -# CONFIG_W1_SLAVE_DS2405 is not set -# CONFIG_W1_SLAVE_DS2408 is not set -# CONFIG_W1_SLAVE_DS2413 is not set -# CONFIG_W1_SLAVE_DS2406 is not set -# CONFIG_W1_SLAVE_DS2423 is not set -# CONFIG_W1_SLAVE_DS2805 is not set -# CONFIG_W1_SLAVE_DS2430 is not set -# CONFIG_W1_SLAVE_DS2431 is not set -# CONFIG_W1_SLAVE_DS2433 is not set -# CONFIG_W1_SLAVE_DS2438 is not set +CONFIG_W1_SLAVE_THERM=m +CONFIG_W1_SLAVE_SMEM=m +CONFIG_W1_SLAVE_DS2405=m +CONFIG_W1_SLAVE_DS2408=m +CONFIG_W1_SLAVE_DS2408_READBACK=y +CONFIG_W1_SLAVE_DS2413=m +CONFIG_W1_SLAVE_DS2406=m +CONFIG_W1_SLAVE_DS2423=m +CONFIG_W1_SLAVE_DS2805=m +CONFIG_W1_SLAVE_DS2430=m +CONFIG_W1_SLAVE_DS2431=m +CONFIG_W1_SLAVE_DS2433=m +# CONFIG_W1_SLAVE_DS2433_CRC is not set +CONFIG_W1_SLAVE_DS2438=m # CONFIG_W1_SLAVE_DS250X is not set -# CONFIG_W1_SLAVE_DS2780 is not set -# CONFIG_W1_SLAVE_DS2781 is not set -# CONFIG_W1_SLAVE_DS28E04 is not set +CONFIG_W1_SLAVE_DS2780=m +CONFIG_W1_SLAVE_DS2781=m +CONFIG_W1_SLAVE_DS28E04=m # CONFIG_W1_SLAVE_DS28E17 is not set # end of 1-wire Slaves @@ -4457,7 +4686,10 @@ CONFIG_BATTERY_GOLDFISH=m # CONFIG_CHARGER_RT9455 is not set CONFIG_CHARGER_RT9467=m # CONFIG_CHARGER_RT9471 is not set +CONFIG_CHARGER_CROS_USBPD=m +CONFIG_CHARGER_CROS_PCHG=m # CONFIG_CHARGER_BD99954 is not set +# CONFIG_CHARGER_WILCO is not set # CONFIG_BATTERY_UG3105 is not set # CONFIG_FUEL_GAUGE_MM8013 is not set CONFIG_HWMON=y @@ -4489,7 +4721,7 @@ CONFIG_SENSORS_AHT10=m CONFIG_SENSORS_AQUACOMPUTER_D5NEXT=m CONFIG_SENSORS_AS370=m CONFIG_SENSORS_ASC7621=m -# CONFIG_SENSORS_ASUS_ROG_RYUJIN is not set +CONFIG_SENSORS_ASUS_ROG_RYUJIN=m CONFIG_SENSORS_AXI_FAN_CONTROL=m CONFIG_SENSORS_K8TEMP=m CONFIG_SENSORS_K10TEMP=m @@ -4497,7 +4729,7 @@ CONFIG_SENSORS_FAM15H_POWER=m CONFIG_SENSORS_APPLESMC=m CONFIG_SENSORS_ASB100=m CONFIG_SENSORS_ATXP1=m -# CONFIG_SENSORS_CHIPCAP2 is not set +CONFIG_SENSORS_CHIPCAP2=m # CONFIG_SENSORS_CORSAIR_CPRO is not set # CONFIG_SENSORS_CORSAIR_PSU is not set CONFIG_SENSORS_DRIVETEMP=m @@ -4526,6 +4758,7 @@ CONFIG_SENSORS_IT87=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_POWERZ=m CONFIG_SENSORS_POWR1220=m +CONFIG_SENSORS_LENOVO_EC=m CONFIG_SENSORS_LINEAGE=m CONFIG_SENSORS_LTC2945=m CONFIG_SENSORS_LTC2947=m @@ -4540,7 +4773,7 @@ CONFIG_SENSORS_LTC4222=m CONFIG_SENSORS_LTC4245=m CONFIG_SENSORS_LTC4260=m CONFIG_SENSORS_LTC4261=m -# CONFIG_SENSORS_LTC4282 is not set +CONFIG_SENSORS_LTC4282=m CONFIG_SENSORS_MAX1111=m # CONFIG_SENSORS_MAX127 is not set CONFIG_SENSORS_MAX16065=m @@ -4559,6 +4792,7 @@ CONFIG_SENSORS_MAX6697=m CONFIG_SENSORS_MAX31790=m CONFIG_SENSORS_MC34VR500=m CONFIG_SENSORS_MCP3021=m +CONFIG_SENSORS_MLXREG_FAN=m CONFIG_SENSORS_TC654=m # CONFIG_SENSORS_TPS23861 is not set # CONFIG_SENSORS_MR75203 is not set @@ -4589,7 +4823,7 @@ CONFIG_SENSORS_NCT6775_I2C=m CONFIG_SENSORS_NCT7802=m CONFIG_SENSORS_NPCM7XX=m # CONFIG_SENSORS_NZXT_KRAKEN2 is not set -# CONFIG_SENSORS_NZXT_KRAKEN3 is not set +CONFIG_SENSORS_NZXT_KRAKEN3=m CONFIG_SENSORS_NZXT_SMART2=m CONFIG_SENSORS_OCC_P8_I2C=m CONFIG_SENSORS_OCC=m @@ -4600,6 +4834,7 @@ CONFIG_SENSORS_PMBUS=m CONFIG_SENSORS_ACBEL_FSG032=m # CONFIG_SENSORS_ADM1266 is not set CONFIG_SENSORS_ADM1275=m +CONFIG_SENSORS_ADP1050=m CONFIG_SENSORS_BEL_PFE=m # CONFIG_SENSORS_BPA_RS600 is not set CONFIG_SENSORS_DELTA_AHE50DC_FAN=m @@ -4618,7 +4853,7 @@ CONFIG_SENSORS_LT7182S=m CONFIG_SENSORS_LTC2978=m # CONFIG_SENSORS_LTC2978_REGULATOR is not set CONFIG_SENSORS_LTC3815=m -CONFIG_SENSORS_LTC4286=y +# CONFIG_SENSORS_LTC4286 is not set # CONFIG_SENSORS_MAX15301 is not set CONFIG_SENSORS_MAX16064=m # CONFIG_SENSORS_MAX16601 is not set @@ -4631,10 +4866,10 @@ CONFIG_SENSORS_MAX8688=m # CONFIG_SENSORS_MP2888 is not set # CONFIG_SENSORS_MP2975 is not set CONFIG_SENSORS_MP5023=m -CONFIG_SENSORS_MP5990=m +# CONFIG_SENSORS_MP5990 is not set # CONFIG_SENSORS_MPQ7932_REGULATOR is not set CONFIG_SENSORS_MPQ7932=m -# CONFIG_SENSORS_MPQ8785 is not set +CONFIG_SENSORS_MPQ8785=m # CONFIG_SENSORS_PIM4328 is not set CONFIG_SENSORS_PLI1209BC=m # CONFIG_SENSORS_PLI1209BC_REGULATOR is not set @@ -4649,11 +4884,13 @@ CONFIG_SENSORS_TPS53679=m CONFIG_SENSORS_TPS546D24=m CONFIG_SENSORS_UCD9000=m CONFIG_SENSORS_UCD9200=m +CONFIG_SENSORS_XDP710=m CONFIG_SENSORS_XDPE152=m CONFIG_SENSORS_XDPE122=m # CONFIG_SENSORS_XDPE122_REGULATOR is not set CONFIG_SENSORS_ZL6100=m -# CONFIG_SENSORS_PT5161L is not set +CONFIG_SENSORS_PT5161L=m +CONFIG_SENSORS_PWM_FAN=m # CONFIG_SENSORS_SBTSI is not set CONFIG_SENSORS_SBRMI=m CONFIG_SENSORS_SHT15=m @@ -4672,7 +4909,7 @@ CONFIG_SENSORS_SMSC47M1=m CONFIG_SENSORS_SMSC47M192=m CONFIG_SENSORS_SMSC47B397=m # CONFIG_SENSORS_STTS751 is not set -# CONFIG_SENSORS_SURFACE_FAN is not set +CONFIG_SENSORS_SURFACE_FAN=m CONFIG_SENSORS_ADC128D818=m CONFIG_SENSORS_ADS7828=m CONFIG_SENSORS_ADS7871=m @@ -4795,6 +5032,7 @@ CONFIG_MFD_CORE=y CONFIG_MFD_BCM590XX=m CONFIG_MFD_BD9571MWV=m # CONFIG_MFD_AXP20X_I2C is not set +CONFIG_MFD_CROS_EC_DEV=m CONFIG_MFD_CS42L43=m CONFIG_MFD_CS42L43_I2C=m CONFIG_MFD_CS42L43_SDW=m @@ -4899,7 +5137,7 @@ CONFIG_REGULATOR=y # CONFIG_REGULATOR_FIXED_VOLTAGE is not set # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set -CONFIG_REGULATOR_NETLINK_EVENTS=y +# CONFIG_REGULATOR_NETLINK_EVENTS is not set # CONFIG_REGULATOR_88PG86X is not set # CONFIG_REGULATOR_ACT8865 is not set # CONFIG_REGULATOR_AD5398 is not set @@ -5004,6 +5242,7 @@ CONFIG_CEC_NOTIFIER=y # CONFIG_MEDIA_CEC_RC is not set CONFIG_MEDIA_CEC_SUPPORT=y CONFIG_CEC_CH7322=m +CONFIG_CEC_CROS_EC=m CONFIG_CEC_SECO=m # CONFIG_CEC_SECO_RC is not set # CONFIG_USB_PULSE8_CEC is not set @@ -5206,6 +5445,7 @@ CONFIG_MEDIA_PCI_SUPPORT=y # # Media capture support # +CONFIG_VIDEO_MGB4=m CONFIG_VIDEO_SOLO6X10=m CONFIG_VIDEO_TW5864=m CONFIG_VIDEO_TW68=m @@ -5236,6 +5476,7 @@ CONFIG_VIDEO_MXB=m # CONFIG_VIDEO_BT848=m CONFIG_DVB_BT8XX=m +# CONFIG_VIDEO_COBALT is not set CONFIG_VIDEO_CX18=m CONFIG_VIDEO_CX18_ALSA=m CONFIG_VIDEO_CX23885=m @@ -5278,6 +5519,7 @@ CONFIG_DVB_BUDGET=m CONFIG_DVB_BUDGET_CI=m CONFIG_DVB_BUDGET_AV=m CONFIG_VIDEO_IPU3_CIO2=m +CONFIG_VIDEO_INTEL_IPU6=m CONFIG_INTEL_VSC=m CONFIG_IPU_BRIDGE=m CONFIG_RADIO_ADAPTERS=m @@ -5588,7 +5830,7 @@ CONFIG_VIDEO_TVP514X=m CONFIG_VIDEO_TVP5150=m CONFIG_VIDEO_TVP7002=m CONFIG_VIDEO_TW2804=m -# CONFIG_VIDEO_TW9900 is not set +CONFIG_VIDEO_TW9900=m CONFIG_VIDEO_TW9903=m CONFIG_VIDEO_TW9906=m CONFIG_VIDEO_TW9910=m @@ -5877,6 +6119,7 @@ CONFIG_APERTURE_HELPERS=y CONFIG_SCREEN_INFO=y CONFIG_VIDEO=y # CONFIG_AUXDISPLAY is not set +# CONFIG_PANEL is not set CONFIG_AGP=m # CONFIG_AGP_AMD64 is not set CONFIG_AGP_INTEL=m @@ -5896,13 +6139,13 @@ CONFIG_DRM_FBDEV_OVERALLOC=100 # CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set CONFIG_DRM_LOAD_EDID_FIRMWARE=y CONFIG_DRM_DISPLAY_HELPER=m +CONFIG_DRM_DISPLAY_DP_AUX_CEC=y +CONFIG_DRM_DISPLAY_DP_AUX_CHARDEV=y CONFIG_DRM_DISPLAY_DP_HELPER=y CONFIG_DRM_DISPLAY_DP_TUNNEL=y -# CONFIG_DRM_DISPLAY_DEBUG_DP_TUNNEL_STATE is not set +# CONFIG_DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG is not set CONFIG_DRM_DISPLAY_HDCP_HELPER=y CONFIG_DRM_DISPLAY_HDMI_HELPER=y -CONFIG_DRM_DP_AUX_CHARDEV=y -CONFIG_DRM_DP_CEC=y CONFIG_DRM_TTM=m CONFIG_DRM_EXEC=m CONFIG_DRM_GPUVM=m @@ -6011,8 +6254,8 @@ CONFIG_DRM_XE_FORCE_PROBE="" # CONFIG_DRM_XE_DEBUG_VM is not set # CONFIG_DRM_XE_DEBUG_SRIOV is not set # CONFIG_DRM_XE_DEBUG_MEM is not set -# CONFIG_DRM_XE_SIMPLE_ERROR_CAPTURE is not set -# CONFIG_DRM_XE_LARGE_GUC_BUFFER is not set +CONFIG_DRM_XE_SIMPLE_ERROR_CAPTURE=y +CONFIG_DRM_XE_LARGE_GUC_BUFFER=y # CONFIG_DRM_XE_USERPTR_INVAL_INJECT is not set # end of drm/Xe Debugging @@ -6035,7 +6278,7 @@ CONFIG_DRM_VMWGFX=m CONFIG_DRM_VMWGFX_MKSSTATS=y # CONFIG_DRM_GMA500 is not set CONFIG_DRM_UDL=m -# CONFIG_DRM_AST is not set +CONFIG_DRM_AST=m CONFIG_DRM_MGAG200=m CONFIG_DRM_QXL=m CONFIG_DRM_VIRTIO_GPU=m @@ -6046,7 +6289,7 @@ CONFIG_DRM_PANEL=y # Display Panels # CONFIG_DRM_PANEL_AUO_A030JTN01=m -# CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set +CONFIG_DRM_PANEL_ILITEK_ILI9341=m # CONFIG_DRM_PANEL_ORISETECH_OTA5601A is not set CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN=m CONFIG_DRM_PANEL_WIDECHIPS_WS2401=m @@ -6083,8 +6326,9 @@ CONFIG_DRM_SSD130X=m CONFIG_DRM_SSD130X_I2C=m CONFIG_DRM_SSD130X_SPI=m CONFIG_DRM_HYPERV=m -CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y CONFIG_DRM_PRIVACY_SCREEN=y +# CONFIG_DRM_WERROR is not set +CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y # # Frame buffer Devices @@ -6096,9 +6340,9 @@ CONFIG_FB=y # CONFIG_FB_ARC is not set # CONFIG_FB_ASILIANT is not set # CONFIG_FB_IMSTT is not set -CONFIG_FB_VGA16=y -CONFIG_FB_UVESA=y -CONFIG_FB_VESA=y +CONFIG_FB_VGA16=m +# CONFIG_FB_UVESA is not set +# CONFIG_FB_VESA is not set CONFIG_FB_EFI=y # CONFIG_FB_N411 is not set # CONFIG_FB_HGA is not set @@ -6108,10 +6352,7 @@ CONFIG_FB_NVIDIA=m CONFIG_FB_NVIDIA_I2C=y # CONFIG_FB_NVIDIA_DEBUG is not set CONFIG_FB_NVIDIA_BACKLIGHT=y -CONFIG_FB_RIVA=m -CONFIG_FB_RIVA_I2C=y -# CONFIG_FB_RIVA_DEBUG is not set -CONFIG_FB_RIVA_BACKLIGHT=y +# CONFIG_FB_RIVA is not set # CONFIG_FB_I740 is not set # CONFIG_FB_MATROX is not set CONFIG_FB_RADEON=m @@ -6137,7 +6378,7 @@ CONFIG_FB_RADEON_BACKLIGHT=y # CONFIG_FB_SMSCUFX is not set # CONFIG_FB_UDL is not set # CONFIG_FB_IBM_GXT4500 is not set -# CONFIG_FB_VIRTUAL is not set +CONFIG_FB_VIRTUAL=m # CONFIG_FB_METRONOME is not set # CONFIG_FB_MB862XX is not set CONFIG_FB_HYPERV=m @@ -6187,7 +6428,7 @@ CONFIG_LCD_PLATFORM=m # CONFIG_LCD_OTM3225A is not set CONFIG_BACKLIGHT_CLASS_DEVICE=y # CONFIG_BACKLIGHT_KTD253 is not set -# CONFIG_BACKLIGHT_KTD2801 is not set +CONFIG_BACKLIGHT_KTD2801=m CONFIG_BACKLIGHT_KTZ8866=m CONFIG_BACKLIGHT_PWM=m CONFIG_BACKLIGHT_MT6370=m @@ -6206,7 +6447,7 @@ CONFIG_BACKLIGHT_MP3309C=m CONFIG_BACKLIGHT_ARCXCNN=m # end of Backlight & LCD device support -CONFIG_VGASTATE=y +CONFIG_VGASTATE=m CONFIG_VIDEOMODE_HELPERS=y CONFIG_HDMI=y @@ -6221,13 +6462,10 @@ CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y -# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set +CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y # end of Console display driver support -CONFIG_LOGO=y -CONFIG_LOGO_LINUX_MONO=y -CONFIG_LOGO_LINUX_VGA16=y -CONFIG_LOGO_LINUX_CLUT224=y +# CONFIG_LOGO is not set # end of Graphics support CONFIG_DRM_ACCEL=y @@ -6289,13 +6527,15 @@ CONFIG_SND_OPL3_LIB_SEQ=m CONFIG_SND_VX_LIB=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_DRIVERS=y -CONFIG_SND_DUMMY=m +# CONFIG_SND_DUMMY is not set CONFIG_SND_ALOOP=m # CONFIG_SND_PCMTEST is not set CONFIG_SND_VIRMIDI=m # CONFIG_SND_MTPAV is not set +# CONFIG_SND_MTS64 is not set # CONFIG_SND_SERIAL_U16550 is not set # CONFIG_SND_MPU401 is not set +# CONFIG_SND_PORTMAN2X4 is not set CONFIG_SND_AC97_POWER_SAVE=y CONFIG_SND_AC97_POWER_SAVE_DEFAULT=1 CONFIG_SND_SB_COMMON=m @@ -6454,6 +6694,7 @@ CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH=m CONFIG_SND_SOC_AMD_CZ_RT5645_MACH=m CONFIG_SND_SOC_AMD_ST_ES8336_MACH=m CONFIG_SND_SOC_AMD_ACP3x=m +# CONFIG_SND_SOC_AMD_RV_RT5682_MACH is not set CONFIG_SND_SOC_AMD_RENOIR=m CONFIG_SND_SOC_AMD_RENOIR_MACH=m CONFIG_SND_SOC_AMD_ACP5x=m @@ -6476,6 +6717,7 @@ CONFIG_SND_SOC_AMD_MACH_COMMON=m CONFIG_SND_SOC_AMD_SOF_MACH=m CONFIG_SND_AMD_SOUNDWIRE_ACPI=m CONFIG_SND_SOC_AMD_RPL_ACP6x=m +CONFIG_SND_SOC_AMD_ACP63_TOPLEVEL=m CONFIG_SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE=m CONFIG_SND_SOC_AMD_SOUNDWIRE=m CONFIG_SND_SOC_AMD_PS=m @@ -6561,7 +6803,6 @@ CONFIG_SND_SOC_INTEL_SOF_MAXIM_COMMON=m CONFIG_SND_SOC_INTEL_SOF_REALTEK_COMMON=m CONFIG_SND_SOC_INTEL_SOF_CIRRUS_COMMON=m CONFIG_SND_SOC_INTEL_SOF_NUVOTON_COMMON=m -CONFIG_SND_SOC_INTEL_SOF_SSP_COMMON=m CONFIG_SND_SOC_INTEL_SOF_BOARD_HELPERS=m CONFIG_SND_SOC_INTEL_HASWELL_MACH=m CONFIG_SND_SOC_INTEL_BDW_RT5650_MACH=m @@ -6581,7 +6822,6 @@ CONFIG_SND_SOC_INTEL_SKL_RT286_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH=m CONFIG_SND_SOC_INTEL_SKL_NAU88L25_MAX98357A_MACH=m CONFIG_SND_SOC_INTEL_DA7219_MAX98357A_GENERIC=m -CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_COMMON=m CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH=m CONFIG_SND_SOC_INTEL_BXT_RT298_MACH=m CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH=m @@ -6616,7 +6856,7 @@ CONFIG_SND_SOC_SOF_DEVELOPER_SUPPORT=y CONFIG_SND_SOC_SOF_FORCE_PROBE_WORKQUEUE=y # CONFIG_SND_SOC_SOF_NOCODEC_SUPPORT is not set # CONFIG_SND_SOC_SOF_STRICT_ABI_CHECKS is not set -# CONFIG_SND_SOC_SOF_ALLOW_FALLBACK_TO_NEWER_IPC_VERSION is not set +CONFIG_SND_SOC_SOF_ALLOW_FALLBACK_TO_NEWER_IPC_VERSION=y # CONFIG_SND_SOC_SOF_DEBUG is not set CONFIG_SND_SOC_SOF=m CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE=y @@ -6660,6 +6900,7 @@ CONFIG_SND_SOC_SOF_METEORLAKE=m CONFIG_SND_SOC_SOF_INTEL_LNL=m CONFIG_SND_SOC_SOF_LUNARLAKE=m CONFIG_SND_SOC_SOF_HDA_COMMON=m +CONFIG_SND_SOC_SOF_HDA_GENERIC=m CONFIG_SND_SOC_SOF_HDA_MLINK=m CONFIG_SND_SOC_SOF_HDA_LINK=y CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y @@ -6719,6 +6960,7 @@ CONFIG_SND_SOC_AW88399=m CONFIG_SND_SOC_BD28623=m # CONFIG_SND_SOC_BT_SCO is not set CONFIG_SND_SOC_CHV3_CODEC=m +CONFIG_SND_SOC_CROS_EC_CODEC=m CONFIG_SND_SOC_CS_AMP_LIB=m # CONFIG_SND_SOC_CS35L32 is not set # CONFIG_SND_SOC_CS35L33 is not set @@ -6776,7 +7018,6 @@ CONFIG_SND_SOC_HDAC_HDA=m CONFIG_SND_SOC_HDA=m CONFIG_SND_SOC_ICS43432=m CONFIG_SND_SOC_IDT821034=m -# CONFIG_SND_SOC_INNO_RK3036 is not set CONFIG_SND_SOC_MAX98088=m CONFIG_SND_SOC_MAX98090=m CONFIG_SND_SOC_MAX98357A=m @@ -6810,8 +7051,8 @@ CONFIG_SND_SOC_PCM3060_SPI=m CONFIG_SND_SOC_PCM512x=m CONFIG_SND_SOC_PCM512x_I2C=m # CONFIG_SND_SOC_PCM512x_SPI is not set +CONFIG_SND_SOC_PCM6240=m CONFIG_SND_SOC_PEB2466=m -# CONFIG_SND_SOC_RK3328 is not set CONFIG_SND_SOC_RL6231=m CONFIG_SND_SOC_RL6347A=m CONFIG_SND_SOC_RT274=m @@ -6908,7 +7149,8 @@ CONFIG_SND_SOC_WCD_CLASSH=m CONFIG_SND_SOC_WCD_MBHC=m CONFIG_SND_SOC_WCD938X=m CONFIG_SND_SOC_WCD938X_SDW=m -# CONFIG_SND_SOC_WCD939X_SDW is not set +CONFIG_SND_SOC_WCD939X=m +CONFIG_SND_SOC_WCD939X_SDW=m # CONFIG_SND_SOC_WM8510 is not set # CONFIG_SND_SOC_WM8523 is not set CONFIG_SND_SOC_WM8524=m @@ -7012,6 +7254,7 @@ CONFIG_HID_GLORIOUS=m CONFIG_HID_HOLTEK=y # CONFIG_HOLTEK_FF is not set CONFIG_HID_VIVALDI_COMMON=y +CONFIG_HID_GOOGLE_HAMMER=m CONFIG_HID_GOOGLE_STADIA_FF=m CONFIG_HID_VIVALDI=y CONFIG_HID_GT683R=m @@ -7097,6 +7340,7 @@ CONFIG_HID_UDRAW_PS3=m CONFIG_HID_U2FZERO=m CONFIG_HID_WACOM=m CONFIG_HID_WIIMOTE=m +CONFIG_HID_WINWING=m CONFIG_HID_XINMO=m CONFIG_HID_ZEROPLUS=m # CONFIG_ZEROPLUS_FF is not set @@ -7164,10 +7408,9 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEFAULT_PERSIST=y # CONFIG_USB_FEW_INIT_RETRIES is not set # CONFIG_USB_DYNAMIC_MINORS is not set -CONFIG_USB_OTG=y +# CONFIG_USB_OTG is not set # CONFIG_USB_OTG_PRODUCTLIST is not set # CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set -# CONFIG_USB_OTG_FSM is not set CONFIG_USB_LEDS_TRIGGER_USBPORT=m CONFIG_USB_AUTOSUSPEND_DELAY=2 CONFIG_USB_DEFAULT_AUTHORIZATION_MODE=1 @@ -7296,6 +7539,7 @@ CONFIG_USB_SERIAL_KOBIL_SCT=m CONFIG_USB_SERIAL_MCT_U232=m CONFIG_USB_SERIAL_METRO=m CONFIG_USB_SERIAL_MOS7720=m +CONFIG_USB_SERIAL_MOS7715_PARPORT=y CONFIG_USB_SERIAL_MOS7840=m CONFIG_USB_SERIAL_MXUPORT=m CONFIG_USB_SERIAL_NAVMAN=m @@ -7325,6 +7569,7 @@ CONFIG_USB_SERIAL_DEBUG=m # # USB Miscellaneous drivers # +CONFIG_USB_USS720=m CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m CONFIG_USB_ADUTUX=m @@ -7443,10 +7688,10 @@ CONFIG_TYPEC_MUX_FSA4480=m CONFIG_TYPEC_MUX_GPIO_SBU=m CONFIG_TYPEC_MUX_PI3USB30532=m CONFIG_TYPEC_MUX_INTEL_PMC=m -# CONFIG_TYPEC_MUX_IT5205 is not set +CONFIG_TYPEC_MUX_IT5205=m CONFIG_TYPEC_MUX_NB7VPQ904M=m CONFIG_TYPEC_MUX_PTN36502=m -CONFIG_TYPEC_MUX_WCD939X_USBSS=m +# CONFIG_TYPEC_MUX_WCD939X_USBSS is not set # end of USB Type-C Multiplexer/DeMultiplexer Switch support # @@ -7515,6 +7760,7 @@ CONFIG_MEMSTICK_JMICRON_38X=m CONFIG_MEMSTICK_R592=m CONFIG_MEMSTICK_REALTEK_PCI=m CONFIG_MEMSTICK_REALTEK_USB=m +CONFIG_LEDS_EXPRESSWIRE=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_CLASS_FLASH=m @@ -7579,6 +7825,7 @@ CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_TIMER=m CONFIG_LEDS_TRIGGER_ONESHOT=m # CONFIG_LEDS_TRIGGER_DISK is not set +# CONFIG_LEDS_TRIGGER_MTD is not set CONFIG_LEDS_TRIGGER_HEARTBEAT=m CONFIG_LEDS_TRIGGER_BACKLIGHT=m # CONFIG_LEDS_TRIGGER_CPU is not set @@ -7594,7 +7841,6 @@ CONFIG_LEDS_TRIGGER_CAMERA=m # CONFIG_LEDS_TRIGGER_PANIC is not set CONFIG_LEDS_TRIGGER_NETDEV=m # CONFIG_LEDS_TRIGGER_PATTERN is not set -CONFIG_LEDS_TRIGGER_AUDIO=m CONFIG_LEDS_TRIGGER_TTY=m # @@ -7696,7 +7942,7 @@ CONFIG_RTC_DRV_DS1307=m CONFIG_RTC_DRV_DS1374=m CONFIG_RTC_DRV_DS1672=m CONFIG_RTC_DRV_MAX6900=m -CONFIG_RTC_DRV_MAX31335=m +# CONFIG_RTC_DRV_MAX31335 is not set CONFIG_RTC_DRV_RS5C372=m CONFIG_RTC_DRV_ISL1208=m CONFIG_RTC_DRV_ISL12022=m @@ -7713,6 +7959,7 @@ CONFIG_RTC_DRV_TPS6594=m # CONFIG_RTC_DRV_S35390A is not set CONFIG_RTC_DRV_FM3130=m CONFIG_RTC_DRV_RX8010=m +CONFIG_RTC_DRV_RX8111=m CONFIG_RTC_DRV_RX8581=m CONFIG_RTC_DRV_RX8025=m CONFIG_RTC_DRV_EM3027=m @@ -7771,6 +8018,7 @@ CONFIG_RTC_DRV_M48T35=m CONFIG_RTC_DRV_M48T59=m CONFIG_RTC_DRV_MSM6242=m CONFIG_RTC_DRV_RP5C01=m +CONFIG_RTC_DRV_CROS_EC=m # # on-CPU RTC drivers @@ -7782,6 +8030,7 @@ CONFIG_RTC_DRV_RP5C01=m # CONFIG_RTC_DRV_HID_SENSOR_TIME=m CONFIG_RTC_DRV_GOLDFISH=m +CONFIG_RTC_DRV_WILCO_EC=m CONFIG_DMADEVICES=y # CONFIG_DMADEVICES_DEBUG is not set @@ -7834,7 +8083,7 @@ CONFIG_UDMABUF=y # end of DMABUF options CONFIG_DCA=y -CONFIG_UIO=y +CONFIG_UIO=m CONFIG_UIO_CIF=m # CONFIG_UIO_PDRV_GENIRQ is not set # CONFIG_UIO_DMEM_GENIRQ is not set @@ -7842,7 +8091,6 @@ CONFIG_UIO_AEC=m CONFIG_UIO_SERCOS3=m CONFIG_UIO_PCI_GENERIC=m # CONFIG_UIO_NETX is not set -# CONFIG_UIO_PRUSS is not set # CONFIG_UIO_MF624 is not set CONFIG_UIO_HV_GENERIC=m CONFIG_UIO_DFL=m @@ -7853,7 +8101,7 @@ CONFIG_VFIO_CONTAINER=y CONFIG_VFIO_IOMMU_TYPE1=y CONFIG_VFIO_NOIOMMU=y CONFIG_VFIO_VIRQFD=y -CONFIG_VFIO_DEBUGFS=y +# CONFIG_VFIO_DEBUGFS is not set # # VFIO support for PCI devices @@ -7867,6 +8115,7 @@ CONFIG_VFIO_PCI_IGD=y CONFIG_MLX5_VFIO_PCI=m CONFIG_PDS_VFIO_PCI=m CONFIG_VIRTIO_VFIO_PCI=m +CONFIG_QAT_VFIO_PCI=m # end of VFIO support for PCI devices CONFIG_VFIO_MDEV=m @@ -7881,10 +8130,10 @@ CONFIG_SEV_GUEST=m CONFIG_TDX_GUEST_DRIVER=m CONFIG_VIRTIO_ANCHOR=y CONFIG_VIRTIO=y -CONFIG_VIRTIO_PCI_LIB=y -CONFIG_VIRTIO_PCI_LIB_LEGACY=y +CONFIG_VIRTIO_PCI_LIB=m +CONFIG_VIRTIO_PCI_LIB_LEGACY=m CONFIG_VIRTIO_MENU=y -CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_PCI=m CONFIG_VIRTIO_PCI_ADMIN_LEGACY=y CONFIG_VIRTIO_PCI_LEGACY=y CONFIG_VIRTIO_VDPA=m @@ -7895,6 +8144,7 @@ CONFIG_VIRTIO_INPUT=m CONFIG_VIRTIO_MMIO=m # CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set CONFIG_VIRTIO_DMA_SHARED_BUFFER=m +# CONFIG_VIRTIO_DEBUG is not set CONFIG_VDPA=m CONFIG_VDPA_SIM=m CONFIG_VDPA_SIM_NET=m @@ -7931,10 +8181,96 @@ CONFIG_HYPERV_BALLOON=m # CONFIG_GREYBUS is not set # CONFIG_COMEDI is not set -# CONFIG_STAGING is not set +CONFIG_STAGING=y +CONFIG_RTLLIB=m +CONFIG_RTLLIB_CRYPTO_CCMP=m +CONFIG_RTLLIB_CRYPTO_TKIP=m +CONFIG_RTLLIB_CRYPTO_WEP=m +CONFIG_RTL8192E=m +CONFIG_RTL8723BS=m +CONFIG_R8712U=m +CONFIG_RTS5208=m +CONFIG_VT6655=m +CONFIG_VT6656=m + +# +# IIO staging drivers +# + +# +# Accelerometers +# +# CONFIG_ADIS16203 is not set +# CONFIG_ADIS16240 is not set +# end of Accelerometers + +# +# Analog to digital converters +# +# CONFIG_AD7816 is not set +# end of Analog to digital converters + +# +# Analog digital bi-direction converters +# +# CONFIG_ADT7316 is not set +# end of Analog digital bi-direction converters + +# +# Direct Digital Synthesis +# +# CONFIG_AD9832 is not set +# CONFIG_AD9834 is not set +# end of Direct Digital Synthesis + +# +# Network Analyzer, Impedance Converters +# +# CONFIG_AD5933 is not set +# end of Network Analyzer, Impedance Converters +# end of IIO staging drivers + +# CONFIG_FB_SM750 is not set +# CONFIG_STAGING_MEDIA is not set +# CONFIG_LTE_GDM724X is not set +# CONFIG_FB_TFT is not set +# CONFIG_KS7010 is not set +CONFIG_FIELDBUS_DEV=m +# CONFIG_VME_BUS is not set # CONFIG_GOLDFISH is not set -# CONFIG_CHROME_PLATFORMS is not set -# CONFIG_MELLANOX_PLATFORM is not set +CONFIG_CHROME_PLATFORMS=y +CONFIG_CHROMEOS_ACPI=m +CONFIG_CHROMEOS_LAPTOP=m +CONFIG_CHROMEOS_PSTORE=m +CONFIG_CHROMEOS_TBMC=m +CONFIG_CROS_EC=m +CONFIG_CROS_EC_I2C=m +CONFIG_CROS_EC_ISHTP=m +CONFIG_CROS_EC_SPI=m +CONFIG_CROS_EC_UART=m +CONFIG_CROS_EC_LPC=m +CONFIG_CROS_EC_PROTO=y +CONFIG_CROS_KBD_LED_BACKLIGHT=m +CONFIG_CROS_EC_CHARDEV=m +CONFIG_CROS_EC_LIGHTBAR=m +# CONFIG_CROS_EC_DEBUGFS is not set +CONFIG_CROS_EC_SENSORHUB=m +CONFIG_CROS_EC_SYSFS=m +CONFIG_CROS_EC_TYPEC=m +CONFIG_CROS_HPS_I2C=m +CONFIG_CROS_USBPD_LOGGER=m +CONFIG_CROS_USBPD_NOTIFY=m +# CONFIG_CHROMEOS_PRIVACY_SCREEN is not set +CONFIG_CROS_TYPEC_SWITCH=m +CONFIG_WILCO_EC=m +CONFIG_WILCO_EC_DEBUGFS=m +CONFIG_WILCO_EC_EVENTS=m +CONFIG_WILCO_EC_TELEMETRY=m +CONFIG_MELLANOX_PLATFORM=y +CONFIG_MLXREG_HOTPLUG=m +CONFIG_MLXREG_IO=m +CONFIG_MLXREG_LC=m +CONFIG_NVSW_SN2201=m CONFIG_SURFACE_PLATFORMS=y CONFIG_SURFACE3_WMI=m CONFIG_SURFACE_3_POWER_OPREGION=m @@ -7958,12 +8294,14 @@ CONFIG_MXM_WMI=m CONFIG_XIAOMI_WMI=m # CONFIG_GIGABYTE_WMI is not set CONFIG_YOGABOOK=m +CONFIG_YT2_1380=m CONFIG_ACERHDF=m CONFIG_ACER_WIRELESS=m CONFIG_ACER_WMI=m CONFIG_AMD_PMF=m # CONFIG_AMD_PMF_DEBUG is not set CONFIG_AMD_PMC=m +CONFIG_AMD_MP2_STB=y CONFIG_AMD_HSMP=m CONFIG_AMD_WBRF=y # CONFIG_ADV_SWBUTTON is not set @@ -7986,6 +8324,7 @@ CONFIG_DELL_SMBIOS=m CONFIG_DELL_SMBIOS_WMI=y CONFIG_DELL_SMBIOS_SMM=y CONFIG_DELL_SMO8800=m +CONFIG_DELL_UART_BACKLIGHT=m CONFIG_DELL_WMI=m # CONFIG_DELL_WMI_PRIVACY is not set CONFIG_DELL_WMI_AIO=m @@ -8061,9 +8400,12 @@ CONFIG_INTEL_SMARTCONNECT=m CONFIG_INTEL_TPMI=m CONFIG_INTEL_TURBO_MAX_3=y CONFIG_INTEL_VSEC=m +CONFIG_ACPI_QUICKSTART=m +CONFIG_MEEGOPAD_ANX7428=m CONFIG_MSI_EC=m CONFIG_MSI_LAPTOP=m CONFIG_MSI_WMI=m +CONFIG_MSI_WMI_PLATFORM=m # CONFIG_PCENGINES_APU2 is not set # CONFIG_BARCO_P50_GPIO is not set CONFIG_SAMSUNG_LAPTOP=m @@ -8084,6 +8426,7 @@ CONFIG_TOPSTAR_LAPTOP=m CONFIG_MLX_PLATFORM=m # CONFIG_TOUCHSCREEN_DMI is not set CONFIG_INSPUR_PLATFORM_PROFILE=m +CONFIG_LENOVO_WMI_CAMERA=m CONFIG_FW_ATTR_CLASS=y CONFIG_INTEL_IPS=y CONFIG_INTEL_SCU_IPC=y @@ -8222,7 +8565,7 @@ CONFIG_WPCM450_SOC=m # # Qualcomm SoC drivers # -CONFIG_QCOM_PMIC_PDCHARGER_ULOG=m +# CONFIG_QCOM_PMIC_PDCHARGER_ULOG is not set CONFIG_QCOM_QMI_HELPERS=m # end of Qualcomm SoC drivers @@ -8266,7 +8609,7 @@ CONFIG_PM_DEVFREQ=y # CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=m CONFIG_DEVFREQ_GOV_PERFORMANCE=y -CONFIG_DEVFREQ_GOV_POWERSAVE=y +# CONFIG_DEVFREQ_GOV_POWERSAVE is not set # CONFIG_DEVFREQ_GOV_USERSPACE is not set # CONFIG_DEVFREQ_GOV_PASSIVE is not set @@ -8290,6 +8633,7 @@ CONFIG_EXTCON_INTEL_MRFLD=m # CONFIG_EXTCON_RT8973A is not set # CONFIG_EXTCON_SM5502 is not set # CONFIG_EXTCON_USB_GPIO is not set +CONFIG_EXTCON_USBC_CROS_EC=m CONFIG_EXTCON_USBC_TUSB320=m # CONFIG_MEMORY is not set CONFIG_IIO=m @@ -8307,6 +8651,7 @@ CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 CONFIG_IIO_SW_DEVICE=m CONFIG_IIO_SW_TRIGGER=m # CONFIG_IIO_TRIGGERED_EVENT is not set +CONFIG_IIO_BACKEND=m # # Accelerometers @@ -8342,6 +8687,7 @@ CONFIG_DMARD10=m # CONFIG_FXLS8962AF_I2C is not set # CONFIG_FXLS8962AF_SPI is not set CONFIG_HID_SENSOR_ACCEL_3D=m +CONFIG_IIO_CROS_EC_ACCEL_LEGACY=m CONFIG_IIO_ST_ACCEL_3AXIS=m CONFIG_IIO_ST_ACCEL_I2C_3AXIS=m CONFIG_IIO_ST_ACCEL_SPI_3AXIS=m @@ -8371,10 +8717,10 @@ CONFIG_MSA311=m # CONFIG_AD_SIGMA_DELTA=m CONFIG_AD4130=m -CONFIG_AD7091R=m -CONFIG_AD7091R5=m -CONFIG_AD7091R8=m +# CONFIG_AD7091R5 is not set +# CONFIG_AD7091R8 is not set # CONFIG_AD7124 is not set +CONFIG_AD7173=m # CONFIG_AD7192 is not set # CONFIG_AD7266 is not set # CONFIG_AD7280 is not set @@ -8391,6 +8737,7 @@ CONFIG_AD7766=m # CONFIG_AD7793 is not set # CONFIG_AD7887 is not set # CONFIG_AD7923 is not set +CONFIG_AD7944=m # CONFIG_AD7949 is not set # CONFIG_AD799X is not set # CONFIG_AD9467 is not set @@ -8413,7 +8760,7 @@ CONFIG_MAX11205=m CONFIG_MAX11410=m # CONFIG_MAX1241 is not set CONFIG_MAX1363=m -CONFIG_MAX34408=m +# CONFIG_MAX34408 is not set CONFIG_MAX77541_ADC=m # CONFIG_MAX9611 is not set # CONFIG_MCP320X is not set @@ -8422,7 +8769,7 @@ CONFIG_MCP3564=m CONFIG_MCP3911=m CONFIG_MEDIATEK_MT6370_ADC=m # CONFIG_NAU7802 is not set -# CONFIG_PAC1934 is not set +CONFIG_PAC1934=m CONFIG_RICHTEK_RTQ6056=m CONFIG_SD_ADC_MODULATOR=m # CONFIG_TI_ADC081C is not set @@ -8435,7 +8782,7 @@ CONFIG_SD_ADC_MODULATOR=m CONFIG_TI_ADS1015=m CONFIG_TI_ADS7924=m CONFIG_TI_ADS1100=m -# CONFIG_TI_ADS1298 is not set +CONFIG_TI_ADS1298=m # CONFIG_TI_ADS7950 is not set CONFIG_TI_ADS8344=m CONFIG_TI_ADS8688=m @@ -8480,7 +8827,7 @@ CONFIG_ADA4250=m # # Chemical Sensors # -CONFIG_AOSONG_AGS02MA=m +# CONFIG_AOSONG_AGS02MA is not set # CONFIG_ATLAS_PH_SENSOR is not set # CONFIG_ATLAS_EZO_SENSOR is not set # CONFIG_BME680 is not set @@ -8497,6 +8844,10 @@ CONFIG_SENSEAIR_SUNRISE_CO2=m # CONFIG_VZ89X is not set # end of Chemical Sensors +CONFIG_IIO_CROS_EC_SENSORS_CORE=m +CONFIG_IIO_CROS_EC_SENSORS=m +CONFIG_IIO_CROS_EC_SENSORS_LID_ANGLE=m + # # Hid Sensor IIO Common # @@ -8536,6 +8887,8 @@ CONFIG_AD3552R=m # CONFIG_AD5593R is not set # CONFIG_AD5504 is not set # CONFIG_AD5624R_SPI is not set +CONFIG_AD9739A=m +# CONFIG_ADI_AXI_DAC is not set CONFIG_LTC2688=m # CONFIG_AD5686_SPI is not set # CONFIG_AD5696_I2C is not set @@ -8559,7 +8912,7 @@ CONFIG_MAX5522=m CONFIG_MAX5821=m # CONFIG_MCP4725 is not set CONFIG_MCP4728=m -CONFIG_MCP4821=m +# CONFIG_MCP4821 is not set # CONFIG_MCP4922 is not set # CONFIG_TI_DAC082S085 is not set # CONFIG_TI_DAC5571 is not set @@ -8596,7 +8949,7 @@ CONFIG_ADMV8818=m # CONFIG_ADF4350 is not set # CONFIG_ADF4371 is not set CONFIG_ADF4377=m -# CONFIG_ADMFM2000 is not set +CONFIG_ADMFM2000=m CONFIG_ADMV1013=m CONFIG_ADMV1014=m CONFIG_ADMV4420=m @@ -8645,7 +8998,7 @@ CONFIG_MAX30100=m CONFIG_DHT11=m # CONFIG_HDC100X is not set # CONFIG_HDC2010 is not set -CONFIG_HDC3020=m +# CONFIG_HDC3020 is not set CONFIG_HID_SENSOR_HUMIDITY=m CONFIG_HTS221=m CONFIG_HTS221_I2C=m @@ -8664,9 +9017,8 @@ CONFIG_HTS221_SPI=m # CONFIG_ADIS16480 is not set # CONFIG_BMI160_I2C is not set # CONFIG_BMI160_SPI is not set -CONFIG_BMI323=m -CONFIG_BMI323_I2C=m -CONFIG_BMI323_SPI=m +# CONFIG_BMI323_I2C is not set +# CONFIG_BMI323_SPI is not set CONFIG_BOSCH_BNO055=m CONFIG_BOSCH_BNO055_SERIAL=m CONFIG_BOSCH_BNO055_I2C=m @@ -8691,6 +9043,7 @@ CONFIG_ACPI_ALS=m # CONFIG_AL3010 is not set # CONFIG_AL3320A is not set # CONFIG_APDS9300 is not set +CONFIG_APDS9306=m # CONFIG_APDS9960 is not set # CONFIG_AS73211 is not set CONFIG_BH1750=m @@ -8700,6 +9053,7 @@ CONFIG_CM32181=m # CONFIG_CM3323 is not set CONFIG_CM3605=m # CONFIG_CM36651 is not set +CONFIG_IIO_CROS_EC_LIGHT_PROX=m CONFIG_GP2AP002=m # CONFIG_GP2AP020A00F is not set # CONFIG_SENSORS_ISL29018 is not set @@ -8826,13 +9180,12 @@ CONFIG_ROHM_BM1390=m CONFIG_BMP280=m CONFIG_BMP280_I2C=m CONFIG_BMP280_SPI=m +CONFIG_IIO_CROS_EC_BARO=m # CONFIG_DLHL60D is not set # CONFIG_DPS310 is not set CONFIG_HID_SENSOR_PRESS=m # CONFIG_HP03 is not set -CONFIG_HSC030PA=m -CONFIG_HSC030PA_I2C=m -CONFIG_HSC030PA_SPI=m +# CONFIG_HSC030PA is not set # CONFIG_ICP10100 is not set # CONFIG_MPL115_I2C is not set # CONFIG_MPL115_SPI is not set @@ -8855,6 +9208,7 @@ CONFIG_HSC030PA_SPI=m # # Proximity and distance sensors # +CONFIG_CROS_EC_MKBP_PROXIMITY=m # CONFIG_IRSD200 is not set # CONFIG_ISL29501 is not set # CONFIG_LIDAR_LITE_V2 is not set @@ -8888,7 +9242,7 @@ CONFIG_MAXIM_THERMOCOUPLE=m CONFIG_HID_SENSOR_TEMP=m CONFIG_MLX90614=m CONFIG_MLX90632=m -CONFIG_MLX90635=m +# CONFIG_MLX90635 is not set # CONFIG_TMP006 is not set # CONFIG_TMP007 is not set # CONFIG_TMP117 is not set @@ -8897,7 +9251,7 @@ CONFIG_MLX90635=m CONFIG_MAX30208=m # CONFIG_MAX31856 is not set CONFIG_MAX31865=m -CONFIG_MCP9600=m +# CONFIG_MCP9600 is not set # end of Temperature sensors CONFIG_NTB=m @@ -8913,10 +9267,10 @@ CONFIG_NTB_PERF=m CONFIG_NTB_MSI_TEST=m CONFIG_NTB_TRANSPORT=m CONFIG_PWM=y -CONFIG_PWM_SYSFS=y # CONFIG_PWM_DEBUG is not set CONFIG_PWM_CLK=m CONFIG_PWM_CRC=y +CONFIG_PWM_CROS_EC=m CONFIG_PWM_DWC_CORE=m CONFIG_PWM_DWC=m CONFIG_PWM_LPSS=m @@ -8976,7 +9330,8 @@ CONFIG_CXL_PMU=m CONFIG_RAS=y CONFIG_RAS_CEC=y # CONFIG_RAS_CEC_DEBUG is not set -# CONFIG_AMD_ATL is not set +CONFIG_AMD_ATL=y +CONFIG_RAS_FMPM=m CONFIG_USB4=m # CONFIG_USB4_DEBUGFS_WRITE is not set # CONFIG_USB4_DMA_TEST is not set @@ -9029,6 +9384,8 @@ CONFIG_FPGA=m CONFIG_ALTERA_PR_IP_CORE=m CONFIG_FPGA_MGR_ALTERA_PS_SPI=m CONFIG_FPGA_MGR_ALTERA_CVP=m +CONFIG_FPGA_MGR_XILINX_CORE=m +# CONFIG_FPGA_MGR_XILINX_SELECTMAP is not set CONFIG_FPGA_MGR_XILINX_SPI=m CONFIG_FPGA_MGR_MACHXO2_SPI=m CONFIG_FPGA_BRIDGE=m @@ -9093,7 +9450,15 @@ CONFIG_JBD2=y CONFIG_FS_MBCACHE=y # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set -# CONFIG_XFS_FS is not set +CONFIG_XFS_FS=y +CONFIG_XFS_SUPPORT_V4=y +# CONFIG_XFS_SUPPORT_ASCII_CI is not set +# CONFIG_XFS_QUOTA is not set +CONFIG_XFS_POSIX_ACL=y +CONFIG_XFS_RT=y +# CONFIG_XFS_ONLINE_SCRUB is not set +# CONFIG_XFS_WARN is not set +# CONFIG_XFS_DEBUG is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set CONFIG_BTRFS_FS=y @@ -9103,11 +9468,20 @@ CONFIG_BTRFS_FS_POSIX_ACL=y # CONFIG_BTRFS_ASSERT is not set # CONFIG_BTRFS_FS_REF_VERIFY is not set # CONFIG_NILFS2_FS is not set -# CONFIG_F2FS_FS is not set -CONFIG_BCACHEFS_FS=y -CONFIG_BCACHEFS_QUOTA=y +CONFIG_F2FS_FS=y +CONFIG_F2FS_STAT_FS=y +CONFIG_F2FS_FS_XATTR=y +CONFIG_F2FS_FS_POSIX_ACL=y +# CONFIG_F2FS_FS_SECURITY is not set +# CONFIG_F2FS_CHECK_FS is not set +# CONFIG_F2FS_FAULT_INJECTION is not set +# CONFIG_F2FS_FS_COMPRESSION is not set +# CONFIG_F2FS_IOSTAT is not set +# CONFIG_F2FS_UNFAIR_RWSEM is not set +CONFIG_BCACHEFS_FS=m +# CONFIG_BCACHEFS_QUOTA is not set # CONFIG_BCACHEFS_ERASURE_CODING is not set -CONFIG_BCACHEFS_POSIX_ACL=y +# CONFIG_BCACHEFS_POSIX_ACL is not set # CONFIG_BCACHEFS_DEBUG is not set # CONFIG_BCACHEFS_TESTS is not set # CONFIG_BCACHEFS_LOCK_TIME_STATS is not set @@ -9129,15 +9503,13 @@ CONFIG_INOTIFY_USER=y CONFIG_FANOTIFY=y CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y # CONFIG_QUOTA is not set -# CONFIG_QUOTA_NETLINK_INTERFACE is not set -CONFIG_QUOTACTL=y CONFIG_AUTOFS_FS=y CONFIG_FUSE_FS=y CONFIG_CUSE=m CONFIG_VIRTIO_FS=m CONFIG_FUSE_DAX=y CONFIG_FUSE_PASSTHROUGH=y -CONFIG_OVERLAY_FS=y +CONFIG_OVERLAY_FS=m # CONFIG_OVERLAY_FS_REDIRECT_DIR is not set # CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set # CONFIG_OVERLAY_FS_INDEX is not set @@ -9153,7 +9525,10 @@ CONFIG_NETFS_SUPPORT=m CONFIG_FSCACHE=y # CONFIG_FSCACHE_STATS is not set # CONFIG_FSCACHE_DEBUG is not set -# CONFIG_CACHEFILES is not set +CONFIG_CACHEFILES=m +# CONFIG_CACHEFILES_DEBUG is not set +# CONFIG_CACHEFILES_ERROR_INJECTION is not set +# CONFIG_CACHEFILES_ONDEMAND is not set # end of Caches # @@ -9169,7 +9544,7 @@ CONFIG_UDF_FS=m # DOS/FAT/EXFAT/NT Filesystems # CONFIG_FAT_FS=y -CONFIG_MSDOS_FS=y +# CONFIG_MSDOS_FS is not set CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="ascii" @@ -9220,8 +9595,11 @@ CONFIG_HFSPLUS_FS=m # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set +# CONFIG_JFFS2_FS is not set +# CONFIG_UBIFS_FS is not set CONFIG_CRAMFS=m CONFIG_CRAMFS_BLOCKDEV=y +# CONFIG_CRAMFS_MTD is not set CONFIG_SQUASHFS=y CONFIG_SQUASHFS_FILE_CACHE=y # CONFIG_SQUASHFS_FILE_DIRECT is not set @@ -9234,7 +9612,7 @@ CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE=y CONFIG_SQUASHFS_ZLIB=y CONFIG_SQUASHFS_LZ4=y CONFIG_SQUASHFS_LZO=y -CONFIG_SQUASHFS_XZ=y +# CONFIG_SQUASHFS_XZ is not set CONFIG_SQUASHFS_ZSTD=y # CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set # CONFIG_SQUASHFS_EMBEDDED is not set @@ -9261,8 +9639,9 @@ CONFIG_EROFS_FS_XATTR=y CONFIG_EROFS_FS_POSIX_ACL=y CONFIG_EROFS_FS_SECURITY=y CONFIG_EROFS_FS_ZIP=y -CONFIG_EROFS_FS_ZIP_LZMA=y +# CONFIG_EROFS_FS_ZIP_LZMA is not set # CONFIG_EROFS_FS_ZIP_DEFLATE is not set +# CONFIG_EROFS_FS_ZIP_ZSTD is not set # CONFIG_EROFS_FS_ONDEMAND is not set CONFIG_EROFS_FS_PCPU_KTHREAD=y # CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI is not set @@ -9298,7 +9677,7 @@ CONFIG_NFSD_SCSILAYOUT=y # CONFIG_NFSD_FLEXFILELAYOUT is not set CONFIG_NFSD_V4_2_INTER_SSC=y # CONFIG_NFSD_V4_SECURITY_LABEL is not set -# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set +CONFIG_NFSD_LEGACY_CLIENT_TRACKING=y CONFIG_GRACE_PERIOD=m CONFIG_LOCKD=m CONFIG_LOCKD_V4=y @@ -9315,7 +9694,7 @@ CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA2=y # CONFIG_SUNRPC_DEBUG is not set CONFIG_SUNRPC_XPRT_RDMA=m CONFIG_CEPH_FS=m -# CONFIG_CEPH_FSCACHE is not set +CONFIG_CEPH_FSCACHE=y CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CEPH_FS_SECURITY_LABEL=y CONFIG_CIFS=m @@ -9335,56 +9714,60 @@ CONFIG_SMB_SERVER_KERBEROS5=y CONFIG_SMBFS=m # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set +CONFIG_9P_FS=m +# CONFIG_9P_FSCACHE is not set +CONFIG_9P_FS_POSIX_ACL=y +# CONFIG_9P_FS_SECURITY is not set CONFIG_NLS=y CONFIG_NLS_DEFAULT="utf8" CONFIG_NLS_CODEPAGE_437=y -# CONFIG_NLS_CODEPAGE_737 is not set -# CONFIG_NLS_CODEPAGE_775 is not set -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_CODEPAGE_852=y -# CONFIG_NLS_CODEPAGE_855 is not set -# CONFIG_NLS_CODEPAGE_857 is not set -# CONFIG_NLS_CODEPAGE_860 is not set -# CONFIG_NLS_CODEPAGE_861 is not set -# CONFIG_NLS_CODEPAGE_862 is not set -# CONFIG_NLS_CODEPAGE_863 is not set -# CONFIG_NLS_CODEPAGE_864 is not set -# CONFIG_NLS_CODEPAGE_865 is not set -# CONFIG_NLS_CODEPAGE_866 is not set -# CONFIG_NLS_CODEPAGE_869 is not set -# CONFIG_NLS_CODEPAGE_936 is not set -# CONFIG_NLS_CODEPAGE_950 is not set -CONFIG_NLS_CODEPAGE_932=y -# CONFIG_NLS_CODEPAGE_949 is not set -# CONFIG_NLS_CODEPAGE_874 is not set -# CONFIG_NLS_ISO8859_8 is not set -# CONFIG_NLS_CODEPAGE_1250 is not set -# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_CODEPAGE_737=m +CONFIG_NLS_CODEPAGE_775=m +CONFIG_NLS_CODEPAGE_850=m +CONFIG_NLS_CODEPAGE_852=m +CONFIG_NLS_CODEPAGE_855=m +CONFIG_NLS_CODEPAGE_857=m +CONFIG_NLS_CODEPAGE_860=m +CONFIG_NLS_CODEPAGE_861=m +CONFIG_NLS_CODEPAGE_862=m +CONFIG_NLS_CODEPAGE_863=m +CONFIG_NLS_CODEPAGE_864=m +CONFIG_NLS_CODEPAGE_865=m +CONFIG_NLS_CODEPAGE_866=m +CONFIG_NLS_CODEPAGE_869=m +CONFIG_NLS_CODEPAGE_936=m +CONFIG_NLS_CODEPAGE_950=m +CONFIG_NLS_CODEPAGE_932=m +CONFIG_NLS_CODEPAGE_949=m +CONFIG_NLS_CODEPAGE_874=m +CONFIG_NLS_ISO8859_8=m +CONFIG_NLS_CODEPAGE_1250=m +CONFIG_NLS_CODEPAGE_1251=m CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=y -CONFIG_NLS_ISO8859_2=y -# CONFIG_NLS_ISO8859_3 is not set -# CONFIG_NLS_ISO8859_4 is not set -# CONFIG_NLS_ISO8859_5 is not set -# CONFIG_NLS_ISO8859_6 is not set -# CONFIG_NLS_ISO8859_7 is not set -# CONFIG_NLS_ISO8859_9 is not set -# CONFIG_NLS_ISO8859_13 is not set -# CONFIG_NLS_ISO8859_14 is not set -# CONFIG_NLS_ISO8859_15 is not set -# CONFIG_NLS_KOI8_R is not set -# CONFIG_NLS_KOI8_U is not set -# CONFIG_NLS_MAC_ROMAN is not set -# CONFIG_NLS_MAC_CELTIC is not set -# CONFIG_NLS_MAC_CENTEURO is not set -# CONFIG_NLS_MAC_CROATIAN is not set -# CONFIG_NLS_MAC_CYRILLIC is not set -# CONFIG_NLS_MAC_GAELIC is not set -# CONFIG_NLS_MAC_GREEK is not set -# CONFIG_NLS_MAC_ICELAND is not set -# CONFIG_NLS_MAC_INUIT is not set -# CONFIG_NLS_MAC_ROMANIAN is not set -# CONFIG_NLS_MAC_TURKISH is not set +CONFIG_NLS_ISO8859_2=m +CONFIG_NLS_ISO8859_3=m +CONFIG_NLS_ISO8859_4=m +CONFIG_NLS_ISO8859_5=m +CONFIG_NLS_ISO8859_6=m +CONFIG_NLS_ISO8859_7=m +CONFIG_NLS_ISO8859_9=m +CONFIG_NLS_ISO8859_13=m +CONFIG_NLS_ISO8859_14=m +CONFIG_NLS_ISO8859_15=m +CONFIG_NLS_KOI8_R=m +CONFIG_NLS_KOI8_U=m +CONFIG_NLS_MAC_ROMAN=m +CONFIG_NLS_MAC_CELTIC=m +CONFIG_NLS_MAC_CENTEURO=m +CONFIG_NLS_MAC_CROATIAN=m +CONFIG_NLS_MAC_CYRILLIC=m +CONFIG_NLS_MAC_GAELIC=m +CONFIG_NLS_MAC_GREEK=m +CONFIG_NLS_MAC_ICELAND=m +CONFIG_NLS_MAC_INUIT=m +CONFIG_NLS_MAC_ROMANIAN=m +CONFIG_NLS_MAC_TURKISH=m CONFIG_NLS_UTF8=y CONFIG_NLS_UCS2_UTILS=m CONFIG_DLM=m @@ -9401,6 +9784,7 @@ CONFIG_KEYS=y # CONFIG_KEYS_REQUEST_CACHE is not set # CONFIG_PERSISTENT_KEYRINGS is not set CONFIG_TRUSTED_KEYS=y +CONFIG_HAVE_TRUSTED_KEYS=y CONFIG_TRUSTED_KEYS_TPM=y CONFIG_ENCRYPTED_KEYS=y # CONFIG_USER_DECRYPTED_DATA is not set @@ -9413,15 +9797,28 @@ CONFIG_SECURITY_NETWORK=y # CONFIG_SECURITY_NETWORK_XFRM is not set CONFIG_SECURITY_PATH=y CONFIG_INTEL_TXT=y +CONFIG_LSM_MMAP_MIN_ADDR=65536 CONFIG_HARDENED_USERCOPY=y CONFIG_FORTIFY_SOURCE=y # CONFIG_STATIC_USERMODEHELPER is not set -# CONFIG_SECURITY_SELINUX is not set +CONFIG_SECURITY_SELINUX=y +CONFIG_SECURITY_SELINUX_BOOTPARAM=y +CONFIG_SECURITY_SELINUX_DEVELOP=y +CONFIG_SECURITY_SELINUX_AVC_STATS=y +CONFIG_SECURITY_SELINUX_SIDTAB_HASH_BITS=9 +CONFIG_SECURITY_SELINUX_SID2STR_CACHE_SIZE=256 +# CONFIG_SECURITY_SELINUX_DEBUG is not set CONFIG_SECURITY_SMACK=y CONFIG_SECURITY_SMACK_BRINGUP=y CONFIG_SECURITY_SMACK_NETFILTER=y CONFIG_SECURITY_SMACK_APPEND_SIGNALS=y -# CONFIG_SECURITY_TOMOYO is not set +CONFIG_SECURITY_TOMOYO=y +CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048 +CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024 +# CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER is not set +CONFIG_SECURITY_TOMOYO_POLICY_LOADER="/sbin/tomoyo-init" +CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/sbin/init" +# CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING is not set CONFIG_SECURITY_APPARMOR=y # CONFIG_SECURITY_APPARMOR_DEBUG is not set CONFIG_SECURITY_APPARMOR_INTROSPECT_POLICY=y @@ -9433,10 +9830,12 @@ CONFIG_SECURITY_APPARMOR_PARANOID_LOAD=y CONFIG_SECURITY_YAMA=y CONFIG_SECURITY_SAFESETID=y # CONFIG_SECURITY_LOCKDOWN_LSM is not set -# CONFIG_SECURITY_LANDLOCK is not set +CONFIG_SECURITY_LANDLOCK=y # CONFIG_INTEGRITY is not set # CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT is not set +# CONFIG_DEFAULT_SECURITY_SELINUX is not set # CONFIG_DEFAULT_SECURITY_SMACK is not set +# CONFIG_DEFAULT_SECURITY_TOMOYO is not set # CONFIG_DEFAULT_SECURITY_APPARMOR is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_LSM="yama,loadpin,safesetid,integrity" @@ -9465,7 +9864,7 @@ CONFIG_ZERO_CALL_USED_REGS=y # Hardening of kernel data structures # CONFIG_LIST_HARDENED=y -CONFIG_BUG_ON_DATA_CORRUPTION=y +# CONFIG_BUG_ON_DATA_CORRUPTION is not set # end of Hardening of kernel data structures CONFIG_RANDSTRUCT_NONE=y @@ -9525,8 +9924,8 @@ CONFIG_CRYPTO_ENGINE=y CONFIG_CRYPTO_RSA=y CONFIG_CRYPTO_DH=y CONFIG_CRYPTO_DH_RFC7919_GROUPS=y -CONFIG_CRYPTO_ECC=m -CONFIG_CRYPTO_ECDH=m +CONFIG_CRYPTO_ECC=y +CONFIG_CRYPTO_ECDH=y CONFIG_CRYPTO_ECDSA=m CONFIG_CRYPTO_ECRDSA=m # CONFIG_CRYPTO_SM2 is not set @@ -9563,7 +9962,7 @@ CONFIG_CRYPTO_TWOFISH_COMMON=m # # CONFIG_CRYPTO_ADIANTUM is not set CONFIG_CRYPTO_ARC4=y -CONFIG_CRYPTO_CHACHA20=y +CONFIG_CRYPTO_CHACHA20=m CONFIG_CRYPTO_CBC=y CONFIG_CRYPTO_CTR=y CONFIG_CRYPTO_CTS=y @@ -9599,7 +9998,7 @@ CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_POLYVAL=m -CONFIG_CRYPTO_POLY1305=y +CONFIG_CRYPTO_POLY1305=m # CONFIG_CRYPTO_RMD160 is not set CONFIG_CRYPTO_SHA1=y CONFIG_CRYPTO_SHA256=y @@ -9660,7 +10059,6 @@ CONFIG_CRYPTO_USER_API_RNG=m # CONFIG_CRYPTO_USER_API_RNG_CAVP is not set CONFIG_CRYPTO_USER_API_AEAD=m CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y -# CONFIG_CRYPTO_STATS is not set # end of Userspace interface CONFIG_CRYPTO_HASH_INFO=y @@ -9729,7 +10127,7 @@ CONFIG_CRYPTO_DEV_QAT_420XX=m CONFIG_CRYPTO_DEV_QAT_DH895xCCVF=m CONFIG_CRYPTO_DEV_QAT_C3XXXVF=m CONFIG_CRYPTO_DEV_QAT_C62XVF=m -# CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION is not set +CONFIG_CRYPTO_DEV_QAT_ERROR_INJECTION=y CONFIG_CRYPTO_DEV_IAA_CRYPTO=m # CONFIG_CRYPTO_DEV_IAA_CRYPTO_STATS is not set CONFIG_CRYPTO_DEV_CHELSIO=m @@ -9785,12 +10183,13 @@ CONFIG_ARCH_USE_SYM_ANNOTATIONS=y # CONFIG_CRYPTO_LIB_UTILS=y CONFIG_CRYPTO_LIB_AES=y +CONFIG_CRYPTO_LIB_AESCFB=y CONFIG_CRYPTO_LIB_ARC4=y CONFIG_CRYPTO_LIB_GF128MUL=y CONFIG_CRYPTO_ARCH_HAVE_LIB_BLAKE2S=y CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=m -CONFIG_CRYPTO_LIB_CHACHA_GENERIC=y +CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m CONFIG_CRYPTO_LIB_CHACHA=m CONFIG_CRYPTO_ARCH_HAVE_LIB_CURVE25519=m CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=m @@ -9798,7 +10197,7 @@ CONFIG_CRYPTO_LIB_CURVE25519=m CONFIG_CRYPTO_LIB_DES=m CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11 CONFIG_CRYPTO_ARCH_HAVE_LIB_POLY1305=m -CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y +CONFIG_CRYPTO_LIB_POLY1305_GENERIC=m CONFIG_CRYPTO_LIB_POLY1305=m CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m CONFIG_CRYPTO_LIB_SHA1=y @@ -9828,22 +10227,23 @@ CONFIG_ZLIB_DEFLATE=y CONFIG_LZO_COMPRESS=y CONFIG_LZO_DECOMPRESS=y CONFIG_LZ4_COMPRESS=y -CONFIG_LZ4HC_COMPRESS=y +CONFIG_LZ4HC_COMPRESS=m CONFIG_LZ4_DECOMPRESS=y CONFIG_ZSTD_COMMON=y CONFIG_ZSTD_COMPRESS=y CONFIG_ZSTD_DECOMPRESS=y CONFIG_XZ_DEC=y -CONFIG_XZ_DEC_X86=y +# CONFIG_XZ_DEC_X86 is not set # CONFIG_XZ_DEC_POWERPC is not set # CONFIG_XZ_DEC_ARM is not set # CONFIG_XZ_DEC_ARMTHUMB is not set # CONFIG_XZ_DEC_SPARC is not set -CONFIG_XZ_DEC_MICROLZMA=y -CONFIG_XZ_DEC_BCJ=y +# CONFIG_XZ_DEC_MICROLZMA is not set # CONFIG_XZ_DEC_TEST is not set CONFIG_DECOMPRESS_GZIP=y CONFIG_DECOMPRESS_XZ=y +CONFIG_DECOMPRESS_LZO=y +CONFIG_DECOMPRESS_LZ4=y CONFIG_DECOMPRESS_ZSTD=y CONFIG_GENERIC_ALLOCATOR=y CONFIG_TEXTSEARCH=y @@ -9868,12 +10268,12 @@ CONFIG_ARCH_DMA_ADDR_T_64BIT=y CONFIG_ARCH_HAS_FORCE_DMA_UNENCRYPTED=y CONFIG_SWIOTLB=y # CONFIG_SWIOTLB_DYNAMIC is not set +CONFIG_DMA_NEED_SYNC=y CONFIG_DMA_COHERENT_POOL=y # CONFIG_DMA_API_DEBUG is not set # CONFIG_DMA_MAP_BENCHMARK is not set CONFIG_SGL_ALLOC=y CONFIG_CHECK_SIGNATURE=y -# CONFIG_FORCE_NR_CPUS is not set CONFIG_CPU_RMAP=y CONFIG_DQL=y CONFIG_GLOB=y @@ -9883,12 +10283,13 @@ CONFIG_LRU_CACHE=m CONFIG_CLZ_TAB=y CONFIG_IRQ_POLL=y CONFIG_MPILIB=y -CONFIG_DIMLIB=y +CONFIG_DIMLIB=m CONFIG_OID_REGISTRY=y CONFIG_UCS2_STRING=y CONFIG_HAVE_GENERIC_VDSO=y CONFIG_GENERIC_GETTIMEOFDAY=y CONFIG_GENERIC_VDSO_TIME_NS=y +CONFIG_GENERIC_VDSO_OVERFLOW_PROTECT=y CONFIG_FONT_SUPPORT=y CONFIG_FONTS=y CONFIG_FONT_8x8=y @@ -9902,7 +10303,7 @@ CONFIG_FONT_7x14=y CONFIG_FONT_10x18=y # CONFIG_FONT_SUN8x16 is not set # CONFIG_FONT_SUN12x22 is not set -# CONFIG_FONT_TER16x32 is not set +CONFIG_FONT_TER16x32=y # CONFIG_FONT_6x8 is not set CONFIG_SG_POOL=y CONFIG_ARCH_HAS_PMEM_API=y @@ -9942,7 +10343,7 @@ CONFIG_BOOT_PRINTK_DELAY=y CONFIG_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG_CORE=y CONFIG_SYMBOLIC_ERRNAME=y -# CONFIG_DEBUG_BUGVERBOSE is not set +CONFIG_DEBUG_BUGVERBOSE=y # end of printk and dmesg options CONFIG_DEBUG_KERNEL=y @@ -9951,11 +10352,21 @@ CONFIG_DEBUG_MISC=y # # Compile-time checks and compiler options # +CONFIG_DEBUG_INFO=y CONFIG_AS_HAS_NON_CONST_ULEB128=y -CONFIG_DEBUG_INFO_NONE=y +# CONFIG_DEBUG_INFO_NONE is not set # CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set # CONFIG_DEBUG_INFO_DWARF4 is not set -# CONFIG_DEBUG_INFO_DWARF5 is not set +CONFIG_DEBUG_INFO_DWARF5=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_INFO_COMPRESSED_NONE is not set +# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set +CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=y +# CONFIG_DEBUG_INFO_SPLIT is not set +# CONFIG_DEBUG_INFO_BTF is not set +CONFIG_PAHOLE_HAS_SPLIT_BTF=y +CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y +# CONFIG_GDB_SCRIPTS is not set CONFIG_FRAME_WARN=1024 # CONFIG_STRIP_ASM_SYMS is not set # CONFIG_READABLE_ASM is not set @@ -9963,6 +10374,7 @@ CONFIG_FRAME_WARN=1024 CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B=y +CONFIG_ARCH_WANT_FRAME_POINTERS=y CONFIG_FRAME_POINTER=y CONFIG_OBJTOOL=y CONFIG_STACK_VALIDATION=y @@ -10028,6 +10440,7 @@ CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y # CONFIG_DEBUG_PER_CPU_MAPS is not set CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y # CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is not set +# CONFIG_MEM_ALLOC_PROFILING is not set CONFIG_HAVE_ARCH_KASAN=y CONFIG_HAVE_ARCH_KASAN_VMALLOC=y CONFIG_CC_HAS_KASAN_GENERIC=y @@ -10044,12 +10457,13 @@ CONFIG_DEBUG_SHIRQ=y # # Debug Oops, Lockups and Hangs # -CONFIG_PANIC_ON_OOPS=y -CONFIG_PANIC_ON_OOPS_VALUE=1 -CONFIG_PANIC_TIMEOUT=30 +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 +CONFIG_PANIC_TIMEOUT=0 CONFIG_LOCKUP_DETECTOR=y CONFIG_SOFTLOCKUP_DETECTOR=y -CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y +# CONFIG_SOFTLOCKUP_DETECTOR_INTR_STORM is not set +# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y CONFIG_HARDLOCKUP_DETECTOR=y # CONFIG_HARDLOCKUP_DETECTOR_PREFER_BUDDY is not set @@ -10203,9 +10617,7 @@ CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y # x86 Debugging # CONFIG_X86_VERBOSE_BOOTUP=y -CONFIG_EARLY_PRINTK=y -# CONFIG_EARLY_PRINTK_DBGP is not set -# CONFIG_EARLY_PRINTK_USB_XDBC is not set +# CONFIG_EARLY_PRINTK is not set # CONFIG_EFI_PGT_DUMP is not set # CONFIG_DEBUG_TLBFLUSH is not set CONFIG_HAVE_MMIOTRACE_SUPPORT=y diff --git a/kernel b/kernel new file mode 160000 index 0000000..e6ad9bb --- /dev/null +++ b/kernel @@ -0,0 +1 @@ +Subproject commit e6ad9bba1bf1114dc40e0cae217fe0af1abb513d diff --git a/linux.install b/linux.install deleted file mode 100644 index 883040c..0000000 --- a/linux.install +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -_5_2_2_2_changes() { - echo ':: Kernel command line update: add page_alloc.shuffle=1' -} - -_5_2_9_6_changes() { - echo ':: Microcode is no longer builtin. https://wiki.archlinux.org/index.php/Microcode' -} - -post_install() { - echo ":: If you want you can adjust your kernel cmdline to Clear Linux's defaults (optional):" - echo " quiet console=tty0 console=ttyS0,115200n8 rootfstype=ext4,btrfs,xfs,f2fs rw" - echo "" - echo " Note: Some options previously listed here are now included in the kernel." -} - -post_upgrade() { - local v upgrades=( - 5.2.2-2 - 5.2.9-6 - ) - - for v in "${upgrades[@]}"; do - if [[ $(vercmp "$v" "$2") -eq 1 ]]; then - "_${v//[.-]/_}_changes" - fi - done -}