]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: add pmu interrupt-affinity
authorRadhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Mon, 10 Jul 2023 12:37:39 +0000 (14:37 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 21 Jul 2023 07:00:39 +0000 (09:00 +0200)
Explicitly specify interrupt affinity to avoid HW perfevents
need to guess. This avoids the following error upon linux boot:
armv8-pmu pmu: hw perfevents: no interrupt-affinity property,
guessing.

Reported-by: John Toomey <john.toomey@amd.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/c2f55a10cf54c6004f5dfe2ea18bcb4cf04f5723.1688992653.git.michal.simek@amd.com
arch/arm/dts/zynqmp.dtsi

index b9cfd562c9138cf61660678b7639899bbaee98c5..11eaf4b6a1935ed5b9e56b8b10ac63504517a0f0 100644 (file)
                             <0 144 4>,
                             <0 145 4>,
                             <0 146 4>;
+               interrupt-affinity = <&cpu0>,
+                                    <&cpu1>,
+                                    <&cpu2>,
+                                    <&cpu3>;
        };
 
        psci {