On 27 October 2015 at 12:02, Pavel Fedin <p.fe...@samsung.com> wrote: >> We have plenty of precedent in tree for interrupt controllers being >> compiled as arch-specific for reasons such as this. Can we just >> promote GIC to an obj-y (much the same way the KVM GIC or V7MNVIC are >> promoted)? You should them have access to cpu.h and the CP interface. > > Huh, indeed, it's so simple... I failed to notice this. > Peter, what do you think, if we indeed simply move gicv3 > implementation from common-obj-y to obj-y?
I thought that we were trying to reduce the amount of obj-y code in order to make life easier for multiarch (because eventually it's going to have to be compile-once anyway). And being obj-y and having the whole of cpu.h available makes it very easy to accidentally use target-specific defines and so on. But Peter C has a better grasp of the current status of multiarch than I do, so if he prefers using obj-y then I'm happy to take his recommendation. thanks -- PMM