From patchwork Thu Jan 19 05:26:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse T X-Patchwork-Id: 4216 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp155512wrn; Wed, 18 Jan 2023 21:34:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXvZaswiJcUdPWTZSYDuVhQgXWKYTif+QeyxxLP9HOq+IxLlbRj/dbj/r+W0PUaD/QvvSFNV X-Received: by 2002:a17:907:c23:b0:7c1:ad6:7333 with SMTP id ga35-20020a1709070c2300b007c10ad67333mr12393703ejc.10.1674106497445; Wed, 18 Jan 2023 21:34:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674106497; cv=none; d=google.com; s=arc-20160816; b=R6po1/Evto5CRbUvflHH1qYjpJF1z6xU/IlnBIL3LNaZaRHi448Rc88EvuzdxRVllG zso4FeFJCu7von791LysOIYNWIJPGlWTZxMuD6f3HYpGVJGaFHjnvArMSNw3Kj922yEZ 7yT6UtiOA1yFMyaiH9EFyHn/XaovlnpWbugQVedJ36xG+OQMqDUVRODW9hQptdFN92OI P8oRFREng4puR4ksCpD79lJu/qlpqIT/OhLNYk4m2tLD9BgUh1OK8pFe0UQNX/ordO9W iV9PgK9+EtIWarbPmN2ZDmW+PDWmBXaZ1y2O6+E3AJ7BG1Bq+hlw+nVecJGRYg8fPe/c 42Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XsB+ZAHP0UyJS+bDbLK2xtr95teDUp0qaZq/1qRa2dk=; b=YLiseTelvWGEDCbunFBImsoWd0yFRHYfR0D9X0tHVdF5eff8mZpHvX3WeC/VhHBRw5 kZLgdT4hWOJMF5mMTykfcYTj9JgWC7pDR/MQSAiozXAay38sZRVLlrIzofupDdozXO6p y5ig4U+v/f3Axk8Qz5a7G7I0+lyA5cFHpy3AmzhGbGG1mlUJ3Ga4E7lm+xoyxcb+BBPB ib2RAzSjt/6fCTLyyJYW7EW6DH6MjTeJz5xVcjTSWAOnGcWfecmOkGxIRdM09vO/8kpz BK4V7im2MkDqaPgtWPkf9nac6PA2FmDRFCB2fZTIaqEy/2wvFqkGOs2LR4IyPdeuOM0f nlCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k8nvF0Wq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb16-20020a170907161000b0086f0552517asi16800955ejc.830.2023.01.18.21.34.33; Wed, 18 Jan 2023 21:34:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k8nvF0Wq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229844AbjASF0w (ORCPT + 99 others); Thu, 19 Jan 2023 00:26:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjASF0r (ORCPT ); Thu, 19 Jan 2023 00:26:47 -0500 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 610D1A8 for ; Wed, 18 Jan 2023 21:26:45 -0800 (PST) Received: by mail-qt1-x82e.google.com with SMTP id d16so789175qtw.8 for ; Wed, 18 Jan 2023 21:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XsB+ZAHP0UyJS+bDbLK2xtr95teDUp0qaZq/1qRa2dk=; b=k8nvF0Wqyi+Gza6qaaqQmNjZC11DVCO+D8huJe7wIcHQip3kHeQTBh+/rpIJclS+qP Pgkmgk4HEnAqqpD3GFG22fLpbxPWgT0+RPImCXM0XhRZNONSo8A7HplGRAJ7KePm0X3t h7xcxYv+e1H5SWFcO7rH+/qEcpj59m8eGAIvjjapYOExptWEKvlF0C9E2DGRWBRhCVY8 zn77yhBdxCYTFYnQFuMYyZX8ZPEAwniL4nn1BXLh3jndqDy2tHe2VPWXPiqubZGKvK7o VWkuf/mBaV1sG5gySWDnAONo/3j1qqJDAPP+rYdh3FII5av2ESMQ8Mg2Q6HAL/kkSri0 86tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XsB+ZAHP0UyJS+bDbLK2xtr95teDUp0qaZq/1qRa2dk=; b=GGfN/mYYolURD0yRDuQvof54dHhM8+wTrU5ht1a8qGWxVfPQLf0aLZz5iRrXX3q5GO jMS9V0Siuygl9Lugf0E8SC7tU4rpKZWzvdENhlvIWajbJra3avOqPwGeMq6lnCZJFpEI LbGVxsAjuT1w58MAcIdXt6kqGhz907zqEKQf/mDltmqE7laZ0GcId3cEkk0c1gXSzSVB EwlLMVpTwDUhiiQSijplTWOCT2B8jgHLrcwRMBHPcRd7bsMuhSwHsUTuKTvJ6e3h+ldP ivZ/F1V8hK/VbGFl1i4dXpMSm0PX361AlqiuVBJyDAF3/PJAzosQhqfZpxOxnl+HT2t8 8iuQ== X-Gm-Message-State: AFqh2krIu+I7khpBo46zWb2A7FOV81WRgdKjvnagr9n2XBp2989M2HxT iDhEQZHje5yS3exnUmBNw04= X-Received: by 2002:ac8:13c5:0:b0:3b6:3044:4cbf with SMTP id i5-20020ac813c5000000b003b630444cbfmr13849110qtj.23.1674106004284; Wed, 18 Jan 2023 21:26:44 -0800 (PST) Received: from jesse-desktop.jtp-bos.lab (pool-108-26-182-112.bstnma.fios.verizon.net. [108.26.182.112]) by smtp.gmail.com with ESMTPSA id v21-20020ac87295000000b003a5430ee366sm507330qto.60.2023.01.18.21.26.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 21:26:43 -0800 (PST) From: Jesse Taube X-Google-Original-From: Jesse Taube To: linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Jesse Taube , Yimin Gu , Waldemar Brodkorb , Albert Ou , Palmer Dabbelt , Paul Walmsley Subject: [PATCH v1 0/2] Add RISC-V 32 NOMMU support Date: Thu, 19 Jan 2023 00:26:40 -0500 Message-Id: <20230119052642.1112171-1-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755427894491913196?= X-GMAIL-MSGID: =?utf-8?q?1755427894491913196?= This patch-set aims to add NOMMU support to RV32. Many people want to build simple emulators or HDL models of RISC-V this patch makes it posible to run linux on them. Yimin Gu is the original author of this set. Submitted here: https://lists.buildroot.org/pipermail/buildroot/2022-November/656134.html Though Jesse T rewrote the Dconf. The new set: https://lists.buildroot.org/pipermail/buildroot/2022-December/658258.html Jesse Taube (1): riscv: configs: Add nommu decfconfig for RV32 Yimin Gu (1): riscv: Kconfig: Allow RV32 to build with no MMU arch/riscv/Kconfig | 5 ++--- arch/riscv/configs/rv32_nommu_virt_defconfig | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 arch/riscv/configs/rv32_nommu_virt_defconfig