From patchwork Tue Mar 10 17:38:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell King - ARM Linux X-Patchwork-Id: 5979891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7523BBF440 for ; Tue, 10 Mar 2015 17:41:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 997782022A for ; Tue, 10 Mar 2015 17:41:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A9022021F for ; Tue, 10 Mar 2015 17:41:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YVO7F-00077q-SR; Tue, 10 Mar 2015 17:38:49 +0000 Received: from pandora.arm.linux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YVO77-0006ky-RZ for linux-arm-kernel@lists.infradead.org; Tue, 10 Mar 2015 17:38:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=arm.linux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=tw2tJPczkmu2AE3kWJIAK2h46IiT+DLglIzPtZ8lgpQ=; b=BGdtbP8neMiKH6ObLz1O0EmKWUMrY9QO92DAtZEWAj0GsCJcrxDzuinhjGytCPJwGGf97d03RAOh8KZOKiDfmD4MG3VgyJdxqSOmCotfwV2ANfJ2T/r2rGQCeDrJkhw2KA4ASopmGE4oWaXnmfOGaPK3TeMUh06kEoGnCea0G5g=; Received: from n2100.arm.linux.org.uk ([2002:4e20:1eda:1:214:fdff:fe10:4f86]:38162) by pandora.arm.linux.org.uk with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1YVO6e-0007js-N0; Tue, 10 Mar 2015 17:38:12 +0000 Received: from linux by n2100.arm.linux.org.uk with local (Exim 4.76) (envelope-from ) id 1YVO6b-0003DJ-Kn; Tue, 10 Mar 2015 17:38:09 +0000 Date: Tue, 10 Mar 2015 17:38:08 +0000 From: Russell King - ARM Linux To: Stas Sergeev Subject: Re: [PATCH] n_tty: use kmalloc() instead of vmalloc() to avoid crash on armada-xp Message-ID: <20150310173807.GU8656@n2100.arm.linux.org.uk> References: <54FF21BE.2040506@list.ru> <20150310171751.GD13687@e104818-lin.cambridge.arm.com> <54FF2986.6020503@list.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <54FF2986.6020503@list.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150310_103842_217963_90F179C9 X-CRM114-Status: GOOD ( 12.57 ) X-Spam-Score: -0.1 (/) Cc: Catalin Marinas , Andrew Morton , Linux kernel , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tue, Mar 10, 2015 at 08:27:34PM +0300, Stas Sergeev wrote: > Please also find the same crash here: > http://lists.linaro.org/pipermail/kernel-build-reports/2014-June/003872.html Hmm, looks like from the exynos5420-arndale-octa failure in that, we don't dump the page table entries. We should do. Sorry about my previous mail. If you can reproduce this, please do so with this patch so that we can get the page table entries associated with the problem. Thanks. arch/arm/mm/fault.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index a982dc3190df..6333d9c17875 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -552,6 +552,7 @@ do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) pr_alert("Unhandled fault: %s (0x%03x) at 0x%08lx\n", inf->name, fsr, addr); + show_pte(current->mm, addr); info.si_signo = inf->sig; info.si_errno = 0;