From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753572AbbKXP7P (ORCPT ); Tue, 24 Nov 2015 10:59:15 -0500 Received: from mout.gmx.net ([212.227.15.18]:49446 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753368AbbKXP6x (ORCPT ); Tue, 24 Nov 2015 10:58:53 -0500 Subject: Re: [GIT PULL] parisc huge page support for v4.4 To: Mikulas Patocka References: <20151122115153.GA28471@p100.box> Cc: Linus Torvalds , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, James Bottomley , John David Anglin From: Helge Deller X-Enigmail-Draft-Status: N1110 Message-ID: <5654892D.1030707@gmx.de> Date: Tue, 24 Nov 2015 16:58:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:IlcSzzuOS8xEaW0NWJb3753RLAigjbBXAJE3FjYPmBbJ130+ngx MKNLvkeC3t0Q0LS7UQgdeIF8OoFAHt5TnzebuKyBhQ3yRIJ/aMCRBFJPTRP4FaEQ2Nt16LV hMdoCNvNA5vwqNhPyFC7bgyTy+Ny0QB8JfyXZyLH3H1JJG3dHqrRAgIebpbEE+p1DOyJ8Bg Ksgsr60Dw4WdzU52l+F0g== X-UI-Out-Filterresults: notjunk:1;V01:K0:kjKw3W2v36M=:nqADurfKSgq05tdmpAaDbQ EUX3t81An+glm/fFTD6nths75RgohSj2CeLhcn+kSUriy9jOcWcHv2MsYdHK08/ePt/dy3SgF F1ekXQnGH4Zy40jLHViaRK7Oz/zZspjGDFa5iZsqGacOVPYjsxrMou0DxnnKVkFcDkVOVC7Ja YignkOOzrBFY1j1xlR4x/RofE9z6ABldliFCevGxI+z68Aunm4kevhryR0PhH2aH7K15xLJXp gU32hYJg+5875LiAADM0ZKD/gZOn1/aYyDTHcsh5z2ge/rI/5ry84RCrr1XsLiU8V+VRWGpp8 tP9ykxHifJPrcC8DZThQqrOLGOIzNfQkROgJDbZy/ja+/yL3wswKbo/oV2B/HDH/dhodoLv0/ AcXMoPxYVPX9FLCVfAnCdV4xOHufGbz03SsiIPEA0nUPlLUuwbXBnEb8fA4kdzrGdquFu0qKh 4wvxzNVWXqSfLrWCLNqmWTdOb/eCkGyoGZ6MPytui/rHfMj41Down2qQq6W/mTl4LhyZ6JYkn KVETwoXAGQ1lS7ZT1cBv5kd5duJn/pXYJdpsX14zwgWYkeBF404ow9HCWWkudDaBk15uyDVLR i34dRceu9qnYQmx59TNgg7Gjc9+Nw7Ea4hFI3XFtAAvxzRSGEyJgSmYKfhhh2+rUfUkKM4FYq xc5t6oO/swh+ziBd4KvDNU5iH6z/0y48cfR3Nv65HjBYm3KVxyNZJMZ9wsJOEPpBqk1vVG60v 0PorEMmqDBu9GrN/4TESOQniaUd8SS1tiidvGDyyaxwPmFoRGqwCgtpP3HJ47cLpnqG+ow3TS rVhl7pH Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.11.2015 16:51, Mikulas Patocka wrote: > On Sun, 22 Nov 2015, Helge Deller wrote: >> please pull the latest patches for the parisc architecture for kernel v4.4 from: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.4-2 >> >> This patchset adds Huge Page and HUGETLBFS support for parisc. >> >> Thanks, >> Helge >> >> ---------------------------------------------------------------- >> Helge Deller (9): >> parisc: Fix wrong comment regarding first pmd entry flags >> parisc: Drop definition of start_thread_som for HP-UX SOM binaries >> parisc: Drop unused MADV_xxxK_PAGES flags from asm/mman.h >> parisc: Add defines for Huge page support >> parisc: Initialize the fault vector earlier in the boot process. >> parisc: Increase initial kernel mapping to 32MB on 64bit kernel >> parisc: Use long branch to do_syscall_trace_exit >> parisc: Add Huge Page and HUGETLBFS support >> parisc: Map kernel text and data on huge pages >> >> arch/parisc/Kconfig | 3 + >> arch/parisc/include/asm/hugetlb.h | 85 +++++++++++++++++++ >> arch/parisc/include/asm/page.h | 13 ++- >> arch/parisc/include/asm/pgalloc.h | 2 +- >> arch/parisc/include/asm/pgtable.h | 26 +++++- >> arch/parisc/include/asm/processor.h | 27 ------ >> arch/parisc/include/uapi/asm/mman.h | 10 --- >> arch/parisc/kernel/asm-offsets.c | 8 ++ >> arch/parisc/kernel/entry.S | 56 ++++++++----- >> arch/parisc/kernel/head.S | 4 +- >> arch/parisc/kernel/setup.c | 14 +++- >> arch/parisc/kernel/syscall.S | 4 +- >> arch/parisc/kernel/traps.c | 35 ++++---- >> arch/parisc/kernel/vmlinux.lds.S | 9 +- >> arch/parisc/mm/Makefile | 1 + >> arch/parisc/mm/hugetlbpage.c | 161 ++++++++++++++++++++++++++++++++++++ >> arch/parisc/mm/init.c | 40 ++++----- >> 17 files changed, 382 insertions(+), 116 deletions(-) >> create mode 100644 arch/parisc/include/asm/hugetlb.h >> create mode 100644 arch/parisc/mm/hugetlbpage.c > > Hi > > Since the kernel 4.4-rc2 I'm getting frequent boot failures on PA-RISC. > When I revert this patchset, the crashes are gone. > [ 3.296666] CPU(s): 4 out of 4 PA8900 (Shortfin) at 1000.000000 MHz online Hi Mikulas, Yes, I've seen this as well. It affects only the PA8900 CPUs, while all PA8500-PA8700 machines seem to work fine. I do have a temporary 3-line patch to avoid the crashes which I'll push to my tree shortly. I'm still investigating why it only affects the PA8900 CPUs, but I assume it's related to the cache aliasing of those CPUs. I'll keep you updated. Helge