Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2454099rbb; Wed, 28 Feb 2024 02:14:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW1nlqcMJ/vynrDT7WqEuvBTDUjg/GJALGtuNwT5OqldRTRBAPZ8/XFikgr/Mm2RR5F4HI9q7022GgvmaH8E/modChqArha+7gUqYJ7SA== X-Google-Smtp-Source: AGHT+IGAPd/zr+Psv1dM9eCeanRIFoZ46MHkF1Zj8/YjZEdhpXR9bk+2IXakd4n13n52J5qep4hF X-Received: by 2002:a05:6358:9143:b0:17b:56de:d23c with SMTP id r3-20020a056358914300b0017b56ded23cmr20815738rwr.7.1709115244106; Wed, 28 Feb 2024 02:14:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709115244; cv=pass; d=google.com; s=arc-20160816; b=OPrfVmIsuK8gvNLtuSSnCmytaGq54tVXoqAv6yaruWKs/VodtDRgLsMcpBqy6qXT5K kzcI8tmYwjpRhTNO2bMO9Kt0GWQqyyincSzO9WScMPnV1U/Xj4wgc/urs2VVEwVtJvcZ 7B2fRFes3nbCrMKChDlFrmIBwXETYBQ+BbxRrzECmivJnzURZRRkCIHIQEHPIHrq48kK cMYIHVf+aJpMSe7HtlybKqkCcm84PU4JyjmnVM8CCLm26UlIPb2tph6jckfjK4iEQVEF hvbPXAwf/5UQmofvKi8ffrmMiqaSQeK1/9aDykSL4uAd7lVjxiRjFc3bnnoEZb67llJB jshA== 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=Aw6MTellXqHFmH4oHAwG/lZE8WzOhLwzBazP1CZOc3U=; fh=dNHEob+bPyHqVeQ1oUD388nSgpOj7iNkwk5N0s1uYoE=; b=IixDBcUph5Qy5u3da4NlWnGleG3QlnaTpiB99iOiJddugK7Y0vOdKe8q98tAnlnI70 +hwdsjyDZWV3Rp7sJuVNS/pE9mfILizJECd6t5EH8mpXJkMia/bjtzZIP0Gd+dSYugIC 3ucY/UmdzJ84D4smDYJKHZlofQ3OUU1jj6Tcc+ZeEQtIbh2v11swUx990Mfj0OFkure5 SGgcMvUoxlFI2YO5zrbLIF3fxy+/cQIOUKMjdMQvhQCYlLUV2bqwCVWv35jn0rMfyAZ8 3bmelRsqKKJZKD5cCg+n4skpFNXuwNq0KQcP2wQXn67TEXeWoyyKZkO76lwUfd/w37dp 3CNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYQM1lxm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p25-20020a05620a22b900b00787f0d7a0c3si915370qkh.334.2024.02.28.02.14.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 02:14:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYQM1lxm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84818-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84818-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D2E931C2164C for ; Wed, 28 Feb 2024 10:14:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9D1C381AF; Wed, 28 Feb 2024 10:13:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sYQM1lxm" 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 D38A63770B; Wed, 28 Feb 2024 10:13:56 +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=1709115236; cv=none; b=Sr6/66lqrD6sTdu7LFfVwss9B1dlGFwNmtY8gi2L+/nvT+WEor/jv457lJHPJ1gcI/4Uh7Z98QBxLJsl3yntLXqr8ixxlk2cKzfWCLUFjCGGrDYPJHmDKgTWcK4mfxzo+AeDe4fkYBehddIrIH2C9W9zL6brcxUzL4wzRvDLI7w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709115236; c=relaxed/simple; bh=Aw6MTellXqHFmH4oHAwG/lZE8WzOhLwzBazP1CZOc3U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NOIJU0JCPr2I3hhwL5HcEbfmJ/2B6nZpEREKIEzLMdCqQdzT6tA8m7uiMhAsJjwXQJ52QjTQRJ0VDPOQfQoBlziqugCYsvGd/2LquM68OtSrWQeY9bqVGzrY8vKks9PZi8uxRWryZOdpjsW/ds+uQKeUoNnGd1L7JOc3yGQRor4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sYQM1lxm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C372FC433C7; Wed, 28 Feb 2024 10:13:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709115236; bh=Aw6MTellXqHFmH4oHAwG/lZE8WzOhLwzBazP1CZOc3U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sYQM1lxmkxNt120hTaJP/7wOwZev0uQR715A6QnDoDDYlidkOBaA3qtqAdy6LcI8D x4NmbNvlmUcC4fLeIvUTA7xbR9MZGPuKXvhwOjqZvj/tGkGpTeGJIs66+2PJkPxun8 FgdyrIVH/qijkwwNPFaEOWgSrz2Mx+1XyfVdMpoL0N/V0wSbTolbOJKgcNTD3AlQ9u 8dRu6JEYamSBWfpYetisMVpvSkNYOqcyvH4BQ3od9+kHnfCc8WO5rHQFIKfhecykWI AUvpJ4wlS0GEaEYKTpYniOE2BhQWuujT5cx6TF/4JX56+4fSDsOdhw3M8GRxYfqqc7 HktFy5Lic9W8A== Date: Wed, 28 Feb 2024 10:13:52 +0000 From: Conor Dooley To: Samuel Holland Cc: Palmer Dabbelt , Andrew Jones , linux-kernel@vger.kernel.org, Alexandre Ghiti , linux-riscv@lists.infradead.org, Stefan O'Rear , stable@vger.kernel.org Subject: Re: [PATCH -fixes v4 1/3] riscv: Fix enabling cbo.zero when running in M-mode Message-ID: <20240228-rarity-underuse-4ea0ceaa9688@spud> References: <20240228065559.3434837-1-samuel.holland@sifive.com> <20240228065559.3434837-2-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="RYUaLBvwPMLmjhGg" Content-Disposition: inline In-Reply-To: <20240228065559.3434837-2-samuel.holland@sifive.com> --RYUaLBvwPMLmjhGg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 10:55:33PM -0800, Samuel Holland wrote: > When the kernel is running in M-mode, the CBZE bit must be set in the > menvcfg CSR, not in senvcfg. >=20 > Cc: > Fixes: 43c16d51a19b ("RISC-V: Enable cbo.zero in usermode") > Reviewed-by: Andrew Jones > Signed-off-by: Samuel Holland Reviewed-by: Conor Dooley Cheers, Conor. --RYUaLBvwPMLmjhGg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZd8HYAAKCRB4tDGHoIJi 0qirAQDYy7d+sylmhikfmo2GXMnmIUPyHkY+kHBctTx2ItI1sgEA9XOfdZ8oy6/R EurTtub65SmrnNrgrVNCv60+b4ljXAw= =9KZG -----END PGP SIGNATURE----- --RYUaLBvwPMLmjhGg--