Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2824212img; Sun, 24 Mar 2019 20:21:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqgaZh8QAC3pOe46n/yk/3ZUojlzPMBSULkxJMry5zdmfAJU1+IStKif45oYH/2OSvhZwL X-Received: by 2002:aa7:8694:: with SMTP id d20mr21561963pfo.81.1553484094870; Sun, 24 Mar 2019 20:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553484094; cv=none; d=google.com; s=arc-20160816; b=U8f7lSbxFk9zGvZZYfqvmDvIQ5ud1mf2zG4dFm5D1y3kfASv+FiC+/7ZdS17sr0W6m /nKAi155gpEr+6y4uzfhhQd0OAR2ZaLFqdNVFTVJMxXV4I93r7OPC/MTGnBu22HUDG3r f4eJeSQ33h4s0Wx5BoNhUlIohuc4CNtKEMf3FZQqqxFTtw1wSHKbw92nrukfMZtRBSXi KEfeWmKoU+cyRe0GYLtfrUDgIKfvNx7A4YExWDpQITpVL8huvoQYmGaja1Ob4umraflm tTMG1UknRlEDVGYT679/MjdPwAxEdcKnVyj3swQe7KAhBRlf0cCllCtJu/CGHMEO7feI YnkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4frdgXGH7cSsbNOuZ25SduNt9T/mHeqrTc80EFiJ7tg=; b=KbPxrbvtrxvGVBiu3YqA6odLS2+35gDFuvlME2lDdZxENUYm1QnoxrnDqoWXM7PrBn Sc4Eb+9Y3vPo3HmTK6QKxNBcG1wENHd/uSzxILEAsRDa/+9Qm1mxdarAmQXLW8kudSgV P7R+0fSc1rAaRTr+vu1ZLpozI6I/R6BHRkO8vzNW4lE6z6rbOFyooHqZyULnqf+B8FrG hi52RR/tdkINnAvnxw/VFzbkpG7gacKjRFgpsIaQWshkJ72mSk1PYCRbzluqWpCBtLgw y7e94V3JHxv+4wYfmgL1G+Ret+nwM+w7slwzPgFF7PEJZbhqtv6FgqtTKQpC1bsmM8Kw c3Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=ymR9rmTA; 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 e9si13652747plb.99.2019.03.24.20.21.19; Sun, 24 Mar 2019 20:21:34 -0700 (PDT) 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; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=ymR9rmTA; 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 S1729427AbfCYDUD (ORCPT + 99 others); Sun, 24 Mar 2019 23:20:03 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43846 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729285AbfCYDUD (ORCPT ); Sun, 24 Mar 2019 23:20:03 -0400 Received: by mail-wr1-f65.google.com with SMTP id k17so393543wrx.10 for ; Sun, 24 Mar 2019 20:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4frdgXGH7cSsbNOuZ25SduNt9T/mHeqrTc80EFiJ7tg=; b=ymR9rmTAlBzO/iMnBt39G4DKcBy6CxEfVN0QDSapbkjDhcb9rJ1SFFcd+9RXj1O81B /VyGDoZ8q7iuzZtixA6UY1vvj9VaI19YR+YoGsayqHBnvjKlcqCmA3qa/z6rAR3kuXA/ Fb9+ThDaxEiLN3/hZMcoTffcFNZeI4RyLjSOq8v5kt3CpdnloqF5Ri32RNaiyvZE0S6I vOg2NUHgMH0jijBEFMemnZ0w8i0RuVduhJP4DveKzdZkIsJ9Ipj8gOqynQtVJi5qqR4Y OyxGJ3Pe4s8ILQSXuFmg2yNRgISNHQgQ550Cr49AQaaeg4DAz8eV1ZyUkMXsziRHx5Av E5Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4frdgXGH7cSsbNOuZ25SduNt9T/mHeqrTc80EFiJ7tg=; b=Ii3cvUpBQuTi4/P9DLLcgK+afuQdEQfIGIIaEweK50nQFO9IKLhH9N43R3dVMTcsjT /H6WQfwJ2D5QD+lTyBf0sAW5fF7LzuJgax/QsfSfTfgQc/zrNwSNvE1/ziv99xEKyWtj CPL8n+3b7LwIvQTDeEV5HRazbDnp+UYseujmyko+dpppv2eCYOJaLqu8/vW0cgjq0yVk uTCgFvbpEGdu3kocFaRSDkyjav58EFnGb7DHXTToMIYrsnuQfus+9vtHR/bz3/a9dzQc IlRzK5ysDTGPwnYM79lU5AZZcnOgWoKgiqXZVuLN8QTCJ9oyCvsiO6T79NlzYdraXLiY XGzQ== X-Gm-Message-State: APjAAAUXKhegc7ZRJQC3VzO0qUBJmvQB5wMkwSFCt7pSEMZYmoE3pOnl bx6UUlwIRSbbTFnAsVftWdluPYqIIP0PVNPWokuSIQ== X-Received: by 2002:a5d:4087:: with SMTP id o7mr2277794wrp.9.1553484001453; Sun, 24 Mar 2019 20:20:01 -0700 (PDT) MIME-Version: 1.0 References: <20190324110804.68555-1-anup.patel@wdc.com> <20190324145708.GA3355@lst.de> In-Reply-To: <20190324145708.GA3355@lst.de> From: Anup Patel Date: Mon, 25 Mar 2019 08:49:50 +0530 Message-ID: Subject: Re: [PATCH] RISC-V: Always compile mm/init.c with cmodel=medany To: Christoph Hellwig Cc: Anup Patel , Palmer Dabbelt , Albert Ou , Atish Patra , Paul Walmsley , Christoph Hellwig , Mike Rapoport , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 24, 2019 at 8:27 PM Christoph Hellwig wrote: > > On Sun, Mar 24, 2019 at 11:08:29AM +0000, Anup Patel wrote: > > Signed-off-by: Christoph Hellwig > > Signed-off-by: Mike Rapoport > > Huh? I don't think this is from Mike and me. > > > +unsigned long va_pa_offset; > > +EXPORT_SYMBOL(va_pa_offset); > > +unsigned long pfn_base; > > +EXPORT_SYMBOL(pfn_base); > > Can you move va_pa_offset and pfn_base next to the swapper_pg_dir > declaration? Thats where I move them in my current nommu patchset, > as that allows to just have a single CONFIG_NOMMU in mm/init.c. > > Otherwise this looks fine to me. Sure, no problem. I will send update and send v2. Regards, Anup