Received: by 10.223.164.202 with SMTP id h10csp82186wrb; Tue, 14 Nov 2017 18:03:27 -0800 (PST) X-Google-Smtp-Source: AGs4zMaaKFwfWv/NGE8Y7WLBLn35ui+bo11QGZfPhkcbJzMWj5PDk1o1stKvsFyExOtsgSMairTu X-Received: by 10.84.211.79 with SMTP id b73mr14230364pli.419.1510711407707; Tue, 14 Nov 2017 18:03:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510711407; cv=none; d=google.com; s=arc-20160816; b=oTQsvbYUWmfcdIuhnErNsmZ0apQTlWpO0JwLrYr3j4STe9hVd8/n6WxL2KDvNdoZOD 3QhgyCGZiOf9FJ8B7SiQWayYanweYdQUbB2MoVN7ADXHAjJWSR1C/83TmVk5kiq4bspp 2oYJPxH9SUzuPMCmCg6JkifNcC/NwkW6IIwOf20gTk1qbyQI4UDkoIEsdYuS9F/l+2ev bWUKFvHqKatM9AXB8SbtD3+tuA82cQkSLVXOrakmRSNJG5e/KzaZkcsj2Q8XfIq28N06 ZguNyiWrDhb5IplS8F37TsxcDX9ygKbsth0pRUDZkNj8P0x+vL6jNsuWGa0B4T1mgGtg qoGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=h3Zuytf5/VJwxHAHGkOkBlUTrW+mJ4/UalS+B4ZAnK4=; b=cmiETjAiCaU+rX+GgzlLOUViF0x6SjZ2D5pOYRN2iauIgKWjb+Vj5YZlHqVdKFh/3f +IrKk9Ea4XyuimLu2p9P0Y091lcwO8F/5xzDgABwCC4az/cgXXth29dQVWhwsMRig7vq FCou6Y6y5RoYn3jhJO4tyU07a7YMMz6ZX+7BMvJMjZ3/NAluYkkWBTRfcOZKcq7JT6pU 2pf84EXNZfK+Yl5g6bx+ui1603iYM9pt88S5FKJfaV47MA3fhwfo2wOpjEU+ucM9fx8r YTQ/AuMzflEvMN9yk9DaM2W/9na82mVGrfvX5JJkF8PayJdNRexobTTg9/VttwguSV9C E69g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si14920872pgr.410.2017.11.14.18.03.15; Tue, 14 Nov 2017 18:03:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756770AbdKOAqS (ORCPT + 87 others); Tue, 14 Nov 2017 19:46:18 -0500 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:60753 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751872AbdKOAqJ (ORCPT ); Tue, 14 Nov 2017 19:46:09 -0500 Received: from unknown (HELO lgemrelse7q.lge.com) (156.147.1.151) by 156.147.23.52 with ESMTP; 15 Nov 2017 09:46:07 +0900 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Received: from unknown (HELO localhost) (10.177.222.138) by 156.147.1.151 with ESMTP; 15 Nov 2017 09:46:06 +0900 X-Original-SENDERIP: 10.177.222.138 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Wed, 15 Nov 2017 09:51:18 +0900 From: Joonsoo Kim To: Tony Lindgren Cc: Pavel Machek , pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, "Aneesh Kumar K.V" , Vlastimil Babka , Andrew Morton , Stephen Rothwell , Russell King , Tero Kristo Subject: Re: n900 in next-20170901 Message-ID: <20171115005118.GA21113@js1304-P5Q-DELUXE> References: <20171109001113.GZ28152@atomide.com> <20171109003639.GB23982@js1304-P5Q-DELUXE> <20171109035031.GA24383@js1304-P5Q-DELUXE> <20171109150854.GC28152@atomide.com> <20171110001315.GA29669@js1304-P5Q-DELUXE> <20171110032610.GJ28152@atomide.com> <20171110063727.GA32073@js1304-P5Q-DELUXE> <20171110153620.GO28152@atomide.com> <20171114063724.GA16969@js1304-P5Q-DELUXE> <20171114173719.GA28152@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171114173719.GA28152@atomide.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 14, 2017 at 09:37:19AM -0800, Tony Lindgren wrote: > * Joonsoo Kim [171114 06:34]: > > On Fri, Nov 10, 2017 at 07:36:20AM -0800, Tony Lindgren wrote: > > > * Joonsoo Kim [171110 06:34]: > > > > On Thu, Nov 09, 2017 at 07:26:10PM -0800, Tony Lindgren wrote: > > > > > +#define OMAP34XX_SRAM_PHYS 0x40200000 > > > > > +#define OMAP34XX_SRAM_VIRT 0xd0010000 > > > > > +#define OMAP34XX_SRAM_SIZE 0x10000 > > > > > > > > For my testing environment, vmalloc address space is started at > > > > roughly 0xe0000000 so 0xd0010000 would not be valid. > > > > > > Well we can map it anywhere we want, got any preferences? > > > > My testing environment is a beagle-(xm?) for QEMU. It is configured by > > CONFIG_VMSPLIT_3G=y so kernel address space is started at 0xc0000000. > > And, it has 512 MB memory so 0xc0000000 ~ 0xdff00000 is used for > > direct mapping. See below. > > > > [ 0.000000] Memory: 429504K/522240K available (11264K kernel code, > > 1562K rwdata, 4288K rodata, 2048K init, 405K bss, 27200K reserved, > > 65536K cma-reserved, 0K highmem) > > [ 0.000000] Virtual kernel memory layout: > > [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) > > [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) > > [ 0.000000] vmalloc : 0xe0000000 - 0xff800000 ( 504 MB) > > [ 0.000000] lowmem : 0xc0000000 - 0xdff00000 ( 511 MB) > > [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) > > [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) > > [ 0.000000] .text : 0xc0208000 - 0xc0e00000 (12256 kB) > > [ 0.000000] .init : 0xc1300000 - 0xc1500000 (2048 kB) > > [ 0.000000] .data : 0xc1500000 - 0xc1686810 (1563 kB) > > [ 0.000000] .bss : 0xc168fc68 - 0xc16f512c ( 406 kB) > > > > Therefore, if OMAP34XX_SRAM_VIRT is 0xd0010000, direct mapping is > > broken and the system doesn't work. I guess that we should use more > > stable address like as 0xf0000000. > > OK. Let's forget about adding static mappings and my earlier > patches to attempt to fix this. Below is what I now think we should > merge as a fix before merging Joonsoo's patches. Please all review > and test, adding Tero to Cc also. Okay. Then, this patch will be merged by yourself as a fix? I'm okay with either way. Just let me know. :) Thanks. From 1584084481201733146@xxx Tue Nov 14 23:04:44 +0000 2017 X-GM-THRID: 1577552291468010502 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread