Commit 46ced47
committed
deepin: loongarch: disable PATA_LEGACY.
deepin inclusion
category: bugfix
disable the config, for it cause some error in dmesg.
The init path is
module_init(legacy_init);->
legacy_probe_add(0x1F0, 14, UNKNOWN, 0);->
probe_chip_type->
if (probe->port == 0x1F0) {
...
if ((inb(0x1F2) & 0x80) == 0) {
printk(KERN_INFO "PDC20230-C/20630 VLB ATA controller"
" detected.\n");
...
return PDC20230;}
Log:
[ 0.342329] async_tx: api initialized (async)
[ 0.342337] Key type asymmetric registered
[ 0.342341] Asymmetric key parser 'x509' registered
[ 0.342344] Asymmetric key parser 'pkcs8' registered
[ 0.342417] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[ 0.342664] io scheduler mq-deadline registered
[ 0.342668] io scheduler kyber registered
[ 0.342729] io scheduler bfq registered
[ 0.350994] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 0.351622] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.356919] ACPI: button: Power Button [PWRF]
[ 0.360950] thermal LNXTHERM:00: registered as thermal_zone0
[ 0.360956] ACPI: thermal: Thermal Zone [THM0] (39 C)
[ 0.361333] thermal LNXTHERM:01: registered as thermal_zone1
[ 0.361335] ACPI: thermal: Thermal Zone [THM1] (45 C)
[ 0.361704] thermal LNXTHERM:02: registered as thermal_zone2
[ 0.361706] ACPI: thermal: Thermal Zone [THM2] (44 C)
[ 0.383386] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.383573] 00:00: ttyS0 at MMIO 0x1fe001e0 (irq = 39, base_baud = 6250000) is a ST16650
[ 0.383615] printk: console [ttyS0] enabled
[ 5.382562] 00:01: ttyS1 at MMIO 0x10080000 (irq = 40, base_baud = 3125000) is a 16550A
[ 5.410960] 00:02: ttyS2 at MMIO 0x10080100 (irq = 40, base_baud = 3125000) is a 16550A
[ 5.439324] 00:03: ttyS3 at MMIO 0x10080200 (irq = 40, base_baud = 3125000) is a 16550A
[ 5.467677] 00:04: ttyS4 at MMIO 0x10080300 (irq = 40, base_baud = 3125000) is a 16550A
[ 5.476139] ACPI: bus type drm_connector registered
[ 5.507578] brd: module loaded
[ 5.516411] loop: module loaded
[ 5.523169] nvme nvme0: pci function 0000:06:00.0
[ 5.528552] ahci 0000:00:08.0: version 3.0
[ 5.528724] ahci 0000:00:08.0: SSS flag set, parallel bus scan disabled
[ 5.535494] ahci 0000:00:08.0: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[ 5.542887] Freeing initrd memory: 107776K
[ 5.543953] ahci 0000:00:08.0: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 5.559028] scsi host0: ahci
[ 5.565607] scsi host1: ahci
[ 5.569718] scsi host2: ahci
[ 5.573719] scsi host3: ahci
[ 5.577270] ata1: SATA max UDMA/133 abar m1024@0xe0036300000 port 0xe0036300100 irq 67
[ 5.585239] ata2: SATA max UDMA/133 abar m1024@0xe0036300000 port 0xe0036300180 irq 67
[ 5.593148] ata3: SATA max UDMA/133 abar m1024@0xe0036300000 port 0xe0036300200 irq 67
[ 5.601070] ata4: SATA max UDMA/133 abar m1024@0xe0036300000 port 0xe0036300280 irq 67
[ 5.609950] ahci 0001:00:08.0: SSS flag set, parallel bus scan disabled
[ 5.612157] nvme nvme0: 64/0/0 default/read/poll queues
[ 5.616586] ahci 0001:00:08.0: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[ 5.629799] ahci 0001:00:08.0: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 5.637258] nvme0n1: p1 p2 p3 p4
[ 5.640024] scsi host4: ahci
[ 5.645534] scsi host5: ahci
[ 5.648659] scsi host6: ahci
[ 5.651767] scsi host7: ahci
[ 5.654725] ata5: SATA max UDMA/133 abar m1024@0x1e0030000000 port 0x1e0030000100 irq 133
[ 5.662861] ata6: SATA max UDMA/133 abar m1024@0x1e0030000000 port 0x1e0030000180 irq 133
[ 5.670991] ata7: SATA max UDMA/133 abar m1024@0x1e0030000000 port 0x1e0030000200 irq 133
[ 5.679121] ata8: SATA max UDMA/133 abar m1024@0x1e0030000000 port 0x1e0030000280 irq 133
[ 5.688687] PDC20230-C/20630 VLB ATA controller detected.
[ 5.694874] scsi host8: pata_legacy
[ 5.698561] ata9: PATA max PIO2 cmd 0x1f0 ctl 0x3f6 irq 14
[ 5.915940] ata1: SATA link down (SStatus 0 SControl 300)
[ 5.995926] ata5: SATA link down (SStatus 0 SControl 300)
[ 6.091025] irq 14: nobody cared (try booting with the "irqpoll" option)
[ 6.097694] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.6.123-loong64-desktop-hwe deepin-community#25.01.00.16
[ 6.106427] Hardware name: To be filled by O.E.M.To be fill To be filled by O.E.M.To be fill/Loongson-TC542F0, BIOS Loongson UEFI (3C50007A2000_Tc542f0) V
[ 6.120171] Stack : 9000000003ec1a90 9000000002755c10 9000000000240168 900000000310c000
[ 6.128136] 9000000100293c80 0000000000000000 9000000100293c88 9000000002755c10
[ 6.136093] 9000000009c920a0 9000000009c92098 9000000100293bd0 0000000000000001
[ 6.144050] 0000000000000001 72b1f4c9beb20d01 0000000008740000 9000000101f0e400
[ 6.152007] 0000000000000001 fffffffffffffffe 2e4f207962206465 6c6c696620656220
[ 6.159963] 6f54203a656d616e 0000000033380000 0000000008740000 0000000000000000
[ 6.167921] 90000000031a4000 9000000002755c10 0000000000000000 900000010028b618
[ 6.175877] 9000000003668f20 0000000000000001 9000000003f698d8 000000000000000e
[ 6.183834] 9000000003668ab0 9000000002755c10 900000000024836c 0000000000000000
[ 6.191791] 00000000000000b0 0000000000000004 0000000000000000 0000000000071c15
[ 6.199747] ...
[ 6.202172] Call Trace:
[ 6.202176] [<900000000024836c>] show_stack+0x3c/0x150
[ 6.209715] [<9000000000240164>] dump_stack_lvl+0x5c/0x88
[ 6.215080] [<90000000002238c0>] __report_bad_irq+0x58/0xf8
[ 6.220616] [<9000000000316594>] note_interrupt+0x344/0x3b0
[ 6.226153] [<90000000003118a8>] handle_irq_event+0xc0/0xd8
[ 6.227936] ata2: SATA link down (SStatus 0 SControl 300)
[ 6.231691] [<90000000003177cc>] handle_level_irq+0xc4/0x220
[ 6.231697] [<9000000000310bcc>] handle_irq_desc+0x44/0x60
[ 6.231703] [<9000000000e43aec>] lpc_irq_dispatch+0x84/0x158
[ 6.253747] [<9000000000310bcc>] handle_irq_desc+0x44/0x60
[ 6.259195] [<9000000000e413dc>] eiointc_irq_dispatch+0xbc/0x1b8
[ 6.265165] [<9000000000310bcc>] handle_irq_desc+0x44/0x60
[ 6.270614] [<9000000000e3fb6c>] handle_cpu_irq+0x6c/0xa8
[ 6.275977] [<900000000178e3fc>] handle_loongarch_irq+0x2c/0x48
[ 6.281861] [<900000000178e494>] do_vint+0x7c/0xd0
[ 6.286618] [<90000000017905bc>] default_idle_call+0x3c/0x130
[ 6.292326] [<90000000002dbbb4>] do_idle+0xb4/0x130
[ 6.297173] [<90000000002dbe7c>] cpu_startup_entry+0x34/0x40
[ 6.302795] [<9000000001791250>] rest_init+0xe8/0xec
[ 6.307726] [<90000000017a0f40>] arch_call_rest_init+0x10/0x14
[ 6.313526] [<90000000017a154c>] start_kernel+0x5cc/0x5d0
[ 6.318889] [<90000000017910f0>] kernel_entry+0xf0/0xf8
[ 6.325550] handlers:
[ 6.327799] [<0000000008b01236>] ata_sff_interrupt
[ 6.332563] Disabling IRQ deepin-community#14
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 3e321ca commit 46ced47
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1131 | 1131 | | |
1132 | 1132 | | |
1133 | 1133 | | |
1134 | | - | |
1135 | 1134 | | |
1136 | 1135 | | |
1137 | 1136 | | |
| |||
0 commit comments