Commit Graph

411 Commits

Author SHA1 Message Date
4da410003a
pygoscelis: Enable CONFIG_STRICT_SIGALTSTACK_SIZE 2022-01-10 23:19:29 +01:00
679992cdd3
pygoscelis: Disable CONFIG_NET_VENDOR_ASIX 2022-01-10 23:19:29 +01:00
9148a2f557
pygoscelis: Bump to 5.16.0-T14s 2022-01-10 23:19:28 +01:00
3cc0d7f086
pygoscelis: Disable CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
It looks as the SoC on the T14s (AMD Ryzen 7 PRO 4750U) doesn’t support
this feature, while grep’ing through my distfiles (i.e. source code of
my programms) indicated some software actually makes use of it.

For more details see e.g.:
- man 7 pkeys
- Documentation/core-api/protection-keys.rst (in the kernel sources)
- https://lwn.net/Articles/643797
- https://www.phoronix.com/scan.php?page=news_item&px=AMD-PRM-PCID-PKEY
2022-01-09 13:44:07 +01:00
aebc3fdeab
pygoscelis: Disable CONFIG_USB_NET_RNDIS_WLAN 2022-01-08 12:06:21 +01:00
ae89d527a4
pygoscelis: Disable CONFIG_NVME_MULTIPATH 2022-01-08 12:06:21 +01:00
6cf3c6477c
pygoscelis: Degrade CONFIG_X86_PMEM_LEGACY to module
This module is most-probably not used nor necessary on my machine and
might be removed in the future. For details about the technique see e.g.
https://github.com/pmem/ndctl/issues/32
https://www.intel.com/content/www/us/en/developer/articles/training/how-to-emulate-persistent-memory-on-an-intel-architecture-server.html
2022-01-08 12:06:21 +01:00
df0e62b1b1
pygoscelis: Bump to 5.15.13-T14s 2022-01-08 12:06:20 +01:00
f4b17afad6
pygoscelis: Bump to 5.15.12-T14s 2021-12-29 13:06:20 +01:00
d905acd2c8
Reverting the systemd migration
This is even worse:
- pcscd keeps being restarted, even with explictly disabling it,
  blocking my GPG hw token
- bridge interface setup would require either full systemd networkd
  usage (yet I need NetworkManager for VPNs) or disabling most parts
  of systemd-networkd (hoping that would work better than with pcscd)

Revert "pygoscelis: Give up, migrate to systemd"

This reverts commit aab957d951.
2021-12-28 13:51:32 +01:00
aab957d951
pygoscelis: Give up, migrate to systemd
Desktops without systemd became a PTIA to use. Examples:
- KDE is fucked up w/o systemd: https://bugs.kde.org/show_bug.cgi?id=432975
- new project expect systemd everywhere and the cool elogind project
  isn't enough anymore:
  e.g. https://invent.kde.org/plasma/plasma-firewall
  or pipewire, which expects `systemctl --user restart ...` to restart properly
- https://wiki.gentoo.org/wiki/Hard_dependencies_on_systemd
2021-12-26 21:11:13 +01:00
86d770a9f6
pygoscelis: Bump to 5.15.11-T14s 2021-12-22 22:45:39 +01:00
0335173dec
pygoscelis: Bump to 5.15.10-T14s 2021-12-18 15:29:36 +01:00
1d6d1fcd18
pygoscelis: Switch (back) to a higher timer frequency
In commit 23eecad7b4 (2021-10-13) I
lowered the timer frequency from 1 000 Hz to 100 Hz, but while I wasn't
able to recognize a reproducible drop in energy consumption there were
some heavy-load situations when the system started to stutter.

Setting it to 300 Hz as some binary distributions do sounds therfor like
a sane decision.
2021-12-15 22:51:33 +01:00
6330bf7d68
pygoscelis: Bump to 5.15.8-T14s 2021-12-15 22:46:03 +01:00
09625a9717
pygoscelis: Bump to 5.15.7-T14s 2021-12-08 21:35:25 +01:00
bf5acb0514
pygoscelis: Bump to 5.15.5-T14s 2021-11-27 17:21:26 +01:00
dbc7e9e357
pygoscelis: Bump to 5.15.3-T14s 2021-11-19 09:44:39 +01:00
531a637741
pygoscelis: Disable CONFIG_CRYPTO_MD5 2021-11-04 21:46:53 +01:00
61cbddb4fa
pygoscelis: Enable CONFIG_ZERO_CALL_USED_REGS 2021-11-04 21:46:52 +01:00
2bff3ce69f
pygoscelis: Switch to CONFIG_IOMMU_DEFAULT_DMA_STRICT 2021-11-04 21:46:52 +01:00
a585380847
pygoscelis: Disable CONFIG_X86_PLATFORM_DRIVERS_INTEL 2021-11-04 21:46:52 +01:00
90e6b8c0c1
pygoscelis: Enable some nice sounding conntrack stuff. 2021-11-04 21:46:52 +01:00
8f078787b0
pygoscelis: Disable some netfilter assets I never used. 2021-11-04 21:46:51 +01:00
5b516ef701
pygoscelis: Enable CONFIG_TCP_MD5SIG
I don't need it as I don't do anything with BGP.
2021-11-04 21:46:51 +01:00
994ec4bcab
pygoscelis: Enable CONFIG_WERROR 2021-11-04 21:46:51 +01:00
704829168a
pygoscelis: Bump to 5.15.0-T14s 2021-11-04 21:46:51 +01:00
5cb9736ab1
pygoscelis: Bump to 5.14.16-T14s 2021-11-03 19:52:55 +01:00
3b2a1f38f5
pygoscelis: Bump to 5.14.15-T14s 2021-10-27 12:17:44 +02:00
23eecad7b4
pygoscelis: Set the timer frequency to 100 Hz
Trying out a lower time frequency and check if it has any influence at all
after a short discussion in IRC about it.
To me it looks as there is no real impact on my hardware with this
After a debate in IRC and some reading it looks to me as there is no general
rule but many people with opinions. Therefore I don’t expect a difference in
overall power consumption or responsiveness, but will just try it out.

I set up a quick and dirty battery test:
- display brightness at 35 %
- wifi on
- bluetooth off
- some default background deamons running (cron, chrony/NTP, syncthing)
- one termina (konsole) open
- that energy monitor from KDE open
- CPU boost disabled with 'echo 0 > /sys/devices/system/cpu/cpufreq/boost'
- verified that temperatures are low enough that the fan is off

Both setups (5.14.11-T14s with CONFIG_HZ_1000=y vs. 5.14.12-T14s
with CONFIG_HZ_100=y) showed values around 5.6 W, down to 5.2 W, up to > 30W
as I called emerge to check if it's not just a display glitch.

As this is a Notebook I don't have to care at all about some video cards and
TV frequencies that are mentioned in various threads.

To end this commit message I’d like to share a quote that amused me during my
mini-research:

„864Hz is indeed the win - I won't use a kernel wihout that option anymore.”
 - User “creidiki”, forums.gentoo.org
2021-10-13 16:45:08 +02:00
aeb29dd984
pygoscelis: Bump to 5.14.12-T14s 2021-10-13 16:45:08 +02:00
140a0f3d3f
pygoscelis: Bump to 5.14.11-T14s 2021-10-10 16:55:49 +02:00
860eb36800
pygoscelis: Bump to 5.14.10-T14s 2021-10-07 09:07:52 +02:00
2323fe4222
pygoscelis: Bump to 5.14.9-T14s 2021-09-30 14:35:30 +02:00
1f2087ac7b
pygoscelis: Bump to 5.14.8-T14s 2021-09-28 09:53:08 +02:00
6c17796453
pygoscelis: Enable support for my external USB NIC 2021-09-17 11:53:01 +02:00
469a7d5985
pygoscelis: Bump to 5.14.5-T14s 2021-09-17 11:45:30 +02:00
c81cc0c5d3
pygoscelis: Bump to 5.14.4-T14s 2021-09-15 11:01:03 +02:00
21a735a8da
pygoscelis: Bump to 5.14.3-T14s 2021-09-12 18:27:29 +02:00
18a94ce728
pygoscelis: Expose thermal information to userspace
Enable CONFIG_INT340X_THERMAL=m
2021-09-08 10:36:42 +02:00
8be72aa078
Revert "pygoscelis: Enable support for another sensor found on some AMD SoCs"
This reverts commit 4b4b778996 as I didn't
see any further sensors or sensor data.
2021-09-08 10:36:42 +02:00
bff4fd3cc3
pygoscelis: Enable ACPI NVDIMM Firmware Interface Table (NFIT) 2021-09-08 10:36:42 +02:00
8c16c564a1
pygoscelis: Disable CONFIG_X86_MSR
I _think_ it was only set for powertop on my legacy intel machine.
2021-09-08 10:36:42 +02:00
62587243e3
pygoscelis: Bump to 5.14.2-T14s 2021-09-08 10:36:41 +02:00
36a52721e8
pygoscelis: Bump to 5.14.1-T14s 2021-09-03 21:59:34 +02:00
3c2797ea2c
pygoscelis: Enable LMI (expose UEFI/BIOS in running system)
Knobs to read -- and write -- should be visible in
/sys/class/firmware-attributes/*

For more details see Documentation/ABI/testing/sysfs-class-firmware-attributes.
2021-09-02 19:13:28 +02:00
4b4b778996
pygoscelis: Enable support for another sensor found on some AMD SoCs 2021-09-02 19:13:28 +02:00
6c21f8de7e
pygoscelis: Enable the sysfs entry for GPIO 2021-09-02 19:13:28 +02:00
7661231c48
pygoscelis: Disable SLAB debugging
I don't use slab_debug=P anymore as it disables certain other functionalities.
2021-09-02 19:13:27 +02:00
028ddfbf77
pygoscelis: Disable CONFIG_CGROUP_PERF 2021-09-02 19:13:27 +02:00
894e771bb2
pygoscelis: Enable core scheduling 2021-09-02 19:13:27 +02:00
14ffb8edc0
pygoscelis: Default to CONFIG_BPF_UNPRIV_DEFAULT_OFF 2021-09-02 19:13:27 +02:00
5077c82174
pygoscelis: Bump to 5.14.0-T14s 2021-09-02 19:13:27 +02:00
f632d4bca5
pygoscelis: Bump to 5.13.13-T14s 2021-08-26 23:41:05 +02:00
4cb80899dc
pygoscelis: Enable CURVE25519 2021-08-18 09:50:30 +02:00
b7ea8c6cae
pygoscelis: Disable TPM, TEE and others (disable TPM support, again)
This reverts the remaining options from earlier commit
4a4699674f because actually I do not trust
the TPM for my personal thread model enough and it doesn't support the
GPG ciphers I want to use. (Instead I use an external USB token again.)
2021-08-18 09:50:30 +02:00
621dc029cd
pygoscelis: Bump to 5.13.12-T14s 2021-08-18 09:50:29 +02:00
32e135d70d
pygoscelis: Enable CONFIG_GENTOO_KERNEL_SELF_PROTECTION 2021-08-12 16:53:25 +02:00
d54c235e88
pygoscelis: Bump to 5.13.10-T14s 2021-08-12 16:53:25 +02:00
b9777de673
pygoscelis: Downgrade to 5.13.9-T14s
Back, and forth, and back, and..
2021-08-08 15:09:11 +02:00
df6b6848a5
pygoscelis: Enable THINKPAD_LMI
For details see e.g. phoronix:
https://www.phoronix.com/scan.php?page=news_item&px=Lenovo-Think-LMI-Driver
2021-08-02 08:38:42 +02:00
a4de168515
pygoscelis: Bump gcc-version 2021-08-02 08:38:42 +02:00
5835b898a6
pygoscelis: Enable transaction translators (unverified) 2021-07-26 20:14:56 +02:00
51828c2cf4
pygoscelis: Disable some vendor-specific meta menus 2021-07-26 20:14:56 +02:00
f75f6b6368
pygoscelis: Disable CONFIG_X86_PLATFORM_DRIVERS_INTEL 2021-07-26 20:14:56 +02:00
b45618599f
pygoscelis: Bump to 5.14.0-rc3 2021-07-26 20:14:56 +02:00
fdcf22cbbb
pygoscelis: Update GPU firmware order 2021-07-26 20:14:56 +02:00
bd6cf6c3e8
pygoscelis: Disable DRM_DP_CEC 2021-07-26 20:14:55 +02:00
102e903033
pygoscelis: Disable slub debugging 2021-07-26 20:14:55 +02:00
72acb5bc07
pygoscelis: Enable module compression (XZ) 2021-07-26 20:14:55 +02:00
e673f57a2e
pygoscelis: Disable AMD SEV
Looks as it is not (or not fully) supported on my Renoir CPU. Some docs:
https://libvirt.org/kbase/launch_security_sev.html
https://github.com/AMDESE/AMDSEV/issues/1
2021-07-26 20:14:55 +02:00
dede554774
pygoscelis: Switch to CONFIG_MNATIVE_AMD 2021-07-26 20:14:55 +02:00
62197b5759
pygoscelis: Bump to 5.13.4-T14s with updated genpatches 2021-07-26 20:14:55 +02:00
c5fb00ce3e
pygoscelis: Bump to 5.12.18-T14s 2021-07-20 22:26:30 +02:00
edf4528050
pygoscelis: Bump to 5.12.17-T14s 2021-07-15 08:12:14 +02:00
b66bd44349
pygoscelis: Downgrade to 5.12 - 5.13 is broken 2021-07-15 08:11:22 +02:00
19192e636b
pygoscelis: Bump to 5.13.2-T14s 2021-07-14 18:20:59 +02:00
4a4699674f
pygoscelis: Trust the TPM for my GPG keys :-O
For background information see the following blog entry:
https://gnupg.org/blog/20210315-using-tpm-with-gnupg-2.3.html

This needs >=app-crypt/gnupg-2.3.0::gentoo.
2021-06-29 15:28:09 +02:00
19f6c5e3a4
pygoscelis: Add some configs for 'ip rule' 2021-06-29 15:28:06 +02:00
4969453569
pygoscelis: Enable landlock support \o/ 2021-06-28 11:03:33 +02:00
6a316dd50c
pygoscelis: Enable x2apic 2021-06-28 11:03:30 +02:00
ee7258fa14
pygoscelis: Drop SATA support into modules 2021-06-28 11:03:27 +02:00
d5ffcbfc6b
pygoscelis: Enable network related cgroups 2021-06-28 11:03:24 +02:00
22372393d6
pygoscelis: Enable RANDOMIZE_KSTACK_OFFSET 2021-06-28 11:03:20 +02:00
6dc20b590f
pygoscelis: Disable Intel SOC support 2021-06-28 11:03:17 +02:00
a7fc92ec75
pygoscelis: Bump to 5.13.0-T14s 2021-06-28 11:03:14 +02:00
8f1a6b4015
pygoscelis: Enable the ACPI Platform Error Interface 2021-06-28 11:03:11 +02:00
84023b2543
pygoscelis: Enable ACPI_PCI_SLOT 2021-06-28 11:03:08 +02:00
0f31bcc84f
pygoscelis: Disable AMD_MEM_ENCRYPT as it wasn't really enabled
According to 'dmesg | grep -i sme' there SME was not enabled, so disable
it inside the configuration aswell.
2021-06-28 11:03:05 +02:00
1bdc2a3ad0
pygoscelis: Move from CPU_IDLE_GOV_TEO to MENU 2021-06-28 11:03:01 +02:00
d39e20e85a
pygoscelis: Disable some ACPI configs 2021-06-28 11:02:58 +02:00
7ec3cc03c1
pygoscelis: Disable ENERGY_MODEL 2021-06-28 11:02:55 +02:00
1f3cac8a99
pygoscelis: Switch back from AMD_FREQ_SENSITIVITY to SCHEDUTIL 2021-06-28 11:02:52 +02:00
42b983beb7
pygoscelis: Bump to 5.12.13-T14s 2021-06-23 15:52:41 +02:00
ccc39187bf
pygoscelis: Bump to 5.12.12-T14s 2021-06-18 10:55:33 +02:00
bfce7b7b6f
pygoscelis: Enable key change notifications 2021-06-17 12:27:25 +02:00
052d3b965b
pygoscelis: Use zstd for panic logs 2021-06-17 12:27:22 +02:00
67aa776df5
pygoscelis: Enable compression for f2fs 2021-06-17 12:27:19 +02:00
8830357f28
pygoscelis: Enable FS_SECURITY for f2fs 2021-06-17 12:27:15 +02:00
d0e31d035e
pygoscelis: Enable some network stuff 2021-06-17 12:27:12 +02:00
2f8fbe7545
pygoscelis: Enable the CONFIGs for the realtek micro SD reader 2021-06-17 12:27:09 +02:00
6734e2902c
pygoscelis: Enable BLK_DEV_NBD as a module for qemu 2021-06-17 12:27:06 +02:00
003bcc73c5
pygoscelis: Disable CONFIG_PM_TRACE_RTC 2021-06-17 12:27:02 +02:00
e87b7ee2f1
pygoscelis: Disable NFS server support 2021-06-17 12:26:59 +02:00
aad6afe4f2
pygoscelis: Enable UDF as a module 2021-06-17 12:26:56 +02:00
e78159d316
pygoscelis: Bump to 5.12.11-T14s 2021-06-17 12:26:53 +02:00
9b9fb1de31
pygoscelis: Bump to 5.12.10-T14s 2021-06-10 21:39:48 +02:00
9b10f9b87c
pygoscelis: Bump to 5.12.9-T14s and fix backlight control.
Most notable changes are:
-> disable CONFIG_RESET_ATTACK_MITIGATION
-> disable CONFIG_EFI_DISABLE_PCI_DMA
-> enable CONFIG_ACPI_VIDEO=m

This release also fixes (and/or mitigates) some recent wifi security
bugs (e.g. fix for CVE-2020-26141, CVE-2020-26145, CVE-2020-24586,
CVE-2020-24587 or mitigation for CVE-2020-24588).
2021-06-03 22:58:19 +02:00
96523f64cb
pygoscelis: Bump to 5.12.7-T14s 2021-05-26 23:06:59 +02:00
c8cd7fc266
pygoscelis: Bump to 5.12.5-T14s 2021-05-19 11:44:57 +02:00
bbb906c516
pygoscelis: Bump to 5.12.4-T14s 2021-05-14 15:06:46 +02:00
c68bf327b6
pygoscelis: Bump to 5.12.3-T14s 2021-05-13 18:21:13 +02:00
caa690e9ac
pygoscelis: Bump to 5.12.0-T14s 2021-04-26 18:12:46 +02:00
b426cc2692
pygoscelis: Bump to 5.11.16-T14s 2021-04-26 10:27:35 +02:00
f324282248
pygoscelis: Bump to 5.11.15-T14s 2021-04-16 21:18:36 +02:00
958c2836ec
pygoscelis: Bump to 5.11.14-T14s 2021-04-14 11:36:13 +02:00
ce3316e77e
pygoscelis: Bump to 5.11.13-T14s 2021-04-11 19:30:17 +02:00
d945598b17
pygoscelis: Bump to 5.11.11-T14s 2021-03-30 15:52:57 +02:00
cc2ff70a01
pygoscelis: Bump to 5.11.9-T14s (renaming from t14s) 2021-03-24 23:50:16 +01:00
9542706c3c
pygoscelis: Bump to 5.11.8-t14s 2021-03-21 17:37:45 +01:00
6beee8701f
pygoscelis: Bump to 5.11.7-t14s 2021-03-17 22:18:33 +01:00
5a749eb66a
pygoscelis: Bump to 5.11.6-t14s 2021-03-14 16:05:16 +01:00
c1780e5a8b
pygoscelis: Bump to 5.11.5-t14s and include AMD SFH properly 2021-03-09 14:40:57 +01:00
e1b7c7ab10
pygoscelis: Bump to 5.11.4-t14s 2021-03-07 13:34:29 +01:00
83a0b7e929
pygoscelis: Bump to 5.11.3-t14s and include some security suggestions 2021-03-04 15:16:21 +01:00
de8a4da71d
pygoscelis: Bump to 5.11.1-t14s and enable further security quirks
Implement some suggestions from
https://github.com/a13xp0p0v/kconfig-hardened-check
2021-02-23 19:27:37 +01:00
bee1798c4f
pygoscelis: Enable touchpad via SMBUS on t14s as suggested in dmesg 2021-02-16 21:32:30 +01:00
cca5eece3b
pygoscelis: Bump to 5.11.0-t14s, drop SHIFTFS
The patched kernel does currently not compile and I don't really need it
on my Thinkpad anyways.
2021-02-16 09:50:02 +01:00
abefe777b9
pygoscelis: Bump to 5.10.16-t14s 2021-02-13 15:00:37 +01:00
2f49fac6cd
pygoscelis: Bump to 5.10.14-t14s and drop CONFIG_X86_SYSFB
With CONFIG_X86_SYSFB=y screen keeps black when the genkernel initramfs
asks for LUKS password submission. This is bad.
2021-02-08 23:52:17 +01:00
8a819dd19d
pygoscelis: Disable CONFIG_DMA_FENCE_TRACE to prevent log pollution
For details see https://forums.gentoo.org/viewtopic-t-1028228-start-0.html
2021-02-04 17:05:04 +01:00
6e27e23365
pygoscelis: Bump to 5.10.13-t14s 2021-02-04 16:56:09 +01:00
0bd4d382a9
pygoscelis: Bump to 5.10.12-t14s 2021-01-31 16:33:03 +01:00
143c4dbed4
pygoscelis: Bump to 5.10.11-t14s and do further fine tuning 2021-01-28 17:44:42 +01:00
5c238353c9
pygoscelis: Bump to 5.10.10-t14s and fix stuff
The touchpad is now recognised ;-)
2021-01-25 09:43:07 +01:00
333c3ebec1
pygoscelis: Add patch for SHIFT_FS 2021-01-20 11:44:03 +01:00
0e5aa2573a
pygoscelis: New T14s \o/ 2021-01-20 11:44:00 +01:00
6afb2e1571
pygoscelis: Rename to pachyrhynchus 2021-01-20 11:43:57 +01:00
e88b98809e
pygoscelis: Bump to 5.10.0-x240 2020-12-14 19:21:36 +01:00
d198cdce2b
pygoscelis: Bump to 5.9.13-x240 2020-12-08 21:49:59 +01:00
373f8690ef
pygoscelis: Bump to 5.9.12-x240 2020-12-03 11:17:26 +01:00
96a1f2932a
pygoscelis: Bump to 5.9.9-x240 2020-12-03 11:17:23 +01:00
3188dc2425
pygoscelis: Bump to 5.9.8-x240 2020-12-03 11:17:20 +01:00
67b550ed8f
pygoscelis: Bump to 5.9.6-x240 2020-11-10 19:25:01 +01:00
cde9a778a4
pygoscelis: Bump to 5.9.3-x240 2020-11-01 14:29:52 +01:00
8619193221
pygoscelis: Bump to 5.9.0-x240 2020-10-15 17:31:41 +02:00
d450c4c080
pygoscelis: Bump to 5.8.13-x240 2020-10-04 17:06:23 +02:00
cefc0c9b42
pygoscelis: Bump to 5.8.11-x240 2020-09-23 16:04:27 +02:00
266a7a25c2
pygoscelis: Bump to 5.8.8-x240 and address CVE-2020-14386 2020-09-14 11:04:08 +02:00
3f315fb480
pygoscelis: Bump to 5.8.1-x240 2020-08-13 10:04:13 +02:00