From: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
To: "Grumbach, Emmanuel" <emmanuel.grumbach@intel.com>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>,
"Korenblit, Miriam Rachel" <miriam.rachel.korenblit@intel.com>,
"Berg, Johannes" <johannes.berg@intel.com>
Subject: Re: [PATCH 6.9 1/2] wifi: iwlwifi: mvm: support iwl_dev_tx_power_cmd_v8
Date: Wed, 19 Jun 2024 11:25:38 +0200 [thread overview]
Message-ID: <2024061955-unstuck-static-9f3c@gregkh> (raw)
In-Reply-To: <832c8e0030465c6356097eb04a98f922cd152ab0.camel@intel.com>
On Wed, Jun 19, 2024 at 09:03:34AM +0000, Grumbach, Emmanuel wrote:
> On Wed, 2024-06-19 at 10:51 +0200, Greg KH wrote:
> > On Tue, Jun 18, 2024 at 02:09:23PM +0300, Emmanuel Grumbach wrote:
> > > commit 8f892e225f416fcf2b55a0f9161162e08e2b0cc7 upstream.
> > >
> > > This just adds a __le32 that we (currently) don't use.
> >
> > Why is this needed for a stable tree if this is nothing that is actually
> > used and then we need another fix for it after that?
>
> Right, so I totally understand you're confused... I should probably have re-written the commit
> message to explain why this is needed for stable...
>
> This patch allows to handle a new version of a specific command to the firmware. As explained in the
> commit message, we don't need the new field, but ... the command got bigger and we must align to the
> new size of course. If we don't, the firmware will get a command that is shorter than expected and
> will crash.
> We originally didn't think we'd need that on the firmware versions supported by kernel 6.9 and this
> is why we didn't queue this patch for 6.9. Now, it appears that the latest firmware version that 6.9
> supports does need the new version of the command.
> Unfortunately, we learnt that the hard way, through bugzilla :-(
>
> Now, this patch introduced a regression that is fixed by another patch...
> Would you prefer me to squash them?
>
> >
> > I can't see how this commit actually does anything on it's own, what am
> > I missing?
> >
> > What bug is this fixing? A regression? Is this a new feature?
>
> So, yes, it fixes a bug as explained above.
> This is a regression because older kernels won't load the new firmware and won't hit the firmware
> crash.
>
> >
> > confused,
>
> I should have re-written the commit message. Sorry.
> I hope things are now clearer..
Keeping the commit message the same is fine, and not squashing is also
fine, but a huge hint as to _why_ this is relevent for the stable trees
would have been appreciated. That's what [0/X] email blurbs are for :)
thanks, I'll go queue these up now.
greg k-h
prev parent reply other threads:[~2024-06-19 9:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 11:09 [PATCH 6.9 1/2] wifi: iwlwifi: mvm: support iwl_dev_tx_power_cmd_v8 Emmanuel Grumbach
2024-06-18 11:09 ` [PATCH 6.9 2/2] wifi: iwlwifi: mvm: fix a crash on 7265 Emmanuel Grumbach
2024-06-19 8:51 ` [PATCH 6.9 1/2] wifi: iwlwifi: mvm: support iwl_dev_tx_power_cmd_v8 Greg KH
2024-06-19 9:03 ` Grumbach, Emmanuel
2024-06-19 9:25 ` gregkh [this message]
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=2024061955-unstuck-static-9f3c@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=emmanuel.grumbach@intel.com \
--cc=johannes.berg@intel.com \
--cc=miriam.rachel.korenblit@intel.com \
--cc=stable@vger.kernel.org \
/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