Re: [PATCH V4 03/18] powerpc/mm: add _PAGE_HASHPTE similar to 4K hash

2016-02-22 Thread Paul Mackerras
On Tue, Feb 23, 2016 at 10:18:05AM +0530, Aneesh Kumar K.V wrote: > The difference between 64K and 4K hash fault handling is confusing > with respect to when we set _PAGE_HASHPTE in the linux pte. > I was trying to find out whether we miss a hpte flush in any > scenario because of this. ie, a pte u

Re: [PATCH] powerpc/pagetable: Add option to dump kernel pagetable

2016-02-22 Thread Rashmica
On 23/02/16 16:30, Anshuman Khandual wrote: On 02/23/2016 03:57 AM, Rashmica wrote: Hi Anshuman, Thanks for the feedback! On 22/02/16 21:13, Anshuman Khandual wrote: On 02/22/2016 11:32 AM, Rashmica Gupta wrote: Useful to be able to dump the kernel page tables to check permissions and memo

Re: [PATCH] powerpc/pagetable: Add option to dump kernel pagetable

2016-02-22 Thread Anshuman Khandual
On 02/23/2016 03:57 AM, Rashmica wrote: > Hi Anshuman, > > Thanks for the feedback! > > On 22/02/16 21:13, Anshuman Khandual wrote: >> On 02/22/2016 11:32 AM, Rashmica Gupta wrote: >>> Useful to be able to dump the kernel page tables to check permissions >>> and >>> memory types - derived from ar

Re: [PATCH 1/1] powerpc: Detect broken or mismatched toolchains

2016-02-22 Thread Sam Bobroff
On Mon, Feb 22, 2016 at 08:05:01PM -0600, Scott Wood wrote: > On Mon, 2016-02-22 at 16:13 +1100, Sam Bobroff wrote: > > It can currently be difficult to diagnose a build that fails due to > > the compiler, linker or other parts of the toolchain being unable to > > build binaries of the type require

[PATCH V4 18/18] powerpc/mm: Move hash64 specific definitions to separate header

2016-02-22 Thread Aneesh Kumar K.V
We will be adding a radix variant of these routines in the followup patches. Move the hash64 variant into its own header so that we can rename them easily later. Also split pgalloc 64k and 4k headers Reviewed-by: Paul Mackerras Signed-off-by: Aneesh Kumar K.V --- .../include/asm/book3s/64/pgall

[PATCH V4 16/18] powerpc/mm: THP is only available on hash64 as of now

2016-02-22 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/mm/pgtable-hash64.c | 373 +++ arch/powerpc/mm/pgtable_64.c | 373 --- 2 files changed, 373 insertions(+), 373 deletions(-) diff --git a/arch/powerpc/mm/pgtable-hash64.c b

[PATCH V4 17/18] powerpc/mm: Use generic version of pmdp_clear_flush_young

2016-02-22 Thread Aneesh Kumar K.V
The radix variant is going to require a flush_tlb_range. We can't then have this as static inline because of the usage of HPAGE_PMD_SIZE. So we are forced to make it a function in which case we can use the generic version. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/p

[PATCH V4 15/18] powerpc/mm: Move hash page table related functions to pgtable-hash64.c

2016-02-22 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/hash.h| 2 + arch/powerpc/include/asm/nohash/64/pgtable.h | 3 + arch/powerpc/mm/Makefile | 3 +- arch/powerpc/mm/init_64.c| 114 + arch/powerpc/mm/mem.c

[PATCH V4 14/18] powerpc/mm: Create a new headers for tlbflush for hash64

2016-02-22 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/tlbflush-hash.h | 94 ++ arch/powerpc/include/asm/tlbflush.h| 92 + 2 files changed, 95 insertions(+), 91 deletions(-) create mode 100644 arch/powerpc/include/asm/book3s

[PATCH V4 13/18] powerpc/mm: Move hash related mmu-*.h headers to book3s/

2016-02-22 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/{mmu-hash32.h => book3s/32/mmu-hash.h} | 0 arch/powerpc/include/asm/{mmu-hash64.h => book3s/64/mmu-hash.h} | 0 arch/powerpc/include/asm/mmu.h | 4 ++-- arch/powerpc/kernel/idle_power7.S

[PATCH V4 12/18] powerpc/mm: Use flush_tlb_page in ptep_clear_flush_young

2016-02-22 Thread Aneesh Kumar K.V
This should not have any impact for hash linux implementation. But radix would require us to flush tlb after clearing accessed bit. Also move code that is not dependent on pte bits to generic header. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/hash.h| 45 +-

[PATCH V4 11/18] powerpc/mm: Hugetlbfs is book3s_64 and fsl_book3e (32 or 64)

2016-02-22 Thread Aneesh Kumar K.V
We move large part of fsl related code to hugetlbpage-book3e.c. Only code movement. This also avoid #ifdef in the code. Eventhough we allow hugetlbfs only for book3s 64 and fsl book3e, I am still retaining the #ifdef in hugetlbpage-book3e.c. It looks like there was an attempt to support hugetlbfs

[PATCH V4 10/18] powerpc/mm: Copy pgalloc (part 3)

2016-02-22 Thread Aneesh Kumar K.V
64bit book3s now always have 4 level page table irrespective of linux page size. Move the related code out of #ifdef Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/pgalloc.h | 55 +--- 1 file changed, 18 insertions(+), 37 deletions(-) diff --git a

[PATCH V4 09/18] powerpc/mm: Copy pgalloc (part 2)

2016-02-22 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/32/pgalloc.h | 6 +++--- arch/powerpc/include/asm/book3s/64/pgalloc.h | 17 ++-- arch/powerpc/include/asm/book3s/pgalloc.h | 19 ++ .../asm/{pgalloc-32.h => nohash/32/pgalloc.h}

[PATCH V4 07/18] powerpc/mm: Update masked bits for linux page table

2016-02-22 Thread Aneesh Kumar K.V
We now use physical address in upper page table tree levels. Even though they are aligned to their size, for the masked bits we use the overloaded bit positions as per PowerISA 3.0. We keep the bad bits check as it is, and will use conditional there when adding radix. Bad bits check also check for

[PATCH V4 08/18] powerpc/mm: Copy pgalloc (part 1)

2016-02-22 Thread Aneesh Kumar K.V
This patch make a copy of pgalloc routines for book3s. The idea is to enable a hash64 copy of these pgalloc routines which can be later updated to have a radix conditional. Radix introduce a new page table format with different page table size. This mostly does: cp pgalloc-32.h book3s/32/pgalloc.

[PATCH V4 06/18] powerpc/mm: Switch book3s 64 with 64K page size to 4 level page table

2016-02-22 Thread Aneesh Kumar K.V
This is needed so that we can support both hash and radix page table using single kernel. Radix kernel uses a 4 level table. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/book3s/64/hash-4k.h | 33 +-- a

[PATCH V4 05/18] powerpc/mm: Don't have conditional defines for real_pte_t

2016-02-22 Thread Aneesh Kumar K.V
We remove real_pte_t out of STRICT_MM_TYPESCHECK. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/pgtable.h | 5 - arch/powerpc/include/asm/pgtable-types.h | 26 +- 2 files changed, 9 insertions(+), 22 deletions(-) diff --git a/arch/powerp

[PATCH V4 04/18] powerpc/mm: Split pgtable types to separate header

2016-02-22 Thread Aneesh Kumar K.V
We move the page table accessors into a separate header. We will later add a big endian variant of the table which is needed for radix. No functionality change only code movement. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/page.h | 104 + ar

[PATCH V4 03/18] powerpc/mm: add _PAGE_HASHPTE similar to 4K hash

2016-02-22 Thread Aneesh Kumar K.V
The difference between 64K and 4K hash fault handling is confusing with respect to when we set _PAGE_HASHPTE in the linux pte. I was trying to find out whether we miss a hpte flush in any scenario because of this. ie, a pte update on a linux pte, for which we are doing a parallel hash pte insert. A

[PATCH V4 02/18] mm: Some arch may want to use HPAGE_PMD related values as variables

2016-02-22 Thread Aneesh Kumar K.V
From: "Kirill A. Shutemov" With next generation power processor, we are having a new mmu model [1] that require us to maintain a different linux page table format. Inorder to support both current and future ppc64 systems with a single kernel we need to make sure kernel can select between differe

[PATCH V4 01/18] powerp/mm: Update code comments

2016-02-22 Thread Aneesh Kumar K.V
We are updating pte in those functions. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/mm/hash64_4k.c | 2 +- arch/powerpc/mm/hash64_64k.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/mm/hash64_4k.c b/arch/powerpc/mm/hash64_4k.c index e7c04542ba62..e3e

[PATCH V4 00/18] Book3s abstraction in preparation for new MMU model

2016-02-22 Thread Aneesh Kumar K.V
Hello, This series mostly consisting of code movement. One new thing added in this series is to switch book3s 64 to 4 level page table. The changes are done to accomodate the upcoming new memory model in future powerpc chips. The details of the new MMU model can be found at http://ibm.biz/powe

[PATCH v5 9/9] powerpc: Add the ability to save VSX without giving it up

2016-02-22 Thread Cyril Bur
This patch adds the ability to be able to save the VSX registers to the thread struct without giving up (disabling the facility) next time the process returns to userspace. This patch builds on a previous optimisation for the FPU and VEC registers in the thread copy path to avoid a possibly pointl

[PATCH v5 2/9] selftests/powerpc: Test preservation of FPU and VMX regs across preemption

2016-02-22 Thread Cyril Bur
Loop in assembly checking the registers with many threads. Signed-off-by: Cyril Bur --- tools/testing/selftests/powerpc/math/.gitignore| 2 + tools/testing/selftests/powerpc/math/Makefile | 5 +- tools/testing/selftests/powerpc/math/fpu_asm.S | 36 +++ tools/testing/selftes

[PATCH v5 7/9] powerpc: Add the ability to save FPU without giving it up

2016-02-22 Thread Cyril Bur
This patch adds the ability to be able to save the FPU registers to the thread struct without giving up (disabling the facility) next time the process returns to userspace. This patch optimises the thread copy path (as a result of a fork() or clone()) so that the parent thread can return to usersp

[PATCH v5 8/9] powerpc: Add the ability to save Altivec without giving it up

2016-02-22 Thread Cyril Bur
This patch adds the ability to be able to save the VEC registers to the thread struct without giving up (disabling the facility) next time the process returns to userspace. This patch builds on a previous optimisation for the FPU registers in the thread copy path to avoid a possibly pointless relo

[PATCH v5 6/9] powerpc: Prepare for splitting giveup_{fpu, altivec, vsx} in two

2016-02-22 Thread Cyril Bur
This prepares for the decoupling of saving {fpu,altivec,vsx} registers and marking {fpu,altivec,vsx} as being unused by a thread. Currently giveup_{fpu,altivec,vsx}() does both however optimisations to task switching can be made if these two operations are decoupled. save_all() will permit the sav

[PATCH v5 5/9] powerpc: Restore FPU/VEC/VSX if previously used

2016-02-22 Thread Cyril Bur
Currently the FPU, VEC and VSX facilities are lazily loaded. This is not a problem unless a process is using these facilities. Modern versions of GCC are very good at automatically vectorising code, new and modernised workloads make use of floating point and vector facilities, even the kernel make

[PATCH v5 4/9] powerpc: Explicitly disable math features when copying thread

2016-02-22 Thread Cyril Bur
Currently when threads get scheduled off they always giveup the FPU, Altivec (VMX) and Vector (VSX) units if they were using them. When they are scheduled back on a fault is then taken to enable each facility and load registers. As a result explicitly disabling FPU/VMX/VSX has not been necessary.

[PATCH v5 3/9] selftests/powerpc: Test FPU and VMX regs in signal ucontext

2016-02-22 Thread Cyril Bur
Load up the non volatile FPU and VMX regs and ensure that they are the expected value in a signal handler Signed-off-by: Cyril Bur --- tools/testing/selftests/powerpc/math/.gitignore | 2 + tools/testing/selftests/powerpc/math/Makefile | 4 +- tools/testing/selftests/powerpc/math/fpu_s

[PATCH v5 1/9] selftests/powerpc: Test the preservation of FPU and VMX regs across syscall

2016-02-22 Thread Cyril Bur
Test that the non volatile floating point and Altivec registers get correctly preserved across the fork() syscall. fork() works nicely for this purpose, the registers should be the same for both parent and child Signed-off-by: Cyril Bur --- tools/testing/selftests/powerpc/Makefile |

[PATCH v5 0/9] FP/VEC/VSX switching optimisations

2016-02-22 Thread Cyril Bur
Cover-letter for V1 of the series is at https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-November/136350.html Cover-letter for V2 of the series is at https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-January/138054.html Changes in V3: Addressed review comments from Michael Neuling - Made

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Michael Ellerman
On Mon, 2016-02-22 at 20:15 -0600, Scott Wood wrote: > On Tue, 2016-02-23 at 13:04 +1100, Michael Ellerman wrote: > > On Tue, 2016-02-16 at 15:21 -0600, Scott Wood wrote: > > > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > > > This patch provides VIRT_CPU_ACCOUTING to PPC32 archite

[PATCH v2 3/9] powerpc/mm/book3s-64: Use physical addresses in upper page table tree levels

2016-02-22 Thread Paul Mackerras
This changes the Linux page tables to store physical addresses rather than kernel virtual addresses in the upper levels of the tree (pgd, pud and pmd) for 64-bit Book 3S machines. This also changes the hugepd pointers used to implement hugepages when the base page size is 4k to store physical addr

Re: [PATCH V2 00/29] Book3s abstraction in preparation for new MMU model

2016-02-22 Thread Aneesh Kumar K.V
Scott Wood writes: > On Tue, 2016-02-09 at 18:52 +0530, Aneesh Kumar K.V wrote: >> >> Hi Scott, >> >> I missed adding you on CC:, Can you take a look at this and make sure we >> are not breaking anything on freescale. > > I'm having trouble getting it to apply cleanly. Do you have a git tree I

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Scott Wood
On Tue, 2016-02-23 at 13:04 +1100, Michael Ellerman wrote: > On Tue, 2016-02-16 at 15:21 -0600, Scott Wood wrote: > > > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > > > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > > > PPC32 doesn't have the PACA structure, so

Re: [PATCH 1/1] powerpc: Detect broken or mismatched toolchains

2016-02-22 Thread Scott Wood
On Mon, 2016-02-22 at 16:13 +1100, Sam Bobroff wrote: > It can currently be difficult to diagnose a build that fails due to > the compiler, linker or other parts of the toolchain being unable to > build binaries of the type required by the kernel config. For example > using a little endian toolchai

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Michael Ellerman
On Tue, 2016-02-16 at 15:21 -0600, Scott Wood wrote: > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > > PPC32 doesn't have the PACA structure, so we use the task_info > > structure to store the accounting data. > > >

Re: [PATCH V2 00/29] Book3s abstraction in preparation for new MMU model

2016-02-22 Thread Scott Wood
On Tue, 2016-02-09 at 18:52 +0530, Aneesh Kumar K.V wrote: > > Hi Scott, > > I missed adding you on CC:, Can you take a look at this and make sure we > are not breaking anything on freescale. I'm having trouble getting it to apply cleanly. Do you have a git tree I can test? -Scott > "Aneesh K

Re: [PATCH v5] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-22 Thread Scott Wood
On Wed, 2016-02-17 at 17:29 +0100, Christophe Leroy wrote: > > Le 16/02/2016 22:21, Scott Wood a écrit : > > On Thu, 2016-02-11 at 17:16 +0100, Christophe Leroy wrote: > > > This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. > > > PPC32 doesn't have the PACA structure, so we use the tas

Re: [PATCH 3/9] powerpc/mm/book3s-64: Use physical addresses in upper page table tree levels

2016-02-22 Thread Paul Mackerras
On Mon, Feb 22, 2016 at 10:25:51AM +0530, Aneesh Kumar K.V wrote: > Paul Mackerras writes: > > > From: Paul Mackerras > > > > This changes the Linux page tables to store physical addresses > > rather than kernel virtual addresses in the upper levels of the > > tree (pgd, pud and pmd) for 64-bit

Re: [PATCH 3/9] powerpc/mm/book3s-64: Use physical addresses in upper page table tree levels

2016-02-22 Thread Paul Mackerras
On Mon, Feb 22, 2016 at 12:36:03PM +0530, Aneesh Kumar K.V wrote: > Paul Mackerras writes: > > > From: Paul Mackerras > > > > This changes the Linux page tables to store physical addresses > > rather than kernel virtual addresses in the upper levels of the > > tree (pgd, pud and pmd) for 64-bit

Re: [PATCH] powerpc/pagetable: Add option to dump kernel pagetable

2016-02-22 Thread Rashmica
Hi Anshuman, Thanks for the feedback! On 22/02/16 21:13, Anshuman Khandual wrote: On 02/22/2016 11:32 AM, Rashmica Gupta wrote: Useful to be able to dump the kernel page tables to check permissions and memory types - derived from arm64's implementation. Add a debugfs file to check the page ta

Re: Fwd: [PATCH v4 10/18] cxl: New hcalls to support CAPI adapters

2016-02-22 Thread Manoj Kumar
On 2/22/2016 12:14 PM, Frederic Barrat wrote: platoform->platform Irreverent to the Socratic amongst us. Hope we didn't hurt your feelings :-D Fred No, you did not! ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozl

Re: Fwd: [PATCH v4 08/18] cxl: IRQ allocation for guests

2016-02-22 Thread Manoj Kumar
On 2/22/2016 8:46 AM, Frederic Barrat wrote: Le 21/02/2016 23:30, Manoj Kumar a écrit : Subject: [PATCH v4 08/18] cxl: IRQ allocation for guests Date: Tue, 16 Feb 2016 22:39:01 +0100 From: Frederic Barrat To: imun...@au1.ibm.com, michael.neul...@au1.ibm.com, m...@ellerman.id.au, linuxppc-dev@li

Re: Fwd: [PATCH v4 11/18] cxl: Separate bare-metal fields in adapter and AFU data structures

2016-02-22 Thread Manoj Kumar
On 2/22/2016 11:57 AM, Frederic Barrat wrote: Manoj, Point taken. Those constants are all defined in the architecture document (CAIA). We should probably use more macros there. However, since those were not introduced by this patch, I'll put it in my todo list for the future, but don't intend to

Re: Fwd: [PATCH v4 10/18] cxl: New hcalls to support CAPI adapters

2016-02-22 Thread Frederic Barrat
+ +/** + * cxl_h_validate_adapter_image - Validate the base image in the coherent + *platoform facility. platoform->platform Irreverent to the Socratic amongst us. Hope we didn't hurt your feelings :-D Fred ___

Re: Fwd: [PATCH v4 02/18] cxl: Move bare-metal specific code to specialized files

2016-02-22 Thread Frederic Barrat
Le 21/02/2016 22:44, Manoj Kumar a écrit : Code specific to bare-metal is meant to be in native.c or pci.c only. It's basically anything which touches the capi p1 registers, I thought we were going to avoid using the CAPI term externally. Please update if submitting a v4 of this patch series.

Re: Fwd: [PATCH v4 12/18] cxl: Add guest-specific code

2016-02-22 Thread Frederic Barrat
Manoj, cxl hasn't been and is not checkpatch-clean. That being said, we tried to not make it worse. I've let go 2 types of reports, which were already present in the cxl code: - lines longer than 80 characters, when it's not showing a clear sign that code should be refactored - assignment in

Re: Fwd: [PATCH v4 11/18] cxl: Separate bare-metal fields in adapter and AFU data structures

2016-02-22 Thread Frederic Barrat
Manoj, Point taken. Those constants are all defined in the architecture document (CAIA). We should probably use more macros there. However, since those were not introduced by this patch, I'll put it in my todo list for the future, but don't intend to address it in this patchset. Fred Le 2

Re: Fwd: [PATCH v4 08/18] cxl: IRQ allocation for guests

2016-02-22 Thread Frederic Barrat
Le 21/02/2016 23:30, Manoj Kumar a écrit : Subject: [PATCH v4 08/18] cxl: IRQ allocation for guests Date: Tue, 16 Feb 2016 22:39:01 +0100 From: Frederic Barrat To: imun...@au1.ibm.com, michael.neul...@au1.ibm.com, m...@ellerman.id.au, linuxppc-dev@lists.ozlabs.org The PSL interrupt is not going

Re: [PATCH] powerpc/pagetable: Add option to dump kernel pagetable

2016-02-22 Thread Anshuman Khandual
On 02/22/2016 11:32 AM, Rashmica Gupta wrote: > Useful to be able to dump the kernel page tables to check permissions and > memory types - derived from arm64's implementation. > > Add a debugfs file to check the page tables. To use this the PPC_PTDUMP > config option must be selected. > > Tested

Re: MAINTAINERS: Update EEH details and maintainership

2016-02-22 Thread Michael Ellerman
On Wed, 2016-17-02 at 06:06:04 UTC, Russell Currey wrote: > Enhanced Error Handling could mean anything in the context of the entire > kernel, so change the name to reference that it is both for PCI and > powerpc. > > EEH covers a bit more than the previously listed files, so add the headers > and

Re: Fix kgdb on little endian ppc64le

2016-02-22 Thread Michael Ellerman
On Mon, 2016-01-02 at 06:03:25 UTC, Balbir Singh wrote: > From: Balbir Singh > > I spent some time trying to use kgdb and debugged my inability to > resume from kgdb_handle_breakpoint(). NIP is not incremented > and that leads to a loop in the debugger. > > I've tested this lightly on a virtual

Re: [v6, 1/4] atomics: Allow architectures to define their own __atomic_op_* helpers

2016-02-22 Thread Michael Ellerman
On Tue, 2015-15-12 at 14:24:14 UTC, Boqun Feng wrote: > Some architectures may have their special barriers for acquire, release > and fence semantics, so that general memory barriers(smp_mb__*_atomic()) > in the default __atomic_op_*() may be too strong, so allow architectures > to define their own

Re: powerpc/mm: Fix HAVE_ARCH_SOFT_DIRTY dependencies

2016-02-22 Thread Ben Hutchings
On Mon, 2016-02-22 at 19:24 +1100, Michael Ellerman wrote: > On Sat, 2016-20-02 at 17:58:37 UTC, Ben Hutchings wrote: > > Soft dirty bit support was only implemented for 64-bit Book3S, and > > 32-bit configurations currently fail to build. > > > > Fixes: 7207f43665b8 ("powerpc/mm: Add page soft di

[PATCH v2 2/2] powerpc/86xx: Switch to kconfig fragments approach

2016-02-22 Thread Alessio Igor Bogani
Signed-off-by: Alessio Igor Bogani --- arch/powerpc/Makefile| 10 + arch/powerpc/configs/86xx-hw.config | 106 ++ arch/powerpc/configs/86xx-smp.config | 2 + arch/powerpc/configs/86xx/gef_ppc9a_defconfig| 234

[PATCH v2 1/2] powerpc/86xx: Update defconfigs

2016-02-22 Thread Alessio Igor Bogani
This patch show how defconfigs appear if the kconfig fragment approach is used. Signed-off-by: Alessio Igor Bogani --- v1 -> v2 Split changes in two patches as suggested by Scott Wood arch/powerpc/configs/86xx/gef_ppc9a_defconfig| 208 +++--- arch/powerpc/configs/86xx/gef_sb

Re: powerpc/mm: Fix HAVE_ARCH_SOFT_DIRTY dependencies

2016-02-22 Thread Michael Ellerman
On Sat, 2016-20-02 at 17:58:37 UTC, Ben Hutchings wrote: > Soft dirty bit support was only implemented for 64-bit Book3S, and > 32-bit configurations currently fail to build. > > Fixes: 7207f43665b8 ("powerpc/mm: Add page soft dirty tracking") > References: > https://buildd.debian.org/status/fetc