Re: [PATCH v4 1/2] dt-bindings: interrupt-controller: add risc-v,aplic hart indexes
From: Vladimir Kondratiev
Date: Sun Jan 12 2025 - 02:47:38 EST
>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).