diff --git a/patch/kernel/archive/mvebu-6.6/0001-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch b/patch/kernel/archive/mvebu-6.6/0001-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch index da5c35ff0..85590df61 100644 --- a/patch/kernel/archive/mvebu-6.6/0001-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch +++ b/patch/kernel/archive/mvebu-6.6/0001-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch @@ -1,34 +1,64 @@ -From: Russell King -Subject: [PATCH 01/30] cpuidle: mvebu: indicate failure to enter deeper sleep - states -MIME-Version: 1.0 -Content-Disposition: inline -Content-Transfer-Encoding: 8bit -Content-Type: text/plain; charset="utf-8" +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Igor Pecovnik +Date: Fri, 8 Jan 2016 17:03:44 +0100 +Subject: [ARCHEOLOGY] Patches for Marvell Armada, kernel 4.3 and 4.4 -The cpuidle ->enter method expects the return value to be the sleep -state we entered. Returning negative numbers or other codes is not -permissible since coupled CPU idle was merged. - -At least some of the mvebu_v7_cpu_suspend() implementations return the -value from cpu_suspend(), which returns zero if the CPU vectors back -into the kernel via cpu_resume() (the success case), or the non-zero -return value of the suspend actor, or one (failure cases). - -We do not want to be returning the failure case value back to CPU idle -as that indicates that we successfully entered one of the deeper idle -states. Always return zero instead, indicating that we slept for the -shortest amount of time. - -Signed-off-by: Russell King +> X-Git-Archeology: > recovered message: > Credits: Russell King http://www.home.arm.linux.org.uk/~rmk/clearfog/ +> X-Git-Archeology: - Revision 06fe0ffe8e197c58ca9d2d919b050311e6a05411: https://github.com/armbian/build/commit/06fe0ffe8e197c58ca9d2d919b050311e6a05411 +> X-Git-Archeology: Date: Fri, 08 Jan 2016 17:03:44 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Patches for Marvell Armada, kernel 4.3 and 4.4 +> X-Git-Archeology: +> X-Git-Archeology: - Revision 68a6849497488aa8b9f1486c4f13ce4353c8cd53: https://github.com/armbian/build/commit/68a6849497488aa8b9f1486c4f13ce4353c8cd53 +> X-Git-Archeology: Date: Wed, 03 Feb 2016 20:54:28 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Marvel patches move from one dir to another, small fixes +> X-Git-Archeology: +> X-Git-Archeology: - Revision baab6587a50fbc75c7b593110db50796166d9648: https://github.com/armbian/build/commit/baab6587a50fbc75c7b593110db50796166d9648 +> X-Git-Archeology: Date: Fri, 09 Dec 2016 21:09:22 +0300 +> X-Git-Archeology: From: zador-blood-stained +> X-Git-Archeology: Subject: Refactor Marvell kernel sources +> X-Git-Archeology: +> X-Git-Archeology: - Revision e31425190fa09431c96067ab7371d72a9852e282: https://github.com/armbian/build/commit/e31425190fa09431c96067ab7371d72a9852e282 +> X-Git-Archeology: Date: Fri, 17 Aug 2018 09:17:19 +0200 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Move MVEBU, Clearfog & Helios4, DEVelopment branch to 4.18.y ... removed only obviously unneded patches, while the rest needs some/a lot of rework to meet current NEXT levels. http://ix.io/1kpE Tested also without our patchset - severe problems on network stack. +> X-Git-Archeology: +> X-Git-Archeology: - Revision e261c6f82835bd9b12e07ba837b55fbf1aaa4327: https://github.com/armbian/build/commit/e261c6f82835bd9b12e07ba837b55fbf1aaa4327 +> X-Git-Archeology: Date: Wed, 31 Jul 2019 12:51:00 +0200 +> X-Git-Archeology: From: Aditya Prayoga +> X-Git-Archeology: Subject: Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 150ac0c2afa147d9e3b036c8ecd8238fe5648cf3: https://github.com/armbian/build/commit/150ac0c2afa147d9e3b036c8ecd8238fe5648cf3 +> X-Git-Archeology: Date: Tue, 19 Nov 2019 23:25:39 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Remove K<4, change branches, new features (#1586) +> X-Git-Archeology: +> X-Git-Archeology: - Revision aa3d60f57e84d02887c63cae176bdec96b560e38: https://github.com/armbian/build/commit/aa3d60f57e84d02887c63cae176bdec96b560e38 +> X-Git-Archeology: Date: Thu, 10 Dec 2020 11:47:33 +0100 +> X-Git-Archeology: From: Rosen Penev +> X-Git-Archeology: Subject: refreshed mvebu with quilt (#2419) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0cdffb29b07305209efb12cf3b5ac6032d3a1153: https://github.com/armbian/build/commit/0cdffb29b07305209efb12cf3b5ac6032d3a1153 +> X-Git-Archeology: Date: Wed, 24 Mar 2021 19:01:53 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Renaming DEV branch to EDGE (#2704) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 5b1c1c2897a570c173c40204e98257b2dd7a74c9: https://github.com/armbian/build/commit/5b1c1c2897a570c173c40204e98257b2dd7a74c9 +> X-Git-Archeology: Date: Thu, 04 Jan 2024 00:06:37 +0530 +> X-Git-Archeology: From: Lane Jennison +> X-Git-Archeology: Subject: mvebu-edge: move to 6.6.y +> X-Git-Archeology: --- drivers/cpuidle/cpuidle-mvebu-v7.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) +diff --git a/drivers/cpuidle/cpuidle-mvebu-v7.c b/drivers/cpuidle/cpuidle-mvebu-v7.c +index 111111111111..222222222222 100644 --- a/drivers/cpuidle/cpuidle-mvebu-v7.c +++ b/drivers/cpuidle/cpuidle-mvebu-v7.c -@@ -39,8 +39,12 @@ static int mvebu_v7_enter_idle(struct cp - ret = mvebu_v7_cpu_suspend(deepidle); +@@ -42,8 +42,12 @@ static __cpuidle int mvebu_v7_enter_idle(struct cpuidle_device *dev, + cpu_pm_exit(); + /* @@ -41,3 +71,6 @@ Signed-off-by: Russell King return index; } +-- +Armbian + diff --git a/patch/kernel/archive/mvebu-6.6/10-mvebu-clearfog-pcie-updates.patch b/patch/kernel/archive/mvebu-6.6/10-mvebu-clearfog-pcie-updates.patch index 3ea938931..946a8211e 100644 --- a/patch/kernel/archive/mvebu-6.6/10-mvebu-clearfog-pcie-updates.patch +++ b/patch/kernel/archive/mvebu-6.6/10-mvebu-clearfog-pcie-updates.patch @@ -1,18 +1,18 @@ -From 6ea4b200f29c9397482b43d5ac14bd2d1ddade53 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 29 Nov 2016 10:13:46 +0000 Subject: mvebu/clearfog pcie updates Signed-off-by: Russell King --- - drivers/pci/controller/pci-mvebu.c | 76 ++++++++++++++++++++++++++++++++++++++ + drivers/pci/controller/pci-mvebu.c | 76 ++++++++++ drivers/pci/pci-bridge-emul.c | 2 + - drivers/pci/pcie/aspm.c | 6 +++ + drivers/pci/pcie/aspm.c | 6 + drivers/pci/pcie/portdrv.c | 2 + 4 files changed, 86 insertions(+) diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c -index 1dc209f6f53a..bc66f82b8616 100644 +index 111111111111..222222222222 100644 --- a/drivers/pci/controller/pci-mvebu.c +++ b/drivers/pci/controller/pci-mvebu.c @@ -60,6 +60,12 @@ @@ -28,7 +28,7 @@ index 1dc209f6f53a..bc66f82b8616 100644 #define PCIE_CTRL_OFF 0x1a00 #define PCIE_CTRL_X1_MODE 0x0001 #define PCIE_CTRL_RC_MODE BIT(1) -@@ -619,6 +625,54 @@ mvebu_pci_bridge_emul_base_conf_read(struct pci_bridge_emul *bridge, +@@ -618,6 +624,54 @@ mvebu_pci_bridge_emul_base_conf_read(struct pci_bridge_emul *bridge, return PCI_BRIDGE_EMUL_HANDLED; } @@ -83,7 +83,7 @@ index 1dc209f6f53a..bc66f82b8616 100644 static pci_bridge_emul_read_status_t mvebu_pci_bridge_emul_pcie_conf_read(struct pci_bridge_emul *bridge, int reg, u32 *value) -@@ -735,6 +789,9 @@ mvebu_pci_bridge_emul_base_conf_write(struct pci_bridge_emul *bridge, +@@ -734,6 +788,9 @@ mvebu_pci_bridge_emul_base_conf_write(struct pci_bridge_emul *bridge, switch (reg) { case PCI_COMMAND: mvebu_writel(port, new, PCIE_CMD_OFF); @@ -93,7 +93,7 @@ index 1dc209f6f53a..bc66f82b8616 100644 break; case PCI_IO_BASE: -@@ -776,6 +833,8 @@ mvebu_pci_bridge_emul_base_conf_write(struct pci_bridge_emul *bridge, +@@ -775,6 +832,8 @@ mvebu_pci_bridge_emul_base_conf_write(struct pci_bridge_emul *bridge, break; case PCI_INTERRUPT_LINE: @@ -102,7 +102,7 @@ index 1dc209f6f53a..bc66f82b8616 100644 if (mask & (PCI_BRIDGE_CTL_BUS_RESET << 16)) { u32 ctrl = mvebu_readl(port, PCIE_CTRL_OFF); if (new & (PCI_BRIDGE_CTL_BUS_RESET << 16)) -@@ -799,7 +858,18 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge, +@@ -798,7 +857,18 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge, switch (reg) { case PCI_EXP_DEVCTL: @@ -121,7 +121,7 @@ index 1dc209f6f53a..bc66f82b8616 100644 break; case PCI_EXP_LNKCTL: -@@ -850,6 +920,12 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge, +@@ -849,6 +919,12 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge, default: break; @@ -135,7 +135,7 @@ index 1dc209f6f53a..bc66f82b8616 100644 } diff --git a/drivers/pci/pci-bridge-emul.c b/drivers/pci/pci-bridge-emul.c -index d8d37b7ad0c5..003511971108 100644 +index 111111111111..222222222222 100644 --- a/drivers/pci/pci-bridge-emul.c +++ b/drivers/pci/pci-bridge-emul.c @@ -157,6 +157,7 @@ struct pci_bridge_reg_behavior pci_regs_behavior[PCI_STD_HEADER_SIZEOF / 4] = { @@ -155,10 +155,10 @@ index d8d37b7ad0c5..003511971108 100644 sizeof(pci_regs_behavior), GFP_KERNEL); diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c -index 4b4184563a92..7342af76f93d 100644 +index 111111111111..222222222222 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c -@@ -656,6 +656,12 @@ static void pcie_aspm_cap_init(struct pcie_link_state *link, int blacklist) +@@ -617,6 +617,12 @@ static void pcie_aspm_cap_init(struct pcie_link_state *link, int blacklist) pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &child_lnkcap); pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &parent_lnkctl); pcie_capability_read_word(child, PCI_EXP_LNKCTL, &child_lnkctl); @@ -172,7 +172,7 @@ index 4b4184563a92..7342af76f93d 100644 /* * Setup L0s state diff --git a/drivers/pci/pcie/portdrv.c b/drivers/pci/pcie/portdrv.c -index 2cc2e60bcb39..1954487a1968 100644 +index 111111111111..222222222222 100644 --- a/drivers/pci/pcie/portdrv.c +++ b/drivers/pci/pcie/portdrv.c @@ -335,6 +335,7 @@ static int pcie_port_device_register(struct pci_dev *dev) @@ -192,5 +192,5 @@ index 2cc2e60bcb39..1954487a1968 100644 capabilities &= PCIE_PORT_SERVICE_HP; if (!capabilities) -- -cgit +Armbian diff --git a/patch/kernel/archive/mvebu-6.6/11-implement-slot-capabilities-SSPL.patch b/patch/kernel/archive/mvebu-6.6/11-implement-slot-capabilities-SSPL.patch index e61243b7a..00c297f2e 100644 --- a/patch/kernel/archive/mvebu-6.6/11-implement-slot-capabilities-SSPL.patch +++ b/patch/kernel/archive/mvebu-6.6/11-implement-slot-capabilities-SSPL.patch @@ -1,17 +1,17 @@ -From e6a83c8b624052022b8212beabee6e4c40c6d8b2 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 29 Nov 2016 10:13:48 +0000 Subject: implement slot capabilities (SSPL) --- - drivers/pci/controller/pci-mvebu.c | 20 ++++++++++++++++++++ + drivers/pci/controller/pci-mvebu.c | 20 ++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c -index dba5baa2c1ed..c817cc5b2206 100644 +index 111111111111..222222222222 100644 --- a/drivers/pci/controller/pci-mvebu.c +++ b/drivers/pci/controller/pci-mvebu.c -@@ -78,6 +78,7 @@ +@@ -79,6 +79,7 @@ #define PCIE_SSPL_VALUE_MASK GENMASK(7, 0) #define PCIE_SSPL_SCALE_SHIFT 8 #define PCIE_SSPL_SCALE_MASK GENMASK(9, 8) @@ -53,5 +53,5 @@ index dba5baa2c1ed..c817cc5b2206 100644 /* * Allow to change PCIE_SSPL_ENABLE bit only when slot power -- -cgit +Armbian diff --git a/patch/kernel/archive/mvebu-6.6/20-pcie-bridge-emul.patch b/patch/kernel/archive/mvebu-6.6/20-pcie-bridge-emul.patch index 24e6f27d2..ebb3d0fe0 100644 --- a/patch/kernel/archive/mvebu-6.6/20-pcie-bridge-emul.patch +++ b/patch/kernel/archive/mvebu-6.6/20-pcie-bridge-emul.patch @@ -1,4 +1,4 @@ -From f1149effc7fd438ac5925a8e58ee2da294033ec5 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 2 Feb 2021 13:45:28 +0000 Subject: PCI: pci-bridge-emul: re-arrange register tests @@ -9,14 +9,14 @@ change. Signed-off-by: Russell King --- - drivers/pci/pci-bridge-emul.c | 15 ++++++++++----- + drivers/pci/pci-bridge-emul.c | 15 ++++++---- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/pci/pci-bridge-emul.c b/drivers/pci/pci-bridge-emul.c -index 9334b2dd4764..d746116104c6 100644 +index 111111111111..222222222222 100644 --- a/drivers/pci/pci-bridge-emul.c +++ b/drivers/pci/pci-bridge-emul.c -@@ -477,8 +477,11 @@ int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where, +@@ -479,8 +479,11 @@ int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where, read_op = pci_bridge_emul_read_ssid; cfgspace = NULL; behavior = NULL; @@ -30,7 +30,7 @@ index 9334b2dd4764..d746116104c6 100644 /* Our emulated PCIe capability */ reg -= bridge->pcie_start; read_op = bridge->ops->read_pcie; -@@ -551,14 +554,16 @@ int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where, +@@ -553,14 +556,16 @@ int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where, write_op = bridge->ops->write_base; cfgspace = (__le32 *) &bridge->conf; behavior = bridge->pci_regs_behavior; @@ -51,5 +51,5 @@ index 9334b2dd4764..d746116104c6 100644 reg -= PCI_CFG_SPACE_SIZE; write_op = bridge->ops->write_ext; -- -cgit +Armbian diff --git a/patch/kernel/archive/mvebu-6.6/91-02-Enable-ATA-port-LED-trigger.patch b/patch/kernel/archive/mvebu-6.6/91-02-Enable-ATA-port-LED-trigger.patch index 10680f98c..66a1ef854 100644 --- a/patch/kernel/archive/mvebu-6.6/91-02-Enable-ATA-port-LED-trigger.patch +++ b/patch/kernel/archive/mvebu-6.6/91-02-Enable-ATA-port-LED-trigger.patch @@ -1,4 +1,4 @@ -From 9ee6345ef82f7af5f98e17a40e667f8ad6b2fa1b Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: aprayoga Date: Sun, 3 Sep 2017 18:10:12 +0800 Subject: Enable ATA port LED trigger @@ -8,9 +8,11 @@ Subject: Enable ATA port LED trigger arch/arm/mach-mvebu/Kconfig | 1 + 2 files changed, 2 insertions(+) +diff --git a/arch/arm/configs/mvebu_v7_defconfig b/arch/arm/configs/mvebu_v7_defconfig +index 111111111111..222222222222 100644 --- a/arch/arm/configs/mvebu_v7_defconfig +++ b/arch/arm/configs/mvebu_v7_defconfig -@@ -58,6 +58,7 @@ CONFIG_MTD_UBI=y +@@ -55,6 +55,7 @@ CONFIG_MTD_UBI=y CONFIG_EEPROM_AT24=y CONFIG_BLK_DEV_SD=y CONFIG_ATA=y @@ -18,9 +20,11 @@ Subject: Enable ATA port LED trigger CONFIG_SATA_AHCI=y CONFIG_AHCI_MVEBU=y CONFIG_SATA_MV=y +diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig +index 111111111111..222222222222 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig -@@ -56,6 +56,7 @@ config MACH_ARMADA_375 +@@ -55,6 +55,7 @@ config MACH_ARMADA_375 config MACH_ARMADA_38X bool "Marvell Armada 380/385 boards" depends on ARCH_MULTI_V7 @@ -28,3 +32,6 @@ Subject: Enable ATA port LED trigger select ARM_ERRATA_720789 select PL310_ERRATA_753970 select ARM_GIC +-- +Armbian + diff --git a/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-add_wake_on_gpio_support.patch b/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-add_wake_on_gpio_support.patch index 9274f2b1a..29ee59e67 100644 --- a/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-add_wake_on_gpio_support.patch +++ b/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-add_wake_on_gpio_support.patch @@ -1,6 +1,63 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aditya Prayoga +Date: Tue, 12 Feb 2019 10:34:30 +0800 +Subject: [ARCHEOLOGY] kernel: mvebu-next: Add Wake on GPIO support + +> X-Git-Archeology: > recovered message: > The SoC provides several waking options sourced by different peripherals +> X-Git-Archeology: > recovered message: > to take the system out of power save modes. One of the options is Wake +> X-Git-Archeology: > recovered message: > on GPIO. +> X-Git-Archeology: > recovered message: > This patch implements missing function to support gpio as wakeup source +> X-Git-Archeology: > recovered message: > and properly route it to upper interrupt controller (Arm GIC). +> X-Git-Archeology: > recovered message: > Signed-off-by: Aditya Prayoga +> X-Git-Archeology: - Revision 8cac6dba946b5cf50f82e6e0f6d144e1b6f88606: https://github.com/armbian/build/commit/8cac6dba946b5cf50f82e6e0f6d144e1b6f88606 +> X-Git-Archeology: Date: Tue, 12 Feb 2019 10:34:30 +0800 +> X-Git-Archeology: From: Aditya Prayoga +> X-Git-Archeology: Subject: kernel: mvebu-next: Add Wake on GPIO support +> X-Git-Archeology: +> X-Git-Archeology: - Revision e261c6f82835bd9b12e07ba837b55fbf1aaa4327: https://github.com/armbian/build/commit/e261c6f82835bd9b12e07ba837b55fbf1aaa4327 +> X-Git-Archeology: Date: Wed, 31 Jul 2019 12:51:00 +0200 +> X-Git-Archeology: From: Aditya Prayoga +> X-Git-Archeology: Subject: Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 150ac0c2afa147d9e3b036c8ecd8238fe5648cf3: https://github.com/armbian/build/commit/150ac0c2afa147d9e3b036c8ecd8238fe5648cf3 +> X-Git-Archeology: Date: Tue, 19 Nov 2019 23:25:39 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Remove K<4, change branches, new features (#1586) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 2fe5e6f7553174c2b2be69d70398145e11af00b6: https://github.com/armbian/build/commit/2fe5e6f7553174c2b2be69d70398145e11af00b6 +> X-Git-Archeology: Date: Thu, 03 Dec 2020 10:24:27 +0100 +> X-Git-Archeology: From: Jannis <52237708+heisath@users.noreply.github.com> +> X-Git-Archeology: Subject: [AR-558] Switch mvebu current to LK5.9 (based on previous mvebu-dev) (#2405) +> X-Git-Archeology: +> X-Git-Archeology: - Revision aa3d60f57e84d02887c63cae176bdec96b560e38: https://github.com/armbian/build/commit/aa3d60f57e84d02887c63cae176bdec96b560e38 +> X-Git-Archeology: Date: Thu, 10 Dec 2020 11:47:33 +0100 +> X-Git-Archeology: From: Rosen Penev +> X-Git-Archeology: Subject: refreshed mvebu with quilt (#2419) +> X-Git-Archeology: +> X-Git-Archeology: - Revision bd4c2c67f07ec0bcd823332da00cc8d3a7d733d7: https://github.com/armbian/build/commit/bd4c2c67f07ec0bcd823332da00cc8d3a7d733d7 +> X-Git-Archeology: Date: Fri, 22 Jan 2021 13:20:44 +0100 +> X-Git-Archeology: From: Jannis <52237708+heisath@users.noreply.github.com> +> X-Git-Archeology: Subject: [AR-609] Switch mvebu-current to 5.10.y (reusing config and patches from -dev) (#2547) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0cdffb29b07305209efb12cf3b5ac6032d3a1153: https://github.com/armbian/build/commit/0cdffb29b07305209efb12cf3b5ac6032d3a1153 +> X-Git-Archeology: Date: Wed, 24 Mar 2021 19:01:53 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Renaming DEV branch to EDGE (#2704) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 5b1c1c2897a570c173c40204e98257b2dd7a74c9: https://github.com/armbian/build/commit/5b1c1c2897a570c173c40204e98257b2dd7a74c9 +> X-Git-Archeology: Date: Thu, 04 Jan 2024 00:06:37 +0530 +> X-Git-Archeology: From: Lane Jennison +> X-Git-Archeology: Subject: mvebu-edge: move to 6.6.y +> X-Git-Archeology: +--- + drivers/gpio/gpio-mvebu.c | 37 +++++++++- + 1 file changed, 35 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c +index 111111111111..222222222222 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/gpio-mvebu.c -@@ -40,6 +40,7 @@ +@@ -37,6 +37,7 @@ #include #include #include @@ -8,7 +65,7 @@ #include #include #include -@@ -111,7 +112,7 @@ struct mvebu_gpio_chip { +@@ -113,7 +114,7 @@ struct mvebu_gpio_chip { struct regmap *regs; u32 offset; struct regmap *percpu_regs; @@ -17,10 +74,11 @@ struct irq_domain *domain; int soc_variant; -@@ -601,6 +602,33 @@ static void mvebu_gpio_irq_handler(struc - } +@@ -609,6 +610,33 @@ static const struct regmap_config mvebu_gpio_regmap_config = { + .fast_io = true, + }; - /* ++/* + * Set interrupt number "irq" in the GPIO as a wake-up source. + * While system is running, all registered GPIO interrupts need to have + * wake-up enabled. When system is suspended, only selected GPIO interrupts @@ -47,11 +105,10 @@ + return 0; +} + -+/* + /* * Functions implementing the pwm_chip methods */ - static struct mvebu_pwm *to_mvebu_pwm(struct pwm_chip *chip) -@@ -1219,7 +1247,7 @@ static int mvebu_gpio_probe(struct platf +@@ -1260,7 +1288,7 @@ static int mvebu_gpio_probe(struct platform_device *pdev) err = irq_alloc_domain_generic_chips( mvchip->domain, ngpios, 2, np->name, handle_level_irq, @@ -60,7 +117,7 @@ if (err) { dev_err(&pdev->dev, "couldn't allocate irq chips %s (DT).\n", mvchip->chip.label); -@@ -1237,6 +1265,8 @@ static int mvebu_gpio_probe(struct platf +@@ -1278,6 +1306,8 @@ static int mvebu_gpio_probe(struct platform_device *pdev) ct->chip.irq_mask = mvebu_gpio_level_irq_mask; ct->chip.irq_unmask = mvebu_gpio_level_irq_unmask; ct->chip.irq_set_type = mvebu_gpio_irq_set_type; @@ -69,7 +126,7 @@ ct->chip.name = mvchip->chip.label; ct = &gc->chip_types[1]; -@@ -1245,6 +1275,8 @@ static int mvebu_gpio_probe(struct platf +@@ -1286,6 +1316,8 @@ static int mvebu_gpio_probe(struct platform_device *pdev) ct->chip.irq_mask = mvebu_gpio_edge_irq_mask; ct->chip.irq_unmask = mvebu_gpio_edge_irq_unmask; ct->chip.irq_set_type = mvebu_gpio_irq_set_type; @@ -78,7 +135,7 @@ ct->handler = handle_edge_irq; ct->chip.name = mvchip->chip.label; -@@ -1260,6 +1292,7 @@ static int mvebu_gpio_probe(struct platf +@@ -1301,6 +1333,7 @@ static int mvebu_gpio_probe(struct platform_device *pdev) continue; irq_set_chained_handler_and_data(irq, mvebu_gpio_irq_handler, mvchip); @@ -86,3 +143,6 @@ } return 0; +-- +Armbian + diff --git a/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-remove-hardcoded-timer-assignment.patch b/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-remove-hardcoded-timer-assignment.patch index 0e2b559f4..a4b6be509 100644 --- a/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-remove-hardcoded-timer-assignment.patch +++ b/patch/kernel/archive/mvebu-6.6/92-mvebu-gpio-remove-hardcoded-timer-assignment.patch @@ -1,19 +1,22 @@ -From e4728fcf779c37d1bcbd4b6505c9b40d4bb9ff48 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Heisath -Date: Thu, 03 Jun 2021 10:56:53 +0200 -Subject: [PATCH] Removes the hardcoded timer assignment of timers to pwm controllers -This allows to use more than one pwm per gpio bank. +Date: Thu, 3 Jun 2021 10:56:53 +0200 +Subject: Removes the hardcoded timer assignment of timers to pwm controllers + +This allows to use more than one pwm per gpio bank. Original patch by helios4 team, updated to work on LK5.11+ Signed-off-by: Heisath --- + drivers/gpio/gpio-mvebu.c | 237 ++++++---- + 1 file changed, 154 insertions(+), 83 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c -index bad399e3f..d3fdaf177 100644 +index 111111111111..222222222222 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/gpio-mvebu.c -@@ -97,21 +97,42 @@ +@@ -94,21 +94,42 @@ #define MVEBU_MAX_GPIO_PER_BANK 32 @@ -61,7 +64,7 @@ index bad399e3f..d3fdaf177 100644 struct mvebu_gpio_chip { struct gpio_chip chip; struct regmap *regs; -@@ -288,12 +309,12 @@ mvebu_gpio_write_level_mask(struct mvebu_gpio_chip *mvchip, u32 val) +@@ -285,12 +306,12 @@ mvebu_gpio_write_level_mask(struct mvebu_gpio_chip *mvchip, u32 val) * Functions returning offsets of individual registers for a given * PWM controller. */ @@ -76,7 +79,7 @@ index bad399e3f..d3fdaf177 100644 { return mvpwm->offset + PWM_BLINK_OFF_DURATION_OFF; } -@@ -653,39 +674,84 @@ static int mvebu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) +@@ -650,39 +671,84 @@ static int mvebu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) struct mvebu_pwm *mvpwm = to_mvebu_pwm(chip); struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; struct gpio_desc *desc; @@ -114,14 +117,14 @@ index bad399e3f..d3fdaf177 100644 + ret = PTR_ERR(desc); + goto out; + } -+ + +- mvpwm->gpiod = desc; + ret = gpiod_direction_output(desc, 0); + if (ret) { + gpiochip_free_own_desc(desc); + goto out; -+ } - -- mvpwm->gpiod = desc; + } ++ + chip_data = kzalloc(sizeof(struct mvebu_pwm_chip_drv), GFP_KERNEL); + if (!chip_data) { + gpiochip_free_own_desc(desc); @@ -136,7 +139,7 @@ index bad399e3f..d3fdaf177 100644 + mvebu_pwm_list[id]->in_use = true; + break; + } - } ++ } + + if (!chip_data->master) + chip_data->ctrl = mvpwm->default_counter; @@ -177,9 +180,9 @@ index bad399e3f..d3fdaf177 100644 + spin_unlock_irqrestore(&mvpwm->controller.lock, flags); } - static void mvebu_pwm_get_state(struct pwm_chip *chip, -@@ -693,29 +759,36 @@ static void mvebu_pwm_get_state(struct pwm_chip *chip, - struct pwm_state *state) { + static int mvebu_pwm_get_state(struct pwm_chip *chip, +@@ -691,29 +757,36 @@ static int mvebu_pwm_get_state(struct pwm_chip *chip, + { struct mvebu_pwm *mvpwm = to_mvebu_pwm(chip); + struct mvebu_pwm_chip_drv *chip_data = (struct mvebu_pwm_chip_drv*) pwm->chip_data; @@ -220,17 +223,16 @@ index bad399e3f..d3fdaf177 100644 regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, &u); if (u) -@@ -796,15 +796,17 @@ static void mvebu_pwm_get_state(struct pwm_chip *chip, +@@ -721,7 +794,7 @@ static int mvebu_pwm_get_state(struct pwm_chip *chip, else state->enabled = false; - spin_unlock_irqrestore(&mvpwm->lock, flags); + spin_unlock_irqrestore(&controller->lock, flags); - + return 0; } - - static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, +@@ -730,6 +803,8 @@ static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) { struct mvebu_pwm *mvpwm = to_mvebu_pwm(chip); @@ -239,7 +241,7 @@ index bad399e3f..d3fdaf177 100644 struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; unsigned long long val; unsigned long flags; -@@ -811,7 +813,12 @@ static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, +@@ -738,7 +813,12 @@ static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, if (state->polarity != PWM_POLARITY_NORMAL) return -EINVAL; @@ -253,7 +255,7 @@ index bad399e3f..d3fdaf177 100644 do_div(val, NSEC_PER_SEC); if (val > UINT_MAX + 1ULL) return -EINVAL; -@@ -750,7 +830,7 @@ static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, +@@ -753,7 +833,7 @@ static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, else on = 1; @@ -262,7 +264,7 @@ index bad399e3f..d3fdaf177 100644 do_div(val, NSEC_PER_SEC); val -= on; if (val > UINT_MAX + 1ULL) -@@ -762,16 +842,16 @@ static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, +@@ -765,16 +845,16 @@ static int mvebu_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, else off = 1; @@ -283,7 +285,7 @@ index bad399e3f..d3fdaf177 100644 return 0; } -@@ -787,25 +867,27 @@ static const struct pwm_ops mvebu_pwm_ops = { +@@ -790,25 +870,27 @@ static const struct pwm_ops mvebu_pwm_ops = { static void __maybe_unused mvebu_pwm_suspend(struct mvebu_gpio_chip *mvchip) { struct mvebu_pwm *mvpwm = mvchip->mvpwm; @@ -319,7 +321,7 @@ index bad399e3f..d3fdaf177 100644 } static int mvebu_pwm_probe(struct platform_device *pdev, -@@ -902,6 +902,7 @@ static int mvebu_pwm_probe(struct platform_device *pdev, +@@ -820,6 +902,7 @@ static int mvebu_pwm_probe(struct platform_device *pdev, void __iomem *base; u32 offset; u32 set; @@ -327,7 +329,7 @@ index bad399e3f..d3fdaf177 100644 if (mvchip->soc_variant == MVEBU_GPIO_SOC_VARIANT_A8K) { int ret = of_property_read_u32(dev->of_node, -@@ -844,54 +920,39 @@ static int mvebu_pwm_probe(struct platform_device *pdev, +@@ -844,54 +927,39 @@ static int mvebu_pwm_probe(struct platform_device *pdev, mvpwm = devm_kzalloc(dev, sizeof(struct mvebu_pwm), GFP_KERNEL); if (!mvpwm) return -ENOMEM; @@ -405,9 +407,9 @@ index bad399e3f..d3fdaf177 100644 dev_err(dev, "failed to get clock rate\n"); return -EINVAL; } -@@ -907,7 +968,10 @@ static int mvebu_pwm_probe(struct platform_device *pdev, - */ - mvpwm->chip.base = -1; +@@ -900,7 +968,10 @@ static int mvebu_pwm_probe(struct platform_device *pdev, + mvpwm->chip.ops = &mvebu_pwm_ops; + mvpwm->chip.npwm = mvchip->chip.ngpio; - spin_lock_init(&mvpwm->lock); + spin_lock_init(&mvpwm->controller.lock); @@ -415,5 +417,8 @@ index bad399e3f..d3fdaf177 100644 + mvpwm->default_counter = ctrl_set; + mvebu_pwm_list[ctrl_set] = &mvpwm->controller; - return pwmchip_add(&mvpwm->chip); + return devm_pwmchip_add(dev, &mvpwm->chip); } +-- +Armbian + diff --git a/patch/kernel/archive/mvebu-6.6/compile-dtb-with-symbol-support.patch b/patch/kernel/archive/mvebu-6.6/compile-dtb-with-symbol-support.patch index a2bd279ae..6d5eb3580 100644 --- a/patch/kernel/archive/mvebu-6.6/compile-dtb-with-symbol-support.patch +++ b/patch/kernel/archive/mvebu-6.6/compile-dtb-with-symbol-support.patch @@ -1,8 +1,48 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Aditya Prayoga +Date: Sun, 13 Oct 2019 20:47:18 +0700 +Subject: [ARCHEOLOGY] Added overlay support + +> X-Git-Archeology: > recovered message: > U-Boot already support device tree overlay. However, it requires the +> X-Git-Archeology: > recovered message: > base dtb to be compiled with __symbol__ support. +> X-Git-Archeology: > recovered message: > This commit added patches to compile dtb with required parameter. +> X-Git-Archeology: > recovered message: > Signed-off-by: Aditya Prayoga +> X-Git-Archeology: - Revision 26dcccb705cfffff1a28f3c4fb53fb950afc683c: https://github.com/armbian/build/commit/26dcccb705cfffff1a28f3c4fb53fb950afc683c +> X-Git-Archeology: Date: Sun, 13 Oct 2019 20:47:18 +0700 +> X-Git-Archeology: From: Aditya Prayoga +> X-Git-Archeology: Subject: Added overlay support +> X-Git-Archeology: +> X-Git-Archeology: - Revision 150ac0c2afa147d9e3b036c8ecd8238fe5648cf3: https://github.com/armbian/build/commit/150ac0c2afa147d9e3b036c8ecd8238fe5648cf3 +> X-Git-Archeology: Date: Tue, 19 Nov 2019 23:25:39 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Remove K<4, change branches, new features (#1586) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 2fe5e6f7553174c2b2be69d70398145e11af00b6: https://github.com/armbian/build/commit/2fe5e6f7553174c2b2be69d70398145e11af00b6 +> X-Git-Archeology: Date: Thu, 03 Dec 2020 10:24:27 +0100 +> X-Git-Archeology: From: Jannis <52237708+heisath@users.noreply.github.com> +> X-Git-Archeology: Subject: [AR-558] Switch mvebu current to LK5.9 (based on previous mvebu-dev) (#2405) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0cdffb29b07305209efb12cf3b5ac6032d3a1153: https://github.com/armbian/build/commit/0cdffb29b07305209efb12cf3b5ac6032d3a1153 +> X-Git-Archeology: Date: Wed, 24 Mar 2021 19:01:53 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Renaming DEV branch to EDGE (#2704) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 5b1c1c2897a570c173c40204e98257b2dd7a74c9: https://github.com/armbian/build/commit/5b1c1c2897a570c173c40204e98257b2dd7a74c9 +> X-Git-Archeology: Date: Thu, 04 Jan 2024 00:06:37 +0530 +> X-Git-Archeology: From: Lane Jennison +> X-Git-Archeology: Subject: mvebu-edge: move to 6.6.y +> X-Git-Archeology: +--- + scripts/Makefile.lib | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib +index 111111111111..222222222222 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib -@@ -277,6 +277,9 @@ quiet_cmd_gzip = GZIP $@ - DTC ?= $(objtree)/scripts/dtc/dtc - DTC_FLAGS += -Wno-interrupt_provider +@@ -343,6 +343,9 @@ DTC ?= $(objtree)/scripts/dtc/dtc + DTC_FLAGS += -Wno-interrupt_provider \ + -Wno-unique_unit_address +# Enable overlay support +DTC_FLAGS += -@ @@ -10,3 +50,6 @@ # Disable noisy checks by default ifeq ($(findstring 1,$(KBUILD_EXTRA_WARN)),) DTC_FLAGS += -Wno-unit_address_vs_reg \ +-- +Armbian + diff --git a/patch/kernel/archive/mvebu-6.6/general-increasing_DMA_block_memory_allocation_to_2048.patch b/patch/kernel/archive/mvebu-6.6/general-increasing_DMA_block_memory_allocation_to_2048.patch index eef7296e7..0b1fecfe7 100644 --- a/patch/kernel/archive/mvebu-6.6/general-increasing_DMA_block_memory_allocation_to_2048.patch +++ b/patch/kernel/archive/mvebu-6.6/general-increasing_DMA_block_memory_allocation_to_2048.patch @@ -1,6 +1,109 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Igor Pecovnik +Date: Mon, 21 Aug 2017 08:54:53 +0200 +Subject: [ARCHEOLOGY] Increasing DMA block memory allocation to 2048k on all + relevant kernels. + +> X-Git-Archeology: > recovered message: > https://forum.armbian.com/index.php?/topic/4811-uas-mainline-kernel-coherent-pool-memory-size +> X-Git-Archeology: - Revision 908bb199ec2defd77f7f05d2016980abf100d627: https://github.com/armbian/build/commit/908bb199ec2defd77f7f05d2016980abf100d627 +> X-Git-Archeology: Date: Mon, 21 Aug 2017 08:54:53 +0200 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Increasing DMA block memory allocation to 2048k on all relevant kernels. +> X-Git-Archeology: +> X-Git-Archeology: - Revision a3cf7b74858e1f862db8ca238bd44f6406be6662: https://github.com/armbian/build/commit/a3cf7b74858e1f862db8ca238bd44f6406be6662 +> X-Git-Archeology: Date: Mon, 21 Aug 2017 17:52:29 +0200 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Revert "Increasing DMA block memory allocation to 2048k on all relevant kernels." +> X-Git-Archeology: +> X-Git-Archeology: - Revision 2be21aad5dc965b3bc67e136a1e1170119d60f74: https://github.com/armbian/build/commit/2be21aad5dc965b3bc67e136a1e1170119d60f74 +> X-Git-Archeology: Date: Mon, 21 Aug 2017 17:52:48 +0200 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Increasing DMA block memory allocation to 2048k on all relevant kernels. https://forum.armbian.com/index.php?/topic/4811-uas-mainline-kernel-coherent-pool-memory-size +> X-Git-Archeology: +> X-Git-Archeology: - Revision b3d2bd4864d89ce032344051e6ced2ba9371084b: https://github.com/armbian/build/commit/b3d2bd4864d89ce032344051e6ced2ba9371084b +> X-Git-Archeology: Date: Wed, 30 Aug 2017 05:42:08 +0000 +> X-Git-Archeology: From: Tonymac32 +> X-Git-Archeology: Subject: Meson64 Dev increase DMA block memory allocation +> X-Git-Archeology: +> X-Git-Archeology: - Revision 2c59bb9934b749b5df74d4134cd393dc24fd5160: https://github.com/armbian/build/commit/2c59bb9934b749b5df74d4134cd393dc24fd5160 +> X-Git-Archeology: Date: Mon, 18 Sep 2017 12:06:30 +0200 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Lepotato. Added NEXT, added patches from C2 NEXT, au, config update, removed deprecated patches, ... +> X-Git-Archeology: +> X-Git-Archeology: - Revision 13e94e58f04be27db51d18b7dac1d15a1864b79e: https://github.com/armbian/build/commit/13e94e58f04be27db51d18b7dac1d15a1864b79e +> X-Git-Archeology: Date: Fri, 27 Oct 2017 16:14:21 +0300 +> X-Git-Archeology: From: zador-blood-stained +> X-Git-Archeology: Subject: Remove random executable bits from patch files +> X-Git-Archeology: +> X-Git-Archeology: - Revision 2c08ec8f5a210de35f9482f482ac01ea15381792: https://github.com/armbian/build/commit/2c08ec8f5a210de35f9482f482ac01ea15381792 +> X-Git-Archeology: Date: Thu, 24 May 2018 13:32:29 +0200 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Merge sunxi family into stable +> X-Git-Archeology: +> X-Git-Archeology: - Revision 7d2f3af08f23049c91c88eec5062613bbfbc85d4: https://github.com/armbian/build/commit/7d2f3af08f23049c91c88eec5062613bbfbc85d4 +> X-Git-Archeology: Date: Thu, 24 May 2018 15:44:15 +0200 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Merging Rockchip family +> X-Git-Archeology: +> X-Git-Archeology: - Revision 99a34c7be1e342247a981f99c7930ee73c144f3e: https://github.com/armbian/build/commit/99a34c7be1e342247a981f99c7930ee73c144f3e +> X-Git-Archeology: Date: Tue, 26 Jun 2018 12:47:49 +0000 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Move Odroid C2 from 4.14.y to 4.16.y, added patch for ethernet, DEV to master, both tested ... not perfect but in a better condition. +> X-Git-Archeology: +> X-Git-Archeology: - Revision fcb85f17675990514d8fadc905e6ccc3bded7138: https://github.com/armbian/build/commit/fcb85f17675990514d8fadc905e6ccc3bded7138 +> X-Git-Archeology: Date: Thu, 28 Jun 2018 08:27:08 +0000 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Major Amlogic RFC and cleanup +> X-Git-Archeology: +> X-Git-Archeology: - Revision e261c6f82835bd9b12e07ba837b55fbf1aaa4327: https://github.com/armbian/build/commit/e261c6f82835bd9b12e07ba837b55fbf1aaa4327 +> X-Git-Archeology: Date: Wed, 31 Jul 2019 12:51:00 +0200 +> X-Git-Archeology: From: Aditya Prayoga +> X-Git-Archeology: Subject: Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 150ac0c2afa147d9e3b036c8ecd8238fe5648cf3: https://github.com/armbian/build/commit/150ac0c2afa147d9e3b036c8ecd8238fe5648cf3 +> X-Git-Archeology: Date: Tue, 19 Nov 2019 23:25:39 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Remove K<4, change branches, new features (#1586) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0da16dfc3daacae374ece2778966297783ef004e: https://github.com/armbian/build/commit/0da16dfc3daacae374ece2778966297783ef004e +> X-Git-Archeology: Date: Sun, 19 Jan 2020 15:54:02 +0100 +> X-Git-Archeology: From: Jannis +> X-Git-Archeology: Subject: [ mvebu ] Update patches to fit new legacy, current, dev +> X-Git-Archeology: +> X-Git-Archeology: - Revision 2fe5e6f7553174c2b2be69d70398145e11af00b6: https://github.com/armbian/build/commit/2fe5e6f7553174c2b2be69d70398145e11af00b6 +> X-Git-Archeology: Date: Thu, 03 Dec 2020 10:24:27 +0100 +> X-Git-Archeology: From: Jannis <52237708+heisath@users.noreply.github.com> +> X-Git-Archeology: Subject: [AR-558] Switch mvebu current to LK5.9 (based on previous mvebu-dev) (#2405) +> X-Git-Archeology: +> X-Git-Archeology: - Revision aa3d60f57e84d02887c63cae176bdec96b560e38: https://github.com/armbian/build/commit/aa3d60f57e84d02887c63cae176bdec96b560e38 +> X-Git-Archeology: Date: Thu, 10 Dec 2020 11:47:33 +0100 +> X-Git-Archeology: From: Rosen Penev +> X-Git-Archeology: Subject: refreshed mvebu with quilt (#2419) +> X-Git-Archeology: +> X-Git-Archeology: - Revision bd4c2c67f07ec0bcd823332da00cc8d3a7d733d7: https://github.com/armbian/build/commit/bd4c2c67f07ec0bcd823332da00cc8d3a7d733d7 +> X-Git-Archeology: Date: Fri, 22 Jan 2021 13:20:44 +0100 +> X-Git-Archeology: From: Jannis <52237708+heisath@users.noreply.github.com> +> X-Git-Archeology: Subject: [AR-609] Switch mvebu-current to 5.10.y (reusing config and patches from -dev) (#2547) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0cdffb29b07305209efb12cf3b5ac6032d3a1153: https://github.com/armbian/build/commit/0cdffb29b07305209efb12cf3b5ac6032d3a1153 +> X-Git-Archeology: Date: Wed, 24 Mar 2021 19:01:53 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Renaming DEV branch to EDGE (#2704) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 5b1c1c2897a570c173c40204e98257b2dd7a74c9: https://github.com/armbian/build/commit/5b1c1c2897a570c173c40204e98257b2dd7a74c9 +> X-Git-Archeology: Date: Thu, 04 Jan 2024 00:06:37 +0530 +> X-Git-Archeology: From: Lane Jennison +> X-Git-Archeology: Subject: mvebu-edge: move to 6.6.y +> X-Git-Archeology: +--- + arch/arm/mm/dma-mapping.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c +index 111111111111..222222222222 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c -@@ -315,7 +315,7 @@ static void *__alloc_remap_buffer(struct +@@ -182,7 +182,7 @@ static void *__alloc_remap_buffer(struct device *dev, size_t size, gfp_t gfp, pgprot_t prot, struct page **ret_page, const void *caller, bool want_vaddr); @@ -9,3 +112,6 @@ static struct gen_pool *atomic_pool __ro_after_init; static size_t atomic_pool_size __initdata = DEFAULT_DMA_COHERENT_POOL_SIZE; +-- +Armbian + diff --git a/patch/kernel/archive/mvebu-6.6/unlock_atheros_regulatory_restrictions.patch b/patch/kernel/archive/mvebu-6.6/unlock_atheros_regulatory_restrictions.patch index 7e57c379a..a633d9b26 100644 --- a/patch/kernel/archive/mvebu-6.6/unlock_atheros_regulatory_restrictions.patch +++ b/patch/kernel/archive/mvebu-6.6/unlock_atheros_regulatory_restrictions.patch @@ -1,6 +1,83 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Igor Pecovnik +Date: Mon, 25 Jan 2016 13:16:49 +0100 +Subject: [ARCHEOLOGY] A set of patches enables consumer grade Atheros wireless + card 5Ghz AP mode + working hostapd example + +> X-Git-Archeology: - Revision 07a583c323f781abc58d46cfd539c6bb82a50125: https://github.com/armbian/build/commit/07a583c323f781abc58d46cfd539c6bb82a50125 +> X-Git-Archeology: Date: Mon, 25 Jan 2016 13:16:49 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: A set of patches enables consumer grade Atheros wireless card 5Ghz AP mode + working hostapd example +> X-Git-Archeology: +> X-Git-Archeology: - Revision baab6587a50fbc75c7b593110db50796166d9648: https://github.com/armbian/build/commit/baab6587a50fbc75c7b593110db50796166d9648 +> X-Git-Archeology: Date: Fri, 09 Dec 2016 21:09:22 +0300 +> X-Git-Archeology: From: zador-blood-stained +> X-Git-Archeology: Subject: Refactor Marvell kernel sources +> X-Git-Archeology: +> X-Git-Archeology: - Revision 887909909f5c80bef6813c34f3581e63343ea854: https://github.com/armbian/build/commit/887909909f5c80bef6813c34f3581e63343ea854 +> X-Git-Archeology: Date: Wed, 12 Jul 2017 21:58:34 +0300 +> X-Git-Archeology: From: zador-blood-stained +> X-Git-Archeology: Subject: Update mvebu-next to 4.12 +> X-Git-Archeology: +> X-Git-Archeology: - Revision aba730f4880b20f7ba37504a8d1d6bc484f28c54: https://github.com/armbian/build/commit/aba730f4880b20f7ba37504a8d1d6bc484f28c54 +> X-Git-Archeology: Date: Tue, 31 Oct 2017 21:23:43 +0300 +> X-Git-Archeology: From: zador-blood-stained +> X-Git-Archeology: Subject: Add mvebu dev branch +> X-Git-Archeology: +> X-Git-Archeology: - Revision e261c6f82835bd9b12e07ba837b55fbf1aaa4327: https://github.com/armbian/build/commit/e261c6f82835bd9b12e07ba837b55fbf1aaa4327 +> X-Git-Archeology: Date: Wed, 31 Jul 2019 12:51:00 +0200 +> X-Git-Archeology: From: Aditya Prayoga +> X-Git-Archeology: Subject: Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 150ac0c2afa147d9e3b036c8ecd8238fe5648cf3: https://github.com/armbian/build/commit/150ac0c2afa147d9e3b036c8ecd8238fe5648cf3 +> X-Git-Archeology: Date: Tue, 19 Nov 2019 23:25:39 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Remove K<4, change branches, new features (#1586) +> X-Git-Archeology: +> X-Git-Archeology: - Revision c2106c3d5d9bcb20328074adf619fc18b53c237e: https://github.com/armbian/build/commit/c2106c3d5d9bcb20328074adf619fc18b53c237e +> X-Git-Archeology: Date: Sun, 12 Jan 2020 10:48:03 +0100 +> X-Git-Archeology: From: Jannis <52237708+count-doku@users.noreply.github.com> +> X-Git-Archeology: Subject: Fix cpufreq (dynamic frequency scaling) for mvebu-current. (#1727) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0da16dfc3daacae374ece2778966297783ef004e: https://github.com/armbian/build/commit/0da16dfc3daacae374ece2778966297783ef004e +> X-Git-Archeology: Date: Sun, 19 Jan 2020 15:54:02 +0100 +> X-Git-Archeology: From: Jannis +> X-Git-Archeology: Subject: [ mvebu ] Update patches to fit new legacy, current, dev +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0f3f25a6affe0caabc42d5ebeb64c5f19045bfa9: https://github.com/armbian/build/commit/0f3f25a6affe0caabc42d5ebeb64c5f19045bfa9 +> X-Git-Archeology: Date: Sun, 04 Oct 2020 15:38:06 +0200 +> X-Git-Archeology: From: Jannis +> X-Git-Archeology: Subject: Fix and cleanup patches for mvebu +> X-Git-Archeology: +> X-Git-Archeology: - Revision 2fe5e6f7553174c2b2be69d70398145e11af00b6: https://github.com/armbian/build/commit/2fe5e6f7553174c2b2be69d70398145e11af00b6 +> X-Git-Archeology: Date: Thu, 03 Dec 2020 10:24:27 +0100 +> X-Git-Archeology: From: Jannis <52237708+heisath@users.noreply.github.com> +> X-Git-Archeology: Subject: [AR-558] Switch mvebu current to LK5.9 (based on previous mvebu-dev) (#2405) +> X-Git-Archeology: +> X-Git-Archeology: - Revision aa3d60f57e84d02887c63cae176bdec96b560e38: https://github.com/armbian/build/commit/aa3d60f57e84d02887c63cae176bdec96b560e38 +> X-Git-Archeology: Date: Thu, 10 Dec 2020 11:47:33 +0100 +> X-Git-Archeology: From: Rosen Penev +> X-Git-Archeology: Subject: refreshed mvebu with quilt (#2419) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 0cdffb29b07305209efb12cf3b5ac6032d3a1153: https://github.com/armbian/build/commit/0cdffb29b07305209efb12cf3b5ac6032d3a1153 +> X-Git-Archeology: Date: Wed, 24 Mar 2021 19:01:53 +0100 +> X-Git-Archeology: From: Igor Pecovnik +> X-Git-Archeology: Subject: Renaming DEV branch to EDGE (#2704) +> X-Git-Archeology: +> X-Git-Archeology: - Revision 5b1c1c2897a570c173c40204e98257b2dd7a74c9: https://github.com/armbian/build/commit/5b1c1c2897a570c173c40204e98257b2dd7a74c9 +> X-Git-Archeology: Date: Thu, 04 Jan 2024 00:06:37 +0530 +> X-Git-Archeology: From: Lane Jennison +> X-Git-Archeology: Subject: mvebu-edge: move to 6.6.y +> X-Git-Archeology: +--- + drivers/net/wireless/ath/regd.c | 25 ++++------ + 1 file changed, 9 insertions(+), 16 deletions(-) + +diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c +index 111111111111..222222222222 100644 --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c -@@ -50,12 +50,9 @@ static int __ath_regd_init(struct ath_re +@@ -50,12 +50,9 @@ static int __ath_regd_init(struct ath_regulatory *reg); #define ATH_5GHZ_5725_5850 REG_RULE(5725-10, 5850+10, 80, 0, 30,\ NL80211_RRF_NO_IR) @@ -15,7 +92,7 @@ /* This one skips what we call "mid band" */ #define ATH_5GHZ_NO_MIDBAND ATH_5GHZ_5150_5350, \ -@@ -77,9 +74,8 @@ static const struct ieee80211_regdomain +@@ -77,9 +74,8 @@ static const struct ieee80211_regdomain ath_world_regdom_63_65 = { .n_reg_rules = 4, .alpha2 = "99", .reg_rules = { @@ -27,7 +104,7 @@ } }; -@@ -88,8 +84,8 @@ static const struct ieee80211_regdomain +@@ -88,8 +84,8 @@ static const struct ieee80211_regdomain ath_world_regdom_64 = { .n_reg_rules = 3, .alpha2 = "99", .reg_rules = { @@ -38,7 +115,7 @@ } }; -@@ -98,7 +94,7 @@ static const struct ieee80211_regdomain +@@ -98,7 +94,7 @@ static const struct ieee80211_regdomain ath_world_regdom_66_69 = { .n_reg_rules = 3, .alpha2 = "99", .reg_rules = { @@ -47,7 +124,7 @@ ATH_5GHZ_ALL, } }; -@@ -108,8 +104,7 @@ static const struct ieee80211_regdomain +@@ -108,8 +104,7 @@ static const struct ieee80211_regdomain ath_world_regdom_67_68_6A_6C = { .n_reg_rules = 4, .alpha2 = "99", .reg_rules = { @@ -57,7 +134,7 @@ ATH_5GHZ_ALL, } }; -@@ -258,9 +253,7 @@ static bool ath_is_radar_freq(u16 center +@@ -258,9 +253,7 @@ static bool ath_is_radar_freq(u16 center_freq, struct ath_regulatory *reg) { @@ -68,3 +145,6 @@ } static void ath_force_clear_no_ir_chan(struct wiphy *wiphy, +-- +Armbian +