From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753292AbbCKPOw (ORCPT ); Wed, 11 Mar 2015 11:14:52 -0400 Received: from down.free-electrons.com ([37.187.137.238]:54011 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751210AbbCKPOu (ORCPT ); Wed, 11 Mar 2015 11:14:50 -0400 Message-ID: <55005B81.9020103@free-electrons.com> Date: Wed, 11 Mar 2015 16:13:05 +0100 From: Gregory CLEMENT User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Stas Sergeev , Russell King - ARM Linux 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> <20150311131433.GC8656@n2100.arm.linux.org.uk> <550058BE.3060406@list.ru> In-Reply-To: <550058BE.3060406@list.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/03/2015 16:01, Stas Sergeev wrote: > 11.03.2015 16:14, Russell King - ARM Linux пишет: >> On Wed, Mar 11, 2015 at 01:44:57PM +0100, Gregory CLEMENT wrote: >>> 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. >> Can you provide some details about your board - does it have 8GB of >> memory, ranging from 0-0xf0000000, and 4G-8G ? > I wonder about this 256Mb memory hole. This is where the SoC registers are. > There is only one dimm for whole 8Gb. > It seems 0xf000000-0xffffffff is used for PCI though: > --- > > 0xf3000000-0xf303ffff 64bit] > [ 119.290027] pci 0000:00:00.0: BAR 2: set to [mem > 0xf3000000-0xf303ffff 64bit] (PCI address [0xf3000000-0xf303ffff]) > [ 119.300509] pci 0000:00:00.0: BAR 0: assigned [mem > 0xf3040000-0xf305ffff 64bit] > [ 119.307883] pci 0000:00:00.0: BAR 0: set to [mem > 0xf3040000-0xf305ffff 64bit] (PCI address [0xf3040000-0xf305ffff]) > [ 119.318367] pci 0000:00:00.0: BAR 6: assigned [mem > 0xf3060000-0xf306ffff pref] > > --- > > Does this mean that the 256Mb of physical memory is > completely unaccessable on this board? > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com