mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Oscar Alejandro Sánchez Lucero via B4 Relay" <devnull+aleszlucero.gmail.com@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
	"Oscar Alejandro Sánchez Lucero" <aleszlucero@gmail.com>
Subject: [PATCH 0/3] Subject: [PATCH 0/3] staging: octeon: Fix initialization pathways, parsing, and modernize statistics
Date: Sun, 08 Nov 2026 05:48:59 -0600	[thread overview]
Message-ID: <20261108-octeon-init-pipeline-v1-v1-0-eb2c6c956279@gmail.com> (raw)

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>



             reply	other threads:[~2026-11-08 11:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 11:48 Oscar Alejandro Sánchez Lucero via B4 Relay [this message]
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

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=20261108-octeon-init-pipeline-v1-v1-0-eb2c6c956279@gmail.com \
    --to=devnull+aleszlucero.gmail.com@kernel.org \
    --cc=aleszlucero@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /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 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®