From: Yu Kuai <yukuai3(a)huawei.com>
[ Upstream commit 2afe17794cfed5f80295b1b9facd66e6f65e5002 ]
It's supposed to be COUNTER_MAX / 2, not COUNTER_MAX.
Link: https://lore.kernel.org/linux-raid/20250524061320.370630-14-yukuai1@huaweic…
Signed-off-by: Yu Kuai <yukuai3(a)huawei.com>
Reviewed-by: Christoph Hellwig <hch(a)lst.de>
Reviewed-by: Hannes Reinecke <hare(a)suse.de>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
Now I have a clear understanding. Let me analyze the specific code
change in the commit:
**YES**
This commit should be backported to stable kernel trees. Here's my
extensive analysis:
## Analysis of the Bug Fix
### 1. The Bug
The code in `md_bitmap_new_disk_sb()` incorrectly validates
`write_behind` against `COUNTER_MAX` instead of `COUNTER_MAX / 2`:
```c
- if (write_behind > COUNTER_MAX)
+ if (write_behind > COUNTER_MAX / 2)
write_behind = COUNTER_MAX / 2;
```
### 2. Why This is a Real Bug
The comment immediately above this code explicitly states:
```c
/*
- FIXME: write_behind for RAID1. If not specified, what
- is a good choice? We choose COUNTER_MAX / 2 arbitrarily.
*/
```
The intent is clearly to limit write_behind to `COUNTER_MAX / 2`, but
the validation check was incorrectly comparing against `COUNTER_MAX`.
This creates an inconsistency where:
- Values between `COUNTER_MAX / 2` and `COUNTER_MAX` would pass the
check
- But then get clamped to `COUNTER_MAX / 2` anyway
- This means the validation isn't serving its intended purpose
### 3. Impact on Users
This bug affects:
- **dm-raid users**: When creating new bitmap superblocks for RAID
arrays with write-behind configured
- **Data consistency**: While not causing data corruption, it creates
confusion about the actual limits
- **Configuration validation**: Users might set values that appear to be
accepted but are silently reduced
### 4. Consistency with Other Code
The fix aligns with the pattern used elsewhere:
- In `dm-raid.c`: The validation correctly checks `value / 2 >
COUNTER_MAX` (equivalent check for sector-based values)
- The clamping value of `COUNTER_MAX / 2` is consistently used as the
default throughout the codebase
### 5. Backport Criteria
This commit meets the stable kernel backport criteria:
- **It fixes a bug**: Incorrect validation logic that doesn't match the
intended behavior
- **Simple and contained**: One-line change with minimal risk
- **Clear fix**: The correct value is obvious from the surrounding code
and comment
- **User-visible impact**: Affects configuration validation for dm-raid
users
### 6. Similar Historical Commits
Looking at the similar commits provided:
- Commit #1 (backported): Added validation to prevent setting
max_write_behind without write-mostly devices
- Commit #4 (backported): Fixed missing bitmap updates with write-mostly
devices
Both of these were backported and dealt with correctness issues in the
write-behind functionality, establishing a pattern that such fixes are
considered stable-worthy.
### 7. Risk Assessment
- **Low risk**: Single character change ('/' to '/ 2')
- **Well-understood**: The correct limit is documented in the comment
- **No ABI changes**: Just tightens an existing validation check
- **Fail-safe**: Makes the validation more restrictive, not less
## Conclusion
This is a clear bug fix that corrects an incorrect validation check to
match the documented and intended behavior. The fix is trivial, safe,
and addresses a real issue that affects dm-raid users. It should be
backported to ensure consistent behavior across stable kernel versions.
drivers/md/md-bitmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/md-bitmap.c b/drivers/md/md-bitmap.c
index b26e22dd9ba2e..cb84a4ab8d70f 100644
--- a/drivers/md/md-bitmap.c
+++ b/drivers/md/md-bitmap.c
@@ -546,7 +546,7 @@ static int md_bitmap_new_disk_sb(struct bitmap *bitmap)
* is a good choice? We choose COUNTER_MAX / 2 arbitrarily.
*/
write_behind = bitmap->mddev->bitmap_info.max_write_behind;
- if (write_behind > COUNTER_MAX)
+ if (write_behind > COUNTER_MAX / 2)
write_behind = COUNTER_MAX / 2;
sb->write_behind = cpu_to_le32(write_behind);
bitmap->mddev->bitmap_info.max_write_behind = write_behind;
--
2.39.5
From: Yu Kuai <yukuai3(a)huawei.com>
[ Upstream commit 2afe17794cfed5f80295b1b9facd66e6f65e5002 ]
It's supposed to be COUNTER_MAX / 2, not COUNTER_MAX.
Link: https://lore.kernel.org/linux-raid/20250524061320.370630-14-yukuai1@huaweic…
Signed-off-by: Yu Kuai <yukuai3(a)huawei.com>
Reviewed-by: Christoph Hellwig <hch(a)lst.de>
Reviewed-by: Hannes Reinecke <hare(a)suse.de>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
Now I have a clear understanding. Let me analyze the specific code
change in the commit:
**YES**
This commit should be backported to stable kernel trees. Here's my
extensive analysis:
## Analysis of the Bug Fix
### 1. The Bug
The code in `md_bitmap_new_disk_sb()` incorrectly validates
`write_behind` against `COUNTER_MAX` instead of `COUNTER_MAX / 2`:
```c
- if (write_behind > COUNTER_MAX)
+ if (write_behind > COUNTER_MAX / 2)
write_behind = COUNTER_MAX / 2;
```
### 2. Why This is a Real Bug
The comment immediately above this code explicitly states:
```c
/*
- FIXME: write_behind for RAID1. If not specified, what
- is a good choice? We choose COUNTER_MAX / 2 arbitrarily.
*/
```
The intent is clearly to limit write_behind to `COUNTER_MAX / 2`, but
the validation check was incorrectly comparing against `COUNTER_MAX`.
This creates an inconsistency where:
- Values between `COUNTER_MAX / 2` and `COUNTER_MAX` would pass the
check
- But then get clamped to `COUNTER_MAX / 2` anyway
- This means the validation isn't serving its intended purpose
### 3. Impact on Users
This bug affects:
- **dm-raid users**: When creating new bitmap superblocks for RAID
arrays with write-behind configured
- **Data consistency**: While not causing data corruption, it creates
confusion about the actual limits
- **Configuration validation**: Users might set values that appear to be
accepted but are silently reduced
### 4. Consistency with Other Code
The fix aligns with the pattern used elsewhere:
- In `dm-raid.c`: The validation correctly checks `value / 2 >
COUNTER_MAX` (equivalent check for sector-based values)
- The clamping value of `COUNTER_MAX / 2` is consistently used as the
default throughout the codebase
### 5. Backport Criteria
This commit meets the stable kernel backport criteria:
- **It fixes a bug**: Incorrect validation logic that doesn't match the
intended behavior
- **Simple and contained**: One-line change with minimal risk
- **Clear fix**: The correct value is obvious from the surrounding code
and comment
- **User-visible impact**: Affects configuration validation for dm-raid
users
### 6. Similar Historical Commits
Looking at the similar commits provided:
- Commit #1 (backported): Added validation to prevent setting
max_write_behind without write-mostly devices
- Commit #4 (backported): Fixed missing bitmap updates with write-mostly
devices
Both of these were backported and dealt with correctness issues in the
write-behind functionality, establishing a pattern that such fixes are
considered stable-worthy.
### 7. Risk Assessment
- **Low risk**: Single character change ('/' to '/ 2')
- **Well-understood**: The correct limit is documented in the comment
- **No ABI changes**: Just tightens an existing validation check
- **Fail-safe**: Makes the validation more restrictive, not less
## Conclusion
This is a clear bug fix that corrects an incorrect validation check to
match the documented and intended behavior. The fix is trivial, safe,
and addresses a real issue that affects dm-raid users. It should be
backported to ensure consistent behavior across stable kernel versions.
drivers/md/md-bitmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/md-bitmap.c b/drivers/md/md-bitmap.c
index 02629516748e4..dac27206cd3df 100644
--- a/drivers/md/md-bitmap.c
+++ b/drivers/md/md-bitmap.c
@@ -546,7 +546,7 @@ static int md_bitmap_new_disk_sb(struct bitmap *bitmap)
* is a good choice? We choose COUNTER_MAX / 2 arbitrarily.
*/
write_behind = bitmap->mddev->bitmap_info.max_write_behind;
- if (write_behind > COUNTER_MAX)
+ if (write_behind > COUNTER_MAX / 2)
write_behind = COUNTER_MAX / 2;
sb->write_behind = cpu_to_le32(write_behind);
bitmap->mddev->bitmap_info.max_write_behind = write_behind;
--
2.39.5
From: Yu Kuai <yukuai3(a)huawei.com>
[ Upstream commit 2afe17794cfed5f80295b1b9facd66e6f65e5002 ]
It's supposed to be COUNTER_MAX / 2, not COUNTER_MAX.
Link: https://lore.kernel.org/linux-raid/20250524061320.370630-14-yukuai1@huaweic…
Signed-off-by: Yu Kuai <yukuai3(a)huawei.com>
Reviewed-by: Christoph Hellwig <hch(a)lst.de>
Reviewed-by: Hannes Reinecke <hare(a)suse.de>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
Now I have a clear understanding. Let me analyze the specific code
change in the commit:
**YES**
This commit should be backported to stable kernel trees. Here's my
extensive analysis:
## Analysis of the Bug Fix
### 1. The Bug
The code in `md_bitmap_new_disk_sb()` incorrectly validates
`write_behind` against `COUNTER_MAX` instead of `COUNTER_MAX / 2`:
```c
- if (write_behind > COUNTER_MAX)
+ if (write_behind > COUNTER_MAX / 2)
write_behind = COUNTER_MAX / 2;
```
### 2. Why This is a Real Bug
The comment immediately above this code explicitly states:
```c
/*
- FIXME: write_behind for RAID1. If not specified, what
- is a good choice? We choose COUNTER_MAX / 2 arbitrarily.
*/
```
The intent is clearly to limit write_behind to `COUNTER_MAX / 2`, but
the validation check was incorrectly comparing against `COUNTER_MAX`.
This creates an inconsistency where:
- Values between `COUNTER_MAX / 2` and `COUNTER_MAX` would pass the
check
- But then get clamped to `COUNTER_MAX / 2` anyway
- This means the validation isn't serving its intended purpose
### 3. Impact on Users
This bug affects:
- **dm-raid users**: When creating new bitmap superblocks for RAID
arrays with write-behind configured
- **Data consistency**: While not causing data corruption, it creates
confusion about the actual limits
- **Configuration validation**: Users might set values that appear to be
accepted but are silently reduced
### 4. Consistency with Other Code
The fix aligns with the pattern used elsewhere:
- In `dm-raid.c`: The validation correctly checks `value / 2 >
COUNTER_MAX` (equivalent check for sector-based values)
- The clamping value of `COUNTER_MAX / 2` is consistently used as the
default throughout the codebase
### 5. Backport Criteria
This commit meets the stable kernel backport criteria:
- **It fixes a bug**: Incorrect validation logic that doesn't match the
intended behavior
- **Simple and contained**: One-line change with minimal risk
- **Clear fix**: The correct value is obvious from the surrounding code
and comment
- **User-visible impact**: Affects configuration validation for dm-raid
users
### 6. Similar Historical Commits
Looking at the similar commits provided:
- Commit #1 (backported): Added validation to prevent setting
max_write_behind without write-mostly devices
- Commit #4 (backported): Fixed missing bitmap updates with write-mostly
devices
Both of these were backported and dealt with correctness issues in the
write-behind functionality, establishing a pattern that such fixes are
considered stable-worthy.
### 7. Risk Assessment
- **Low risk**: Single character change ('/' to '/ 2')
- **Well-understood**: The correct limit is documented in the comment
- **No ABI changes**: Just tightens an existing validation check
- **Fail-safe**: Makes the validation more restrictive, not less
## Conclusion
This is a clear bug fix that corrects an incorrect validation check to
match the documented and intended behavior. The fix is trivial, safe,
and addresses a real issue that affects dm-raid users. It should be
backported to ensure consistent behavior across stable kernel versions.
drivers/md/md-bitmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/md-bitmap.c b/drivers/md/md-bitmap.c
index 8317e07b326d0..21decb97bc050 100644
--- a/drivers/md/md-bitmap.c
+++ b/drivers/md/md-bitmap.c
@@ -589,7 +589,7 @@ static int md_bitmap_new_disk_sb(struct bitmap *bitmap)
* is a good choice? We choose COUNTER_MAX / 2 arbitrarily.
*/
write_behind = bitmap->mddev->bitmap_info.max_write_behind;
- if (write_behind > COUNTER_MAX)
+ if (write_behind > COUNTER_MAX / 2)
write_behind = COUNTER_MAX / 2;
sb->write_behind = cpu_to_le32(write_behind);
bitmap->mddev->bitmap_info.max_write_behind = write_behind;
--
2.39.5
From: Hannes Reinecke <hare(a)kernel.org>
[ Upstream commit f42d4796ee100fade86086d1cf98537fb4d326c8 ]
When the socket is busy processing nvme_tcp_try_recv() might return
-EAGAIN, but this doesn't automatically imply that the sending side is
blocked, too. So check if there are pending requests once
nvme_tcp_try_recv() returns -EAGAIN and continue with the sending loop
to avoid I/O stalls.
Signed-off-by: Hannes Reinecke <hare(a)kernel.org>
Acked-by: Chris Leech <cleech(a)redhat.com>
Reviewed-by: Sagi Grimberg <sagi(a)grimberg.me>
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
Based on my analysis of the commit and comparison with similar commits,
here is my determination:
**YES**
This commit should be backported to stable kernel trees for the
following reasons:
1. **Fixes a real user-impacting bug**: The commit addresses I/O stalls
on congested sockets, which is a serious issue that can cause system
hangs or severe performance degradation. When the socket is congested
and `nvme_tcp_try_recv()` returns -EAGAIN, the current code
incorrectly assumes that the sending side is also blocked, leading to
I/O stalls.
2. **Small and contained fix**: The changes are minimal and localized to
the `nvme_tcp_io_work()` function:
- Changes `nvme_tcp_try_recv()` to return 0 instead of -EAGAIN to
prevent premature exit
- Adds a check after receive processing to see if the socket became
writable
- Only 5 lines of actual code changes
3. **Clear logic fix**: The patch addresses a specific logic error
where:
- The receive side returns -EAGAIN (socket would block on receive)
- But this doesn't mean the send side is also blocked
- The fix checks if there are pending requests and if the socket is
writable after receive processing
4. **Similar to other backported fixes**: Looking at the historical
commits:
- Commit #2 (backported): Fixed hangs waiting for icresp response
- Commit #3 (backported): Fixed wrong stop condition in io_work
- Commit #4 (backported): Fixed UAF when detecting digest errors
- Commit #5 (backported): Fixed possible null deref on timed out
connections
All these commits that were backported involved fixing hangs, stalls,
or error conditions in the nvme-tcp driver.
5. **No architectural changes**: The commit doesn't introduce new
features or change the architecture. It simply adds a missing check
to prevent I/O stalls, which aligns with stable kernel criteria.
6. **Critical subsystem**: NVMe-TCP is used for storage access, and I/O
stalls can have severe consequences for system stability and data
integrity.
The specific code changes show:
- `return consumed == -EAGAIN ? 0 : consumed;` - prevents treating
EAGAIN as an error
- The new check `if (nvme_tcp_queue_has_pending(queue) &&
sk_stream_is_writeable(queue->sock->sk))` ensures that if there are
pending requests and the socket is writable after receive processing,
we continue processing instead of stalling.
This is exactly the type of bug fix that should be backported to stable
kernels to ensure reliable storage operation.
drivers/nvme/host/tcp.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c
index 4cc72be28c731..13ede6e309092 100644
--- a/drivers/nvme/host/tcp.c
+++ b/drivers/nvme/host/tcp.c
@@ -1349,7 +1349,7 @@ static int nvme_tcp_try_recv(struct nvme_tcp_queue *queue)
queue->nr_cqe = 0;
consumed = sock->ops->read_sock(sk, &rd_desc, nvme_tcp_recv_skb);
release_sock(sk);
- return consumed;
+ return consumed == -EAGAIN ? 0 : consumed;
}
static void nvme_tcp_io_work(struct work_struct *w)
@@ -1377,6 +1377,11 @@ static void nvme_tcp_io_work(struct work_struct *w)
else if (unlikely(result < 0))
return;
+ /* did we get some space after spending time in recv? */
+ if (nvme_tcp_queue_has_pending(queue) &&
+ sk_stream_is_writeable(queue->sock->sk))
+ pending = true;
+
if (!pending || !queue->rd_enabled)
return;
--
2.39.5
From: Hannes Reinecke <hare(a)kernel.org>
[ Upstream commit f42d4796ee100fade86086d1cf98537fb4d326c8 ]
When the socket is busy processing nvme_tcp_try_recv() might return
-EAGAIN, but this doesn't automatically imply that the sending side is
blocked, too. So check if there are pending requests once
nvme_tcp_try_recv() returns -EAGAIN and continue with the sending loop
to avoid I/O stalls.
Signed-off-by: Hannes Reinecke <hare(a)kernel.org>
Acked-by: Chris Leech <cleech(a)redhat.com>
Reviewed-by: Sagi Grimberg <sagi(a)grimberg.me>
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
Based on my analysis of the commit and comparison with similar commits,
here is my determination:
**YES**
This commit should be backported to stable kernel trees for the
following reasons:
1. **Fixes a real user-impacting bug**: The commit addresses I/O stalls
on congested sockets, which is a serious issue that can cause system
hangs or severe performance degradation. When the socket is congested
and `nvme_tcp_try_recv()` returns -EAGAIN, the current code
incorrectly assumes that the sending side is also blocked, leading to
I/O stalls.
2. **Small and contained fix**: The changes are minimal and localized to
the `nvme_tcp_io_work()` function:
- Changes `nvme_tcp_try_recv()` to return 0 instead of -EAGAIN to
prevent premature exit
- Adds a check after receive processing to see if the socket became
writable
- Only 5 lines of actual code changes
3. **Clear logic fix**: The patch addresses a specific logic error
where:
- The receive side returns -EAGAIN (socket would block on receive)
- But this doesn't mean the send side is also blocked
- The fix checks if there are pending requests and if the socket is
writable after receive processing
4. **Similar to other backported fixes**: Looking at the historical
commits:
- Commit #2 (backported): Fixed hangs waiting for icresp response
- Commit #3 (backported): Fixed wrong stop condition in io_work
- Commit #4 (backported): Fixed UAF when detecting digest errors
- Commit #5 (backported): Fixed possible null deref on timed out
connections
All these commits that were backported involved fixing hangs, stalls,
or error conditions in the nvme-tcp driver.
5. **No architectural changes**: The commit doesn't introduce new
features or change the architecture. It simply adds a missing check
to prevent I/O stalls, which aligns with stable kernel criteria.
6. **Critical subsystem**: NVMe-TCP is used for storage access, and I/O
stalls can have severe consequences for system stability and data
integrity.
The specific code changes show:
- `return consumed == -EAGAIN ? 0 : consumed;` - prevents treating
EAGAIN as an error
- The new check `if (nvme_tcp_queue_has_pending(queue) &&
sk_stream_is_writeable(queue->sock->sk))` ensures that if there are
pending requests and the socket is writable after receive processing,
we continue processing instead of stalling.
This is exactly the type of bug fix that should be backported to stable
kernels to ensure reliable storage operation.
drivers/nvme/host/tcp.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c
index d991baa82a1c2..a2e825e37b38b 100644
--- a/drivers/nvme/host/tcp.c
+++ b/drivers/nvme/host/tcp.c
@@ -1349,7 +1349,7 @@ static int nvme_tcp_try_recv(struct nvme_tcp_queue *queue)
queue->nr_cqe = 0;
consumed = sock->ops->read_sock(sk, &rd_desc, nvme_tcp_recv_skb);
release_sock(sk);
- return consumed;
+ return consumed == -EAGAIN ? 0 : consumed;
}
static void nvme_tcp_io_work(struct work_struct *w)
@@ -1377,6 +1377,11 @@ static void nvme_tcp_io_work(struct work_struct *w)
else if (unlikely(result < 0))
return;
+ /* did we get some space after spending time in recv? */
+ if (nvme_tcp_queue_has_pending(queue) &&
+ sk_stream_is_writeable(queue->sock->sk))
+ pending = true;
+
if (!pending || !queue->rd_enabled)
return;
--
2.39.5
From: Ilan Peer <ilan.peer(a)intel.com>
[ Upstream commit f81aa834bfa91c827f290b62a245e23c5ad2813c ]
The regulatory domain information was initialized every time the
FW was loaded and the device was restarted. This was unnecessary
and useless as at this stage the wiphy channels information was
not setup yet so while the regulatory domain was set to the wiphy,
the channel information was not updated.
In case that a specific MCC was configured during FW initialization
then following updates with this MCC are ignored, and thus the
wiphy channels information is left with information not matching
the regulatory domain.
This commit moves the regulatory domain initialization to after the
operational firmware is started, i.e., after the wiphy channels were
configured and the regulatory information is needed.
Signed-off-by: Ilan Peer <ilan.peer(a)intel.com>
Reviewed-by: Johannes Berg <johannes.berg(a)intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit(a)intel.com>
Link: https://patch.msgid.link/20250604061200.f138a7382093.I2fd8b3e99be13c2687da4…
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit(a)intel.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
**YES**
This commit should be backported to stable kernel trees. Here's my
extensive analysis:
## Bug Fix Nature
The commit fixes a real bug where regulatory domain information and
wiphy channel configurations become mismatched. Specifically, from the
commit message:
1. **Timing Issue**: The regulatory domain was being initialized in
`iwl_mld_load_fw()` before wiphy channels were properly configured
2. **Update Failures**: When a specific MCC (Mobile Country Code) was
configured during FW initialization, subsequent updates with the same
MCC would be ignored, leaving channel information inconsistent with
the regulatory domain
## Code Analysis
The changes are minimal and low-risk:
- **Removed from `iwl_mld_load_fw()`**: Lines removing the
`iwl_mld_init_mcc()` call and its error handling
- **Added to `iwl_mld_start_fw()`**: The same call is added after
`iwl_mld_config_fw()`, ensuring proper initialization order
## Comparison with Similar Commits
Most relevant is Similar Commit #4 (marked YES for backporting), which
addressed regulatory domain update issues when firmware starts. That
commit fixed the handling of `MCC_RESP_ILLEGAL` responses to ensure
channel lists were properly updated - a closely related regulatory
compliance issue.
## Stable Kernel Criteria
This commit meets the stable kernel requirements:
1. **Fixes a real bug**: Regulatory domain/channel mismatch is a serious
issue affecting wireless compliance
2. **Small and contained**: Only moves a function call to the correct
initialization sequence
3. **Low regression risk**: No new logic introduced, just reordering
existing initialization
4. **Important functionality**: Regulatory compliance is critical for
legal wireless operation
5. **Clear root cause**: The issue and fix are well-understood and
documented
## Repository Context
From examining the kernel repository, I found that regulatory domain
initialization has been an ongoing concern in iwlwifi, with multiple
fixes addressing timing and synchronization issues. The `lar_regdom_set`
flag is critical for preventing operations (like scans) before
regulatory setup is complete.
The fix ensures that `iwl_mld_init_mcc()` is called after the firmware
is fully configured (`iwl_mld_config_fw()`), which is the proper time
when wiphy channels are set up and ready to receive regulatory updates.
This is precisely the type of bug fix that stable kernels should receive
- it corrects a specific functional issue without introducing
architectural changes or new features.
drivers/net/wireless/intel/iwlwifi/mld/fw.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/intel/iwlwifi/mld/fw.c b/drivers/net/wireless/intel/iwlwifi/mld/fw.c
index 4b083d447ee2f..6be9366bd4b14 100644
--- a/drivers/net/wireless/intel/iwlwifi/mld/fw.c
+++ b/drivers/net/wireless/intel/iwlwifi/mld/fw.c
@@ -339,10 +339,6 @@ int iwl_mld_load_fw(struct iwl_mld *mld)
if (ret)
goto err;
- ret = iwl_mld_init_mcc(mld);
- if (ret)
- goto err;
-
mld->fw_status.running = true;
return 0;
@@ -535,6 +531,10 @@ int iwl_mld_start_fw(struct iwl_mld *mld)
if (ret)
goto error;
+ ret = iwl_mld_init_mcc(mld);
+ if (ret)
+ goto error;
+
return 0;
error:
--
2.39.5
This is the start of the stable review cycle for the 6.14.11 release.
There are 24 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Mon, 09 Jun 2025 10:07:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.14.11-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 6.14.11-rc1
Aurabindo Pillai <aurabindo.pillai(a)amd.com>
Revert "drm/amd/display: more liberal vmin/vmax update for freesync"
Xu Yang <xu.yang_2(a)nxp.com>
dt-bindings: phy: imx8mq-usb: fix fsl,phy-tx-vboost-level-microvolt property
Lukasz Czechowski <lukasz.czechowski(a)thaumatec.com>
dt-bindings: usb: cypress,hx3: Add support for all variants
David Lechner <dlechner(a)baylibre.com>
dt-bindings: pwm: adi,axi-pwmgen: Fix clocks
Sergey Senozhatsky <senozhatsky(a)chromium.org>
thunderbolt: Do not double dequeue a configuration request
Carlos Llamas <cmllamas(a)google.com>
binder: fix yet another UAF in binder_devices
Dmitry Antipov <dmantipov(a)yandex.ru>
binder: fix use-after-free in binderfs_evict_inode()
Dave Penkler <dpenkler(a)gmail.com>
usb: usbtmc: Fix timeout value in get_stb
Arnd Bergmann <arnd(a)arndb.de>
nvmem: rmem: select CONFIG_CRC32
Dustin Lundquist <dustin(a)null-ptr.net>
serial: jsm: fix NPE during jsm_uart_port_init
Bartosz Golaszewski <bartosz.golaszewski(a)linaro.org>
Bluetooth: hci_qca: move the SoC type check to the right place
Qasim Ijaz <qasdev00(a)gmail.com>
usb: typec: ucsi: fix Clang -Wsign-conversion warning
Charles Yeh <charlesyeh522(a)gmail.com>
USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB
Hongyu Xie <xiehongyu1(a)kylinos.cn>
usb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device
Jiayi Li <lijiayi(a)kylinos.cn>
usb: quirks: Add NO_LPM quirk for SanDisk Extreme 55AE
Mike Marshall <hubcap(a)omnibond.com>
orangefs: adjust counting code to recover from 665575cf
Alexandre Mergnat <amergnat(a)baylibre.com>
rtc: Fix offset calculation for .start_secs < 0
Alexandre Mergnat <amergnat(a)baylibre.com>
rtc: Make rtc_time64_to_tm() support dates before 1970
Sakari Ailus <sakari.ailus(a)linux.intel.com>
Documentation: ACPI: Use all-string data node references
Gautham R. Shenoy <gautham.shenoy(a)amd.com>
acpi-cpufreq: Fix nominal_freq units to KHz in get_max_boost_ratio()
Pritam Manohar Sutar <pritam.sutar(a)samsung.com>
clk: samsung: correct clock summary for hsi1 block
Gabor Juhos <j4g8y7(a)gmail.com>
pinctrl: armada-37xx: set GPIO output value before setting direction
Gabor Juhos <j4g8y7(a)gmail.com>
pinctrl: armada-37xx: use correct OUTPUT_VAL register for GPIOs > 31
Pan Taixi <pantaixi(a)huaweicloud.com>
tracing: Fix compilation warning on arm32
-------------
Diffstat:
.../bindings/phy/fsl,imx8mq-usb-phy.yaml | 3 +--
.../devicetree/bindings/pwm/adi,axi-pwmgen.yaml | 13 +++++++++--
.../devicetree/bindings/usb/cypress,hx3.yaml | 19 +++++++++++++---
.../acpi/dsd/data-node-references.rst | 26 ++++++++++------------
Documentation/firmware-guide/acpi/dsd/graph.rst | 11 ++++-----
Documentation/firmware-guide/acpi/dsd/leds.rst | 7 +-----
Makefile | 4 ++--
drivers/android/binder.c | 16 +++++++++++--
drivers/android/binder_internal.h | 8 +++++--
drivers/android/binderfs.c | 2 +-
drivers/bluetooth/hci_qca.c | 14 ++++++------
drivers/clk/samsung/clk-exynosautov920.c | 2 +-
drivers/cpufreq/acpi-cpufreq.c | 2 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 16 +++++--------
drivers/nvmem/Kconfig | 1 +
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 14 +++++++-----
drivers/rtc/class.c | 2 +-
drivers/rtc/lib.c | 24 +++++++++++++++-----
drivers/thunderbolt/ctl.c | 5 +++++
drivers/tty/serial/jsm/jsm_tty.c | 1 +
drivers/usb/class/usbtmc.c | 4 +++-
drivers/usb/core/quirks.c | 3 +++
drivers/usb/serial/pl2303.c | 2 ++
drivers/usb/storage/unusual_uas.h | 7 ++++++
drivers/usb/typec/ucsi/ucsi.h | 2 +-
fs/orangefs/inode.c | 9 ++++----
kernel/trace/trace.c | 2 +-
27 files changed, 139 insertions(+), 80 deletions(-)
This is the start of the stable review cycle for the 6.12.33 release.
There are 24 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Mon, 09 Jun 2025 10:07:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.12.33-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.12.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 6.12.33-rc1
Aurabindo Pillai <aurabindo.pillai(a)amd.com>
Revert "drm/amd/display: more liberal vmin/vmax update for freesync"
Xu Yang <xu.yang_2(a)nxp.com>
dt-bindings: phy: imx8mq-usb: fix fsl,phy-tx-vboost-level-microvolt property
Lukasz Czechowski <lukasz.czechowski(a)thaumatec.com>
dt-bindings: usb: cypress,hx3: Add support for all variants
Sergey Senozhatsky <senozhatsky(a)chromium.org>
thunderbolt: Do not double dequeue a configuration request
Dave Penkler <dpenkler(a)gmail.com>
usb: usbtmc: Fix timeout value in get_stb
Dustin Lundquist <dustin(a)null-ptr.net>
serial: jsm: fix NPE during jsm_uart_port_init
Bartosz Golaszewski <bartosz.golaszewski(a)linaro.org>
Bluetooth: hci_qca: move the SoC type check to the right place
Qasim Ijaz <qasdev00(a)gmail.com>
usb: typec: ucsi: fix Clang -Wsign-conversion warning
Charles Yeh <charlesyeh522(a)gmail.com>
USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB
Hongyu Xie <xiehongyu1(a)kylinos.cn>
usb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device
Jiayi Li <lijiayi(a)kylinos.cn>
usb: quirks: Add NO_LPM quirk for SanDisk Extreme 55AE
Jon Hunter <jonathanh(a)nvidia.com>
Revert "cpufreq: tegra186: Share policy per cluster"
Ming Lei <ming.lei(a)redhat.com>
block: fix adding folio to bio
Ajay Agarwal <ajayagarwal(a)google.com>
PCI/ASPM: Disable L1 before disabling L1 PM Substates
Karol Wachowski <karol.wachowski(a)intel.com>
accel/ivpu: Update power island delays
Maciej Falkowski <maciej.falkowski(a)linux.intel.com>
accel/ivpu: Add initial Panther Lake support
Alexandre Mergnat <amergnat(a)baylibre.com>
rtc: Fix offset calculation for .start_secs < 0
Alexandre Mergnat <amergnat(a)baylibre.com>
rtc: Make rtc_time64_to_tm() support dates before 1970
Sakari Ailus <sakari.ailus(a)linux.intel.com>
Documentation: ACPI: Use all-string data node references
Gautham R. Shenoy <gautham.shenoy(a)amd.com>
acpi-cpufreq: Fix nominal_freq units to KHz in get_max_boost_ratio()
Gabor Juhos <j4g8y7(a)gmail.com>
pinctrl: armada-37xx: set GPIO output value before setting direction
Gabor Juhos <j4g8y7(a)gmail.com>
pinctrl: armada-37xx: use correct OUTPUT_VAL register for GPIOs > 31
Chao Yu <chao(a)kernel.org>
f2fs: fix to avoid accessing uninitialized curseg
Pan Taixi <pantaixi(a)huaweicloud.com>
tracing: Fix compilation warning on arm32
-------------
Diffstat:
.../bindings/phy/fsl,imx8mq-usb-phy.yaml | 3 +-
.../devicetree/bindings/usb/cypress,hx3.yaml | 19 ++++-
.../acpi/dsd/data-node-references.rst | 26 +++---
Documentation/firmware-guide/acpi/dsd/graph.rst | 11 +--
Documentation/firmware-guide/acpi/dsd/leds.rst | 7 +-
Makefile | 4 +-
block/bio.c | 11 ++-
drivers/accel/ivpu/ivpu_drv.c | 1 +
drivers/accel/ivpu/ivpu_drv.h | 10 ++-
drivers/accel/ivpu/ivpu_fw.c | 3 +
drivers/accel/ivpu/ivpu_hw_40xx_reg.h | 2 +
drivers/accel/ivpu/ivpu_hw_ip.c | 49 +++++++----
drivers/bluetooth/hci_qca.c | 14 ++--
drivers/cpufreq/acpi-cpufreq.c | 2 +-
drivers/cpufreq/tegra186-cpufreq.c | 7 --
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 16 ++--
drivers/pci/pcie/aspm.c | 94 ++++++++++++----------
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 14 ++--
drivers/rtc/class.c | 2 +-
drivers/rtc/lib.c | 24 ++++--
drivers/thunderbolt/ctl.c | 5 ++
drivers/tty/serial/jsm/jsm_tty.c | 1 +
drivers/usb/class/usbtmc.c | 4 +-
drivers/usb/core/quirks.c | 3 +
drivers/usb/serial/pl2303.c | 2 +
drivers/usb/storage/unusual_uas.h | 7 ++
drivers/usb/typec/ucsi/ucsi.h | 2 +-
fs/f2fs/inode.c | 7 ++
fs/f2fs/segment.h | 9 ++-
kernel/trace/trace.c | 2 +-
30 files changed, 218 insertions(+), 143 deletions(-)