Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1481926
| From | Marc Zyngier <marc.zyngier@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [UPDATE PATCH V11 1/8] ACPI: I/O Remapping Table (IORT) initial support |
| Date | 2016-09-12 21:40 +0200 |
| Message-ID | <sgFfd-7H4-65@gated-at.bofh.it> (permalink) |
| References | <sgEj8-72M-29@gated-at.bofh.it> <sgECt-7at-11@gated-at.bofh.it> <sgECt-7at-9@gated-at.bofh.it> |
| Organization | ARM Ltd |
On Mon, 12 Sep 2016 20:58:42 +0200 Tomasz Nowicki <tn@semihalf.com> wrote: > On 12.09.2016 20:54, Tomasz Nowicki wrote: > > IORT shows representation of IO topology for ARM based systems. > > It describes how various components are connected together on > > parent-child basis e.g. PCI RC -> SMMU -> ITS. Also see IORT spec. > > http://infocenter.arm.com/help/topic/com.arm.doc.den0049b/DEN0049B_IO_Remapping_Table.pdf > > > > Initial support allows to detect IORT table presence and save its > > root pointer obtained through acpi_get_table(). The pointer validity > > depends on acpi_gbl_permanent_mmap because if acpi_gbl_permanent_mmap > > is not set while using IORT nodes we would dereference unmapped pointers. > > > > For the aforementioned reason call acpi_iort_init() from acpi_init() > > which guarantees acpi_gbl_permanent_mmap to be set at that point. > > > > Add generic helpers which are helpful for scanning and retrieving > > information from IORT table content. List of the most important helpers: > > - iort_find_dev_node() finds IORT node for a given device > > - iort_node_map_rid() maps device RID and returns IORT node which provides > > final translation > > > > IORT support is placed under drivers/acpi/arm64/ new directory due to its > > ARM64 specific nature. The code there is considered only for ARM64. > > The long term plan is to keep all ARM64 specific tables support > > in this place e.g. GTDT table. > > > > Signed-off-by: Tomasz Nowicki <tn@semihalf.com> > > Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net> > > Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org> > > Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> > > Hi Marc, > > Series with updated patch 1 can be found: > https://github.com/semihalf-nowicki-tomasz/linux.git (its-acpi-v11) > > Sorry for zillions of patch updates... I've swapped the two patches and pushed the result out again, but from now on, please send updates on top of irq/irqchip-4.9. Thanks, M. -- Without deviation from the norm, progress is not possible.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V11 0/8] Introduce ACPI world to ITS irqchip Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
[PATCH V11 4/8] irqchip/gicv3-its: Cleanup for ITS domain initialization Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
[PATCH V11 7/8] irqchip/gicv3-its: Factor out PCI-MSI part that might be reused for ACPI Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
[PATCH V11 5/8] irqchip/gicv3-its: Refactor ITS DT init code to prepare for ACPI Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
[PATCH V11 3/8] PCI/MSI: Setup MSI domain on a per-device basis using IORT ACPI table Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
[PATCH V11 8/8] irqchip/gicv3-its: Use MADT ITS subtable to do PCI/MSI domain initialization Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
[PATCH V11 6/8] irqchip/gicv3-its: Probe ITS in the ACPI way Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
[PATCH V11 1/8] ACPI: I/O Remapping Table (IORT) initial support Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
Re: [UPDATE PATCH V11 1/8] ACPI: I/O Remapping Table (IORT) initial support Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 21:00 +0200
Re: [UPDATE PATCH V11 1/8] ACPI: I/O Remapping Table (IORT) initial support Marc Zyngier <marc.zyngier@arm.com> - 2016-09-12 21:40 +0200
[UPDATE PATCH V11 1/8] ACPI: I/O Remapping Table (IORT) initial support Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 21:00 +0200
[PATCH V11 2/8] ACPI: Add new IORT functions to support MSI domain handling Tomasz Nowicki <tn@semihalf.com> - 2016-09-12 20:40 +0200
csiph-web