Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2724400ybz; Sun, 3 May 2020 07:54:19 -0700 (PDT) X-Google-Smtp-Source: APiQypL/uro2KDJJ5OQBIyEQMT735/tTGGl/GFp/2Y6nyEjvSpxmuCzm8MvuNmuvteYCrgQirw7H X-Received: by 2002:aa7:cf0e:: with SMTP id a14mr10982398edy.188.1588517658831; Sun, 03 May 2020 07:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588517658; cv=none; d=google.com; s=arc-20160816; b=IHRKOsgWshsFoI20Q3ICC8hfdiz5N7QmPKClNKXIyHjmb9a2G+7Xh13SZnb4Vl1Ds7 qvjODsI+Qe1pEh+ewc0YT4mkhYjujQFWtuYe6sYP8Iy5iEKAUFUtdf6YWmOKL0VaWhIB Salo+ml6XIt1QsV+zkxUuF/lTRwrltj3O5Xwx8838uwSQEfVTwYe4Kn4SfNeyyYsrN+F 7MJZcHVa2e15fvKNSzFxRNoHXO8Gg2Mfs5kmFNS27t2s0QF/qF4a2ahTiNob9nMmu7JE N+9U0OQli5yIj0NfFUKIky1g+87KEdbLZrsxGeim78vi87fjzTKWKVOqqYmNEQnpYRpn 98CA== 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:dkim-signature; bh=GyoGOzeD/a39cCWOQMMMe9JJ2IxthRQrhCJp6EhH6sw=; b=VSjV12ilN++EG5s+/EEbyM9qULrXblav0HEoLAihWhcp6F6YaoQoVySzSBSdXzwIoz q/vn1IAZC7z9WgBDMpSVvQ8qvegeBSFUqXG4kXk/WM2rOK7fVu8S/7rEizMO/g0SnmKz i1miuv4HjJMUKrzgdJPPtaj2qV2AbEr3LQ03yjLXR/lAkMmhfwp8k9NImHG25e80Pcn8 btPbmoSXW/KB+EgGB2mF7IsYPgmAL14zu2ASeMhEYxeGRKXNb61oxHdqVmlYNnVps0S1 4+5pLu9DslRFQ0FFW4W4DztS6qD0ZweIDzIagX+uS9hQWhsXHHyHPPUOY0qylf1xb1vb 9rqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ujlgKrQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si4998906edy.543.2020.05.03.07.53.55; Sun, 03 May 2020 07:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ujlgKrQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728718AbgECOuV (ORCPT + 99 others); Sun, 3 May 2020 10:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728002AbgECOuU (ORCPT ); Sun, 3 May 2020 10:50:20 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9FC9C061A0E for ; Sun, 3 May 2020 07:50:20 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id f8so5751733plt.2 for ; Sun, 03 May 2020 07:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GyoGOzeD/a39cCWOQMMMe9JJ2IxthRQrhCJp6EhH6sw=; b=ujlgKrQf5btOCO6PolxwyEVhyNozCdLOhTU/xCGHbmnPKLTfSgTNMBBIdE0gSX8OCG Ofm0JPJqx28y/LinlsX4uamV7kHkGJH/6on+zgn7Gyj1+9uN0lWyRxLx7EK93DLZMLEW LUx7HhaILJLARKsg8X3+ENZm7stknFaBDqmsVtywNtF9YyUYUK0bBVvzEKOiSvKfsTx1 7Up5g6xBOyY/2cevb5B28L3epRJggDc6PnM5AHfuRQYajNlsDo7HNgu5whz1QSDcI402 0xaF4IUiAttPZ9KNw28KKxiH2I19TvPIUgk4mxyKudJPYFaroz6fWoqT2UVhrTacl6p2 BFbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=GyoGOzeD/a39cCWOQMMMe9JJ2IxthRQrhCJp6EhH6sw=; b=rK6++YW4uJiI1KfkTlBZ8eqeFzz+4o0+DoaIad15LRJq4vXvsBbR3RhqQ+d9PYmzhk s9WazcojcIa8QJpAq04yv+NEyu1ej7quYqS7VQyhOncqhQ6AG+CjL8NOjiuecS8T0Czi UQKMv+soo0n4RoYdjnYH1cEkaEg3u0ObstrZaJsS818R/U+m42hyvUQezi8o2Aa3EJsy q8cV5cFLGsTBBlCGbLDrey7O7zIa1e0BOLa/HRAhAAyF6RTLTZG3zEtJ4PPqWZIBp3UR xSDXxfH0qugIe3R0jmJLYjcVwpIHHX7cBUjrwFBv2OE+rCepUFfmjdFWl/qi4zqPPgJi duFg== X-Gm-Message-State: AGi0PuajFgGNdVMs1YGEmNeTqBM03FYH+QEY79PkymQmHiJjDKtOYYOm jQKAv6mXrpbmMaJ8A+s69/I= X-Received: by 2002:a17:90a:1941:: with SMTP id 1mr11565348pjh.65.1588517420237; Sun, 03 May 2020 07:50:20 -0700 (PDT) Received: from localhost ([183.82.183.160]) by smtp.gmail.com with ESMTPSA id w2sm6547666pfc.194.2020.05.03.07.50.19 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 May 2020 07:50:19 -0700 (PDT) Date: Sun, 3 May 2020 20:20:17 +0530 From: afzal mohammed To: Arnd Bergmann , Russell King Cc: Alan Kao , Eric Lin , Gary Guo , alex@ghiti.fr, David Abdurachmanov , Anup Patel , "linux-kernel@vger.kernel.org" , Andrew Morton , Steven Price , atish.patra@wdc.com, yash.shah@sifive.com, Albert Ou , Palmer Dabbelt , Greentime Hu , zong.li@sifive.com, Paul Walmsley , Mike Rapoport , Thomas Gleixner , Borislav Petkov , Logan Gunthorpe , linux-riscv@lists.infradead.org Subject: Re: [PATCH 0/3] Highmem support for 32-bit RISC-V Message-ID: <20200503145017.GA5074@afzalpc> References: <20200331093241.3728-1-tesheng@andestech.com> <20200408035118.GA1451@andestech.com> <20200414151748.GA5624@afzalpc> <20200415135407.GA6553@afzalpc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200415135407.GA6553@afzalpc> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, > On Tue, Apr 14, 2020 at 09:29:46PM +0200, Arnd Bergmann wrote: > > Another thing to try early is to move the vmlinux virtual address > > from the linear mapping into vmalloc space. This does not require > > LPAE either, but it only works on relatively modern platforms that > > don't have conflicting fixed mappings there. i have started by attempting to move static kernel mapping from lowmem to vmalloc space. At boot the execution so far has went past assembly & reached C, to be specific, arm_memblock_init [in setup_arch()], currently debugging the hang that happens after that point. To make things easier in the beginning, ARM_PATCH_PHYS_VIRT is disabled & platform specific PHYS_OFFSET is fed, this is planned to be fixed once it boots. [ i will probably start a new thread or hopefully RFC on LAKML ] Regards afzal