Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp190122lqs; Thu, 13 Jun 2024 07:35:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmNx/fjbyYAzhWutPrrl7jkhEdycbo16QwJDQbmNk0FZEd1amyAWmdkhPe8JeE9KeieM0Hjo8Rdcz5d23wFwEcQkpks4qBi/7t3gXpZQ== X-Google-Smtp-Source: AGHT+IH8VF436J0mg9F5nxlwaSqLc1I0jJHGiCxwNPctSImRzxJdqOSzC4ByXJXz8+1UG7zwIRPG X-Received: by 2002:a17:902:d508:b0:1f7:340e:71ac with SMTP id d9443c01a7336-1f83b713672mr58512135ad.50.1718289332513; Thu, 13 Jun 2024 07:35:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718289332; cv=pass; d=google.com; s=arc-20160816; b=rzhf7dldaPDvrO7RyF0GZ9iQt05SpuT+hxGMb8lhSg7pB7E/7a1qKdrB76kubpcwRC 20z+34iBDd5z84iihOYz99zLcBQX361Z1kED3Och2Sd5dXg+eyFL2XX2p5jqZJXz/MeW QnYnxS4ShtrQoLKHcTPTKDqArrq8Ot9zDV/s0GSKzeBJM2OG/R8iDuWwsZImO8nrPSnq Saq+c51UbPA4Cw4tcyt3FSU4gYzgCa9bEanaf62w1TwvODl9kEmYROM7NgkgjFVfpNXi 3ZHjTZGVeFqjIZInRWG1dB8cwCZ057jZdBZwzdIUXVwhpHpufOockgGarpB14+wzOrPB eTYw== 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=JaP7qDY1oFoFZ4n3ApB2MhPSSgkthi/B+6BCfNqzZXE=; fh=qbin7tRJNlSZVdtxVLNgKKmXkz5Bzojy9ptSBoa2lfs=; b=kWPXiN+KePJp17Sle42/St+2l8/KOXtrrtmMHPYOUzFYswF9Uue9hhxQQ4nxgdwOfa U4/Us4SkeFXGyd5a9V5AJgeSlVoigDOhh3t4aAtlU8JUdpgY3MCQPEYPOSx/3Gfqp0oB RHxCXQ2FcIiNN1EfwxcdtECi6arO1aBtSQJ4TscSzcXPYIPCgm2X//P2+JYqcWCHuGwT CeeYgipz7xrTQa4TZbQWcp5jx2EBzu2oj5tFs16V2Fa+rRabCIZlz+enb6dqCfX/OZtY 63P1rhsxNd1wAEEp7lOOIfCvP7+Jg+EqYIR5Dds+E11bQZ6/sUtVyKe29MkmX4um5qcp UdpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tpWSvufS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f85b591a0dsi8581265ad.203.2024.06.13.07.35.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:35:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213431-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=@kernel.org header.s=k20201202 header.b=tpWSvufS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213431-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1C821284519 for ; Thu, 13 Jun 2024 14:35:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 927C3146006; Thu, 13 Jun 2024 14:35:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tpWSvufS" 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 A50CF1422B4; Thu, 13 Jun 2024 14:35:05 +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=1718289305; cv=none; b=R+220KDakv2cNuECy4MeDCIhZMbhTSETOeESWsZiIY6F8yvVXZ4twB0Hk9u408ScXNqGntRY/bKbNxecpq2yLpQfChqDaWQcJOxcRp0K610Pc8vE52SOUHaP5FqbPF675ks0ylbn0vm1IV/6r8KVZjZDeZBcwKFmXsaZrjDeshE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289305; c=relaxed/simple; bh=JaP7qDY1oFoFZ4n3ApB2MhPSSgkthi/B+6BCfNqzZXE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aOtzsmOMZdJOP01hJudAMyC998RWfLftOx5pvptLJFOhdGsxhV4CROr42Hxyj6o+sfeRTuuYlT8y24gXw+kZzhusy+ffPTDnEic2wMZEP6HilaiEZhXqNvgELgmDzVtq6m9/vwCMctV1eaOYyY/VbeAg0ORod4+SABtc/KYwtiw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tpWSvufS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E9CEC32786; Thu, 13 Jun 2024 14:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718289305; bh=JaP7qDY1oFoFZ4n3ApB2MhPSSgkthi/B+6BCfNqzZXE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tpWSvufSz4/6eYuosODegqx8fYaQJdmhbXOMc9p3b5WQ/gfIGYomNolbhKVu0XyEs W2H0e+wQFo2NkfWXDAQ3LbTEDDBa2Alep0Fo++oTkFflawV4GEvJ9Wi9kiKocoOyXu fIs689QlI2/OOyKKFS+JJohZLTVF2vzDfltpGmegtsEUMHY9J9XtRXAhn/OQjlS7AN Mmo2SE5noT0cWKfvCzt91qNktweA/t/FLRttcxzlyVNGPmu4WlwLvnCi0XAQ/tlJrt 5M7dL1TY4lZA2RowibqCH1a4V1xRmTX8OuDJjQXYcjGojVOUCAUfkVjOtM3IOv6kmW rvvZiMkjp8hjg== Date: Thu, 13 Jun 2024 15:34:58 +0100 From: Conor Dooley To: Charlie Jenkins Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Jonathan Corbet , Shuah Khan , Guo Ren , Evan Green , Andy Chiu , Jessica Clarke , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 02/13] dt-bindings: cpus: add a thead vlen register length property Message-ID: <20240613-gauntlet-starlet-2aedade31a06@spud> References: <20240610-xtheadvector-v2-0-97a48613ad64@rivosinc.com> <20240610-xtheadvector-v2-2-97a48613ad64@rivosinc.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="AQap8GU9ejAJchW7" Content-Disposition: inline In-Reply-To: <20240610-xtheadvector-v2-2-97a48613ad64@rivosinc.com> --AQap8GU9ejAJchW7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 10, 2024 at 03:56:39PM -0700, Charlie Jenkins wrote: > Add a property analogous to the vlenb CSR so that software can detect > the vector length of each CPU prior to it being brought online. > Currently software has to assume that the vector length read from the > boot CPU applies to all possible CPUs. On T-Head CPUs implementing > pre-ratification vector, reading the th.vlenb CSR may produce an illegal > instruction trap, so this property is required on such systems. >=20 > Signed-off-by: Charlie Jenkins Reviewed-by: Conor Dooley --AQap8GU9ejAJchW7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmsDkgAKCRB4tDGHoIJi 0u7xAP9LpPul5GSNB17Xr63YXTnJb87tSBlm5oBD3QK4jgiBbAD/WyZuDo4SvIBG T0dxQyzZxI2/QiuOT6A0fzXSpA+tgwY= =i6hR -----END PGP SIGNATURE----- --AQap8GU9ejAJchW7--