SpacemiT: legacy: Rewrite kernel patches

This commit is contained in:
ColorfulRhino
2024-07-01 15:12:11 +02:00
committed by Igor
parent 91b514d982
commit 6895ea403f
3 changed files with 18 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
From fac08e8e9cfe99d24f498e239b6adf9fefdbd1fd Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Andy Chiu <andy.chiu@sifive.com>
Date: Thu, 6 Jun 2024 03:25:25 -0400
Subject: [PATCH] riscv: signal: fix sigaltstack frame size checking
Subject: riscv: signal: fix sigaltstack frame size checking
The alternative stack checking in get_sigframe introduced by the Vector
support is not needed and has a problem. It is not needed as we have
@@ -23,7 +23,7 @@ Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
1 file changed, 7 deletions(-)
diff --git a/arch/riscv/kernel/signal.c b/arch/riscv/kernel/signal.c
index ffde81cfa..f5348292a 100644
index 111111111111..222222222222 100644
--- a/arch/riscv/kernel/signal.c
+++ b/arch/riscv/kernel/signal.c
@@ -309,13 +309,6 @@ static inline void __user *get_sigframe(struct ksignal *ksig,
@@ -41,5 +41,5 @@ index ffde81cfa..f5348292a 100644
}
--
2.39.2
Armbian

View File

@@ -1,15 +1,15 @@
From daf6e1688618c92ef2c873c9baaafb5262fcb4d4 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Luca Barbato <noone@nowhere.com>
Date: Thu, 6 Jun 2024 03:49:34 -0400
Subject: [PATCH] add minimal hwmon support
Subject: add minimal hwmon support
Signed-off-by: Luca Barbato
---
drivers/thermal/k1x-thermal.c | 22 ++++++++++++++++------
drivers/thermal/k1x-thermal.c | 22 +++++++---
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/drivers/thermal/k1x-thermal.c b/drivers/thermal/k1x-thermal.c
index 02b8a577d..7e10b5b6e 100644
index 111111111111..222222222222 100644
--- a/drivers/thermal/k1x-thermal.c
+++ b/drivers/thermal/k1x-thermal.c
@@ -10,6 +10,7 @@
@@ -52,5 +52,5 @@ index 02b8a577d..7e10b5b6e 100644
k1x_thermal_irq_thread, IRQF_SHARED,
dev_name(&s->sdesc[i].tzd->device), s->sdesc + i);
--
2.39.2
Armbian

View File

@@ -1,7 +1,7 @@
From 4e85858c9a2217f93b34fd767488de2123f99fea Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Patrick Yavitz <pyavitz@armbian.com>
Date: Wed, 26 Jun 2024 06:01:30 -0400
Subject: [PATCH] Bluetooth: hci_h5: Add support for RTL8852BS
Subject: Bluetooth: hci_h5: Add support for RTL8852BS
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
---
@@ -9,10 +9,10 @@ Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
1 file changed, 2 insertions(+)
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index e90670955df2..a05ab0c37e81 100644
index 111111111111..222222222222 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -1106,6 +1106,8 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
@@ -1102,6 +1102,8 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
.data = (const void *)&h5_data_rtl8723bs },
{ .compatible = "realtek,rtl8723ds-bt",
.data = (const void *)&h5_data_rtl8723bs },
@@ -22,9 +22,9 @@ index e90670955df2..a05ab0c37e81 100644
{ },
};
--
2.39.2
Armbian
From 1fb7281c62c944405960a52a70b20a3bdb1a024a Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Victor Hassan <victor@allwinnertech.com>
Date: Wed, 22 Feb 2023 17:47:20 +0800
Subject: Bluetooth: btrtl: Add support for RTL8852BS
@@ -39,7 +39,7 @@ Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
1 file changed, 10 insertions(+)
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 69c3fe649ca7d..aee75f278e60d 100644
index 111111111111..222222222222 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -190,6 +190,14 @@ static const struct id_table ic_id_table[] = {
@@ -57,7 +57,7 @@ index 69c3fe649ca7d..aee75f278e60d 100644
/* 8852B */
{ IC_INFO(RTL_ROM_LMP_8852A, 0xb, 0xb, HCI_USB),
.config_needed = false,
@@ -963,6 +971,8 @@ MODULE_FIRMWARE("rtl_bt/rtl8822b_fw.bin");
@@ -956,6 +964,8 @@ MODULE_FIRMWARE("rtl_bt/rtl8822b_fw.bin");
MODULE_FIRMWARE("rtl_bt/rtl8822b_config.bin");
MODULE_FIRMWARE("rtl_bt/rtl8852au_fw.bin");
MODULE_FIRMWARE("rtl_bt/rtl8852au_config.bin");
@@ -67,5 +67,5 @@ index 69c3fe649ca7d..aee75f278e60d 100644
MODULE_FIRMWARE("rtl_bt/rtl8852bu_config.bin");
MODULE_FIRMWARE("rtl_bt/rtl8852cu_fw.bin");
--
cgit 1.2.3-korg
Armbian