Commit Graph

449 Commits

Author SHA1 Message Date
662029089b
pygoscelis: Enable CONFIG_MODULE_UNLOAD_TAINT_TRACKING 2022-12-29 17:13:40 +01:00
aefc3e8c76
pygoscelis: Give -Werror another shot 2022-12-29 17:13:40 +01:00
6848d95b62
pygoscelis: Disable SEV again
I've already disabled this feature related to memory encryption of
virtual machines earlier in e673f57a2e
as it seems there is no support in hardware.

Looks as it was enabled again in 5addc9bbe5
(pygoscelis: Add support for TEE/AMD PSP) by accident.
2022-12-29 17:13:39 +01:00
1671086364
pygoscelis: Bump to 6.1.1-T14s and gcc 12.2.1_p20221224 p7 2022-12-29 17:13:39 +01:00
877fd8a885
pygoscelis: Bump to 6.0.13-T14s and gcc 12.2.1_p20221210 p4 2022-12-15 08:04:18 +01:00
28b10afbfb
pygoscelis: Bump gcc to 12.2.1_p20221203 p3 2022-12-07 08:16:24 +01:00
83e7555311
pygoscelis: Re-disable CONFIG_WERROR
This time the netfilter folks screwed up:
net/netfilter/nf_conntrack_netlink.c: In function 'ctnetlink_conntrack_event':
net/netfilter/nf_conntrack_netlink.c:725:13: error: unused variable 'mark' [-Werror=unused-variable]
  725 |         u32 mark;
      |             ^~~~
net/netfilter/nf_conntrack_netlink.c: In function '__ctnetlink_glue_build':
net/netfilter/nf_conntrack_netlink.c:2674:13: error: unused variable 'mark' [-Werror=unused-variable]
 2674 |         u32 mark;
      |             ^~~~
cc1: all warnings being treated as errors
2022-12-03 18:40:23 +01:00
1134521ccb
pygoscelis: Bump to 6.0.11-T14s 2022-12-03 18:40:23 +01:00
252a7d5727
pygoscelis: Bump to 6.0.10-T14s 2022-11-26 10:47:58 +01:00
c44bfe1e8b
pygoscelis: Bump to 6.0.9-T14s 2022-11-20 20:21:29 +01:00
455d0710bc
pygoscelis: Bump to 6.0.8-T14s 2022-11-11 20:10:32 +01:00
6d7cff366a
pygoscelis: Bump to 6.0.7-T14s 2022-11-03 18:09:51 +01:00
4a06e4671b
pygoscelis: Enable support for compressed firmware
On Gentoo this feature needs USE="compress" and
>=sys-kernel/linux-firmware-20221012-r1.
2022-10-31 20:43:54 +01:00
7c783f8680
pygoscelis: Bump to 6.0.6-T14s 2022-10-30 14:31:04 +01:00
d2f6a2af74
pygoscelis: Bump to 6.0.5-T14s 2022-10-26 20:06:06 +02:00
681aa2c574
pygoscelis: Bump to 6.0.3-T14s 2022-10-21 20:20:32 +02:00
52af724451
pygoscelis: Bump to 6.0.2-T14s and gcc-12.2.1 2022-10-15 09:23:08 +02:00
a7dc7bab15
pygoscelis: Enable CONFIG_NF_LOG_IPV6=m 2022-10-03 17:23:52 +02:00
52d30ed8db
pygoscelis: Bump to 6.0.0-T14s 2022-10-03 17:23:52 +02:00
f8bd2b6ace
pygoscelis: Bump to 5.19.9-T14s 2022-09-16 21:45:59 +02:00
ebc77a80d1
pygoscelis: Bump to 5.19.7-T14s 2022-09-07 23:51:17 +02:00
c4a45bace7
pygoscelis: Bump to 5.19.6-T4s 2022-09-03 16:56:51 +02:00
f751dbe06c
pygoscelis: Bump to 5.19.4-T4s 2022-08-26 10:42:24 +02:00
9bc65b0266
pygoscelis: Add support for TPM 2022-08-21 23:57:26 +02:00
5addc9bbe5
pygoscelis: Add support for TEE/AMD PSP 2022-08-21 23:57:26 +02:00
7b2b827d34
pygoscelis: Enable CONFIG_RANDSTRUCT_PERFORMANCE 2022-08-21 23:57:25 +02:00
08b21054cc
pygoscelis: Bump to 5.19.3-T4s and gcc-12.2.0 2022-08-21 20:59:29 +02:00
59e3b912f7
pygoscelis: Bump to 5.19.2-T4s 2022-08-18 22:17:05 +02:00
aa921d064d
pygoscelis: Enable some flags for iwd
For some details see https://bugs.gentoo.org/865017.
2022-08-15 22:51:58 +02:00
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