On 18.10.21 04:13, Changming Huang wrote:
> MSI-X vectors translates the interrupt through its, the GIC and my
> network device DTS node in root cell:
> gic: interrupt-controller@6000000 {
> compatible= "arm,gic-v3";
> #address-cells = <2>;
> #size-cells = <2>;
> ranges;
> reg= <0x0 0x06000000 0 0x10000>, /* GIC Dist */
> <0x0 0x06040000 0 0x40000>; /* GIC Redistributor */
> #interrupt-cells= <3>;
> interrupt-controller;
> interrupts = <GIC_PPI 9 (GIC_CPU_MASK_RAW(0xf) |
> IRQ_TYPE_LEVEL_LOW)>;
> its: gic-its@6020000 {
> compatible = "arm,gic-v3-its";
> msi-controller;
> reg = <0x0 0x06020000 0 0x20000>;/* GIC
> Translater */
> };
> };
>
> enetc_pcie: pcie@1f0000000 { /* Integrated Endpoint
> Root Complex */
> compatible = "pci-host-ecam-generic";
> reg = <0x01 0xf0000000 0x0 0x100000>;
> #address-cells = <3>;
> #size-cells = <2>;
> msi-parent = <&its>;
> device_type = "pci";
> bus-range = <0x0 0x0>;
> dma-coherent;
> msi-map = <0 &its 0x17 0xe>;
> ...
> }
>
> and I copy them all related nodes into cell DTS.
>
> so, I need more effort on MSI-X in cell?
This is conceptually the right thing, but something must be missing.
Is the ITS recognized by the non-root Linux kernel? Is that kernel
identical to the root-cell one (just to exclude configuration issues)?
Compare the boot logs.
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/43b81a76-02f9-204d-059e-03aa53568d2f%40siemens.com.