Re: [PATCH kernel] powerpc/iommu: Do not call PageTransHuge() on tail pages

2017-04-02 Thread Balbir Singh
On Tue, 2017-03-28 at 16:25 +1100, Alexey Kardashevskiy wrote: > The CMA pages migration code does not support compound pages at > the moment so it performs few tests before proceeding to actual page > migration. > > One of the tests - PageTransHuge() - has VM_BUG_ON_PAGE(PageTail()) as > it

[PATCH] powerpc/misc: fix exported functions that reference the TOC

2017-04-02 Thread Oliver O'Halloran
When the kernel is compiled to use 64bit ABIv2 the _GLOBAL() macro does not include a global entry point. A function's global entry point is used when the function is called from a different TOC context and in the kernel this typically means a call from a module into the vmlinux (or vis-a-vis).

Re: [PATCH 12/12] powerpc/kvm: Native usage of the XIVE interrupt controller

2017-04-02 Thread Benjamin Herrenschmidt
On Tue, 2017-03-28 at 16:26 +1100, Paul Mackerras wrote: > > > --- a/arch/powerpc/include/asm/kvm_book3s_asm.h > > +++ b/arch/powerpc/include/asm/kvm_book3s_asm.h > > @@ -111,6 +111,8 @@ struct kvmppc_host_state { > >   struct kvm_vcpu *kvm_vcpu; > >   struct kvmppc_vcore *kvm_vcore; > >  

[PATCH] powerpc/nohash: Fix use of mmu_has_feature() in setup_initial_memory_limit()

2017-04-02 Thread Michael Ellerman
setup_initial_memory_limit() is called from early_init_devtree(), which runs prior to feature patching. If the kernel is built with CONFIG_JUMP_LABEL=y and CONFIG_JUMP_LABEL_FEATURE_CHECKS=y then we will potentially get the wrong value. If we also have CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG=y we

Re: [PATCH 4/5] crypto/nx: Add P9 NX support for 842 compression engine.

2017-04-02 Thread Stewart Smith
Haren Myneni writes: > @@ -656,13 +953,21 @@ static __init int nx842_powernv_init(void) > BUILD_BUG_ON(DDE_BUFFER_ALIGN % DDE_BUFFER_SIZE_MULT); > BUILD_BUG_ON(DDE_BUFFER_SIZE_MULT % DDE_BUFFER_LAST_MULT); > > - for_each_compatible_node(dn, NULL,

Re: [PATCH] powerpc: Add POWER9 copy_page() loop

2017-04-02 Thread Benjamin Herrenschmidt
On Mon, 2017-04-03 at 10:54 +1000, Anton Blanchard wrote: > > > Good idea, I hadn't thought of embedding it all in a feature > > > section.   > > > > It may not work currently because you get those ftr_alt_97 relocation > > errors with the "else" parts because relative branches to other code > >

Re: [PATCH] powerpc: Add POWER9 copy_page() loop

2017-04-02 Thread Anton Blanchard
Hi Nick, > > Good idea, I hadn't thought of embedding it all in a feature > > section. > > It may not work currently because you get those ftr_alt_97 relocation > errors with the "else" parts because relative branches to other code > need to be direct and I think reachable from both places. I

Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

2017-04-02 Thread kbuild test robot
Hi Sukadev, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.11-rc4 next-20170331] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sukadev-Bhattiprolu/Add-Power9-PVR/20170402

Linux 4.11: Reported regressions as of Tuesday, 2017-04-02

2017-04-02 Thread Thorsten Leemhuis
Hi! Find below my second regression report for Linux 4.11. It lists 13 regressions I'm currently aware of. It lists 6 fixed regressions. Some of them where in the first report from three weeks ago; a few were supposed to go into a second report I prepared last week, but wasn't able to finish :-/

[PATCH] powerpc/sequoia: fix NAND partitions not to overlap

2017-04-02 Thread Pavel Machek
Fix overlapping NAND partitions. Signed-off-by: Pavel Machek diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts index b1d3292..e41b88a 100644 --- a/arch/powerpc/boot/dts/sequoia.dts +++ b/arch/powerpc/boot/dts/sequoia.dts @@ -229,7 +229,7 @@