mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adam Young <admiyo@amperemail.onmicrosoft.com>
To: Sudeep Holla <sudeep.holla@kernel.org>,
	Adam Young <admiyo@os.amperecomputing.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jeremy Kerr <jk@codeconstruct.com.au>,
	Matt Johnston <matt@codeconstruct.com.au>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Huisong Li <lihuisong@huawei.com>
Subject: Re: [PATCH v45 2/7] mailbox/pcc.c: ignore errors on type 4 channels.
Date: Wed, 22 Jul 2026 13:04:29 -0400	[thread overview]
Message-ID: <de0d8a0f-7f08-4654-b9e0-b8a3c8abb349@amperemail.onmicrosoft.com> (raw)
In-Reply-To: <20260722-rustling-taupe-sawfly-83c3ac@sudeepholla>


On 7/22/26 04:55, Sudeep Holla wrote:
> On Tue, Jul 21, 2026 at 01:52:51PM -0400, Adam Young wrote:
>> THE ACPI spec states:
>>
>> "[The Error status register] Contains the processor relative address,
>> represented in Generic Address Structure (GAS) format, of the Error status
>> register. This field is ignored by the OSPM on slave channels"
>>
> Does anyone have these error status register for Type 4 ? If not it can
> be optimised with that check rather than channel type check. I would rather
> avoiding adding checks on the type of the channel everywhere in the code.
>
The requirement that errors are ignored is strange and I have no 
visibility into why it is included.  It may be completely safe to ignore 
this rule. We have not tripped over it in our hardware, which is why I 
did not address it before. I cannot speak for any other 
implementations.  However, I think the exclusion needs to be here for 
compliance with the protocol, otherwise we might end up with a case that 
we cannot support.  If you can suggest an alternate way to implement the 
specification, please let me know and I will try to encode it.



  reply	other threads:[~2026-07-22 17:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21 17:52 [PATCH v45 0/7] MCTP over PCC Adam Young
2026-07-21 17:52 ` [PATCH v45 1/7] mailbox/pcc.c: shmem map/unmap startup/teardown Adam Young
2026-07-24 17:59   ` Adam Young
2026-08-11 17:34     ` Jassi Brar
2026-08-13  5:00       ` Sudeep Holla
2026-07-21 17:52 ` [PATCH v45 2/7] mailbox/pcc.c: ignore errors on type 4 channels Adam Young
2026-07-22  8:55   ` Sudeep Holla
2026-07-22 17:04     ` Adam Young [this message]
2026-07-21 17:52 ` [PATCH v45 3/7] mailbox/pcc.c: report errors for PCC clients Adam Young
2026-07-22  9:07   ` Sudeep Holla
2026-07-22 17:07     ` Adam Young
2026-07-21 17:52 ` [PATCH v45 4/7] mailbox/pcc.c: add query channel function Adam Young
2026-07-21 17:52 ` [PATCH v45 5/7] mctp pcc: Implement MCTP over PCC Transport Adam Young
2026-07-21 17:52 ` [PATCH v45 6/7] synchronize IRQ before releasing shared memory Adam Young
2026-07-21 17:52 ` [PATCH v45 7/7] wrap pchan->chan_in_use in READ/WRITE_ONCE Adam Young
2026-07-22  8:50   ` Sudeep Holla
2026-07-22 18:58     ` Adam Young
2026-07-27 16:20 ` [PATCH v45 0/7] MCTP over PCC Adam Young

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=de0d8a0f-7f08-4654-b9e0-b8a3c8abb349@amperemail.onmicrosoft.com \
    --to=admiyo@amperemail.onmicrosoft.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=admiyo@os.amperecomputing.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jassisinghbrar@gmail.com \
    --cc=jk@codeconstruct.com.au \
    --cc=kuba@kernel.org \
    --cc=lihuisong@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt@codeconstruct.com.au \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sudeep.holla@kernel.org \
    /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

all inboxes | Powered by JetHome®