Bug 218346
Summary: | ASM1166 detects too many sata ports | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Conrad Kostecki (ck+kernelbugzilla) |
Component: | Serial ATA | Assignee: | Tejun Heo (tj) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | andrebrait |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Attachments: |
force_port_map_asm1166.patch
force_port_map_asm1166.patch |
Description
Conrad Kostecki
2024-01-05 00:04:49 UTC
Created attachment 305680 [details]
force_port_map_asm1166.patch
This patch forces the port_map for ASM1166, so only six ports are being used and rest marked as dummy.
Created attachment 305681 [details]
force_port_map_asm1166.patch
The ASM1166 controller has 6 native sata ports. Unfortunately the controller always reports 32 sata ports, which can cause the boot process to be slow.
This patch limits this and forces port_map to six ports,
so the rest of the ports are being marked as DUMMY.
@andrebrait: Hopyfully the patch gets mainlined in future: https://marc.info/?t=170603457700002&r=1&w=2 (In reply to Conrad Kostecki from comment #3) > @andrebrait: Hopyfully the patch gets mainlined in future: > https://marc.info/?t=170603457700002&r=1&w=2 Thanks a lot for the patch. I had looked into it myself, but due to lack of free time and the machine where the card is installed being somewhat hard to develop on, I couldn't test a solution. Patch will be applied by upstream: https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/commit/?h=for-6.8-fixes&id=0077a504e1a4468669fd2e011108db49133db56e Closing here. |