mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Subject: [PATCH 0/3] staging: octeon: Fix initialization pathways, parsing, and modernize statistics
@ 2026-11-08 11:48 Oscar Alejandro Sánchez Lucero via B4 Relay
  2026-11-08 11:49 ` [PATCH 1/3] staging: octeon: disable PKO before device removal in probe error path Oscar Alejandro Sánchez Lucero via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Oscar Alejandro Sánchez Lucero via B4 Relay @ 2026-11-08 11:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-staging, linux-kernel, Oscar Alejandro Sánchez Lucero

This series resolves critical initialization issues, structural edge cases 
in string tokenization, and infrastructure modernizations within the core 
ethernet interface logic of the Cavium Octeon staging driver (ethernet.c).

1. Fix a missing hardware resource cleanup step in the cvm_oct_probe() error 
   handling path by ensuring cvmx_pko_disable() is invoked dynamically prior 
   to device detachment.
2. Replace an unsafe prefix-matching strstr() evaluation within the 
   pow_send_list check with accurate comma-separated tokenization using 
   strsep() and strict strcmp() checking.
3. Migrate the legacy 32-bit ndo_get_stats net_device_ops callback to the 
   modern 64-bit ndo_get_stats64 atomic interface infrastructure to prevent 
   counter wrap-around bugs on SMP platforms.

Oscar Alejandro Sánchez Lucero (3):
  staging: octeon: disable PKO before device removal in probe error path
  staging: octeon: match exact interface names in pow_send_list
  staging: octeon: convert from ndo_get_stats to ndo_get_stats64

Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
---
Oscar Alejandro Sánchez Lucero (3):
      staging: octeon: disable PKO before device removal in probe error path
      staging: octeon: convert from ndo_get_stats to ndo_get_stats64
      staging: octeon: match exact interface names in pow_send_list

 drivers/staging/octeon/ethernet.c | 55 +++++++++++++++++++++++++--------------
 1 file changed, 36 insertions(+), 19 deletions(-)
---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
change-id: 20261108-octeon-init-pipeline-v1-e25ec64f49e3

Best regards,
-- 
Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-08 11:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 11:48 [PATCH 0/3] Subject: [PATCH 0/3] staging: octeon: Fix initialization pathways, parsing, and modernize statistics Oscar Alejandro Sánchez Lucero via B4 Relay
2026-11-08 11:49 ` [PATCH 1/3] staging: octeon: disable PKO before device removal in probe error path Oscar Alejandro Sánchez Lucero via B4 Relay
2026-11-08 11:49 ` [PATCH 2/3] staging: octeon: convert from ndo_get_stats to ndo_get_stats64 Oscar Alejandro Sánchez Lucero via B4 Relay
2026-11-08 11:49 ` [PATCH 3/3] staging: octeon: match exact interface names in pow_send_list Oscar Alejandro Sánchez Lucero via B4 Relay

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®