From: Niklas Cassel <cassel@kernel.org>
To: Cryptearth <cryptearth@googlemail.com>
Cc: temnota.am@gmail.com, linux-ide@vger.kernel.org,
conikost@gentoo.org, hdegoede@redhat.com
Subject: Re: Fwd: Re[2]: ASMedia ASM1166/ASM1064 port restrictions will break cards with port-multipliers
Date: Mon, 18 Mar 2024 11:56:34 +0100 [thread overview]
Message-ID: <Zfgd4gjQS0Cmexeq@ryzen> (raw)
In-Reply-To: <CAFDm6W3c7UUHRVG_WzEUK+pmHQNUywFpJZtkeWVVxrX-oBKpqw@mail.gmail.com>
Hello Matt,
On Sun, Mar 17, 2024 at 11:58:14PM +0100, Cryptearth wrote:
> Sorry folks - GMail somehow not send my reply to all of you but only
> one. My bad - haven't noticed it.
>
> Anyway - tldr: The provided patch doesn't work.
> I build the 6.8.1-arch with a simple fix of commenting out the ASMedia block.
> No matter how it's dealt with - I do understand the issue this change
> is about to fix - but there has to be some override. Forcing users
> like me building the entire kernel (and additional modules like ZFS or
> nVidia gpu drivers) on thier own just for 4 characters in 2 lines
> (namely /* and */ before and after the block) just isn't acceptable.
>
> Greetings
>
> Matt
>
> ---------- Forwarded message ---------
> Von: Cryptearth <cryptearth@googlemail.com>
> Date: Sa., 16. März 2024 um 14:47 Uhr
> Subject: Re: Re[2]: ASMedia ASM1166/ASM1064 port restrictions will
> break cards with port-multipliers
> To: Conrad Kostecki <conikost@gentoo.org>
Please be respectful on the mailing list.
https://docs.kernel.org/process/code-of-conduct.html
> @Niklas
> I tested the patch - but unfortunately it does not work with my card.
> See the attached log - the fun starts around line 760. This time I
> also attached the output of lspci -vvv -nn. I haven't checked for any
> differences.
> As Hans wrote my card seem to do something way different and out of
> spec of standards.
Is CONFIG_SATA_PMP set to y in your .config?
Looking at your logs, we can see that port0-port3 all don't have a link:
[ 0.919020] ata7: SATA link down (SStatus 0 SControl 330)
[ 2.787201] ata8: SATA link down (SStatus 0 SControl 330)
[ 3.100522] ata9: SATA link down (SStatus 0 SControl 330)
[ 3.413890] ata10: SATA link down (SStatus 0 SControl 330)
I looked at your v6.7.xx log as well, and it is the same there.
So Hans's theory that port0-port3 is each connected to a
JMB575 Port Multipliers does seem less plausible.
Because if that was the case, I would expect to see link up on these ports
and that it detects a PMP class code when probing these ports.
So I have honestly no idea how this works...
Perhaps the ASMedia firmware takes the command to port0-port3,
and instead of sending it to the PMP, it sends back some faked
reply instead?
This piece of hardware really seems to do not care at all about
following specifications...
Fun fact:
https://www.asmedia.com.tw/product/A58yQC9Sp5qg6TrF/58dYQ8bxZ4UR9wG5
Claims that it supports AHCI 1.4.
That is impressive, especially considering that the latest version
of AHCI is 1.3.1:
https://en.wikipedia.org/wiki/Advanced_Host_Controller_Interface
I will send an email to some ASMedia developers on the list and see
if we can get any clarification.
Kind regards,
Niklas
next prev parent reply other threads:[~2024-03-18 10:56 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAFDm6W19R3KHDO09c94Uwry9mdG+whAVy=u4Sdpt30A2MK1KPA@mail.gmail.com>
2024-03-13 6:36 ` ASMedia ASM1166/ASM1064 port restrictions will break cards with port-multipliers Andrey Melnikov
2024-03-13 17:37 ` Cryptearth
2024-03-13 21:21 ` Hans de Goede
2024-03-13 21:52 ` Re[2]: " Conrad Kostecki
2024-03-13 22:20 ` Hans de Goede
2024-03-16 14:01 ` Andrey Jr. Melnikov
2024-03-17 1:34 ` Cryptearth
2024-03-14 15:58 ` Niklas Cassel
2024-03-15 15:01 ` Hans de Goede
2024-03-16 11:33 ` Cryptearth
2024-03-16 11:45 ` Re[2]: " Conrad Kostecki
[not found] ` <CAFDm6W2nCj+qw=-7Sb9xcJTYZ8sitwUriR+Qdh9fo9+ET1Oo=g@mail.gmail.com>
2024-03-17 22:58 ` Fwd: " Cryptearth
2024-03-17 23:04 ` Christoph Hellwig
[not found] ` <CAFDm6W2X_2Nhn4ZeDd-=6Sra-evDW8Dx_CE0m5yggXpOXNTQ9g@mail.gmail.com>
2024-03-17 23:25 ` Christoph Hellwig
[not found] ` <CAFDm6W3pe+nv5CTcEq2FwGbKS4Cdu+7xdLa1Zy6iODampfwxsw@mail.gmail.com>
2024-03-17 23:48 ` Christoph Hellwig
2024-03-18 10:56 ` Niklas Cassel [this message]
2024-03-18 11:07 ` Hans de Goede
2024-03-18 11:31 ` Niklas Cassel
2024-03-18 11:53 ` Damien Le Moal
2024-03-18 14:21 ` Hans de Goede
2024-03-18 23:59 ` Damien Le Moal
2024-03-17 9:36 ` Niklas Cassel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zfgd4gjQS0Cmexeq@ryzen \
--to=cassel@kernel.org \
--cc=conikost@gentoo.org \
--cc=cryptearth@googlemail.com \
--cc=hdegoede@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=temnota.am@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).