From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755744AbcIUINX (ORCPT ); Wed, 21 Sep 2016 04:13:23 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:50739 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754674AbcIUINR (ORCPT ); Wed, 21 Sep 2016 04:13:17 -0400 Message-Id: From: Christophe Leroy Subject: [PATCH v3 0/3] powerpc: implementation of huge pages for 8xx To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Scott Wood Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 21 Sep 2016 10:11:49 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is v3 of patch serie is the implementation of support of hugepages for the 8xx. v1 of the serie was including some other fixes and optimisations/reorganisations for the 8xx. Now the patch has been split and this part only focuses on the implementation of hugepages. v2: the last patch has been split in two parts. v3: Taking into account comments from aneesh This patch serie applies on top of the patch serie named "Optimisation on 8xx prior to hugepage implementation" Christophe Leroy (3): powerpc: port 64 bits pgtable_cache to 32 bits powerpc: get hugetlbpage handling more generic powerpc/8xx: Implement support of hugepages arch/powerpc/include/asm/book3s/32/pgalloc.h | 44 +++++- arch/powerpc/include/asm/book3s/32/pgtable.h | 40 ++--- arch/powerpc/include/asm/book3s/64/pgtable.h | 3 - arch/powerpc/include/asm/hugetlb.h | 19 ++- arch/powerpc/include/asm/mmu-8xx.h | 35 +++++ arch/powerpc/include/asm/mmu.h | 23 +-- arch/powerpc/include/asm/nohash/32/pgalloc.h | 44 +++++- arch/powerpc/include/asm/nohash/32/pgtable.h | 42 +++--- arch/powerpc/include/asm/nohash/32/pte-8xx.h | 1 + arch/powerpc/include/asm/nohash/64/pgtable.h | 2 - arch/powerpc/include/asm/nohash/pgtable.h | 4 + arch/powerpc/include/asm/pgtable.h | 2 + arch/powerpc/include/asm/reg_8xx.h | 2 +- arch/powerpc/kernel/head_8xx.S | 119 ++++++++++++++- arch/powerpc/mm/Makefile | 3 +- arch/powerpc/mm/hugetlbpage.c | 211 ++++++++++++--------------- arch/powerpc/mm/init-common.c | 107 ++++++++++++++ arch/powerpc/mm/init_64.c | 77 ---------- arch/powerpc/mm/pgtable_32.c | 37 ----- arch/powerpc/mm/tlb_nohash.c | 21 ++- arch/powerpc/platforms/8xx/Kconfig | 1 + arch/powerpc/platforms/Kconfig.cputype | 1 + 22 files changed, 525 insertions(+), 313 deletions(-) create mode 100644 arch/powerpc/mm/init-common.c -- 2.1.0