Message ID | 20240227003630.3634533-4-samuel.holland@sifive.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-82471-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2415258dyb; Mon, 26 Feb 2024 16:37:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCIPSBY0+2voH/94fbu/EZlOwoOX8BqVIn7XV0NbW3QPLkie+/145kagxTMVh4hHwe73ZnkBUABay2hjfycaqO9tIb2A== X-Google-Smtp-Source: AGHT+IEokvhy+PhxtwUymwP9qG5sa0qNhu24yvt/CD24qxRhh1BputiiuBMQcn4eMy7A7Iw+XJer X-Received: by 2002:a17:906:3482:b0:a40:189d:c5b5 with SMTP id g2-20020a170906348200b00a40189dc5b5mr5776056ejb.38.1708994266236; Mon, 26 Feb 2024 16:37:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708994266; cv=pass; d=google.com; s=arc-20160816; b=Brzcw4R+hWxesxb+kBrxBKCMThr/M4MfEm7Ep0rA8G6ERzFlAS3pnff/ROzZ3HZTjU C5w132tzP00plDJYPwqn5naQJD27Cc5N+IhSlaX5P+1Wvgz00lMCsVB0U8X7IB3rvRXK T0lZ6tOJdqZ8VcxQ001pX84TonGU6d5PuiZRbXvwW0VucwIu7J/61ZJHmsyvNPMgteTb kSLNde8ozX8GYL1GINicNZStg9NP+rBe/WrZqDSBx7NMVtTsCiaznNI4sFST1Sk61XbI zj0sULBwVcLWOPqAGeq9sEWiPbIQiMlzn4QAV8wvgh7BKTs2UgK6dDxjIhAdUyJ5xLFf 6i2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0DgT08L+OHu5JWWVgI2Bop+R/swEzoI3UepBE4dcuzQ=; fh=qgALqhvBfwh64qlTOA5xcM4euFCRJESH/+60UMp8eRY=; b=aMHlG46vE2A6v+ToWZZ1yn1dBLk6uKkd0BoXA6zRMYSbjRW9jKhFJV+AEtf5f2aG3n lJclkQLNNXUj1xU/NyXxBPgzx0ykCleRgbxKwM88Xx5+ztMigLY/wel9MEJgBzw33wCJ Sd44ltdLtZ/gwqebiqW1kdMjIkPXbACSjGRyEonJYoKcUWN0zqzFXOBnboQaqZG5LvXq 5+dFI4SiepAbblyreKWq2LjA+9/ZFk2QtmEImaL3GIuzcTe02J9L77xuh0dvSDocM1yv YR2QuNvLjpH1qTy0sW8RT98S6MSVCMs9Ets9457oz+ALbEoxLBspT3FHZ8BnBQSCKBiC KCCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=DReMv1vj; arc=pass (i=1 spf=pass spfdomain=sifive.com dkim=pass dkdomain=sifive.com dmarc=pass fromdomain=sifive.com); spf=pass (google.com: domain of linux-kernel+bounces-82471-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82471-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hr34-20020a1709073fa200b00a43a7cf4a80si128103ejc.527.2024.02.26.16.37.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 16:37:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82471-ouuuleilei=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=@sifive.com header.s=google header.b=DReMv1vj; arc=pass (i=1 spf=pass spfdomain=sifive.com dkim=pass dkdomain=sifive.com dmarc=pass fromdomain=sifive.com); spf=pass (google.com: domain of linux-kernel+bounces-82471-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82471-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com 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 D461C1F21EE7 for <ouuuleilei@gmail.com>; Tue, 27 Feb 2024 00:37:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48C18EAC5; Tue, 27 Feb 2024 00:36:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="DReMv1vj" Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 371A74689 for <linux-kernel@vger.kernel.org>; Tue, 27 Feb 2024 00:36:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708994198; cv=none; b=dEi0uL02vIir5rSQgjQxwuER2q2kORw7nc5TM9BcIinZJq7dcARIApCngEFCCFmW7ndZRjaFhCu9E7a3nb/4Kx1/2aSt+bf++aq1RRlpowsq181ujziCPjnw2c/4sjRHL2Dm9pqpC6gPVx3k5EoUaEFlehAjEgZ9af6lBUUcHUQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708994198; c=relaxed/simple; bh=48/PSeN1dqxJlNE4djxwYvziDIjYXncGoOaPbOyotlA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oY44aRc/avqZ/iLpxb7d5j8QdvCokoHl/07il18Pzt9PajFVak75mptasTtU5P0DJ5k7p0kGtEHw4hcFcbWL0q5rxPljWdTKYvEXE2acuZmJEU2hmG6caAC0yXbIQ+ej/TNYXJS0/LO9yLg+mTIU/yRWMFDJrDdstxJZYsI+Zdc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com; spf=pass smtp.mailfrom=sifive.com; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b=DReMv1vj; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e4ca46ab04so2190283b3a.3 for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 16:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1708994196; x=1709598996; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0DgT08L+OHu5JWWVgI2Bop+R/swEzoI3UepBE4dcuzQ=; b=DReMv1vjMXx9ymqkiB+xEnL363aaTLF7R/UsxCmt66RKmkSsZ/3ok2FFe1NtQaSyM3 sy0W4Pu7UXeZMwGqP2+hZFSMenZMJ+trlps1Z0ZgtVLlTNMJTylfqB/WvkDFz1Eoeb0j bndO+GEo3QOIVAxjhkVHfuylrt0I6POlcBMxaN/8m6n0TBMVkkAZqWgf6m5mHiJ5jici wOpRGufS8KocfUQqyzKEMy6QTc5dBUANXqBJTvEyAakGWbJSTzNZQaRbuXvy/gyW4Gke QqkmqcCbJgfpvfXH8l0GFbQ0rY790qvk+8HAlr5e9mCRC/vHSMYoDNfeaVCx9dOgfW37 eWWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708994196; x=1709598996; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0DgT08L+OHu5JWWVgI2Bop+R/swEzoI3UepBE4dcuzQ=; b=W0s0wrTYDR5yEEyL4R2w1NxzEnFNtiZT8W7v+qKHY8uD3Q2pidEyUjQJibuO5e0Sky ZpruUDnTcmwJVOTJ9tNUAuFe3rjeLXB8s4H+yD3R3cOEhE5PAzPnqTVOrK+z2DRY4bvq 5+fbmH5h6QebmmrqoTSoz6mttoYgqFZL9syYpwwELr2VrM5Rf+/KTj4i5brxs2qWCie+ bF3Ku6LieUVEGhLBAEGpRKZgnZCOVoLlAJJ7VNO22KdFhcA+hRtWuw5/rX0y3c1QBtHs 4efy41k+B1VqqU4iYLsNk2XB3WJbtP3w1SP+FXahgBD7W+6yXvKfshzl35m1JE6yppXg JipA== X-Gm-Message-State: AOJu0Yw6btuaHfdO7737F1fqk0w4ZqQEvRbWHQOA5huGCqk6BKfyMabx 0ITJR3zW0W+GiureFg4qAEcNcVDmdpEz4CUUyRTzHXUnmCYH0Ob0iJqqw4TFs43U+3epKcA4tgy x X-Received: by 2002:a05:6a20:6f01:b0:1a0:c3e6:3135 with SMTP id gt1-20020a056a206f0100b001a0c3e63135mr907151pzb.28.1708994196622; Mon, 26 Feb 2024 16:36:36 -0800 (PST) Received: from sw06.internal.sifive.com ([4.53.31.132]) by smtp.gmail.com with ESMTPSA id z25-20020a631919000000b005dc85821c80sm4504117pgl.12.2024.02.26.16.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 16:36:36 -0800 (PST) From: Samuel Holland <samuel.holland@sifive.com> To: Palmer Dabbelt <palmer@dabbelt.com>, linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Samuel Holland <samuel.holland@sifive.com> Subject: [PATCH 3/4] riscv: Remove MMU dependency from Zbb and Zicboz Date: Mon, 26 Feb 2024 16:34:48 -0800 Message-ID: <20240227003630.3634533-4-samuel.holland@sifive.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240227003630.3634533-1-samuel.holland@sifive.com> References: <20240227003630.3634533-1-samuel.holland@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792010372073485763 X-GMAIL-MSGID: 1792010372073485763 |
Series |
riscv: 64-bit NOMMU fixes and enhancements
|
|
Commit Message
Samuel Holland
Feb. 27, 2024, 12:34 a.m. UTC
The Zbb and Zicboz ISA extensions have no dependency on an MMU and are
equally useful on NOMMU kernels.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
---
arch/riscv/Kconfig | 2 --
1 file changed, 2 deletions(-)
Comments
On Mon, Feb 26, 2024 at 04:34:48PM -0800, Samuel Holland wrote: > The Zbb and Zicboz ISA extensions have no dependency on an MMU and are > equally useful on NOMMU kernels. > > Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor. > --- > > arch/riscv/Kconfig | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index bffbd869a068..ef53c00470d6 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -581,7 +581,6 @@ config TOOLCHAIN_HAS_ZBB > config RISCV_ISA_ZBB > bool "Zbb extension support for bit manipulation instructions" > depends on TOOLCHAIN_HAS_ZBB > - depends on MMU > depends on RISCV_ALTERNATIVE > default y > help > @@ -613,7 +612,6 @@ config RISCV_ISA_ZICBOM > > config RISCV_ISA_ZICBOZ > bool "Zicboz extension support for faster zeroing of memory" > - depends on MMU > depends on RISCV_ALTERNATIVE > default y > help > -- > 2.43.0 >
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index bffbd869a068..ef53c00470d6 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -581,7 +581,6 @@ config TOOLCHAIN_HAS_ZBB config RISCV_ISA_ZBB bool "Zbb extension support for bit manipulation instructions" depends on TOOLCHAIN_HAS_ZBB - depends on MMU depends on RISCV_ALTERNATIVE default y help @@ -613,7 +612,6 @@ config RISCV_ISA_ZICBOM config RISCV_ISA_ZICBOZ bool "Zicboz extension support for faster zeroing of memory" - depends on MMU depends on RISCV_ALTERNATIVE default y help