Message ID | 20240207011803.2637531-1-saravanak@google.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-55787-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1930288dyb; Tue, 6 Feb 2024 17:18:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPHt6WwzXA51OJ64VHKL23e8gnHW1wEDBJrb7nB0mV+4zPbMLNOvrPfvnE49469eU//jM8XDzG6H+ArN+JxAca9KqVkA== X-Google-Smtp-Source: AGHT+IGIdQPYV1rWFuYfsy3bXnGNKG8Ssxwv+r7AZmVbPZdizu00xHINNBWKbb0zaZBEsvkEZ1/M X-Received: by 2002:aa7:85d6:0:b0:6e0:35e9:a78e with SMTP id z22-20020aa785d6000000b006e035e9a78emr1192457pfn.21.1707268735268; Tue, 06 Feb 2024 17:18:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707268735; cv=pass; d=google.com; s=arc-20160816; b=lU1QnmWgdFxdXFFSLvkmMCS7rNxPs3PhFZZ1qVq1ny+Dp1l4+1meoUWotfmviZ3SAj MiqqhwgyHT3PL8DShdK3IBcmVG2bQql0WEjjxG7TcVc/ElzliUIJwmW5WjV4wpAG+T0X sCCLD1niKHcPPyiF9DAo42/jQ89ACi+219cgxEcb0eu/UGV00OdakXESPs7i8BvHXqOo SPHiVkHL64jOQ4vn+8J18027/ZSP1iDRhSZGDSqOUIHBMEWobECrCKF5li/q82Bql/sg AXECYtgymsqrL07ZwSoZUHZenx6tnT7JQsPOcxXDA7Rzt/Q57Zj37WcjhsdQhzoalFaY C3lw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:date:dkim-signature; bh=UexJNRXrO9O5AbEP/1DqD+ioDnk3bGMvlBeoNd1TAjw=; fh=1aE29gqbDJBzPvhCach+P8z7dBmzjxlixZ3mADt1ZHo=; b=yk+35xL1yFnIXJNpHmgSLb49blXXKZbw5W/vi8hJdU74oOetU3ueIW+xan1up8a3Nl XXuauYdKHVuVzTw4zp3UPPo81tI00AG6sjXonZTWumJ67ct78kttEkZ2Ty+DvgMjF3wj WiOcIfm84QNyjWC6zHTm/YFL7xVVpEqx4Q3wLenhWuB4XCd7mirouFkIwlJbCeva7MFh P+kuwoTD5bz++6Ne8iX671URI7nYZVAaAO+BiHHq6c/rtY615MLV6w+lJQqzql4E8zVg hnKdZuSKfNNTmtnpSskRCRouaRrkpHyPTDQ/KFtG2T564Udx1lwhUJt5RsKHW/sgMsNe LXqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=c71qFAMk; arc=pass (i=1 spf=pass spfdomain=flex--saravanak.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-55787-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55787-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCWpSSBzmpUOl1o3+8HZW2nk6tG0yTn1Qb1WQIbHFQ+/W4/CeotZSA9m7feD86RN2p+x+5gJohNclRZtsuukj4tWkqxNmw== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id cm13-20020a056a00338d00b006ddce4f37c0si266551pfb.285.2024.02.06.17.18.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 17:18:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55787-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=c71qFAMk; arc=pass (i=1 spf=pass spfdomain=flex--saravanak.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-55787-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55787-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C6E0BB25523 for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 01:18:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE202D27A; Wed, 7 Feb 2024 01:18:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="c71qFAMk" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C06163C1 for <linux-kernel@vger.kernel.org>; Wed, 7 Feb 2024 01:18:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707268693; cv=none; b=D6WUUMx1Es/2vfi+H23IzD/ifkTTmC7pqX2oP4pjEocFotwE9BwKyPkCq8LDpokI3tkkhwVCV6xqLt+ULREj+zQYp3mlVryKbcTOrG0SEJQm/Go3uCC7WFK4Xk06yRjSETI6IuBOZCDA4KLNgKElK/47EB/mGMd24h45PmUvltA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707268693; c=relaxed/simple; bh=wrL2jNNKKhbi8/viDh62hnYuSFxSKbu2NpzPTnqEhKQ=; h=Date:Message-Id:Mime-Version:Subject:From:To:Cc:Content-Type; b=rNRxSzKLNCMyRFS2uhq1nC9kpsTXi4KGF1gYwFuYNKBcTEEJdo6GDV4WZj/+UI1uh0F6eE3wa6zPuTM9t3V9IXJeDg+Vyus+GhtJ46GMB5SF8HxJxj0wofjwtSuz91YCDiH+urmPV1spwwns/MZIKS2xZ6aVGsw2B/deo9+JlxM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--saravanak.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=c71qFAMk; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--saravanak.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-6047a047f58so2058327b3.3 for <linux-kernel@vger.kernel.org>; Tue, 06 Feb 2024 17:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707268690; x=1707873490; darn=vger.kernel.org; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=UexJNRXrO9O5AbEP/1DqD+ioDnk3bGMvlBeoNd1TAjw=; b=c71qFAMkYrKhLxVsq3o0RdXCYUMlDTgYxkiC/2z5wvGPfrHCtHgm+QL3VbXNpJOTEu NlXk2rG4R/oTEXFz0FtaNWaiYXk55+xYn8XU3nCraDARvCeKYUWwAxzNg026qC4tJq45 Iy6wASKtjlKtStBf7l8ZlW//JyCXKLvUr6Tn/LuYs59LqOCVC36Avnp9pgXJWxcE/Oz6 /33NdXiY8fWLP/2/ClNJ/BHxK5htnRDFjXW/X/5CKg2U8Au4S/dzVGZh4PNM6MngrPQm 2uGAH+ElT7XPCn6jhf0KjxPcc1x4k3SBuYiGhfmmtIj6qTd5j2iRvBNA7PmXQOuEURbU NOPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707268690; x=1707873490; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UexJNRXrO9O5AbEP/1DqD+ioDnk3bGMvlBeoNd1TAjw=; b=Rm36KUeJoRZeqH7hBrIzGpdYCkv8yYosKaAowjaGH9Y4J9ntWM+CiUx1bQUC4EPowk OgJhGNSMuYES5VyWIr7LfUJSOmn70ipBhNf7TJNYi5UIhUnLNhDz/MOdYRL1HkdacZl9 xSTINVBa/aNwK39inxBwF57rH1bKl8dZP2GQQ8IgJ+LZ+UPUVZ+ZPX7kOsqU1m90b/Ts VXUGxM2mF0pwmQuC16aibQRY50R8lVqxASWtNBH21/LnP/nB4JSsXjnxbJAtTqF3TxN/ ViF6p+WBTlPWS/KK2uYeUVfc/roNAnDim1NTmvQ0uA+CxUI7CHyxAktWw09RXTasryOH N8/g== X-Forwarded-Encrypted: i=1; AJvYcCVydXOzvTm9nePcW/cU2zuUl6XuXXTdxhoQ9O4msglFfMFNBdQcRj1oyvb95n9jmE4f9lkWXXe2eAwt5y/IZx939dxVVUj6HWSJ5ajp X-Gm-Message-State: AOJu0YxxyJ/AqhMFgcduHf9jaAP2mFr3fJM4ujEA4YwgQgAIONd+4FVl 0qinPjPwhPSQncmz0hxGYe+ihw67nQzLwfVKK9/F/lI4WjTJ2Co5PuWIR3TJ44Ykt1IhXDxfDmm Mz5wruITNR0BoEA== X-Received: from saravanak.san.corp.google.com ([2620:15c:2d:3:dc84:66b8:120:935a]) (user=saravanak job=sendgmr) by 2002:a81:4cca:0:b0:5ff:dac0:6524 with SMTP id z193-20020a814cca000000b005ffdac06524mr676661ywa.3.1707268690450; Tue, 06 Feb 2024 17:18:10 -0800 (PST) Date: Tue, 6 Feb 2024 17:17:59 -0800 Message-Id: <20240207011803.2637531-1-saravanak@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> Mime-Version: 1.0 X-Mailer: git-send-email 2.43.0.594.gd9cf4e227d-goog Subject: [PATCH v2 0/3] Improve remote-endpoint parsing From: Saravana Kannan <saravanak@google.com> To: Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Saravana Kannan <saravanak@google.com> Cc: Xu Yang <xu.yang_2@nxp.com>, kernel-team@android.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790201021089915851 X-GMAIL-MSGID: 1790201021089915851 |
Series | Improve remote-endpoint parsing | |
Message
Saravana Kannan
Feb. 7, 2024, 1:17 a.m. UTC
Some changes to do a more accurate parsing of remote-endpoints. Making fw_devlink a tiny bit more efficient and the debug logs a bit cleaner when trying to debug fw_devlink. Rob, Can we get this into 6.8-rcX please? Thanks, Saravana v1->v2: - Switched from fwnode_graph_get_port_parent() to of_graph_get_port_parent() - Added Patch 3 Saravana Kannan (3): of: property: Improve finding the consumer of a remote-endpoint property of: property: Improve finding the supplier of a remote-endpoint property of: property: Add in-ports/out-ports support to of_graph_get_port_parent() drivers/of/property.c | 63 +++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 39 deletions(-)
Comments
On Wed, Feb 7, 2024 at 1:18 AM Saravana Kannan <saravanak@google.com> wrote: > > Some changes to do a more accurate parsing of remote-endpoints. Making > fw_devlink a tiny bit more efficient and the debug logs a bit cleaner when > trying to debug fw_devlink. > > Rob, > > Can we get this into 6.8-rcX please? I'm failing to see how this is 6.8 material? Rob
On Wed, Feb 7, 2024 at 12:11 AM Rob Herring <robh+dt@kernel.org> wrote: > > On Wed, Feb 7, 2024 at 1:18 AM Saravana Kannan <saravanak@google.com> wrote: > > > > Some changes to do a more accurate parsing of remote-endpoints. Making > > fw_devlink a tiny bit more efficient and the debug logs a bit cleaner when > > trying to debug fw_devlink. > > > > Rob, > > > > Can we get this into 6.8-rcX please? > > I'm failing to see how this is 6.8 material? It's a bug fix that's making the remote-endpoint tracking more accurate. I thought stuff like this would be okay for rcX. But if you want to hold it for later, that's ok too. -Saravana
On Tue, 06 Feb 2024 17:17:59 -0800, Saravana Kannan wrote: > Some changes to do a more accurate parsing of remote-endpoints. Making > fw_devlink a tiny bit more efficient and the debug logs a bit cleaner when > trying to debug fw_devlink. > > Rob, > > Can we get this into 6.8-rcX please? > > Thanks, > Saravana > > v1->v2: > - Switched from fwnode_graph_get_port_parent() to of_graph_get_port_parent() > - Added Patch 3 > > Saravana Kannan (3): > of: property: Improve finding the consumer of a remote-endpoint > property > of: property: Improve finding the supplier of a remote-endpoint > property > of: property: Add in-ports/out-ports support to > of_graph_get_port_parent() > > drivers/of/property.c | 63 +++++++++++++++++-------------------------- > 1 file changed, 24 insertions(+), 39 deletions(-) > > -- > 2.43.0.594.gd9cf4e227d-goog > > > Applied, thanks!