Commit Graph

59 Commits

Author SHA1 Message Date
Zeckmathederg
afd51b53af Updated kernel config files with Linux-6.10.3. 2024-08-09 18:17:17 -06:00
Zeckmathederg
d0647b773b Add missing files from last commit. 2024-08-03 21:44:12 -06:00
Zeckmathederg
b351e85bf1 Fixed kernel config in Gamepad Support. 2024-07-04 03:52:36 -06:00
Zeckmathederg
0d52bcd91a Fixed a number of typos. 2024-07-04 01:40:11 -06:00
Zeckmathederg
5fff338ab3 Made a few edits for Mesa drivers.
Made changes to Nouveau and Zink.
2024-07-01 06:00:22 -06:00
Zeckmathederg
07397df97e Updated kernel-configs.
Used Linux-6.9.6.
2024-06-27 15:09:08 -06:00
Zeckmathederg
75bc12405a Added Quality of Life chapter, and more.
Also added more gamepad kernel options.
2024-06-10 01:53:40 -06:00
Zeckmathederg
b5598f98cd Added kernel-config, gamepad.xml, and qol. 2024-06-10 00:59:36 -06:00
Zeckmathederg
0c97bb3afb Stripped mostly everything, edited Introduction 2024-04-09 20:31:49 -06:00
Xi Ruoyao
5150d54da7
linux-pam: Mention kernel AUDIT configuration
pam_loginuid.so will do nothing if AUDIT not enabled.
2024-03-02 18:03:00 +08:00
Xi Ruoyao
41eefd36f1
kernel-config: power-profiles-daemon: Adjust
Remove "AMD P-State Self Test" as it's only for debugging.  Adjust some
forced settings as X86_INTEL_PSTATE may be unset if SCHED_MC unset.
Mention X86 Platform Specific Device Drivers may provide platform
profile support (actually more powerful than CPUFreq).

Also fix a glitch in kernel-config.py so it won't mark "'" as hotkey
anymore.
2024-02-28 04:06:52 +08:00
Rahul Chandra
7ec0be3542 Merge branch 'trunk' into rahul/power-profiles-daemon 2024-02-09 20:39:24 -05:00
Xi Ruoyao
b27871069a
keyutils: Add more kernel configuration needed by the test suite, ...
and document a known failure due to the removal of SHA1 with RSA
signed certificate from the kernel.
2024-02-07 04:48:56 +08:00
Xi Ruoyao
d3146ca393
kernel-config: Add USB_PCI to config for USB devices
It seems needed to use USB on *all* of my PC-like systems...
2024-02-03 22:10:31 +08:00
Xi Ruoyao
20aab88f91
kernel-config: Adjust config needed by keyutils test
CRYPTO_DH is automatically set if KEY_DH_OPERATIONS is set, so there is
no need to mention it.  CRYPTO_LIB_CHACHA20POLY1305 is needed to be y
or BIG_KEYS won't show up.
2024-02-03 19:23:10 +08:00
Rahul Chandra
16d42f6942 Add power-profiles-daemon 2024-01-27 20:34:54 -05:00
Xi Ruoyao
434e3e0c89
keyutils: Use generic kernel config rendering 2024-01-25 17:34:11 +08:00
Xi Ruoyao
34b284fffe
kernel-config: Regenerate with 6.7.1
No content change!
2024-01-22 14:42:40 +08:00
Pierre Labastie
865ea30e33 Change to UTF-8 in kernel opt files 2024-01-19 22:39:35 +01:00
Xi Ruoyao
58c5c91272
kernel-config: Add back EFI_STUB to GRUB UEFI kernel configuration
This is a preparation for GRUB 2.12.  With GRUB 2.12 EFI stub is the
recommended way to boot x86 (32-bit or 64-bit) kernels with UEFI, and
the old way is only kept as fallback.
2023-12-21 19:32:14 +08:00
Xi Ruoyao
333d2a8433
kernel-config: The hot key for choices is just the first character
Stupid inconsistency...
2023-12-06 17:26:14 +08:00
Xi Ruoyao
62684867f0
kernel-config: Fix wrong highlight with digits and punctuations 2023-12-06 01:22:37 +08:00
Xi Ruoyao
2dd6b6bc66
libnl: Add kernel configuration for test suite 2023-12-05 15:50:06 +08:00
Xi Ruoyao
5a809f3053
kernel-config: Fix "the last config entry in a Kconfig file thrown away"
Triggered when I'm trying to add libnl test suite kernel configuration
parsing net/l3mdev/Kconfig :(.
2023-12-05 15:08:14 +08:00
Xi Ruoyao
900bdf4ab1
kernel-config: Don't leave bad .xml files when the command fails 2023-12-05 15:01:36 +08:00
Xi Ruoyao
da09255a1c
kernel-config: Drop FB
In Linux 6.6, we can select DRM_FBDEV_EMULATION without FB, so FB is no
longer needed.  And now FRAMEBUFFER_CONSOLE is not enforced (even if FB
is selected), so we need to select it manually.
2023-12-05 14:47:55 +08:00
Xi Ruoyao
b870678442
kernel-config: Regenerate with Linux 6.6.3
Intel and AMD microcode support is now always enabled on x86[_64] and
CONFIG_MICROCODE is now hidden, thus remove amd-ucode and intel-ucode
kernel configuration info.

The other changes seem trivial.
2023-12-05 14:29:14 +08:00
Xi Ruoyao
e0b726d16d
kernel-config: Remove stale file 2023-10-12 00:21:46 +08:00
Xi Ruoyao
b6d544942b
building-notes: Note how to use cgroup for limiting resource usage
We were saying "-jN means using N cores (or N threads)".  This is
completely wrong. "-jN" only tells the building system to run N jobs
simultaneously, but each job can start their own subprocesses or threads
and there is no way for the building system to know how many
subprocesses or threads a job will start.

This caused a lot of misunderstandings and encouraged users to wrongly
blame building systems.

Fix the description of -jN, and add how to use cgroup to control the
usage of CPU cores and system RAM.

On a systemd-based system, systemd is the cgroup manager and manually
operating on cgroups may puzzle systemd.  So use systemd-run for
creating and setting up cgroup.  On a sysv-based system create and set
up the cgroup manually.
2023-09-19 02:59:45 +08:00
Xi Ruoyao
a20b7c9281
kernel-config: Remove stale reiser.toml 2023-09-06 04:14:40 +08:00
Xi Ruoyao
a82dedfe3c
kernel-config: Remove REISERFS_FS{,_*} from btrfs-progs-test 2023-09-06 01:35:48 +08:00
Xi Ruoyao
57d41d4ccb
kernel-config: Regenerate with Linux 6.5.1
For some reason the Reiserfs is moved before Btrfs in menuconfig.
2023-09-06 01:28:21 +08:00
Xi Ruoyao
2e397ac816
kernel-config: Fix the location of kea.toml 2023-08-21 10:08:04 +08:00
Xi Ruoyao
bc2c990bc1
kernel-config: Add toml file for bubblewrap kernel and fix a small issue
I guess Ken forgot a "git add" here :).

And the entry for NAMESPACES should be "-*-", not "[*]".  It's because
we assume everyone is not setting EXPERT.
2023-08-13 09:33:51 +08:00
Xi Ruoyao
d4f7a21b8a
kernel-config: Fix move-if-changed logic and regenerate with linux-6.4.8 2023-08-08 11:14:54 +08:00
Xi Ruoyao
ddf89fff24
kernel-config: Separate toplevel menus with empty lines 2023-08-01 09:22:41 +08:00
Xi Ruoyao
0d2ef60591
kernel-config: Reuse parse_config for parsing choice
The special parse_choice function is just duplicating code unnecessary
and it has some flaws.  Remove it and handle choice's with parse_config
too.

All kernel.xml files regenerated and there is no change.
2023-08-01 00:27:35 +08:00
Xi Ruoyao
b18a8f667e
libusb: Reword the kernel configuration 2023-07-31 21:44:38 +08:00
Xi Ruoyao
cddcdb1411
treewide: The remaining of kernel configuration rendering 2023-07-31 21:44:38 +08:00
Xi Ruoyao
1cf243636e
introduction: Use new kernel configuration rendering in conventions 2023-07-31 21:44:38 +08:00
Xi Ruoyao
0add36657c
networking: Use new kernel configuration rendering 2023-07-31 21:44:38 +08:00
Xi Ruoyao
c41cafb3bc
kernel-config: Add color for hotkey
Align with recent LFS change.  Regenerate all kernel.xml files.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
e7cd19a120
general: Use new rendering method for kernel configuration
It's almost a plain "conversion".  Exceptions:

- In elogind, [CGROUPS] is dropped because it's in LFS now.
- In libusb, move the kernel configuration to match the layout of other
  packages.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
2fbed8076c
kernel-config: Fix a bug causing some menu not rendered
For example:

    menu "Power management and ACPI options"

    config ARCH_SUPPORTS_ACPI
        bool

    config ACPI
        bool
        depends on ARCH_SUPPORTS_ACPI
	prompt "ACPI (Advanced Configuration and Power Interface) Support"

    endmenu

If ACPI=y, we need to "backward propagate" it to ARCH_SUPPORTS_ACPI, in
order to further mark the menu used.  Otherwise the ACPI menu won't show
up.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
14176436f0
kernel-config: Update the script
1. Don't throw unspecified entries too early.  Doing so caused various
   rendering glitches.  And we can now also check if an entry is
   selected but it's parent not.
2. "menu"s in Kconfig can also have dependencies...

Some pre-existing .toml data files are found problematic after the
change, fix them and regenerate all rendered -kernel.xml files.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
c1beec5499
lm_sensors: Modernize, and use new rendering for kernel configuration
I believe the book documented how to configure the sensors in 1990s.
Let's document some modern thing instead.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
9cc0aba5bb
postlfs: Convert the remaining kernel configuration to new rendering 2023-07-31 21:44:37 +08:00
Xi Ruoyao
7ebdf4e9f5
firmware: Use new kernel configuration rendering 2023-07-31 21:44:37 +08:00
Xi Ruoyao
4e37f01a45
kernel-config: Do not include kernel version in every generated file
This is stupid and it will cause meaningless diffs in version control
(like this commit does :( ).

Remove the kernel version from the generated XML files.  Add
kernel.version file into git to track the kernel version.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
d67d543479
filesystems: Convert the remaining kernel configurations to use new rendering
I don't know these FS very well so I did not change things, except:

- "SCSI_LOW_LEVEL" should be "SCSI_LOWLEVEL" (without the "_" between
  "LOW" and "LEVEL").
- RAID append mode is deprecated, so I removed it.

And I've fixed some issues in kernel-config.py as well.
2023-07-31 21:44:36 +08:00