Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2467852ybd; Mon, 24 Jun 2019 06:59:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBA4FTLwTsEAijQrLhDfCXRdJ7X+8X1+9PKIVtqy9id/z0KowYCjoElwGJ5JXPoLe7XRl2 X-Received: by 2002:a63:b243:: with SMTP id t3mr16813008pgo.223.1561384795302; Mon, 24 Jun 2019 06:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561384795; cv=none; d=google.com; s=arc-20160816; b=RUEfXJ6HV6FAM7kK5EHRTbIOkCSLfM6lAIL7AkdLSTlH280smDSGxfFzU/5K45gl07 kzSjnNGFMfCTOJuKH/B9MPp/S/VGk6gHIpQOW3tJXqHuaOrzLaDa0RDm4B7J9F0/K32f uwSPCGUqsR2wSrWDYYC7HQ9IrTbodoenuk9hfEVtoMXBTwaRsBiZqaAhUXvEKXnA4FAe Xp1dXGrR87S+pm12EFKFhDHu8pbeImBkbbvZyrS7SaIWRg+D0ZH8k8MrxE9pT8nDEWQq 29HoaJguCi3z/mYWhvGMVnmuNFhsdoQM9TlBrCzw5q8z7oMW53pFqvgEyUj3O2+1Ln7i WetQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=M0c2K59XA0q5nOFsspYUeITIZrw4s1iMj+MpCQ3skKo=; b=FQ1csPEJKAD1K1fuwJpjzqhxA4ZWkpfefSR3KXcMoJOM5o1TRbxRXgcyQxsT33KNkX cvBAEa01dIBCjGvOrRZVN4QDizy2NG9Slj286a3vtRjXlD3X2CjQmg1DbzxDScoxGy2q UzKeORYUGZJIpnWMfKM0Pez95Ry+g1vvhf8/E9z+sAnovy2fsagZT1kjBcBd0HpJKm9J 9CXwCWrY1NkZ/v0e2895+n9ErJdbgKDR+qy0nV4xh8KPkN5YPbPdsXh/hpa5sM8Tw393 uRgEeOKDIL4BIr8BXnhh1OjjsPdvScKT8w4XKY4tPtjMjcN3Ql+5En8uZKBLFumRfK8Z TEUg== 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 o33si10427049plb.408.2019.06.24.06.59.39; Mon, 24 Jun 2019 06:59:55 -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; 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 S1729284AbfFXLrL (ORCPT + 99 others); Mon, 24 Jun 2019 07:47:11 -0400 Received: from foss.arm.com ([217.140.110.172]:48018 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbfFXLrL (ORCPT ); Mon, 24 Jun 2019 07:47:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EDE242B; Mon, 24 Jun 2019 04:47:10 -0700 (PDT) Received: from [10.1.32.158] (unknown [10.1.32.158]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7606B3F718; Mon, 24 Jun 2019 04:47:09 -0700 (PDT) Subject: Re: RISC-V nommu support v2 To: Christoph Hellwig , Palmer Dabbelt , Paul Walmsley Cc: Damien Le Moal , linux-riscv@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20190624054311.30256-1-hch@lst.de> From: Vladimir Murzin Message-ID: <28e3d823-7b78-fa2b-5ca7-79f0c62f9ecb@arm.com> Date: Mon, 24 Jun 2019 12:47:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190624054311.30256-1-hch@lst.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 6/24/19 6:42 AM, 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. > > To be useful this series also require the RISC-V binfmt_flat support, > which I've sent out separately. > > A branch that includes this series and the binfmt_flat support is > available here: > > git://git.infradead.org/users/hch/riscv.git riscv-nommu.2 > > Gitweb: > > http://git.infradead.org/users/hch/riscv.git/shortlog/refs/heads/riscv-nommu.2 > > 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 > > 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 > > Since you are using binfmt_flat which is kind of 32-bit only I was expecting to see CONFIG_COMPAT (or something similar to that, like ILP32) enabled, yet I could not find it. I do not know much about RISC-V architecture, so it is why I'm wondering how you deal with that? Cheers Vladimir