From: Manivannan Sadhasivam <mani@kernel.org>
To: Hans Zhang <18255117159@163.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
lpieralisi@kernel.org, kw@linux.com, robh@kernel.org,
bhelgaas@google.com, bwawrzyn@cisco.com, cassel@kernel.org,
wojciech.jasko-EXT@continental-corporation.com, a-verma1@ti.com,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
rockswang7@gmail.com
Subject: Re: [v3] PCI: cadence: Fix sending message with data or without data
Date: Fri, 14 Feb 2025 21:27:25 +0530 [thread overview]
Message-ID: <20250214155725.jpkd4vtcycav4yrc@thinkpad> (raw)
In-Reply-To: <3d3d8772-08ba-4e5a-bf1f-71821cf056e7@163.com>
On Fri, Feb 14, 2025 at 11:48:16PM +0800, Hans Zhang wrote:
>
>
> On 2025/2/14 23:31, Manivannan Sadhasivam wrote:
> > On Fri, Feb 14, 2025 at 10:28:11PM +0800, Hans Zhang wrote:
> > > Sorry Mani, I shouldn't have spread this SOC bug. This is a bug in RTL
> > > design, the WSTRB signal of AXI bus is not connected correctly, so the first
> > > generation SOC cannot send message, because we mainly use RC mode, and we
> > > cannot send PME_Turn_OFF, that is, our SOC does not support L2. I have no
> > > choice about this, I entered the company relatively late, and our SOC has
> > > already TO.
> >
> > Ok. Just to clear my head, this patch is needed irrespective of the hw issue,
> > right? And with or without this patch, first revision hw cannot send any MSG
> > TLPs?
>
> Yes, that was a problem with our own SOC design, the Cadence RTL bug.
>
> > If so, it is fine. But is there a way we could detect those first generation IPs
> > and flag it to users about broken MSG TLP support? Atleast, that would make the
> > users aware of broken hw.
>
> I don't know how to do it, but here are the questions that were actually
> tested.
>
Not related to this patch, but please check if it is possible to detect those
controllers.
> > >
> > > This patch is to solve the Cadence common code bug, and does not conform to
> > > Cadence documentation.
> >
> > you mean 'does'?
> >
>
> What I mean is that common code bit16=1 is to send a message without data,
> while Cadence's development document says that bit16=0 is to send a message
> without data. This is not consistent with the documentation description, and
> the final verification results, the development documentation described is
> correct.
>
Ok, makes sense now.
- Mani
--
மணிவண்ணன் சதாசிவம்
next prev parent reply other threads:[~2025-02-14 15:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 10:39 [v3] PCI: cadence: Fix sending message with data or without data Hans Zhang
2025-02-14 7:30 ` Manivannan Sadhasivam
2025-02-14 8:23 ` Hans Zhang
2025-02-14 13:21 ` Manivannan Sadhasivam
2025-02-14 14:28 ` Hans Zhang
2025-02-14 15:31 ` Manivannan Sadhasivam
2025-02-14 15:48 ` Hans Zhang
2025-02-14 15:57 ` Manivannan Sadhasivam [this message]
2025-02-14 16:53 ` Hans Zhang
2025-02-14 16:06 ` Manivannan Sadhasivam
2025-02-14 16:49 ` Hans Zhang
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=20250214155725.jpkd4vtcycav4yrc@thinkpad \
--to=mani@kernel.org \
--cc=18255117159@163.com \
--cc=a-verma1@ti.com \
--cc=bhelgaas@google.com \
--cc=bwawrzyn@cisco.com \
--cc=cassel@kernel.org \
--cc=kw@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=robh@kernel.org \
--cc=rockswang7@gmail.com \
--cc=wojciech.jasko-EXT@continental-corporation.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