summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/Makefile
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2015-05-15 07:06:37 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2015-05-22 08:14:37 +0300
commit9f0fd0499d30dbd61632463f293e2e826fa363b1 (patch)
tree527965017e7b30ed58d31a1cf1236313b4e9e7e4 /arch/powerpc/platforms/powernv/Makefile
parent96e023e7534c16ab54e236c114340e2447c36d2f (diff)
downloadlinux-9f0fd0499d30dbd61632463f293e2e826fa363b1.tar.xz
powerpc/powernv: Add a virtual irqchip for opal events
Whenever an interrupt is received for opal the linux kernel gets a bitfield indicating certain events that have occurred and need handling by the various device drivers. Currently this is handled using a notifier interface where we call every device driver that has registered to receive opal events. This approach has several drawbacks. For example each driver has to do its own checking to see if the event is relevant as well as event masking. There is also no easy method of recording the number of times we receive particular events. This patch solves these issues by exposing opal events via the standard interrupt APIs by adding a new interrupt chip and domain. Drivers can then register for the appropriate events using standard kernel calls such as irq_of_parse_and_map(). Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/Makefile')
-rw-r--r--arch/powerpc/platforms/powernv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/Makefile b/arch/powerpc/platforms/powernv/Makefile
index bee923585afc..26bd7e417b7c 100644
--- a/arch/powerpc/platforms/powernv/Makefile
+++ b/arch/powerpc/platforms/powernv/Makefile
@@ -1,7 +1,7 @@
obj-y += setup.o opal-wrappers.o opal.o opal-async.o idle.o
obj-y += opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
obj-y += rng.o opal-elog.o opal-dump.o opal-sysparam.o opal-sensor.o
-obj-y += opal-msglog.o opal-hmi.o opal-power.o
+obj-y += opal-msglog.o opal-hmi.o opal-power.o opal-irqchip.o
obj-$(CONFIG_SMP) += smp.o subcore.o subcore-asm.o
obj-$(CONFIG_PCI) += pci.o pci-p5ioc2.o pci-ioda.o