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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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).





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux