Re: [PATCH 7/7] MIPS: SGI-IP27: abstract chipset irq from bridge

From: Thomas Bogendoerfer
Date: Mon Jan 28 2019 - 09:01:39 EST


On Mon, 28 Jan 2019 05:33:17 -0800
Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> Shouldnt this just use chained irqchip drivers instead?

you mean using irq_set_chained_handler() ? If yes, this IMHO doesn't look usefull
because it's used for adding a secondary interrupt controller. But what I need
is telling bridge ASIC to direct the xtalk IRQ packet to a specific HUB/HEART/BEDROCK
from the HUB/HEART/BEDROCK specific code. And want to avoid dragging in bridge details
to that specific code.

But I'm open reusing whatever fits the bill here.

Thomas.

--
SUSE Linux GmbH
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)