]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/powernv: Require MMU_NOTIFIER to fix NPU build
authorAlistair Popple <alistair@popple.id.au>
Mon, 10 Apr 2017 05:24:35 +0000 (15:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 10 Apr 2017 21:46:03 +0000 (07:46 +1000)
In the recent commit 1ab66d1fbada ("powerpc/powernv: Introduce address
translation services for Nvlink2") the NPU code gained a dependency on MMU
notifiers.

All our defconfigs have KVM enabled, which selects MMU_NOTIFIER, but if KVM is
not enabled then the build breaks.

Fix it by always selecting MMU_NOTIFIER when we're building powernv.

Fixes: 1ab66d1fbada ("powerpc/powernv: Introduce address translation services for Nvlink2")
Signed-off-by: Alistair Popple <alistair@popple.id.au>
[mpe: Reword change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/Kconfig

index 3a07e4dcf97c43d7a1bf619294ea94f37ff032dc..76b8eca5767aac666537fee602a9a54b5a45ca14 100644 (file)
@@ -19,6 +19,7 @@ config PPC_POWERNV
        select CPU_FREQ_GOV_ONDEMAND
        select CPU_FREQ_GOV_CONSERVATIVE
        select PPC_DOORBELL
+       select MMU_NOTIFIER
        default y
 
 config OPAL_PRD