]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ipq40xx: add header to SCM cold boot address patch 13279/head
authorRobert Marko <robimarko@gmail.com>
Sun, 13 Aug 2023 16:23:33 +0000 (18:23 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 15 Aug 2023 14:38:50 +0000 (16:38 +0200)
Lets add a proper commit title and description to the SCM cold boot
patch so it applies with a git apply or git-am.

Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/patches-5.15/422-firmware-qcom-scm-fix-SCM-cold-boot-address.patch [moved from target/linux/ipq40xx/patches-5.15/421-firmware-qcom-scm-cold-boot-address.patch with 84% similarity]

similarity index 84%
rename from target/linux/ipq40xx/patches-5.15/421-firmware-qcom-scm-cold-boot-address.patch
rename to target/linux/ipq40xx/patches-5.15/422-firmware-qcom-scm-fix-SCM-cold-boot-address.patch
index 13ebb5b000aebea39f71acfad22876d0c834e62b..a31ea69e897fe628a3accee0981bb1e42d0a56c9 100644 (file)
@@ -1,3 +1,20 @@
+From aaa675f07e781e248fcf169ce9a917b48bc2cc9b Mon Sep 17 00:00:00 2001
+From: Brian Norris <computersforpeace@gmail.com>
+Date: Fri, 28 Jul 2023 12:06:23 +0200
+Subject: [PATCH 3/3] firmware: qcom: scm: fix SCM cold boot address
+
+This effectively reverts upstream Linux commit 13e77747800e ("firmware:
+qcom: scm: Use atomic SCM for cold boot"), because Google WiFi boot
+firmwares don't support the atomic variant.
+
+This fixes SMP support for Google WiFi.
+
+Signed-off-by: Brian Norris <computersforpeace@gmail.com>
+---
+ drivers/firmware/qcom_scm-legacy.c | 62 +++++++++++++++++++++++++-----
+ drivers/firmware/qcom_scm.c        | 11 ++++++
+ 2 files changed, 63 insertions(+), 10 deletions(-)
+
 --- a/drivers/firmware/qcom_scm-legacy.c
 +++ b/drivers/firmware/qcom_scm-legacy.c
 @@ -13,6 +13,9 @@