All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Haren Myneni <haren@linux.ibm.com>, linuxppc-dev@lists.ozlabs.org
Cc: maddy@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com,
	msuchanek@suse.de, mahesh@linux.ibm.com, tyreld@linux.ibm.com,
	hbabu@us.ibm.com
Subject: Re: [PATCH RFC 7/9] powerpc/pseries: Enable HVPIPE event message interrupt
Date: Mon, 7 Jul 2025 09:35:37 +0200	[thread overview]
Message-ID: <5cb4a9fc-50a8-4b13-8ad7-21610fb5cfe4@kernel.org> (raw)
In-Reply-To: <b9d2274ae6f4f53ea5ee6ffa23bdeea953181040.camel@linux.ibm.com>

On 07/07/2025 09:02, Haren Myneni wrote:
> On Thu, 2025-07-03 at 09:00 +0200, Krzysztof Kozlowski wrote:
>> On 03/07/2025 00:14, Haren Myneni wrote:
>>> +static int __init enable_hvpipe_IRQ(void)
>>> +{
>>> +	struct device_node *np;
>>> +
>>> +	hvpipe_check_exception_token =
>>> rtas_function_token(RTAS_FN_CHECK_EXCEPTION);
>>> +	if (hvpipe_check_exception_token  == RTAS_UNKNOWN_SERVICE)
>>> +		return -ENODEV;
>>> +
>>> +	/* hvpipe events */
>>> +	np = of_find_node_by_path("/event-sources/ibm,hvpipe-msg-
>>> events");
>>
>> Undocumented ABI, NAK. Plus node names should not be used at all as
>> ABI... and naming does not follow DT spec/style, not sure if you care
>> about it, though.
> 
> These new interfaces are documented in new version of PAPR. Please note

Which version? PAPR defines standard, but not the kernel ABI. You still
need to document kernel ABI, just like every other OF usage.


> that /proc/device-tree/event-sources node is different which will not
> have ibm,phandle unlike in some other node. event-sources already has
> several event messages such as io, EPOW, hot-plug, internal-errors
> events and adding hvpipe-msg events now. We can see the similar
> of_find_node_by_path() usage in the current code.
> 
> io_event_irq.c:	np = of_find_node_by_path("/event-sources/ibm,io-
> events");
> ras.c:	np = of_find_node_by_path("/event-sources/hot-plug-events");
> ras.c	np = of_find_node_by_path("/event-sources/internal-errors");
> ras.c:	np = of_find_node_by_path("/event-sources/epow-events");

So you find more issues. Are you going to fix them? What are such
arguments proving? Nothing. If these are bugs, are you allowed to do the
same? Obviously not.

Bring argument about the ABI - ABI is documented here or ABI is does not
need documentation, because of something, or this is not ABI because of
something (although it is). I don't see usage of these in DTS, so
probably there is something I don't get, but your arguments are not
helping at all.

Best regards,
Krzysztof


  reply	other threads:[~2025-07-07  7:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02 22:14 [PATCH RFC 0/9] powerpc/pseries: Add hypervisor pipe (HVPIPE) suport Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 1/9] powerpc/pseries: Define papr-hvpipe ioctl Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 2/9] powerpc/pseries: Define HVPIPE specific macros Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 3/9] powerpc/pseries: Add papr-hvpipe char driver for HVPIPE interfaces Haren Myneni
2025-07-03  6:58   ` Krzysztof Kozlowski
2025-07-07  6:53     ` Haren Myneni
2025-07-07  7:29       ` Krzysztof Kozlowski
2025-07-02 22:14 ` [PATCH RFC 4/9] powerpc/pseries: Send payload with ibm,send-hvpipe-msg RTAS Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 5/9] powerpc/pseries: Receive payload with ibm,receive-hvpipe-msg RTAS Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 6/9] powerpc/pseries: Wakeup hvpipe FD when the payload is pending Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 7/9] powerpc/pseries: Enable HVPIPE event message interrupt Haren Myneni
2025-07-03  7:00   ` Krzysztof Kozlowski
2025-07-07  7:02     ` Haren Myneni
2025-07-07  7:35       ` Krzysztof Kozlowski [this message]
2025-07-07  7:43         ` Krzysztof Kozlowski
2025-07-07  9:13           ` Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 8/9] powerpc/pseries: Enable hvpipe with ibm,set-system-parameter RTAS Haren Myneni
2025-07-02 22:14 ` [PATCH RFC 9/9] powerpc/pseries: HVPIPE changes to support migration Haren Myneni

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=5cb4a9fc-50a8-4b13-8ad7-21610fb5cfe4@kernel.org \
    --to=krzk@kernel.org \
    --cc=haren@linux.ibm.com \
    --cc=hbabu@us.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mahesh@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    --cc=msuchanek@suse.de \
    --cc=npiggin@gmail.com \
    --cc=tyreld@linux.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.