Package Details: rr-zen-workaround-dkms-git 0.20200921_235022.r6.g2f430f0-1

Git Clone URL: https://aur.archlinux.org/rr-zen-workaround-dkms-git.git (read-only, click to copy)
Package Base: rr-zen-workaround-dkms-git
Description: Kernel module for disabling hw SpecLockMap optimization on AMD Zen CPUs (for rr)
Upstream URL: https://gist.github.com/glandium/01d54cefdb70561b5f6675e08f2990f2
Licenses: GPL2
Conflicts: rr-zen-workaround-dkms
Provides: rr-zen-workaround-dkms
Submitter: SwooshyCueb
Maintainer: SwooshyCueb
Last Packager: SwooshyCueb
Votes: 0
Popularity: 0.000000
First Submitted: 2021-07-15 02:37 (UTC)
Last Updated: 2021-07-15 02:37 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

zwastik commented on 2026-01-28 21:15 (UTC)

DKMS (dkms-3.3.0) make.log for rr-zen-workaround/0.20231106_200341.r7.gf9d2070 for kernel 6.18.7-arch1-1 (x86_64)
mié 28 ene 2026 18:08:33 -03

Building module(s)
# command: make -j12 KERNELRELEASE=6.18.7-arch1-1 -C /usr/lib/modules/6.18.7-arch1-1/build M=/var/lib/dkms/rr-zen-workaround/0.20231106_200341.r7.gf9d2070/build
make: Entering directory '/usr/lib/modules/6.18.7-arch1-1/build'
make[1]: Entering directory '/var/lib/dkms/rr-zen-workaround/0.20231106_200341.r7.gf9d2070/build'
  CC [M]  zen_workaround.o
zen_workaround.c:9:5: warning: no previous prototype for ‘set_speclockmap_disable’ [-Wmissing-prototypes]
    9 | u64 set_speclockmap_disable(u64 msr) {
      |     ^~~~~~~~~~~~~~~~~~~~~~~
zen_workaround.c:13:5: warning: no previous prototype for ‘unset_speclockmap_disable’ [-Wmissing-prototypes]
   13 | u64 unset_speclockmap_disable(u64 msr) {
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
zen_workaround.c: In function ‘edit_ls_cfg_on_cpu’:
zen_workaround.c:24:14: error: implicit declaration of function ‘rdmsrl_safe’; did you mean ‘rdmsrq_safe’? [-Wimplicit-function-declaration]
   24 |         if (!rdmsrl_safe(MSR_AMD64_LS_CFG, &value)) {
      |              ^~~~~~~~~~~
      |              rdmsrq_safe
zen_workaround.c:27:22: error: implicit declaration of function ‘wrmsrl_safe’; did you mean ‘wrmsr_safe’? [-Wimplicit-function-declaration]
   27 |                 if (!wrmsrl_safe(MSR_AMD64_LS_CFG, new_value)) {
      |                      ^~~~~~~~~~~
      |                      wrmsr_safe
zen_workaround.c: At top level:
zen_workaround.c:45:6: warning: no previous prototype for ‘on_write_msr’ [-Wmissing-prototypes]
   45 | void on_write_msr(void *data, unsigned int msr, u64 val, int failed)
      |      ^~~~~~~~~~~~
zen_workaround.c: In function ‘on_write_msr’:
zen_workaround.c:48:17: error: implicit declaration of function ‘native_wrmsrl’; did you mean ‘native_wrmsr’? [-Wimplicit-function-declaration]
   48 |                 native_wrmsrl(MSR_AMD64_LS_CFG, set_speclockmap_disable(val));
      |                 ^~~~~~~~~~~~~
      |                 native_wrmsr
make[3]: *** [/usr/lib/modules/6.18.7-arch1-1/build/scripts/Makefile.build:287: zen_workaround.o] Error 1
make[2]: *** [/usr/lib/modules/6.18.7-arch1-1/build/Makefile:2010: .] Error 2
make[1]: *** [/usr/lib/modules/6.18.7-arch1-1/build/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/rr-zen-workaround/0.20231106_200341.r7.gf9d2070/build'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/lib/modules/6.18.7-arch1-1/build'

# exit code: 2
# elapsed time: 00:00:00
----------------------------------------------------------------