Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp61007lqe; Tue, 26 Mar 2024 20:54:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUm1GcxDB8f9i8f5qD1OfTXcTlqfdqzbLX2J/KPCMoOjJtixH7DtgbJhm4jcNtBf8hmcrB+jPjFk/gydDvzYkCF0GEkLJBaSC+1AqyIEQ== X-Google-Smtp-Source: AGHT+IF66kmJkhmSBg9iDKKOhq/f+U6Df4KwHMGTqpy6JQ6oF/BFj353EuwX/82b+gsBreBUQlLv X-Received: by 2002:a17:906:46d9:b0:a46:faa7:d014 with SMTP id k25-20020a17090646d900b00a46faa7d014mr1057948ejs.9.1711511643031; Tue, 26 Mar 2024 20:54:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711511643; cv=pass; d=google.com; s=arc-20160816; b=p+091BjLFyzv5JdTjnnt8rZUR2louhOg/SNJeXEfnAc9R+6KnOiRPkdXti6rPSa0A3 4IZxkrufhvEXM0gjkFFhlEMTB5YTRLsdNpRKp0pZwj1gOjQO7Xc/6D14lHyKhXqDPRlF +FKYUKBhP8PkSwOyLP4F5ut5NHhfIXAEw6O5VsUZwnP0Lth8fONTbPmKa7fkk2QUNsDs zVi1QSvC6qpqeobaT2lRNInGz4jfOb0/7LYE8wZUOpvQ5SOmdLJhcbu1vLEu/v83Fw48 vXsCWwEYN2QPpXyHiS3gynMLDX+oiC0NgcR/GvzWwbirETNMQuCYqWzIv8pKeoguxyTr Dmuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Od5+FtPzJSVejUA51Ete6rBT3eatJmZP9DIAcFMclb0=; fh=HkGNFRiC9i2e5nmliJsjaSkcgOZr6iEZ7jFG9odHND0=; b=s7i8vHWBpx3NK9/dd0jxTi+hxtG2xhXBgqCCbVsU38Oe14a305blwHZbXABgELPBK3 iCPxpJQ85KbGOQP5YW0yhMetBa3LScW+KfPWLlsCaWOgAW8m+YQ8RQeMaJPq0LbLFL2z mrGLV4yskjCYNZi6im2ecowyqh9pTuhwQCHyg/rSKKRecnSHVJ6BouQp3NkgS8aR8OfD FNcgDOhNwb1/rAg8VelNBfKgAE+yrWNqtl5StsI5Q8Xa39CGtRxYHG64iHh1MHHvWino RjFFCSowFfJPymsAl09uW4agw16ghXd6+8rXyQjNIX1fYjk1bRkBZKuJx0xongf4mVPu v7Ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y2+sBsB0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-120278-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dp1-20020a170906c14100b00a43fd9e16a4si4230081ejc.17.2024.03.26.20.54.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 20:54:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120278-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y2+sBsB0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-120278-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8C0F71F2D031 for ; Wed, 27 Mar 2024 03:54:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0670022F02; Wed, 27 Mar 2024 03:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y2+sBsB0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 318BD1BF31 for ; Wed, 27 Mar 2024 03:53:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711511636; cv=none; b=quj0b3f25aylqAnnJ/oZXHy1ttDDZPvP7gXOq4MkQSZFoTA7S6lWFuMRbDT/JpZJXRE2xI8E7hkduPwe6IPAtkRb6ylVi5QKa8sGkIm+80JsvW2WCfxzWI5LWxjsyVfmnOPvYZFHGhwa+JfV3+CkXxQ/zFNHxg81elxIB1CY2Gk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711511636; c=relaxed/simple; bh=ulvcpLx+NFREbJcC6mgnYfcNd9XXhjYFOTNXexXblnU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MabRlXETaMFOHscVuXOv7Z+RfAFhh6vj60GslrLWbxAk+XO9cvQLJeKJgLVl81fMIKP70eBWbAKksA/OEnT6Q0B1Kwc/byLQhCheUBuo9zL5kU+fzG2gT3uMR/QkUaGoDP/g2993ebVcWRfkDpjgpKjjgz9RdKcCJiJQdFEnBEM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y2+sBsB0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B3A9C433F1; Wed, 27 Mar 2024 03:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711511635; bh=ulvcpLx+NFREbJcC6mgnYfcNd9XXhjYFOTNXexXblnU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y2+sBsB0xMtY8p5K3dNLUlO+HXVhB17rEhtLEjhtbkjM/rzaw9tzkyDKQpeVfA4Y/ vVd97axWQEiV2b/o8CWhLqw+mKdtiNn7a+xMd2OVyLbNeO4fwiVV/rgveXW+zK4i3l rPb+LVrV3wuElxqHr4Wm+Rf9W5y6K9YCG7OYduqN+BQw4iLY93RPp3CYo/iG6kUOTu CzmDTlwiTdH60P3HhBwmVyO2oJ7ghs2LO+AXDBUVIukfBE/2PkIbzrsiHPHX7vfxAq iBCtiyAPo0cnhHC3EzacTzcxsetsljU/B+KqC85lxAub7JVbrdRCVX1kcoIuFToOLo kXVsSUjDmnvQw== Date: Wed, 27 Mar 2024 11:40:37 +0800 From: Jisheng Zhang To: Charles Lohr Cc: Palmer Dabbelt , cleger@rivosinc.com, Conor Dooley , samuel.holland@sifive.com, Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley , ajones@ventanamicro.com, dlemoal@kernel.org, Bjorn Topel , Atish Patra Subject: Re: [PATCH] riscv: deprecate CONFIG_MMU=n Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Mar 26, 2024 at 06:34:09PM -0700, Charles Lohr wrote: > Sorry, if you don't mind clarifying, do you know which version you > used, where you got it, and if you had to apply any patches? Hi, rv32 uclibc toolchain is based on gcc12.2, while rv64 uclibc is based on gcc13.2 I built them with the mainline buildroot, and rv32 toolchain was built a year ago, I forget whether there was patches applied. I may apply patches from your mini-rv32ima repo. The rv64 toolchain was built a month ago, no patch is applied. Thanks > > Charles > > On Tue, Mar 26, 2024 at 6:28 PM Jisheng Zhang wrote: > > > > On Tue, Mar 26, 2024 at 01:25:08PM -0700, Charles Lohr wrote: > > > Jisheng, are you using musl or uclibc? I've been having difficulty > > > getting new versions of each working with the newer kernels with > > > system calls not lining up. > > > > Hi Charles, > > > > I tested nommu linux with uclibc, both rv32 and rv64 > > > > Thanks > > > > >