Received: by 10.223.164.202 with SMTP id h10csp152314wrb; Tue, 14 Nov 2017 19:46:07 -0800 (PST) X-Google-Smtp-Source: AGs4zMZHj0Fyc0rDP6IA+KyjsR0fbQZlEw7fNRvO8gyYu/hR5jJ0kG/nMKIK92x/2vYk9IOzG+CT X-Received: by 10.84.217.203 with SMTP id d11mr14595214plj.437.1510717567771; Tue, 14 Nov 2017 19:46:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510717567; cv=none; d=google.com; s=arc-20160816; b=j8bnRoeOPiXOySTiGqF/7val/HmgoX3dPYQhYHNWaTXni59yPoEbc1SsMEy9P4jo0L Etkvmw3UpNdlv6cVMjExL20UYnV0VoRuqlvbsDCk4CfrLRIEkN4+0TLLX7k61M74wpPN gMtETLyHsJGRQdMpiQIw4F0fBwnReo2aNfVMLOirjinxDwKIpPG49KZ64jlhikHlTD0k GYXhNmgNTFWS+JOQnKhu5kgGO1DD3g22yZnUkreCbUM1+b7sa3Wp9LlWFVh2MGawkiIi R6i2Ks895QJ9EwLxd5iZRHtzlwZwYuocSt4OWP4miZVUXvk6/H/+SKh5M5OQxMy2NASK r7LA== 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=QVh5yXyl0lic0dzGvxCMML1ebI8iH12m99XzOIP6MMc=; b=LRlQfqOQ4+xAYuUatN4MTjhvSqtdrFZYmIrEijpo54mYTn2mDhOpHpX7R6ZUQ6FaoH REEQrWlOrlgMzZo6OHdJEn3ZW1d37cFvSI4Yb2veECDschmaDC645D2/2q0p5fndhNUq slLSZsng+8A9ZaTyt6+vD+yEzUGszZzm+K/kY5dxrxyMJVWuKswLzznUWC0mHvhxLcZj QlBBYGClUhbe0mPBFOX2aDTOxDASA77Kcgfogr3xj9TyzDpHWMxpyoQGbwh6bQDx7+M8 53NSrs5MmpOfw0Rjk844G10SpGqRI0XB6k2FQsRJYiQyPi7c+SZj5W2pA/9LF4+rkci6 id5g== 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 11si5335196plb.316.2017.11.14.19.45.55; Tue, 14 Nov 2017 19:46:07 -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 S1754100AbdKOCnB (ORCPT + 87 others); Tue, 14 Nov 2017 21:43:01 -0500 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:40699 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbdKOCmv (ORCPT ); Tue, 14 Nov 2017 21:42:51 -0500 Received: from unknown (HELO lgeamrelo04.lge.com) (156.147.1.127) by 156.147.23.51 with ESMTP; 15 Nov 2017 11:42:49 +0900 X-Original-SENDERIP: 156.147.1.127 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Received: from unknown (HELO localhost) (10.177.222.138) by 156.147.1.127 with ESMTP; 15 Nov 2017 11:42:49 +0900 X-Original-SENDERIP: 10.177.222.138 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Wed, 15 Nov 2017 11:48:01 +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: <20171115024801.GA21621@js1304-P5Q-DELUXE> References: <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> <20171115005118.GA21113@js1304-P5Q-DELUXE> <20171115020400.GJ28152@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171115020400.GJ28152@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 06:04:00PM -0800, Tony Lindgren wrote: > * Joonsoo Kim [171115 00:48]: > > 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. :) > > Well what's the plan with your patches? I'd not have mainline > kernel broken so if this was the only blocker for the v4.15, > then you should pick it. > > However, if your patches are now planned for v4.16, then I'll > queue it for early v4.15-rc. It was the only blocker but I think that it's too late for v4.15. I will try again for v4.16. Please queue your fix for early v4.15-rc. Thanks. From 1584099098502809058@xxx Wed Nov 15 02:57:04 +0000 2017 X-GM-THRID: 1577552291468010502 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread