From 68161bd393c24dfa69806b8b7e5ef1e4095a73e2 Mon Sep 17 00:00:00 2001 From: Ryan L Date: Wed, 31 Jul 2024 23:57:22 +0100 Subject: [PATCH] Correcting the Perf unit's interrupt source number to 66 as stated in the Allwinner A10User manual to resolve conflict with Uart 2 which actually uses interrupt source number 3 --- .../arm-dts-sun4i-a10-Pmu-irq-fix.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 patch/kernel/archive/sunxi-6.6/patches.armbian/arm-dts-sun4i-a10-Pmu-irq-fix.patch diff --git a/patch/kernel/archive/sunxi-6.6/patches.armbian/arm-dts-sun4i-a10-Pmu-irq-fix.patch b/patch/kernel/archive/sunxi-6.6/patches.armbian/arm-dts-sun4i-a10-Pmu-irq-fix.patch new file mode 100644 index 000000000000..6661fb2a9773 --- /dev/null +++ b/patch/kernel/archive/sunxi-6.6/patches.armbian/arm-dts-sun4i-a10-Pmu-irq-fix.patch @@ -0,0 +1,31 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ryzer58 +Date: Thu, 25 Apr 2024 22:18:22 +0100 +Subject: Correct perf interrupt source number as referenced in the Allwinner A10 User manual +to resolve conflict with UART2. + +Signed-off-by: Ryzer58 +--- + arch/arm/boot/dts/allwinner/sun4i-a10.dtsi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/boot/dts/allwinner/sun4i-a10.dtsi b/arch/arm/boot/dts/allwinner/sun4i-a10.dtsi +index 51a6464aab9a..cabf619c2e21 100644 +--- a/arch/arm/boot/dts/allwinner/sun4i-a10.dtsi ++++ b/arch/arm/boot/dts/allwinner/sun4i-a10.dtsi +@@ -183,11 +183,11 @@ de: display-engine { + status = "disabled"; + }; + + pmu { + compatible = "arm,cortex-a8-pmu"; +- interrupts = <3>; ++ interrupts = <66>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; +-- +Created with Armbian build tools https://github.com/armbian/build +