Commit Graph

420 Commits

Author SHA1 Message Date
56817d85c5
pygoscelis: Bump to 5.19.1-T4s and gcc (12.1.1_p20220812) 2022-08-15 22:51:58 +02:00
3e4204c307
Revert "pygoscelis: Drop -Werror w/ gcc-12 for now"
This reverts commit 9adaea44dd.
2022-08-03 21:16:28 +02:00
4de4352bf9
pygoscelis: Disable CONFIG_X86_PMEM_LEGACY 2022-08-03 21:16:28 +02:00
665a57363e
pygoscelis: Disable CONFIG_PREEMPT_DYNAMIC
This is no distribution kernel, only for a single-machine
2022-08-03 21:16:28 +02:00
85e1befb5d
pygoscelis: Bump to 5.19.0-T4s 2022-08-03 21:16:28 +02:00
8194664d5d
pygoscelis: Bump to 5.18.15-T4s 2022-07-30 19:48:49 +02:00
4dbfac2953
pygoscelis: Bump to 5.18.14-T4s 2022-07-23 21:24:23 +02:00
0f8e76346e
pygoscelis: Bump to 5.18.13-T4s 2022-07-23 11:54:06 +02:00
3633061bfe
pygoscelis: Bump to 5.18.11-T4s 2022-07-12 20:08:11 +02:00
27cd5f9a26
pygoscelis: Bump to 5.18.10-T14s 2022-07-07 20:38:49 +02:00
44f36cc93c
pygoscelis: Bump to 5.18.9 2022-07-02 22:34:11 +02:00
c99c5d7b34
pygoscelis: Bump to 5.18.8 (and newer gcc) 2022-06-29 23:35:14 +02:00
fa892530db
pygoscelis: Enable CONFIG_DEVTMPFS_SAFE 2022-06-22 21:49:21 +02:00
a42416b53e
pygoscelis: Bump to 5.18.6-T14s 2022-06-22 21:49:16 +02:00
f26ccb339f
pygoscelis: Bump to 5.18.5-T14s 2022-06-16 19:13:38 +02:00
9adaea44dd
pygoscelis: Drop -Werror w/ gcc-12 for now 2022-06-15 23:06:39 +02:00
85bbbd72f4
pygoscelis: Bump to 5.18.4 2022-06-15 23:06:39 +02:00
19a919c1ce
pygoscelis: Be curious, bump to gcc 12 2022-06-15 23:06:39 +02:00
a47373183b
pygoscelis: Bump to 5.18.3-T14s 2022-06-09 19:44:43 +02:00
cdcaa31e66
pygoscelis: Bump to 5.18.2-T14s 2022-06-06 12:45:13 +02:00
209cdd9eef
pygoscelis: Bump to 5.18.1-T14s 2022-05-31 22:19:16 +02:00
085d142ea1
pygoscelis: Disable CONFIG_X86_AMD_PSTATE
Looks as the T14s hardware is not supported.

% sudo modprobe amd_pstate
modprobe: ERROR: could not insert 'amd_pstate': No such device
2022-05-25 23:33:27 +02:00
d50c76cba8
pygoscelis: Enable CONFIG_SLS
SLS is a fix, hardening or workaround for CVE-2021-26341 which might
effect the CPU of my T14s. Information are not really clear on this one.

Some online ressources on SLS and the CVE:

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26341
- https://grsecurity.net/amd_branch_mispredictor_part_2_where_no_cpu_has_gone_before#final-remarks
- https://lwn.net/Articles/878241/
2022-05-25 23:33:27 +02:00
18735339d2
pygoscelis: Bump to 5.18.0-T14s 2022-05-25 23:33:26 +02:00
43421f6e32
pygoscelis: Bump to 5.17.9-T14s 2022-05-19 20:51:52 +02:00
fb129a89cf
pygoscelis: Bump to 5.17.8-T14s 2022-05-16 19:00:50 +02:00
85874bae47
pygoscelis: Enable more CPU frequency governors for testing 2022-05-16 18:59:50 +02:00
9fa7751d47
pygoscelis: Bump to 5.17.7-T14s 2022-05-13 22:46:00 +02:00
2911e2c9cf
pygoscelis: Bump to 5.17.6-T14s 2022-05-09 18:40:47 +02:00
b95777c3a1
pygoscelis: Enable some USB<->serial adapter modues 2022-05-09 18:40:47 +02:00
ff4da86f32
pygoscelis: Bump to 5.17.5-T14s 2022-04-29 17:22:10 +02:00
5ef0855a10
pygoscelis: Bump the compiler to gcc-11.3.0 2022-04-22 22:15:07 +02:00
b3edad0ec8
pygoscelis: Bump to 5.17.4-T14s 2022-04-22 20:23:48 +02:00
7177fc51a5
Revert "pygoscelis: Disable CONFIG_X86_MSR" as it's needed for cpupower
This reverts commit 8c16c564a1 from
september last year. I expected that only powertop used it but cpupower
needs it aswell for frequency setting.
2022-04-18 20:05:03 +02:00
024dd6cfff
pygoscelis: Bump to 5.17.13-T14s 2022-04-18 20:05:03 +02:00
dcd2119a06
pygoscelis: Enable CONFIG_USB_ACM as module 2022-04-09 17:13:04 +02:00
68ba2d8503
pygoscelis: Bump to 5.17.2-T14s 2022-04-09 17:13:04 +02:00
a7d8843cd3
pygoscelis: Enable CONFIG_X86_AMD_PSTATE=m for verification 2022-03-23 13:33:47 +01:00
58670941a0
pygoscelis: Disable CONFIG_GCC_PLUGIN_LATENT_ENTROPY 2022-03-23 13:14:43 +01:00
048bf8e12e
pygoscelis: Enable CONFIG_STRICT_SIGALTSTACK_SIZE 2022-03-23 13:14:43 +01:00
9792d91797
pygoscelis: Disable CONFIG_NET_VENDOR_ASIX 2022-03-23 13:14:43 +01:00
e5c4b89273
pygoscelis: Bump to 5.17.0-T14s 2022-03-23 13:14:42 +01:00
a1c71547fb
pygoscelis: Bump to 5.15.31-T14s 2022-03-23 11:32:06 +01:00
8927f433ef
pygoscelis: Switch to NO_HZ_FULL 2022-03-20 20:34:36 +01:00
e791b26b23
pygoscelis: Bump to 5.15.30-T14s 2022-03-20 20:34:36 +01:00
0bfe9a5e23
pygoscelis: Bump to 5.15.28-T14s 2022-03-11 15:31:08 +01:00
44101c18e1
pygoscelis: Bump to 5.15.27-T14s 2022-03-10 12:07:00 +01:00
37e0b646f1
pygoscelis: Bump to 5.15.26-T14s 2022-03-02 17:57:24 +01:00
751946a5f7
pygoscelis: Bump to 5.15.25-T14s 2022-02-23 23:07:00 +01:00
691d6c2a0b
pygoscelis: Bump to 5.15.24-T14s 2022-02-16 23:10:23 +01:00
5462df3b75
pygoscelis: Bump to 5.15.23-T14s (would fix CVE-2022-0435)
The CVE is about a bug inside tipc which is disabled in this
configuration. For more details take a look at:
https://bugs.gentoo.org/833112
2022-02-12 00:15:36 +01:00
e543f770f0
pygoscelis: Bump to 5.15.22-T14s 2022-02-11 09:10:38 +01:00
3d50144019
pygoscelis: switch to ECDSA type module signatures 2022-02-05 16:06:18 +01:00
030bf7721c
pygoscelis: Bump to 5.15.20-T14s 2022-02-05 16:06:18 +01:00
5d65445a8a
pygoscelis: Bump to 5.15.19 and fix a use-after-free
gentoo bug:   https://bugs.gentoo.org/832717
openwall:     https://www.openwall.com/lists/oss-security/2022/01/29/1
upstream fix: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f9d87929d451d3e649699d0f1d74f71f77ad38f5
2022-02-05 09:07:00 +01:00
a4c5c70787
Bump to 5.15.18-T14s 2022-01-30 12:29:14 +01:00
88071ae334
pygoscelis: Bump to 5.15.17-T14s 2022-01-28 00:13:47 +01:00
d1fbf778f9
Revert to 5.15.y as 5.16.0-3 have a wifi bug on the T14s
[  699.856946] ------------[ cut here ]------------
[  699.856948] WARNING: CPU: 11 PID: 69 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:2496 0xffffffffc0afb2b1
[  699.856953] Modules linked in: nfnetlink_acct rfcomm tun bridge stp llc nft_masq nft_chain_nat nft_counter nft_ct nf_tables bnep binfmt_misc ax88179_178a usbnet mii snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core think_lmi firmware_attributes_class kvm_amd uvcvideo kvm snd_hda_codec_generic iwlmvm videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_codec_hdmi btusb videobuf2_common btrtl irqbypass btintel videodev bluetooth input_leds psmouse snd_hda_intel mc snd_intel_dspcfg snd_hda_codec r8169 snd_hwdep ecdh_generic ecc snd_hda_core crc16 snd_rn_pci_acp3x snd_pcm iwlwifi realtek mdio_devres libphy thinkpad_acpi platform_profile wmi efivarfs mmc_block amdgpu drm_ttm_helper ttm gpu_sched drm_kms_helper rtsx_pci_sdmmc mmc_core syscopyarea rtsx_pci sysfillrect sysimgblt fb_sys_fops mfd_core
[  699.857050] CPU: 11 PID: 69 Comm: kworker/11:0 Tainted: G        W       T 5.16.3-T14s #2
[  699.857054] Hardware name: LENOVO 20UJS00K00/20UJS00K00, BIOS R1CET67W(1.36 ) 10/20/2021
[  699.857055] Workqueue: events_freezable 0xffffffff83a86bf0
[  699.857059] RIP: 0010:0xffffffffc0afb2b1
[  699.857061] Code: e0 36 0f 83 2d 02 00 00 31 d2 48 89 ee 4c 89 f7 e8 a4 67 01 00 31 d2 48 89 ee 4c 89 f7 e8 87 17 02 00 85 c0 0f 84 1a fe ff ff <0f> 0b e9 13 fe ff ff 4c 89 f7 e8 d0 fb ff ff e9 37 fe ff ff 85 c0
[  699.857065] RSP: 0018:ffff9ad6003bfda0 EFLAGS: 00010282
[  699.857069] RAX: 00000000fffffffb RBX: 00000000039674ff RCX: 0000000000000000
[  699.857072] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[  699.857074] RBP: ffff935731ad34c0 R08: 0000000000000000 R09: 0000000000000000
[  699.857076] R10: 0000000000000000 R11: 0000000000000000 R12: ffff935731ad34c8
[  699.857078] R13: ffff9357cccb2000 R14: ffff9357cccb2008 R15: ffff9357cccb2038
[  699.857081] FS:  0000000000000000(0000) GS:ffff935d2fac0000(0000) knlGS:0000000000000000
[  699.857084] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  699.857087] CR2: 0000638fd0ad57f4 CR3: 000000010ac10000 CR4: 0000000000350ee0
[  699.857090] Call Trace:
[  699.857092]  <TASK>
[  699.857094]  ? 0xffffffff83ac3a96
[  699.857097]  ? 0xffffffff83a86ce7
[  699.857099]  ? 0xffffffff832649a0
[  699.857102]  ? 0xffffffff83264ece
[  699.857103]  ? 0xffffffff83264e80
[  699.857105]  ? 0xffffffff8326b3a9
[  699.857107]  ? 0xffffffff8326b240
[  699.857109]  ? 0xffffffff83201162
[  699.857113]  </TASK>
[  699.857114] ---[ end trace ecf0e5d8d4f4dc4b ]---
[  699.857120] iwlwifi 0000:03:00.0: failed to update power mode
[  699.857127] iwlwifi 0000:03:00.0: Failed to send MAC context (action:2): -5
[  699.857132] iwlwifi 0000:03:00.0: Failed to send MAC context (action:2): -5
[  699.857135] iwlwifi 0000:03:00.0: Failed to send MAC context (action:2): -5
[  699.857139] iwlwifi 0000:03:00.0: Failed to send MAC context (action:2): -5
[  699.857161] iwlwifi 0000:03:00.0: Failed to send recovery cmd -5
[  699.883125] iwlwifi 0000:03:00.0: LED command failed: -5
[  699.883219] iwlwifi 0000:03:00.0: LED command failed: -5
[  699.906473] iwlwifi 0000:03:00.0: Failed to send flush command (-5)
[  699.906515] iwlwifi 0000:03:00.0: Failed to remove station. Id=1
[  699.906520] iwlwifi 0000:03:00.0: Failed sending remove station
[  699.906525] iwlwifi 0000:03:00.0: Failed to send binding (action:3): -5
[  699.906533] iwlwifi 0000:03:00.0: PHY ctxt cmd error. ret=-5
[  699.906540] iwlwifi 0000:03:00.0: Failed to remove MAC context: -5
[  699.906549] iwlwifi 0000:03:00.0: mcast filter cmd error. ret=-5
[  699.906552] iwlwifi 0000:03:00.0: Failed to synchronize multicast groups update
[  699.906572] wlp3s0: deauthenticating from 1c:ed:6f:76:81:d4 by local choice (Reason: 3=DEAUTH_LEAVING)
[  699.906610] iwlwifi 0000:03:00.0: Failed to send flush command (-5)
[  699.906614] iwlwifi 0000:03:00.0: flush request fail
[  699.906700] iwlwifi 0000:03:00.0: iwl_trans_wait_txq_empty bad state = 0
[  699.906714] iwlwifi 0000:03:00.0: Failed to trigger RX queues sync (-5)
[  699.906831] iwlwifi 0000:03:00.0: Failed to send MAC context (action:2): -5
[  699.906834] iwlwifi 0000:03:00.0: failed to update MAC 4a:d9:8b:21:93:60
[  699.906839] iwlwifi 0000:03:00.0: Failed to remove station. Id=0
[  699.906841] iwlwifi 0000:03:00.0: failed to remove AP station
[  699.906844] iwlwifi 0000:03:00.0: Failed to send MAC context (action:2): -5
[  699.906847] iwlwifi 0000:03:00.0: failed to update MAC 4a:d9:8b:21:93:60 (clear after unassoc)
[  699.906850] iwlwifi 0000:03:00.0: Failed to synchronize multicast groups update
[  699.906857] iwlwifi 0000:03:00.0: failed to update power mode
[  699.906866] iwlwifi 0000:03:00.0: Failed to send binding (action:3): -5
[  699.906870] iwlwifi 0000:03:00.0: Failed to send MAC context (action:2): -5
[  699.906873] iwlwifi 0000:03:00.0: failed to update MAC 4a:d9:8b:21:93:60
[  699.906877] iwlwifi 0000:03:00.0: PHY ctxt cmd error. ret=-5
[  699.906973] iwlwifi 0000:03:00.0: Failed to remove MAC context: -5
[  700.497037] Loading firmware: iwlwifi-cc-a0-67.ucode
[  700.497800] iwlwifi 0000:03:00.0: api flags index 2 larger than supported by driver
[  700.497820] iwlwifi 0000:03:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[  700.498633] iwlwifi 0000:03:00.0: loaded firmware version 67.8f59b80b.0 cc-a0-67.ucode op_mode iwlmvm
[  700.498638] Loading firmware: iwl-debug-yoyo.bin
[  700.498688] iwlwifi 0000:03:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[  700.508160] thermal thermal_zone0: failed to read out thermal zone (-61)
[  700.665932] iwlwifi 0000:03:00.0: Detected RF HR B3, rfid=0x10a100
[  700.739100] iwlwifi 0000:03:00.0: base HW address: 18:26:49:f0:5a:0a
[  701.943919] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
2022-01-28 00:13:31 +01:00
2ec4f1535c
pygoscelis: Bump to 5.16.3-T14s 2022-01-27 23:51:17 +01:00
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