From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753217AbbCKM51 (ORCPT ); Wed, 11 Mar 2015 08:57:27 -0400 Received: from smtp2.mail.ru ([94.100.179.91]:43726 "EHLO smtp2.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752652AbbCKM5Z (ORCPT ); Wed, 11 Mar 2015 08:57:25 -0400 X-Greylist: delayed 72173 seconds by postgrey-1.27 at vger.kernel.org; Wed, 11 Mar 2015 08:57:24 EDT Message-ID: <55003BAF.7070808@list.ru> Date: Wed, 11 Mar 2015 15:57:19 +0300 From: Stas Sergeev User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Gregory CLEMENT CC: Linux kernel , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] n_tty: use kmalloc() instead of vmalloc() to avoid crash on armada-xp References: <54FF21BE.2040506@list.ru> <550038C9.7010807@free-electrons.com> In-Reply-To: <550038C9.7010807@free-electrons.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Mras: Ok Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 11.03.2015 15:44, Gregory CLEMENT пишет: > Hi Stas, > > On 10/03/2015 17:54, Stas Sergeev wrote: >> Hello, the patch below is needed for a successful boot on armada-xp. >> > I am really surprised by this patch because I used the Armada XP based > board in a daily base and I never saw this issue. > > Could you provide your .config? > > Also could you confirm that you use the dts from arch/arm/boot/dts > wihtout any change? With defconfig, and dts without a slightest change this is still reproduceable (the logs I was posting to this thread were done with _slightly_ modified config, and unmodified DT). But... the board itself is modified. It is not a pure armada-xp-gp. I still doubt that this crash is because of the board's mods, for example please find the same crash here: http://lists.linaro.org/pipermail/kernel-build-reports/2014-June/003872.html --- Console logs for failures ========================= arm-mvebu_v7_defconfig+CONFIG_CPU_BIG_ENDIAN=y ---------------------------------------------- armada-xp-openblocks-ax3-4: FAIL: last 40 lines of boot log: ------------------------------------------------------------ 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 55048012 02109471 [] (_set_bit) from [] (n_tty_set_termios+0x234/0x348) [] (n_tty_set_termios) from [] (n_tty_open+0xec/0x114) ---