Skip to content

Commit

Permalink
powerpc/powernv: Require MMU_NOTIFIER to fix NPU build
Browse files Browse the repository at this point in the history
In the recent commit 1ab66d1 ("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: 1ab66d1 ("powerpc/powernv: Introduce address translation services for Nvlink2")
Signed-off-by: Alistair Popple <[email protected]>
[mpe: Reword change log]
Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
apopple authored and mpe committed Apr 10, 2017
1 parent f7327e0 commit abfe802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/platforms/powernv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abfe802

Please sign in to comment.