Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1341733ybg; Fri, 18 Oct 2019 16:18:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhJ3BxhIVdRQIAeB1HUneZVjYq0Ljxu0SXowX8Tr3LzwS/Q2OCHY6hGvY56M9y1q0CphM6 X-Received: by 2002:a17:906:3415:: with SMTP id c21mr11479392ejb.190.1571440737515; Fri, 18 Oct 2019 16:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571440737; cv=none; d=google.com; s=arc-20160816; b=Yw0YwGAaIS7C9uPu7HmJ6pyuoObMEyVvGiWdqytJGFlEhH6BVr162nRrzcYNNAkHVp U9FVCSH/f10v3MeSMOdkQ8pehYuyZIgo80QCmx0F4/24GO/owU1wcXpp209oYVyFF6KL BED5rqO1WJli/AF4M1XSkdYjVrJf7xooABfRafHDHHIMEwYGqZ/tSg535UiRoyxaraOY MdjnJXwomAjE6+bBB3TYHDeHtWq0iZMGfXdBfNLtAzNGW0OiZ5YDQkAg6FRyemYcFb+v opK2vcXtWhvd34z4Ky+wapynwR65YsEfSroeULu06aoRZ69lzehb1QzY/ewVVV9FXM10 AqMg== 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=bUJLiWvB08iFLxWpJBCXj620abxUzMl2/mW6lq36/Xs=; b=THcZVpNT+YmL8+KKxaFwYpfMwv1QI+5NQXOTf5HzAx/Zd3VNWLBWrmdKWHHDjVn0xK O5vFVOOGhXzwyufbixNE2LK5LJPa19hMaNTNvgygv/VNJ0oiRDx5xyJR/x0byXTARxvR d01jEBB90FAEsvLKpYoXJ0B6Ck2gJRGbrgT0ibVZVNCgOqh7ZGzos7WRxbLDWO0rg11Q 6F2lDNjnZryYvWcO8p+hDFdsXIMEiv07MuYo3ih28rFAnVl4iHA9bWNtoqwXbf7SRRVl P2ZciuiGAJDfhvT2s9PL+j8SnUEMXljQa3G5itTQInZg2Pd/z/DpzCL6qLDejytKnw08 TNNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=rRoeANGs; 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 c10si4930804edc.419.2019.10.18.16.18.35; Fri, 18 Oct 2019 16:18:57 -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=rRoeANGs; 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 S2504184AbfJRGBi (ORCPT + 99 others); Fri, 18 Oct 2019 02:01:38 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:37462 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390743AbfJRGBi (ORCPT ); Fri, 18 Oct 2019 02:01:38 -0400 Received: by mail-wm1-f67.google.com with SMTP id f22so4802204wmc.2 for ; Thu, 17 Oct 2019 23:01:36 -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=bUJLiWvB08iFLxWpJBCXj620abxUzMl2/mW6lq36/Xs=; b=rRoeANGsJLnSZrG5kRjo8/KXrHiJxoVnXcihkW4lnkRzzXtMfnMdyATHmpj3F6cSw0 C+CFQ86vc7DCbYuL7k+lL55VwPISMoshItEXPffvA8xKWAwDSeJvs8lM/aGxxOoyDA0G xQBmef4H9PQuimhjHxXrFeNtkvFTkoP5AuYU2Yqo+ElVWGUi6aZ8W8K6puS5Y5pI9/uV j/nbluVD2cLJ2uq2jmiFKAlIaAjYSe/mZbaL7GL5QKHKON/Aa8eb5//LlEOJqBGD1AWf K6LUg1fNHAWy6K6Qy/xP+eqoeljlnpltqgWcfJ23LkZtF6ZlsA9XXUXxrNtbMaF+LfQf /VDA== 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=bUJLiWvB08iFLxWpJBCXj620abxUzMl2/mW6lq36/Xs=; b=NW3e4eKE43F4JZpXHVHELGyNqCifi5k0YFKQe4003iYrPM6zVghZtus7XIGRdq73ou zQrnMnsegJ+l0ZHRHaIaej3bMDroDhLNSTvfipc1gF5FVzlRCYsK3WWUFVMuJ0ZAAOLB tiijkEWlpj9Hk92VfiDtSAT5Mn+ygmmwX0fk4fz982t0Xapqc3QgdJgtU0J5JyvcqFNd J5VYpg0V24fRutg9ZbrdXrrkL/j/2iDWG7xODozEDMQlvxeQHF9MNk/QIoLVPBi+RUSy PHH1TOOJPXLC0GHYAD0gudSPra7LRP5YMzmBFOeYeywB61Y3Fq/GPXlyMCecujW2zPRo 98EQ== X-Gm-Message-State: APjAAAVrG8+xNHMgxV2nconnjT9M8B+nz++8d20F2SUYD1Emd79k93Ka O9p0l7xCdhd5m4FW8KMYktNN3sCszFov23MM4PjlYKq/ X-Received: by 2002:a7b:c775:: with SMTP id x21mr5621790wmk.52.1571368137819; Thu, 17 Oct 2019 20:08:57 -0700 (PDT) MIME-Version: 1.0 References: <20191017173743.5430-1-hch@lst.de> In-Reply-To: <20191017173743.5430-1-hch@lst.de> From: Anup Patel Date: Fri, 18 Oct 2019 08:38:47 +0530 Message-ID: Subject: Re: RISC-V nommu support v5 To: Palmer Dabbelt , Paul Walmsley Cc: Christoph Hellwig , Damien Le Moal , linux-riscv , "linux-kernel@vger.kernel.org List" 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 Hi Paul/Palmer, On Thu, Oct 17, 2019 at 11:07 PM Christoph Hellwig wrote: > > Hi all, > > below is a series to support nommu mode on RISC-V. For now this series > just works under qemu with the qemu-virt platform, but Damien has also > been able to get kernel based on this tree with additional driver hacks > to work on the Kendryte KD210, but that will take a while to cleanup > an upstream. > > A git tree is available here: > > git://git.infradead.org/users/hch/riscv.git riscv-nommu.5 > > Gitweb: > > http://git.infradead.org/users/hch/riscv.git/shortlog/refs/heads/riscv-nommu.5 > > I've also pushed out a builtroot branch that can build a RISC-V nommu > root filesystem here: > > git://git.infradead.org/users/hch/buildroot.git riscv-nommu.2 > > Gitweb: > > http://git.infradead.org/users/hch/buildroot.git/shortlog/refs/heads/riscv-nommu.2 It will be really cool to have this series for Linux-5.4-rcX. Best Regards, Anup > > > Changes since v4: > - rebased to 5.4-rc + latest riscv fixes > - clean up do_trap_break > - fix an SR_XPIE issue (Paul Walmsley) > - use the symbolic PAGE_OFFSET value in the flat loader > (Aurabindo Jayamohanan) > > Changes since v3: > - improve a few commit message > - cleanup riscv_cpuid_to_hartid_mask > - cleanup the timer handling > - cleanup the IPI handling a little more > - renamed CONFIG_M_MODE to CONFIG_RISCV_M_MODE > - split out CONFIG_RISCV_SBI to make some of the ifdefs more obbious > - use IS_ENABLED wherever possible instead of if ifdefs to make the > code more readable > > Changes since v2: > - rebased to 5.3-rc > - remove the EFI image header for nommu builds > - set ARCH_SLAB_MINALIGN to ensure stack alignment in the flat binary > loader > - minor comment improvement > - use #defines for more CSRs > > Changes since v1: > - fixes so that a kernel with this series still work on builds with an > IOMMU > - small clint cleanups > - the binfmt_flat base and buildroot now don't put arguments on the stack > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv