Package: src:linux
Version: 6.12.29-1
Severity: important
Tags: patch

Linux kernel has included the display controller driver of Loongson 
ls7a1000/ls7a2000 since v6.6.
Now the kernel from debian doesn't enable it. When booting with monitor 
connected to the HDMI port
on motherboard with 7A2000 north bridge chip, there is no drm support, gnome 
can only run with X11
session. Output of ls -l /sys/class/drm/:
total 0
-r--r--r-- 1 root root 16384 May 20 14:47 version

After enabling CONFIG_DRM_LOONGSON, I can run gnome wayland session.

Here is the patch for debian:
diff --git a/debian/config/loong64/config b/debian/config/loong64/config
index 5dcde27..6c37250 100644
--- a/debian/config/loong64/config
+++ b/debian/config/loong64/config
@@ -70,6 +70,11 @@ CONFIG_DRM=m
 ##
 CONFIG_DRM_AST=m
 
+##
+## file: drivers/gpu/drm/loongson/Kconfig
+##
+CONFIG_DRM_LOONGSON=m
+
 ##
 ## file: drivers/gpu/drm/radeon/Kconfig
 ##


-- Package-specific info:
** Version:
Linux version 6.12.29-loong64 (debian-ker...@lists.debian.org) 
(loongarch64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils 
for Debian) 2.44) #1 SMP Debian 6.12.29-1 (2025-05-18)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-6.12.29-loong64 
root=UUID=4008c546-bdbc-44ac-ab5f-1231de049a3c ro radeon.si_support=0 
amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1 quiet

** Tainted: OE (12288)
 * externally-built ("out-of-tree") module was loaded
 * unsigned module was loaded

** Kernel log:
[    5.877079] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control 
File System.
[    5.877228] systemd[1]: Mounted sys-kernel-config.mount - Kernel 
Configuration File System.
[    5.878330] systemd-journald[378]: Collecting audit messages is disabled.
[    5.898330] EXT4-fs (nvme0n1p2): re-mounted 
4008c546-bdbc-44ac-ab5f-1231de049a3c r/w. Quota mode: none.
[    5.906342] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - 
Create Static Device Nodes in /dev gracefully.
[    5.906819] systemd[1]: Finished systemd-remount-fs.service - Remount Root 
and Kernel File Systems.
[    5.907169] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware 
Database was skipped because of an unmet condition check 
(ConditionNeedsUpdate=/etc).
[    5.907211] systemd[1]: systemd-pstore.service - Platform Persistent Storage 
Archival was skipped because of an unmet condition check 
(ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    5.908480] systemd[1]: Starting systemd-random-seed.service - Load/Save OS 
Random Seed...
[    5.908529] systemd[1]: systemd-sysusers.service - Create System Users was 
skipped because no trigger condition checks were met.
[    5.910157] systemd[1]: Starting systemd-timesyncd.service - Network Time 
Synchronization...
[    5.911089] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create 
Static Device Nodes in /dev...
[    5.911108] systemd[1]: systemd-tpm2-setup.service - TPM SRK Setup was 
skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    5.914265] ACPI: bus type drm_connector registered
[    5.914870] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    5.915748] failed to find sys_call_table using kallsyms_lookup_name()
[    5.915751] trying to find sys_call_table using memory scanning
[    5.915951] la_ow_syscall module successfully initialized
[    5.961922] systemd[1]: Finished modprobe@drm.service - Load Kernel Module 
drm.
[    5.962318] systemd[1]: Started systemd-journald.service - Journal Service.
[    5.983279] systemd-journald[378]: Received client request to flush runtime 
journal.
[    6.205487] Adding 12093424k swap on /dev/nvme0n1p3.  Priority:-2 extents:1 
across:12093424k SS
[    6.242803] snd_hda_intel 0000:00:06.2: Force to snoop mode by module option
[    6.242901] snd_hda_intel 0000:00:07.0: Force to snoop mode by module option
[    6.268913] snd_hda_codec_conexant hdaudioC1D0: CX20632: BIOS auto-probing.
[    6.269779] snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX20632: 
line_outs=1 (0x1c/0x0/0x0/0x0/0x0) type:line
[    6.269784] snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[    6.269786] snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 
(0x19/0x0/0x0/0x0/0x0)
[    6.269789] snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
[    6.269790] snd_hda_codec_conexant hdaudioC1D0:    inputs:
[    6.269793] snd_hda_codec_conexant hdaudioC1D0:      Front Mic=0x1a
[    6.269795] snd_hda_codec_conexant hdaudioC1D0:      Rear Mic=0x1b
[    6.269797] snd_hda_codec_conexant hdaudioC1D0:      Line=0x1d
[    6.270125] input: HDA Loongson HDMI/DP,pcm=3 as 
/devices/pci0000:00/0000:00:06.2/sound/card0/input3
[    6.270191] input: HDA Loongson HDMI/DP,pcm=7 as 
/devices/pci0000:00/0000:00:06.2/sound/card0/input4
[    6.282876] input: HDA Digital PCBeep as 
/devices/pci0000:00/0000:00:07.0/sound/card1/input5
[    6.282937] input: HDA Loongson Front Mic as 
/devices/pci0000:00/0000:00:07.0/sound/card1/input6
[    6.282988] input: HDA Loongson Rear Mic as 
/devices/pci0000:00/0000:00:07.0/sound/card1/input7
[    6.283041] input: HDA Loongson Line as 
/devices/pci0000:00/0000:00:07.0/sound/card1/input8
[    6.286151] input: HDA Loongson Line Out as 
/devices/pci0000:00/0000:00:07.0/sound/card1/input9
[    6.286208] input: HDA Loongson Front Headphone as 
/devices/pci0000:00/0000:00:07.0/sound/card1/input10
[    6.293630] random: crng init done
[    6.319765] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. 
Duplicate IMA measurements will not be recorded in the IMA log.
[    6.319809] device-mapper: uevent: version 1.0.3
[    6.319885] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: 
dm-de...@lists.linux.dev
[    7.396296] EXT4-fs (nvme1n1p1): mounted filesystem 
4c6602fa-e6e2-4bab-8a62-9974bb8b040a r/w with ordered data mode. Quota mode: 
none.
[    7.444124] audit: type=1400 audit(1747722804.624:2): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="balena-etcher" pid=612 
comm="apparmor_parser"
[    7.444154] audit: type=1400 audit(1747722804.624:3): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="brave" pid=613 
comm="apparmor_parser"
[    7.444190] audit: type=1400 audit(1747722804.624:4): apparmor="STATUS" 
operation="profile_load" profile="unconfined" 
name=4D6F6E676F444220436F6D70617373 pid=609 comm="apparmor_parser"
[    7.444407] audit: type=1400 audit(1747722804.624:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="QtWebEngineProcess" pid=610 
comm="apparmor_parser"
[    7.444830] audit: type=1400 audit(1747722804.624:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="1password" pid=607 
comm="apparmor_parser"
[    7.444893] audit: type=1400 audit(1747722804.624:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="Discord" pid=608 
comm="apparmor_parser"
[    7.445864] audit: type=1400 audit(1747722804.624:8): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="buildah" pid=614 
comm="apparmor_parser"
[    7.445869] audit: type=1400 audit(1747722804.624:9): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="busybox" pid=615 
comm="apparmor_parser"
[    7.445873] audit: type=1400 audit(1747722804.628:10): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="cam" pid=616 
comm="apparmor_parser"
[    7.445876] audit: type=1400 audit(1747722804.628:11): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="ch-run" pid=618 
comm="apparmor_parser"
[    8.369635] nvme nvme0: using unchecked data buffer
[    8.607967] NET: Registered PF_QIPCRTR protocol family
[    9.252663] r8169 0000:07:00.0: firmware: failed to load 
rtl_nic/rtl8168e-3.fw (-2)
[    9.252674] r8169 0000:07:00.0: firmware: failed to load 
rtl_nic/rtl8168e-3.fw (-2)
[    9.252682] r8169 0000:07:00.0: firmware: failed to load 
rtl_nic/rtl8168e-3.fw (-2)
[    9.252684] r8169 0000:07:00.0: Direct firmware load for 
rtl_nic/rtl8168e-3.fw failed with error -2
[    9.252687] r8169 0000:07:00.0: Unable to load firmware 
rtl_nic/rtl8168e-3.fw (-2)
[    9.253083] RTL8211E Gigabit Ethernet r8169-0-700:00: attached PHY driver 
(mii_bus:phy_addr=r8169-0-700:00, irq=MAC)
[    9.375435] r8169 0000:07:00.0: can't set Max_Read_Request_Size to 4096; max 
is 1024
[    9.377204] r8169 0000:07:00.0 enp7s0: Link is Down
[   12.077026] r8169 0000:07:00.0 enp7s0: Link is Up - 1Gbps/Full - flow 
control rx/tx
[   70.378632] bridge: filtering via arp/ip/ip6tables is no longer available by 
default. Update your scripts to load br_netfilter if you need this.
[   70.746511] kauditd_printk_skb: 120 callbacks suppressed
[   70.746514] audit: type=1400 audit(1747722867.928:132): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="docker-default" pid=1221 
comm="apparmor_parser"
[   70.911699] evm: overlay not supported
[   70.921672] nvme 0000:06:00.0: VPD access failed.  This is likely a firmware 
bug on this device.  Contact the card vendor for a firmware update
[   70.921675] nvme 0000:06:00.0: failed VPD read at offset 1
[   70.925515] r8169 0000:07:00.0: invalid VPD tag 0xff (size 0) at offset 0; 
assume missing optional EEPROM
[   70.985278] Bridge firewalling registered
[   71.030651] Initializing XFRM netlink socket
[   82.562560] audit: type=1400 audit(1747722879.744:133): apparmor="ALLOWED" 
operation="capable" class="cap" profile="Xorg" pid=1495 comm="Xorg" 
capability=12  capname="net_admin"
[   82.738655] audit: type=1400 audit(1747722879.920:134): apparmor="ALLOWED" 
operation="open" class="file" profile="Xorg" name="/tmp/server-0.xkm" pid=1495 
comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=112
[   82.738759] audit: type=1400 audit(1747722879.920:135): apparmor="ALLOWED" 
operation="unlink" class="file" profile="Xorg" name="/tmp/server-0.xkm" 
pid=1495 comm="Xorg" requested_mask="d" denied_mask="d" fsuid=0 ouid=112
[   82.782190] audit: type=1400 audit(1747722879.964:136): apparmor="ALLOWED" 
operation="open" class="file" profile="Xorg" name="/tmp/server-0.xkm" pid=1495 
comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=112
[   82.782280] audit: type=1400 audit(1747722879.964:137): apparmor="ALLOWED" 
operation="unlink" class="file" profile="Xorg" name="/tmp/server-0.xkm" 
pid=1495 comm="Xorg" requested_mask="d" denied_mask="d" fsuid=0 ouid=112
[   82.864554] audit: type=1400 audit(1747722880.044:138): apparmor="ALLOWED" 
operation="capable" class="cap" profile="Xorg" pid=1495 comm="Xorg" 
capability=2  capname="dac_read_search"
[   83.823687] audit: type=1400 audit(1747722881.004:139): apparmor="ALLOWED" 
operation="capable" class="cap" profile="Xorg" pid=1495 comm="Xorg" 
capability=2  capname="dac_read_search"
[   84.185628] audit: type=1400 audit(1747722881.364:140): apparmor="ALLOWED" 
operation="open" class="file" profile="Xorg" name="/tmp/server-0.xkm" pid=1495 
comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=112
[   84.185754] audit: type=1400 audit(1747722881.368:141): apparmor="ALLOWED" 
operation="unlink" class="file" profile="Xorg" name="/tmp/server-0.xkm" 
pid=1495 comm="Xorg" requested_mask="d" denied_mask="d" fsuid=0 ouid=112
[   84.236330] audit: type=1400 audit(1747722881.416:142): apparmor="ALLOWED" 
operation="capable" class="cap" profile="Xorg" pid=1495 comm="Xorg" 
capability=2  capname="dac_read_search"
[   84.366045] rfkill: input handler disabled
[   91.809867] rfkill: input handler enabled
[   91.820335] kauditd_printk_skb: 6 callbacks suppressed
[   91.820340] audit: type=1400 audit(1747722889.000:149): apparmor="ALLOWED" 
operation="capable" class="cap" profile="Xorg" pid=2135 comm="Xorg" 
capability=12  capname="net_admin"
[   91.881746] audit: type=1400 audit(1747722889.064:150): apparmor="ALLOWED" 
operation="open" class="file" profile="Xorg" name="/tmp/server-1.xkm" pid=2135 
comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
[   91.881854] audit: type=1400 audit(1747722889.064:151): apparmor="ALLOWED" 
operation="unlink" class="file" profile="Xorg" name="/tmp/server-1.xkm" 
pid=2135 comm="Xorg" requested_mask="d" denied_mask="d" fsuid=0 ouid=1000
[   91.916026] audit: type=1400 audit(1747722889.096:152): apparmor="ALLOWED" 
operation="open" class="file" profile="Xorg" name="/tmp/server-1.xkm" pid=2135 
comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
[   91.916121] audit: type=1400 audit(1747722889.096:153): apparmor="ALLOWED" 
operation="unlink" class="file" profile="Xorg" name="/tmp/server-1.xkm" 
pid=2135 comm="Xorg" requested_mask="d" denied_mask="d" fsuid=0 ouid=1000
[   91.968852] audit: type=1400 audit(1747722889.148:154): apparmor="ALLOWED" 
operation="capable" class="cap" profile="Xorg" pid=2135 comm="Xorg" 
capability=2  capname="dac_read_search"
[   92.168210] audit: type=1400 audit(1747722889.348:155): apparmor="ALLOWED" 
operation="open" class="file" profile="Xorg" name="/tmp/server-1.xkm" pid=2135 
comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
[   92.168220] audit: type=1400 audit(1747722889.348:156): apparmor="ALLOWED" 
operation="unlink" class="file" profile="Xorg" name="/tmp/server-1.xkm" 
pid=2135 comm="Xorg" requested_mask="d" denied_mask="d" fsuid=0 ouid=1000
[   92.560684] audit: type=1400 audit(1747722889.740:157): apparmor="ALLOWED" 
operation="capable" class="cap" profile="Xorg" pid=2135 comm="Xorg" 
capability=2  capname="dac_read_search"
[   93.163238] audit: type=1400 audit(1747722890.344:158): apparmor="ALLOWED" 
operation="open" class="file" profile="Xorg" name="/tmp/server-1.xkm" pid=2135 
comm="Xorg" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
[   93.389270] rfkill: input handler disabled

** Model information

** Configuration for modprobe:
blacklist arkfb
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist kyrofb
blacklist matroxfb_base
blacklist mb862xxfb
blacklist neofb
blacklist pm2fb
blacklist pm3fb
blacklist s3fb
blacklist savagefb
blacklist sisfb
blacklist tdfxfb
blacklist tridentfb
blacklist vt8623fb
options snd_pcsp index=-2
options cx88_alsa index=-2
options snd_atiixp_modem index=-2
options snd_intel8x0m index=-2
options snd_via82xx_modem index=-2
options bonding max_bonds=0
options dummy numdummies=0
options ifb numifbs=0
options radeon si_support=0
options amdgpu si_support=1
options radeon cik_support=0
options amdgpu cik_support=1

** Loaded modules:
tls
sd_mod
snd_seq_dummy
snd_hrtimer
snd_seq
snd_seq_device
nf_conntrack_netlink
xfrm_user
xfrm_algo
xt_addrtype
br_netfilter
xt_CHECKSUM
xt_MASQUERADE
xt_conntrack
ip6t_REJECT
nf_reject_ipv6
ipt_REJECT
nf_reject_ipv4
xt_tcpudp
nft_compat
nft_chain_nat
nf_nat
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
nf_tables
libcrc32c
bridge
stp
llc
overlay
rfkill
qrtr
binfmt_misc
nls_ascii
nls_cp437
vfat
fat
dm_mod
snd_hda_codec_conexant
snd_hda_codec_generic
snd_hda_codec_hdmi
snd_hda_intel
snd_intel_dspcfg
snd_hda_codec
snd_hda_core
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
tpm_tis_spi
tpm_tis_core
evdev
drm
la_ow_syscall(OE)
configfs
nfnetlink
efivarfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
hid_generic
usbhid
hid
ohci_pci
xhci_pci
ehci_pci
xhci_hcd
r8169
ehci_hcd
ohci_hcd
ahci
libahci
libata
usbcore
realtek
nvme
mdio_devres
of_mdio
scsi_mod
fixed_phy
fwnode_mdio
nvme_core
libphy
nvme_auth
scsi_common
usb_common

** PCI devices:
00:00.0 Host bridge [0600]: Loongson Technology LLC Hyper Transport Bridge 
Controller [0014:7a00]
        Subsystem: Loongson Technology LLC Hyper Transport Bridge Controller 
[0014:7a00]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        NUMA node: 0
        Capabilities: <access denied>

00:00.1 Host bridge [0600]: Loongson Technology LLC Hyper Transport Bridge 
Controller [0014:7a10] (rev 01)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        NUMA node: 0

00:00.2 Host bridge [0600]: Loongson Technology LLC Device [0014:7a20] (rev 01)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        NUMA node: 0

00:00.3 Host bridge [0600]: Loongson Technology LLC Device [0014:7a30]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        NUMA node: 0

00:04.0 USB controller [0c03]: Loongson Technology LLC OHCI USB Controller 
[0014:7a24] (rev 02) (prog-if 10 [OHCI])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 77
        NUMA node: 0
        Region 0: Memory at e0041640000 (64-bit, non-prefetchable) [size=32K]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci

00:04.1 USB controller [0c03]: Loongson Technology LLC EHCI USB Controller 
[0014:7a14] (rev 02) (prog-if 20 [EHCI])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 74
        NUMA node: 0
        Region 0: Memory at e0041648000 (64-bit, non-prefetchable) [size=32K]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:05.0 USB controller [0c03]: Loongson Technology LLC OHCI USB Controller 
[0014:7a24] (rev 02) (prog-if 10 [OHCI])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 78
        NUMA node: 0
        Region 0: Memory at e0041650000 (64-bit, non-prefetchable) [size=32K]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci

00:05.1 USB controller [0c03]: Loongson Technology LLC EHCI USB Controller 
[0014:7a14] (rev 02) (prog-if 20 [EHCI])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 75
        NUMA node: 0
        Region 0: Memory at e0041658000 (64-bit, non-prefetchable) [size=32K]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:06.0 Multimedia video controller [0400]: Loongson Technology LLC LG100 GPU 
[0014:7a25] (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 93
        NUMA node: 0
        Region 0: Memory at e0041669400 (64-bit, non-prefetchable) [size=256]
        Region 2: Memory at e0030000000 (64-bit, non-prefetchable) [size=256M]
        Region 4: Memory at e0041600000 (64-bit, non-prefetchable) [size=64K]

00:06.1 VGA compatible controller [0300]: Loongson Technology LLC Display 
Controller [0014:7a36] (rev 02) (prog-if 00 [VGA controller])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr+ 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 92
        NUMA node: 0
        Region 0: Memory at e0041610000 (64-bit, non-prefetchable) [size=64K]

00:06.2 Audio device [0403]: Loongson Technology LLC Device [0014:7a37]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr+ 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 79
        NUMA node: 0
        Region 0: Memory at e0041620000 (64-bit, non-prefetchable) [size=64K]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:07.0 Audio device [0403]: Loongson Technology LLC HDA (High Definition 
Audio) Controller [0014:7a07]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 80
        NUMA node: 0
        Region 0: Memory at e0041630000 (64-bit, non-prefetchable) [size=64K]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:08.0 SATA controller [0106]: Loongson Technology LLC SATA 3 AHCI Controller 
[0014:7a18] (prog-if 01 [AHCI 1.0])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 72
        NUMA node: 0
        Region 5: Memory at e0041669000 (32-bit, non-prefetchable) [size=1K]
        Kernel driver in use: ahci
        Kernel modules: ahci

00:09.0 PCI bridge [0604]: Loongson Technology LLC PCIe x4 Root Port 
[0014:7a49] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 39
        NUMA node: 0
        Region 0: Memory at e0041660000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:0a.0 PCI bridge [0604]: Loongson Technology LLC PCIe x1 Root Port 
[0014:7a39] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 41
        NUMA node: 0
        Region 0: Memory at e0041661000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 4000-4fff [size=4K] [16-bit]
        Memory behind bridge: 41000000-410fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:0b.0 PCI bridge [0604]: Loongson Technology LLC PCIe x1 Root Port 
[0014:7a39] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 43
        NUMA node: 0
        Region 0: Memory at e0041662000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:0c.0 PCI bridge [0604]: Loongson Technology LLC PCIe x1 Root Port 
[0014:7a39] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 45
        NUMA node: 0
        Region 0: Memory at e0041663000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:0d.0 PCI bridge [0604]: Loongson Technology LLC PCIe x4 Root Port 
[0014:7a49] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 47
        NUMA node: 0
        Region 0: Memory at e0041664000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: 41100000-411fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:0f.0 PCI bridge [0604]: Loongson Technology LLC PCIe x16 Root Port 
[0014:7a69] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 49
        NUMA node: 0
        Region 0: Memory at e0041665000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: 41200000-412fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:10.0 PCI bridge [0604]: Loongson Technology LLC PCIe x8 Root Port 
[0014:7a59] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 51
        NUMA node: 0
        Region 0: Memory at e0041666000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: 5000-5fff [size=4K] [16-bit]
        Memory behind bridge: 41300000-413fffff [size=1M] [32-bit]
        Prefetchable memory behind bridge: e0041400000-e00414fffff [size=1M] 
[32-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:13.0 PCI bridge [0604]: Loongson Technology LLC PCIe x8 Root Port 
[0014:7a59] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 53
        NUMA node: 0
        Region 0: Memory at e0041667000 (64-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
        I/O behind bridge: [disabled] [32-bit]
        Memory behind bridge: [disabled] [32-bit]
        Prefetchable memory behind bridge: [disabled] [64-bit]
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:16.0 System peripheral [0880]: Loongson Technology LLC SPI Controller 
[0014:7a1b]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr+ 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 255
        NUMA node: 0
        Region 0: Memory at e0041668000 (64-bit, non-prefetchable) [size=4K]
        Region 2: Memory at e0040000000 (64-bit, non-prefetchable) [size=16M]

00:19.0 USB controller [0c03]: Loongson Technology LLC xHCI USB Controller 
[0014:7a34] (prog-if 30 [XHCI])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 76
        NUMA node: 0
        Region 0: Memory at e0041500000 (64-bit, non-prefetchable) [size=1M]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

02:00.0 Ethernet controller [0200]: Motorcomm Microelectronics. YT6801 Gigabit 
Ethernet Controller [1f0a:6801] (rev 01)
        Subsystem: Device [2066:9806]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 97
        NUMA node: 0
        Region 0: Memory at e0041000000 (64-bit, non-prefetchable) [size=16K]
        Region 4: I/O ports at 4000 [size=256]
        Capabilities: <access denied>

05:00.0 Non-Volatile memory controller [0108]: MAXIO Technology (Hangzhou) Ltd. 
NVMe SSD Controller MAP1202 (DRAM-less) [1e4b:1202] (rev 01) (prog-if 02 [NVM 
Express])
        Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 
(DRAM-less) [1e4b:1202]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 46
        NUMA node: 0
        Region 0: Memory at e0041100000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: nvme
        Kernel modules: nvme

06:00.0 Non-Volatile memory controller [0108]: INNOGRIT Corporation NVMe SSD 
Controller IG5216 [Shasta+] (DRAM-less) [1dbe:5216] (rev 01) (prog-if 02 [NVM 
Express])
        Subsystem: INNOGRIT Corporation NVMe SSD Controller IG5216 [Shasta+] 
(DRAM-less) [1dbe:5216]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 48
        NUMA node: 0
        Region 0: Memory at e0041220000 (64-bit, non-prefetchable) [size=16K]
        Expansion ROM at e0041200000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvme
        Kernel modules: nvme

07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 
06)
        Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:0123]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 50
        NUMA node: 0
        Region 0: I/O ports at 5000 [size=256]
        Region 2: Memory at e0041300000 (64-bit, non-prefetchable) [size=4K]
        Region 4: Memory at e0041400000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 17ef:608d Lenovo Optical Mouse
Bus 005 Device 003: ID 17ef:6099 Lenovo Lenovo Traditional USB Keyboard
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: loong64 (loongarch64)
Foreign Architectures: amd64

Kernel: Linux 6.12.29-loong64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-6.12.29-loong64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.147
ii  kmod                                    34.2-2
ii  linux-base                              4.11

Versions of packages linux-image-6.12.29-loong64 recommends:
ii  apparmor  4.1.0-1

Versions of packages linux-image-6.12.29-loong64 suggests:
pn  debian-kernel-handbook  <none>
pn  firmware-linux-free     <none>
pn  linux-doc-6.12          <none>

Versions of packages linux-image-6.12.29-loong64 is related to:
ii  firmware-amd-graphics      20250410-2
pn  firmware-atheros           <none>
pn  firmware-bnx2              <none>
pn  firmware-bnx2x             <none>
pn  firmware-brcm80211         <none>
pn  firmware-cavium            <none>
pn  firmware-cirrus            <none>
pn  firmware-intel-graphics    <none>
pn  firmware-intel-misc        <none>
pn  firmware-intel-sound       <none>
pn  firmware-ipw2x00           <none>
pn  firmware-ivtv              <none>
pn  firmware-iwlwifi           <none>
pn  firmware-libertas          <none>
pn  firmware-marvell-prestera  <none>
pn  firmware-mediatek          <none>
pn  firmware-misc-nonfree      <none>
pn  firmware-myricom           <none>
pn  firmware-netronome         <none>
pn  firmware-netxen            <none>
pn  firmware-nvidia-graphics   <none>
pn  firmware-qcom-soc          <none>
pn  firmware-qlogic            <none>
pn  firmware-realtek           <none>
pn  firmware-samsung           <none>
pn  firmware-siano             <none>
pn  firmware-ti-connectivity   <none>
pn  xen-hypervisor             <none>

-- no debconf information

Reply via email to