* Re: [PATCH v2 3/3] of: property: Add in-ports/out-ports support to of_graph_get_port_parent() [not found] ` <20240207011803.2637531-4-saravanak@google.com> @ 2024-02-21 0:47 ` Saravana Kannan 2024-02-21 7:00 ` Greg Kroah-Hartman 0 siblings, 1 reply; 3+ messages in thread From: Saravana Kannan @ 2024-02-21 0:47 UTC (permalink / raw) To: Rob Herring, Frank Rowand, Greg Kroah-Hartman, Saravana Kannan, stable Cc: Xu Yang, kernel-team, devicetree, linux-kernel On Tue, Feb 6, 2024 at 5:18 PM Saravana Kannan <saravanak@google.com> wrote: > > Similar to the existing "ports" node name, coresight device tree bindings > have added "in-ports" and "out-ports" as standard node names for a > collection of ports. > > Add support for these name to of_graph_get_port_parent() so that > remote-endpoint parsing can find the correct parent node for these > coresight ports too. > > Signed-off-by: Saravana Kannan <saravanak@google.com> Greg, I saw that you pulled the previous 2 patches in this series to 6.1, 6.6 and 6.7 kernel branches. I really should have added both of those Fixes tag to this patch too. Can you please pull in the patch to those stable branches too? Thanks, Saravana > --- > drivers/of/property.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/of/property.c b/drivers/of/property.c > index 7bb2d8e290de..39a3ee1dfb58 100644 > --- a/drivers/of/property.c > +++ b/drivers/of/property.c > @@ -763,7 +763,9 @@ struct device_node *of_graph_get_port_parent(struct device_node *node) > /* Walk 3 levels up only if there is 'ports' node. */ > for (depth = 3; depth && node; depth--) { > node = of_get_next_parent(node); > - if (depth == 2 && !of_node_name_eq(node, "ports")) > + if (depth == 2 && !of_node_name_eq(node, "ports") && > + !of_node_name_eq(node, "in-ports") && > + !of_node_name_eq(node, "out-ports")) > break; > } > return node; > -- > 2.43.0.594.gd9cf4e227d-goog > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 3/3] of: property: Add in-ports/out-ports support to of_graph_get_port_parent() 2024-02-21 0:47 ` [PATCH v2 3/3] of: property: Add in-ports/out-ports support to of_graph_get_port_parent() Saravana Kannan @ 2024-02-21 7:00 ` Greg Kroah-Hartman 2024-02-21 8:38 ` Greg Kroah-Hartman 0 siblings, 1 reply; 3+ messages in thread From: Greg Kroah-Hartman @ 2024-02-21 7:00 UTC (permalink / raw) To: Saravana Kannan Cc: Rob Herring, Frank Rowand, stable, Xu Yang, kernel-team, devicetree, linux-kernel On Tue, Feb 20, 2024 at 04:47:35PM -0800, Saravana Kannan wrote: > On Tue, Feb 6, 2024 at 5:18 PM Saravana Kannan <saravanak@google.com> wrote: > > > > Similar to the existing "ports" node name, coresight device tree bindings > > have added "in-ports" and "out-ports" as standard node names for a > > collection of ports. > > > > Add support for these name to of_graph_get_port_parent() so that > > remote-endpoint parsing can find the correct parent node for these > > coresight ports too. > > > > Signed-off-by: Saravana Kannan <saravanak@google.com> > > Greg, > > I saw that you pulled the previous 2 patches in this series to 6.1, > 6.6 and 6.7 kernel branches. I really should have added both of those > Fixes tag to this patch too. > > Can you please pull in the patch to those stable branches too? Sure, what's the git id? thanks, greg k-h ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 3/3] of: property: Add in-ports/out-ports support to of_graph_get_port_parent() 2024-02-21 7:00 ` Greg Kroah-Hartman @ 2024-02-21 8:38 ` Greg Kroah-Hartman 0 siblings, 0 replies; 3+ messages in thread From: Greg Kroah-Hartman @ 2024-02-21 8:38 UTC (permalink / raw) To: Saravana Kannan Cc: Rob Herring, Frank Rowand, stable, Xu Yang, kernel-team, devicetree, linux-kernel On Wed, Feb 21, 2024 at 08:00:00AM +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 20, 2024 at 04:47:35PM -0800, Saravana Kannan wrote: > > On Tue, Feb 6, 2024 at 5:18 PM Saravana Kannan <saravanak@google.com> wrote: > > > > > > Similar to the existing "ports" node name, coresight device tree bindings > > > have added "in-ports" and "out-ports" as standard node names for a > > > collection of ports. > > > > > > Add support for these name to of_graph_get_port_parent() so that > > > remote-endpoint parsing can find the correct parent node for these > > > coresight ports too. > > > > > > Signed-off-by: Saravana Kannan <saravanak@google.com> > > > > Greg, > > > > I saw that you pulled the previous 2 patches in this series to 6.1, > > 6.6 and 6.7 kernel branches. I really should have added both of those > > Fixes tag to this patch too. > > > > Can you please pull in the patch to those stable branches too? > > Sure, what's the git id? Nevermind, I found it... ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-21 8:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240207011803.2637531-1-saravanak@google.com>
[not found] ` <20240207011803.2637531-4-saravanak@google.com>
2024-02-21 0:47 ` [PATCH v2 3/3] of: property: Add in-ports/out-ports support to of_graph_get_port_parent() Saravana Kannan
2024-02-21 7:00 ` Greg Kroah-Hartman
2024-02-21 8:38 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox