Skip to content

Commit

Permalink
SpacemiT: legacy: Rewrite kernel patches
Browse files Browse the repository at this point in the history
  • Loading branch information
ColorfulRhino authored and igorpecovnik committed Jul 1, 2024
1 parent 91b514d commit 6895ea4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
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
Expand All @@ -23,7 +23,7 @@ Signed-off-by: Andy Chiu <[email protected]>
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,
Expand All @@ -41,5 +41,5 @@ index ffde81cfa..f5348292a 100644
}

--
2.39.2
Armbian

Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
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 @@
Expand Down Expand Up @@ -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

Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
From 4e85858c9a2217f93b34fd767488de2123f99fea Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Patrick Yavitz <[email protected]>
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 <[email protected]>
---
drivers/bluetooth/hci_h5.c | 2 ++
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 },
Expand All @@ -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 <[email protected]>
Date: Wed, 22 Feb 2023 17:47:20 +0800
Subject: Bluetooth: btrtl: Add support for RTL8852BS
Expand All @@ -39,7 +39,7 @@ Signed-off-by: Luiz Augusto von Dentz <[email protected]>
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[] = {
Expand All @@ -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");
Expand All @@ -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

0 comments on commit 6895ea4

Please sign in to comment.