U7621-06: ASM1062 SATA Controller doesn't detect disks

I have connected two SATA disks to the router(unielec u7621-06) but none of them have been detected.
I did a little search and saw that ASM1062 controller have problems in the linux kernel https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b12d93e9958e028856cbcb061b6e64728ca07755
There are some workarounds on the internet but I don't know how I can apply them in openwrt.
Do I have to wait for kernel 5.15 (in which it has allegedly been fixed) or is there something I can do?

root@Router:~# lspci -knn
00:00.0 PCI bridge [0604]: Device [0e8d:0801] (rev 01)
lspci: Unable to load libkmod resources: error -12
00:01.0 PCI bridge [0604]: Device [0e8d:0801] (rev 01)
00:02.0 PCI bridge [0604]: Device [0e8d:0801] (rev 01)
01:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01)
        Subsystem: ASMedia Technology Inc. Device [1b21:1060]
        Kernel driver in use: ahci
02:00.0 Network controller [0280]: MEDIATEK Corp. MT7612E 802.11acbgn PCI Express Wireless Network Adapter [14c3:7612]
        Subsystem: MEDIATEK Corp. MT7612E 802.11acbgn PCI Express Wireless Network Adapter [14c3:7612]
        Kernel driver in use: mt76x2e
03:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7602]
        Subsystem: MEDIATEK Corp. Device [14c3:7602]
        Kernel driver in use: mt76x2e

root@Router:~# opkg list-installed | grep kmod-
kmod-ata-ahci - 5.10.161-1
kmod-ata-core - 5.10.161-1
kmod-cfg80211 - 5.10.161+5.15.81-1-1
kmod-crypto-aead - 5.10.161-1
kmod-crypto-ccm - 5.10.161-1
kmod-crypto-cmac - 5.10.161-1
kmod-crypto-crc32c - 5.10.161-1
kmod-crypto-ctr - 5.10.161-1
kmod-crypto-gcm - 5.10.161-1
kmod-crypto-gf128 - 5.10.161-1
kmod-crypto-ghash - 5.10.161-1
kmod-crypto-hash - 5.10.161-1
kmod-crypto-hmac - 5.10.161-1
kmod-crypto-manager - 5.10.161-1
kmod-crypto-null - 5.10.161-1
kmod-crypto-rng - 5.10.161-1
kmod-crypto-seqiv - 5.10.161-1
kmod-crypto-sha256 - 5.10.161-1
kmod-fs-ext4 - 5.10.161-1
kmod-gpio-button-hotplug - 5.10.161-3
kmod-ifb - 5.10.161-1
kmod-ipt-core - 5.10.161-1
kmod-ipt-ipopt - 5.10.161-1
kmod-leds-gpio - 5.10.161-1
kmod-lib-crc-ccitt - 5.10.161-1
kmod-lib-crc16 - 5.10.161-1
kmod-lib-crc32c - 5.10.161-1
kmod-mac80211 - 5.10.161+5.15.81-1-1
kmod-mmc - 5.10.161-1
kmod-mt76 - 5.10.161+2022-09-06-d7054646-5
kmod-mt76-core - 5.10.161+2022-09-06-d7054646-5
kmod-mt7603 - 5.10.161+2022-09-06-d7054646-5
kmod-mt76x02-common - 5.10.161+2022-09-06-d7054646-5
kmod-mt76x2 - 5.10.161+2022-09-06-d7054646-5
kmod-mt76x2-common - 5.10.161+2022-09-06-d7054646-5
kmod-nf-conntrack - 5.10.161-1
kmod-nf-conntrack6 - 5.10.161-1
kmod-nf-flow - 5.10.161-1
kmod-nf-ipt - 5.10.161-1
kmod-nf-log - 5.10.161-1
kmod-nf-log6 - 5.10.161-1
kmod-nf-nat - 5.10.161-1
kmod-nf-reject - 5.10.161-1
kmod-nf-reject6 - 5.10.161-1
kmod-nfnetlink - 5.10.161-1
kmod-nft-core - 5.10.161-1
kmod-nft-fib - 5.10.161-1
kmod-nft-nat - 5.10.161-1
kmod-nft-offload - 5.10.161-1
kmod-nls-base - 5.10.161-1
kmod-ppp - 5.10.161-1
kmod-pppoe - 5.10.161-1
kmod-pppox - 5.10.161-1
kmod-sched-cake - 5.10.161-1
kmod-sched-core - 5.10.161-1
kmod-scsi-core - 5.10.161-1
kmod-sdhci-mt7620 - 5.10.161-1
kmod-slhc - 5.10.161-1
kmod-usb-core - 5.10.161-1
kmod-usb-storage - 5.10.161-1
kmod-usb-storage-uas - 5.10.161-1
kmod-usb-xhci-hcd - 5.10.161-1
kmod-usb-xhci-mtk - 5.10.161-1
kmod-usb3 - 5.10.161-1

@dwmw2 I saw your post UniElec U7623-06 mSATA support - #3 by dwmw2
Could you check this out?

stable was CCed, so I guess they need a ping.

I used to think that this was going to be fixed in kernel 5.15 so I was waiting for an OpenWRT update.
Today installed OpenWrt 23.05.0-rc2 which has kernel 5.15.118, but the problem still persists.

@hackpascal I saw you post helping another user who has u7621 router. I hope you could help me too.
ASM1062 SATA controller is used in the router and for some reason it doesn't detects disks at all. Sata links go down immediately during the boot

Fri Dec 22 14:34:26 2023 kern.notice kernel: [    3.802583] SCSI subsystem initialized
Fri Dec 22 14:34:26 2023 kern.debug kernel: [    3.818534] libata version 3.00 loaded.
Fri Dec 22 14:34:26 2023 kern.debug kernel: [    3.822854] ahci 0000:01:00.0: version 3.0
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.822921] pci 0000:00:00.0: enabling device (0006 -> 0007)
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.828656] ahci 0000:01:00.0: enabling device (0000 -> 0003)
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.834633] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.841308] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.849399] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.860509] scsi host0: ahci
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.865041] scsi host1: ahci
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.868403] ata1: SATA max UDMA/133 abar m512@0x60000000 port 0x60000100 irq 30
Fri Dec 22 14:34:26 2023 kern.info kernel: [    3.875849] ata2: SATA max UDMA/133 abar m512@0x60000000 port 0x60000180 irq 30
Fri Dec 22 14:34:26 2023 kern.info kernel: [    4.215475] ata1: SATA link down (SStatus 0 SControl 300)
Fri Dec 22 14:34:26 2023 kern.info kernel: [    4.545429] ata2: SATA link down (SStatus 0 SControl 300)

Can the reset pin cause this behavior? If yes, is there any way to fix this?

I don't believe so. What I said basically only refers to MTK WiFi cards.