Commit abfe8026 authored by Alistair Popple's avatar Alistair Popple Committed by Michael Ellerman

powerpc/powernv: Require MMU_NOTIFIER to fix NPU build

In the recent commit 1ab66d1f ("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: 1ab66d1f ("powerpc/powernv: Introduce address translation services for Nvlink2")
Signed-off-by: default avatarAlistair Popple <alistair@popple.id.au>
[mpe: Reword change log]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent f7327e0b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment