Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1631837rbb; Mon, 26 Feb 2024 16:37:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXjwki2yEFClOgnB+VdZS9pW7OOD8aYKZeAMbpq6vM0qpAsnOUS8K0vrIvPKsEIbFI9RhH6kTOHVgk6uiitaeAR7vpyWE4gRZq2Js54KQ== X-Google-Smtp-Source: AGHT+IH7FLdMgJBiEl0bdQjk+azkvi4LzDlhzZVzQd15WaH8F1uRl/ppwoQuILYX4FWZBfiGaXxf X-Received: by 2002:a05:6870:5709:b0:21a:16ad:ff7d with SMTP id k9-20020a056870570900b0021a16adff7dmr8901204oap.25.1708994242736; Mon, 26 Feb 2024 16:37:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708994242; cv=pass; d=google.com; s=arc-20160816; b=AaqNThMHoi8x/keb1IlmYRMgJG3yDQjyxQLpUOXM1Flg2d1lRETq6p5B4wPpiywbwj x+zn9/KtkKqACpJGS+dX96YXuEqYp3GYPypTNzw8QjqiL3s6S3a+AK1BJexNkWibzakA XkfJt2bi71sUA93XRhHCHEJw0SAhVF2Z1CaBQ/JmCpS23TVUW6lWe4nTXmMFZV1jR5WC wwdUWM0y0JXbAQxeoo4UeP0IwcwBjywMO2Uk22ehj1urfW/R/YJCFzKlzN5TACcMjaTK XEIHsyTT/Dz78/tQJzryaYk2ocokZPlpUHw1ClUpmrtUWMPehFKEVJsnE0Cv3iQ5McnO 0fFg== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82471-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k130-20020a636f88000000b005d3f4474fddsi4466229pgc.167.2024.02.26.16.37.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 16:37:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82471-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6526B285460 for ; Tue, 27 Feb 2024 00:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D8B96139; Tue, 27 Feb 2024 00:36:39 +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 ; 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 ; 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 To: Palmer Dabbelt , linux-riscv@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Samuel Holland 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Zbb and Zicboz ISA extensions have no dependency on an MMU and are equally useful on NOMMU kernels. Signed-off-by: Samuel Holland --- 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