]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
powerpc/powernv: Require MMU_NOTIFIER to fix NPU build
authorAlistair Popple <alistair@popple.id.au>
Fri, 12 May 2017 17:03:37 +0000 (14:03 -0300)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 20 Jun 2017 08:45:42 +0000 (10:45 +0200)
commit9d7ddf47bb40591b9002c4fe2850435210bbe6d3
treec4d74ddb840e3cb0167e44b22de798841ad35836
parent5f3642a2acc62af1049f2c03c5af6999edd33289
powerpc/powernv: Require MMU_NOTIFIER to fix NPU build

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1690412
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>
(cherry picked from commit abfe8026b505d66dad7a3e5ebe7235f12c29b67d)
Signed-off-by: Breno Leitao <breno.leitao@gmail.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/powerpc/platforms/powernv/Kconfig