Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1863978rbb; Tue, 27 Feb 2024 03:53:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlY/E2mBzcg7g+yVodHSkS0jcNYyeXKRjKe49fA5XrAa2dgEOa/+6T97NN6CUwC4oFXomMh0mq8T7YTDtbpqu28ZiN8eh59J0hNYc9iA== X-Google-Smtp-Source: AGHT+IF70JbyCfy3UPgcjQvxtbh3nBl0ZyGheTJ9B3el0GeyIGJaUY7tckSedzKdgNM/UyJoRlno X-Received: by 2002:a17:906:38c2:b0:a43:2255:2241 with SMTP id r2-20020a17090638c200b00a4322552241mr4673559ejd.53.1709034796836; Tue, 27 Feb 2024 03:53:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709034796; cv=pass; d=google.com; s=arc-20160816; b=VRzpIOTEyMkyqfbg9NOje6CC9CxZagMEpva/XTKwcW8H2wDHMTuVMeCrQXuUHmrJDe dWPSFBaUlKzDdLfQANccTWgZA7Ggah0Hg7pnMbBd7KtarDAIbrGH5Igx43SAtjDP7Pmi nO/fx7ObIip8KOL7R7lhyaT6qd/fsSaVJ8utPqnr0fmt6J/M5PBtVXpn+/8E9WATMKh/ zr3dx6jdtg/VnYwtire2XtjTzYzZ7wsGbhvd72YZdfmkJiZrSdV1yItBwHvXdDEv/4b5 gCiFSyRMRab83JyoLnxgB14UVVOEZOOuRF9ZzZDe5/NU6AfttwRZUbbL2kIiqrBeYwKN LbUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=INYCFlg3GhopU1HVJD/tMXW/wQSV6Ups5aGNf+zuuUA=; fh=SCRD73vFRrAtwTEc7FK8yGcGZc7oMWBzv1+W/m8Ye68=; b=socFdgZfI4p5AZR8KcwVjxm7jI1D7+AE2XSmRSmfi1ZB2X+DA1fqBkFA2vr2JykyHM 47e7bgtdEqxHnTt0Y/lPVzA8q2BJah7j0xB2Ejsl7RiVG/jFgLiNzcKVYILeLCdiPKzZ oSFbUjxDtczP0QZ4C+Eg8W+IwRh4wh/MMn4yorX2gye7QCJYnnCZk8HwKvD2Gd7UZvva glog22JzuC6iDJpHWSrFfCxJTWFeIMDJu+Mui3lv+yntmeXmRy4ciBrI7EbGsyBSYDlV y3rhfMyYekrIZqtCzaYEu9/t1kSRd++TMiJbXoNOLWzV+llAPq3WZh+lRePvBnv6SRD+ LEBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ZTsDYbfT; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-83146-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u9-20020a170906068900b00a3f5dbc89b5si682381ejb.325.2024.02.27.03.53.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 03:53:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83146-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ZTsDYbfT; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-83146-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.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 95EEC1F29A24 for ; Tue, 27 Feb 2024 11:53:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81CAC13A251; Tue, 27 Feb 2024 11:53:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ZTsDYbfT" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 16C311386D4 for ; Tue, 27 Feb 2024 11:53:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709034790; cv=none; b=r46mJv02Idr2n8UoFHoK/EeL4OwN9RBw1ni2rQ/H46V2nTYrbVIyIH6AH5IPHRp2rRfWene9EBWVWBntyyOubggcbmLcG2HlCG20gNsjteJroxZNC4gTfowNNT6AQD64dfx167m3mT/K9b8ZAK0yOtxLZ6pwz/qMK2UqCX1FFA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709034790; c=relaxed/simple; bh=QpM2Gj+iE1842oLmR/JSz14T461jLNYwC4WotBRHz8w=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r4a4qcQGk0jv+VM57MUXo8TIoAmGlGZ2ogKD9davfpzSA+Z5IiV87U6Ro+Rx2Rx3uvHKBdmHeVdto/AiDFT5H6IV295aFPCk4bOWnB+qZ6no0GBGCypYwzqLyWjEBpomjtUwjgNNRhf5k4ub+7L5/XVeadfv+9DWYcgYC/4JlDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=ZTsDYbfT; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1709034789; x=1740570789; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QpM2Gj+iE1842oLmR/JSz14T461jLNYwC4WotBRHz8w=; b=ZTsDYbfTO+AsrHOaIejSbOlZ+tDEZ2deusk0O/Ki7tO9jD9Rw0BD70E0 t/bk1b5SLcdLbDIAnv9gYef5+ZIXyfU+9qVU+UkIMk0LJH5NhPFf8U5Jt FvbDZVokMfyy0Tqm1jKgbj437fWHhALRzGshyZItrJwy8ByUZr7g8Zena oRjT62sMwEfEl2P6tYIsGFNuRGnmCMydRN5ojRbAQFtWFcEJA9SSNgzfP ccTsu3RETNefv/NzRJ+7jV7+p7SjifDnlOsWACm8U3dQQA93CtdL/6Eot kvVHjsbdnlMwunlgjFWE+AJkOE8HEM8/wH4jz6ac5Tf8Tm9rspw9dOZ5a w==; X-CSE-ConnectionGUID: OPUfXbZxS9CqWDIW5F1xSQ== X-CSE-MsgGUID: RWzb322QQCeBS6neIPwO3w== X-IronPort-AV: E=Sophos;i="6.06,187,1705388400"; d="asc'?scan'208";a="16885482" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 27 Feb 2024 04:53:08 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 27 Feb 2024 04:52:42 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 27 Feb 2024 04:52:41 -0700 Date: Tue, 27 Feb 2024 11:51:58 +0000 From: Conor Dooley To: Samuel Holland CC: Palmer Dabbelt , , Subject: Re: [PATCH 3/4] riscv: Remove MMU dependency from Zbb and Zicboz Message-ID: <20240227-bonehead-stonework-d56052265b35@wendy> References: <20240227003630.3634533-1-samuel.holland@sifive.com> <20240227003630.3634533-4-samuel.holland@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MVkIfoCLD1B37PLh" Content-Disposition: inline In-Reply-To: <20240227003630.3634533-4-samuel.holland@sifive.com> --MVkIfoCLD1B37PLh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Samuel Holland Reviewed-by: Conor Dooley Cheers, Conor. > --- >=20 > arch/riscv/Kconfig | 2 -- > 1 file changed, 2 deletions(-) >=20 > 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 > =20 > config RISCV_ISA_ZICBOZ > bool "Zicboz extension support for faster zeroing of memory" > - depends on MMU > depends on RISCV_ALTERNATIVE > default y > help > --=20 > 2.43.0 >=20 --MVkIfoCLD1B37PLh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZd3M3gAKCRB4tDGHoIJi 0iVOAP4xnKemNhs85COxEne/mehKUX1aV+ACJN779DXpaUB2ywD+KRmu/SwerYwl Ooozck02olX3pPxzIw9S73glhdreTA4= =1ooj -----END PGP SIGNATURE----- --MVkIfoCLD1B37PLh--