Message ID | 1494608620-18958-1-git-send-email-leitao@debian.org |
---|---|
State | New |
Headers | show |
On Fri, May 12, 2017 at 02:03:37PM -0300, Breno Leitao wrote: > From: Alistair Popple <alistair@popple.id.au> > > 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> Clean cherry picks, very little risk of regressions outside of powerpc. For all 4: Acked-by: Seth Forshee <seth.forshee@canonical.com>
Note the follow-up that currently has not made it to upstream, yet: [PATCH] [Zesty] SAUCE: powernv/npu-dma.c: Fix opal_npu_destroy_context call
Applied all four patches to zesty master-next branch. Please, next time, send a cover letter for multiple patches series. Thanks. Cascardo.
diff --git a/arch/powerpc/platforms/powernv/Kconfig b/arch/powerpc/platforms/powernv/Kconfig index 604190cab522..4d3ca7bf4207 100644 --- a/arch/powerpc/platforms/powernv/Kconfig +++ b/arch/powerpc/platforms/powernv/Kconfig @@ -18,6 +18,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