forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: ipq807x: disable br-nf after qca-nss-ecm start (coolsnowwolf#10488) x86: fix Bintel's ZHITAI Ti Plus 5000 fw bug rockchip: 5.15: add missing kernel config generic: 5.15: add missing PAGE_POOL_STATS config kernel: add CONFIG_NVMEM_U_BOOT_ENV symbol to configs
- Loading branch information
Showing
5 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
target/linux/ipq807x/base-files/etc/sysctl.d/99-bridge-nf-call.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# disable bridge netfilter module | ||
|
||
net.bridge.bridge-nf-call-arptables=0 | ||
net.bridge.bridge-nf-call-iptables=0 | ||
net.bridge.bridge-nf-call-ip6tables=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
target/linux/x86/patches-5.15/999-fix-nvme_ms_ids-bug.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 2bef3874236ab96d517dd2525aa8260507de24d3 Mon Sep 17 00:00:00 2001 | ||
From: kingtous <[email protected]> | ||
Date: Fri, 8 Apr 2022 10:34:46 +0800 | ||
Subject: [PATCH] fix: nvme_update_ns_info method should be called even if | ||
nvme_ms_ids_equal return false | ||
|
||
I've encountered the suspend issue which causes NVMe SSD cannot be detected after reboot from Linux or wake from suspend. I've tried almost all popular Linux distributions like Ubuntu, Debian, Arch, Manjaro. None of them works with my NVMe SSD. | ||
I changed a brand new SSD but it doesn't work either. Originally, if nvme_ns_ids_equal method returns false, the nvme ns info will not try to update and namespace suddenly be removed. This is the issue I've found causing my laptop SSD not detected after suspend or reboot from Linux. After removing 'goto out_free_id', the suspend issue has gone, everything works. | ||
When nvme namespaced ids are not equal, we should also try to update namespace info, not just skip it. | ||
|
||
Signed-off-by: kingtous <[email protected]> | ||
--- | ||
drivers/nvme/host/core.c | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c | ||
index efb85c6d8e2d5d..89c6a9598558a2 100644 | ||
--- a/drivers/nvme/host/core.c | ||
+++ b/drivers/nvme/host/core.c | ||
@@ -4056,7 +4056,6 @@ static void nvme_validate_ns(struct nvme_ns *ns, struct nvme_ns_ids *ids) | ||
if (!nvme_ns_ids_equal(&ns->head->ids, ids)) { | ||
dev_err(ns->ctrl->device, | ||
"identifiers changed for nsid %d\n", ns->head->ns_id); | ||
- goto out_free_id; | ||
} | ||
|
||
ret = nvme_update_ns_info(ns, id); |