#1129061 linux-image-loong64: loongson_edac driver is not included as a module in loong64 config

Package:
src:linux
Source:
src:linux
Submitter:
Alex Rønne Petersen
Date:
2026-03-03 16:49:02 UTC
Severity:
normal
Tags:
#1129061#5
Date:
2026-02-26 13:31:22 UTC
From:
To:
The loongson_edac driver is not included as a module in the loong64 config.

Note: I have not actually tested the attached patch, but it seems sensible-ish
based on prior commits enabling EDAC drivers for amd64/arm64.

#1129061#16
Date:
2026-03-03 07:37:42 UTC
From:
To:
Hi Alex,

While yes looks sensible, can I ask you to test that it works as
wexpected and report back?

Regards,
Salvatore

#1129061#23
Date:
2026-03-03 16:37:35 UTC
From:
To:
Sure - on a 3C6000/S machine:

    $ dpkg --contents linux-image-6.18.15+deb14-loong64_6.18.15-1_loong64.deb | grep edac
    drwxr-xr-x root/root         0 2026-02-27 22:53 ./usr/lib/modules/6.18.15+deb14-loong64/kernel/drivers/edac/
    -rw-r--r-- root/root      2756 2026-02-27 22:53 ./usr/lib/modules/6.18.15+deb14-loong64/kernel/drivers/edac/loongson_edac.ko.xz

I built it for 6.18.15, but my running kernel is 6.18.12, and I can't reboot until later today or tomorrow. So testing the actual module will have to wait. I can report back on that if you'd like, but the build seems fine at least.