Re: [PATCH V5 2/3] ARM64 LPC: Add missing range exception for special ISA

From: Benjamin Herrenschmidt
Date: Thu Nov 10 2016 - 02:10:17 EST


On Wed, 2016-11-09 at 11:20 +0000, Mark Rutland wrote:
> The big change would be to handle !MMIO translations, for which we'd
> need a runtime registry of ISA bus instance to find the relevant
> accessor ops and instance-specific data.

Yes. We do something a bit like that on ppc, we find the PCI bus
for which the IO ports match and I have a hook to register the
special indirect ISA.

It's a bit messy, we could do something nicer generically.

Cheers,
Ben.