xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/6] ARM: Add support for Tegra SoCs (incl. Jetson TK1, Jetson TX1)
@ 2016-09-05 10:13 Kyle Temkin
  2016-09-05 10:13 ` [PATCH RFC 1/6] xen/arm: platforms: Add earlyprintk and serial support for Tegra boards Kyle Temkin
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Kyle Temkin @ 2016-09-05 10:13 UTC (permalink / raw)
  To: xen-devel; +Cc: julien.grall, sstabellini

The attached patch-set adds support for 32-bit and 64-bit Tegra SoCs; including
support for the Jetson TK1 and Jetson TX1 boards, as well as the Pixel C tablet.
It has been tested on the TK1, TX1, and Pixel C.

Many thanks to Ian Campbell, whose original Jetson TK1 patchset contained a lot
of pointers in the right direction, and helped us to get started on this one!

This patch set includes:
  - Some minor serial quirks to get the NS16550 on the Tegra fully working,
    which extend Chris Patterson's previous serial fixes with a very minor 
    Tegra-specific quirk.
  - Support for the Tegra Legacy Interrupt Controller, which is necessary to get
    interrupt routing working correctly on Tegra devices. In this version of the
    patchset, the interrupt controller is supported via platform quirks.
  - A few additional minor features and logic fixes to support the Tegra. An
    example would be the Tegra-specific reset logic.

This patch set does NOT include:
  - Support for the Tegra-specific IOMMU. This means this platform doesn't yet
    support device passthrough. I do expect to write a driver for the IOMMU at
    some point in the future, but don't think it's necessary for this initial 
    patchset.

Thoughts and concerns:
  - This patchset includes what is essentially a simple driver for the Tegra
    Legacy Interrupt Controller inside the platform code. Ideally, I'd rather
    see this as a dedicated irqchip driver (perhaps under drivers/irqchip?)
    instead of a chunk of platform code, but this currently isn't easily
    accomplished, as Xen only supports a simple single-GIC topology.
  - This patchset introduces four new platform hooks that enable a platform to
    override the IRQ routing logic: 'route_irq_to_guest', 'route_irq_to_xen',
    'irq_is_routable', and 'irq_for_device'. I don't really like adding more
    platform hooks -- especially as these seem like natural methods of an
    irqchip driver -- but again am limited by the current single-GIC topology.

I'm looking forward to feedback on this patch set-- and am definitely open to
changes!


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-11-01 14:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-05 10:13 [PATCH RFC 0/6] ARM: Add support for Tegra SoCs (incl. Jetson TK1, Jetson TX1) Kyle Temkin
2016-09-05 10:13 ` [PATCH RFC 1/6] xen/arm: platforms: Add earlyprintk and serial support for Tegra boards Kyle Temkin
2016-09-13 21:06   ` Konrad Rzeszutek Wilk
2016-10-21 21:41     ` Stefano Stabellini
2016-09-05 10:13 ` [PATCH RFC 2/6] xen/arm: hwdom GIC: inherit interrupt parent from host device tree Kyle Temkin
2016-10-21 22:18   ` Stefano Stabellini
2016-09-05 10:13 ` [PATCH RFC 3/6] xen/arm: Allow platforms to hook IRQ routing Kyle Temkin
2016-10-21 23:28   ` Stefano Stabellini
2016-11-01 14:56   ` Julien Grall
2016-09-05 10:13 ` [PATCH RFC 4/6] xen/arm: platforms: Add Tegra platform to support basic " Kyle Temkin
2016-09-16 14:50   ` Konrad Rzeszutek Wilk
2016-10-22  0:06     ` Stefano Stabellini
2016-09-05 10:14 ` [PATCH RFC 5/6] xen/arm: Add function to query IRQ 'ownership' Kyle Temkin
2016-09-16 14:53   ` Konrad Rzeszutek Wilk
2016-10-22  0:10     ` Stefano Stabellini
2016-09-05 10:14 ` [PATCH RFC 6/6] xen/arm: platforms/tegra: ensure the hwdom can only affect its own interrupts Kyle Temkin
2016-10-22  0:45   ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).