Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1245388
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. |
| Date | 2015-10-13 09:00 +0200 |
| Message-ID | <qj1J0-7bO-7@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <qhZpT-6hV-11@gated-at.bofh.it> <qilA6-4GV-5@gated-at.bofh.it> <qimFP-6vi-5@gated-at.bofh.it> <qirYR-5F6-3@gated-at.bofh.it> <qj1pE-6O2-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Majun,
On Tue, 13 Oct 2015, majun (F) wrote:
> 在 2015/10/12 0:45, Thomas Gleixner 写道:
> > So now in the mbigen case this looks like this:
> >
> > [MSI-BUS] ----- [MBIGEN]<-------------------[Device interrupt]
> >
> > Again, you have a 'wire' from the device to the MSI unit (MBIGEN) and
> > we do not care about that 'wire' either. What we care about is how we
> > find the MSI (mbigen) configuration registers for a particular
> > device. So we need a DT/ACPI entry which describes those configuration
> > registers and whatever supplementary information is required. That
> > will make the mbigen driver extremly simple.
> >
>
> According to your suggestions, I tried to make the hardware structure likes below:
>
> device(8250 uart) -> mbigne -> ITS-pMSI --> ITS --> GIC
I'm not sure whether mbigen should be connected to ITS-pMSI (I assume
you mean ITS-PCI-MSI).
mbigen is a seperate MSI domain, so it should connect to ITS, but I
leave that to Marc.
> And 8250 uart dts node is:
>
> 8250_uart {
> compatible = "xxx";
> msi-parent = < &mbigen>;
> config_addr = <xxxxx> ; /* configuration register */
> interrupts = <x>;
> interrupt-parent = ?
> }
>
> My question is what's the interrupt-parent should be?
There is no interrupt parent for 8250_uart. Why would you want that?
I'm really not a DT expert, but I think you want something like this:
8250_uart {
compatible = "xxx";
msi-parent = < &mbigen_node5>;
interrupt-map = <&mbigen5 0>;
};
and then have
mbigen_node5 {
...
reg = <....>;
};
So the other devices which are connected to mbigen_node5 have the same
msi-parent. But then again, please discuss that with Marc and the DT
wizards.
Thanks,
tglx
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Thomas Gleixner <tglx@linutronix.de> - 2015-10-09 15:50 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. "majun (F)" <majun258@huawei.com> - 2015-10-10 11:10 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Marc Zyngier <marc.zyngier@arm.com> - 2015-10-10 12:20 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Thomas Gleixner <tglx@linutronix.de> - 2015-10-11 12:00 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Marc Zyngier <marc.zyngier@arm.com> - 2015-10-11 13:10 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Thomas Gleixner <tglx@linutronix.de> - 2015-10-11 18:50 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. "majun (F)" <majun258@huawei.com> - 2015-10-13 08:40 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Thomas Gleixner <tglx@linutronix.de> - 2015-10-13 09:00 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. "majun (F)" <majun258@huawei.com> - 2015-10-14 10:30 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Thomas Gleixner <tglx@linutronix.de> - 2015-10-14 10:30 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. "majun (F)" <majun258@huawei.com> - 2015-10-14 11:10 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Marc Zyngier <marc.zyngier@arm.com> - 2015-10-14 11:00 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Thomas Gleixner <tglx@linutronix.de> - 2015-10-14 11:20 +0200
Re: [PATCH v5 1/3] initialize each mbigen device node as a interrupt controller. Marc Zyngier <marc.zyngier@arm.com> - 2015-10-14 11:50 +0200
csiph-web