[PATCH v4 1/2] dt-bindings: interrupt-controller: add risc-v,aplic hart indexes

Vladimir Kondratiev Vladimir.Kondratiev at mobileye.com
Sat Jan 11 23:47:23 PST 2025


>Wouldn't using the 'cpus' property linking to each cpu/hart node work?

>Rob

Hi,

unfortunately, per-CPU property would not work. "hart index" defined per
interrupt domain, and different controllers may define it differently.
This is from the "4.3 Hart index numbers" section of the interrupts spec found at
https://github.com/riscv/riscv-aia

Within a given interrupt domain, each of the domain’s harts has a unique index
number in the range 0 to 2^14 − 1 (= 16,383).



More information about the linux-riscv mailing list