[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240822122652.1071801-1-danishanwar@ti.com>
Date: Thu, 22 Aug 2024 17:56:50 +0530
From: MD Danish Anwar <danishanwar@...com>
To: Suman Anna <s-anna@...com>, Sai Krishna <saikrishnag@...vell.com>,
Jan
Kiszka <jan.kiszka@...mens.com>,
Dan Carpenter <dan.carpenter@...aro.org>,
Heiner Kallweit <hkallweit1@...il.com>,
Diogo Ivo <diogo.ivo@...mens.com>,
Kory Maincent <kory.maincent@...tlin.com>,
Andrew Lunn <andrew@...n.ch>, Paolo Abeni <pabeni@...hat.com>,
Jakub Kicinski <kuba@...nel.org>, Eric
Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
Roger
Quadros <rogerq@...nel.org>,
MD Danish Anwar <danishanwar@...com>,
Conor
Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Rob
Herring <robh@...nel.org>,
Santosh Shilimkar <ssantosh@...nel.org>, Nishanth
Menon <nm@...com>
CC: <netdev@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<srk@...com>, Vignesh Raghavendra <vigneshr@...com>
Subject: [PATCH net-next v7 0/2] Add support for ICSSG PA_STATS
Hi,
This series adds support for PA_STATS. Previously this series was a
standalone patch adding documentation for PA_STATS in dt-bindings file
ti,pruss.yaml.
As discussed in v4, posting driver and binding patch together.
Changes isnce v6:
*) Addressed Roger's comments and renamed stats related data strcutures
and array so that they remain consitent.
*) Re-ordered data structures and arrays related to stats type as asked
by Roger.
*) Modified commit message to state these additional changes
Changes since v5:
*) Used ARRAY_SIZE(icssg_all_pa_stats) instead of ICSSG_NUM_PA_STATS so
that it's consistent with the loop as suggested by Dan Carpenter
<dan.carpenter@...aro.org>
*) Created emac->pa_stats array for storing pa_stats as suggested by
Dan Carpenter <dan.carpenter@...aro.org>
*) Renamed `icssg_all_stats` to `icssg_mii_g_rt_stats`.
*) Added entry for pa_stats in kernel doc for structure prueth as asked by
Simon Horman <horms@...nel.org>.
*) Improved syntax for kernel doc of pa_stats_regs register by dropping
u32 from kernel doc.
Changes since v4:
*) Added net-next to both driver and binding patch as they are both now
meant to be merged via net-next.
*) Added Acked by tag of Nishanth Menon <nm@...com>
*) Dropped device tree patches as they don't need merge now.
*) Modified patch 2 to use ethtool_puts() as suggested by Jakub Kicinski
<kuba@...nel.org>
Changes since v3:
*) Added full series as asked by Nishanth Menon <nm@...com>
Changes from v2 to v3:
*) Added RB tag of Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org> to
patch 2/2
*) Added patch 1/2 to the series as the binding file is orphan.
Changes from v1 to v2:
*) Added ^ in pa-stats as suggested by Krzysztof Kozlowski
<krzk@...nel.org>
*) Moved additionalProperties: false to right after type:object as
suggested by Krzysztof Kozlowski <krzk@...nel.org>
*) Updated description of pa-stats to explain the purpose of PA_STATS
module in context of ICSSG.
v1 https://lore.kernel.org/all/20240430121915.1561359-1-danishanwar@ti.com/
v2 https://lore.kernel.org/all/20240529115149.630273-1-danishanwar@ti.com/
v3 https://lore.kernel.org/all/20240625153319.795665-1-danishanwar@ti.com/
v4 https://lore.kernel.org/all/20240729113226.2905928-1-danishanwar@ti.com/
v5 https://lore.kernel.org/all/20240814092033.2984734-1-danishanwar@ti.com/
v6 https://lore.kernel.org/all/20240820091657.4068304-1-danishanwar@ti.com/
MD Danish Anwar (2):
dt-bindings: soc: ti: pruss: Add documentation for PA_STATS support
net: ti: icssg-prueth: Add support for PA Stats
.../devicetree/bindings/soc/ti/ti,pruss.yaml | 20 +++
drivers/net/ethernet/ti/icssg/icssg_ethtool.c | 19 ++-
drivers/net/ethernet/ti/icssg/icssg_prueth.c | 6 +
drivers/net/ethernet/ti/icssg/icssg_prueth.h | 9 +-
drivers/net/ethernet/ti/icssg/icssg_stats.c | 31 +++-
drivers/net/ethernet/ti/icssg/icssg_stats.h | 158 +++++++++++-------
6 files changed, 160 insertions(+), 83 deletions(-)
base-commit: 812a2751e827fa1eb01f3bd268b4d74c23f4226a
--
2.34.1
Powered by blists - more mailing lists