All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: "Ruinskiy, Dima" <dima.ruinskiy@intel.com>
Cc: Jacob Keller <jacob.e.keller@intel.com>,
	"Lifshits, Vitaly" <vitaly.lifshits@intel.com>,
	Simon Horman <horms@kernel.org>,
	"andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"edumazet@google.com" <edumazet@google.com>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"Nguyen, Anthony L" <anthony.l.nguyen@intel.com>
Subject: Re: [RFC net-next v1 1/1] e1000e: Introduce private flag and module param to disable K1
Date: Thu, 31 Jul 2025 07:19:00 -0700	[thread overview]
Message-ID: <20250731071900.5513e432@kernel.org> (raw)
In-Reply-To: <e04d3835-6870-4b82-a9a5-cb2e0b8342f5@intel.com>

On Thu, 31 Jul 2025 10:00:44 +0300 Ruinskiy, Dima wrote:
> My concern here is not as much as how to set the private flag 
> automatically at each boot (I leave this to the system administrator).
> 
> The concern is whether it can be set early enough during probe() to be 
> effective. There is a good deal of HW access that happens during 
> probe(). If it takes place before the flag is set, the HW can enter a 
> bad state and changing K1 behavior later on does not always recover it.
> 
> With the module parameter, adapter->flags2 |= FLAG2_DISABLE_K1 gets set 
> inside e1000e_check_options(), which is before any HW access takes 
> place. If the private flag method can give similar guarantees, then it 
> would be sufficient.

Presumably you are going to detect all the bad SKUs in the driver to
the best of your ability. So we're talking about a workaround that lets
the user tweak things until a relevant patch reaches stable..

  reply	other threads:[~2025-07-31 14:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-10  9:24 [RFC net-next v1 1/1] e1000e: Introduce private flag and module param to disable K1 Vitaly Lifshits
2025-07-14 16:55 ` Simon Horman
2025-07-14 21:30   ` Keller, Jacob E
2025-07-16 10:25     ` Ruinskiy, Dima
2025-07-30 14:11       ` Lifshits, Vitaly
2025-07-30 15:28         ` Simon Horman
2025-07-30 20:42           ` Jakub Kicinski
2025-07-30 22:10             ` Jacob Keller
2025-07-31  0:06               ` Jakub Kicinski
2025-07-31  7:00                 ` Ruinskiy, Dima
2025-07-31 14:19                   ` Jakub Kicinski [this message]
2025-07-31 15:51                     ` Jacob Keller
2025-08-03 12:38                       ` Lifshits, Vitaly
2025-08-28  7:15                         ` En-Wei WU

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=20250731071900.5513e432@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=dima.ruinskiy@intel.com \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jacob.e.keller@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=vitaly.lifshits@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.