Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp84176lqi; Wed, 6 Mar 2024 10:39:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXbmbFvGloU7B1Tu8ErrgzgEfK85CJCPWWSsEUrO4J13Cz58vd6HeQpYuqkWt/AA1uiSPpsZ5OikogguhoX82rLF4LJ/H9lTjJdYppVzA== X-Google-Smtp-Source: AGHT+IHRgWfJDN55VWds6reFjFKblqLVx0NEzzcfAtFkSp7kBkokpVGpdXQUog5EUKLwDUUYVFiD X-Received: by 2002:a05:6808:8f6:b0:3c2:1e79:582d with SMTP id d22-20020a05680808f600b003c21e79582dmr1995483oic.24.1709750363177; Wed, 06 Mar 2024 10:39:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709750363; cv=pass; d=google.com; s=arc-20160816; b=YtBGoBWtiLqYsiMTBw5BQoFmrq/myBQnEa5LAR24fR29z928LrmIRFFT6QwhSedchs KGzX2zLcPv4VMguPl9ZNM/UaDKNBJod8UO1KU4LEluEhFMNfP8uRg6IlPRNJosEllWg8 93M+wEgroYW+WD6jtw5vvZPGd9n9bxlJKV2/nD/zY0XMF704Oosk/NDvyUS09QPTj02E Hmjt7xstPXW7sCEBHIMsqRtZtdbvSSp58U43gnk3V5lQhT7cOc7WS8JnK8sXeMGad4TK GaNFjbg6yga9upPpXqdOIYfdBOv/2Oo8Vi0FdP+f0uRUyPNi0jsMMJ/mfTMn5zQNi/xx eFEw== 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=djMCRipBzD1Me01mPRPGcu5pVoxyJfbEcwHizUAIYvE=; fh=fBB5+GpAkoUTrP1H8dXdBUPGZbWg1JA1KpDae63CHxk=; b=xmo+bAUF+x92OM27TKpdsxy3nIBFLBgMuXawlr8chwmt3b002Ohcyo2nctb0PB/sLr hdLv4Dx5MB1v5t7pePJ2QqcDljpnnwEt8fSdTzbZVqIPz9k/8smlNmtaNirR+4ZFU6fg +29LCTbmsY88blPm+bRZlagDdr/sLzWkufbbtkwWCMH0innegWMvoqiiszJ2LUg6oHNq yVKDLsu43ZWHXmO8AsPRvvUnDxj18hcYU83Zs09Ht/mg+YHdVaBkAIJNkK5vtDSR+2/9 QdT6w65v8lLOgq/W8sWJ8ySr0l6f8zEugxYWWr3iUr5Zu5SPz+rsIwx6NXSctNcwTTcB DpJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ETw2EC0J; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94434-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 u10-20020a6540ca000000b005dc4190c756si3007007pgp.866.2024.03.06.10.39.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 10:39:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94434-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=ETw2EC0J; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94434-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94434-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 D026B281CB5 for ; Wed, 6 Mar 2024 18:39:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 909D9140E2F; Wed, 6 Mar 2024 18:35:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ETw2EC0J" 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 A7B5E13E7C5 for ; Wed, 6 Mar 2024 18:35:31 +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=1709750131; cv=none; b=bRNCP15zhIsApFo5a78VHb8Nkbdrw2q3bxfexd+hhECvp4SD4qhy2lZ/zFISC6e0qtS2gCHK6UjYyX1Hfhmy4l8EeisgYiKaC1INrIlugoUDZTMZaUWmfgLvcLOX990z2giS1RQws6n0g1em1p7ObYdtEwnkbVKUKd8G8Yia418= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709750131; c=relaxed/simple; bh=zmBinXKZQKNHCz0LtnMkq9ehI1d7BPLGv1+fCXX2m6c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cleV+H7zZCWuiLJI939m5QdRmxvUnh/9/kjZXKcv/Cri6HO1tij1omfCmdbq8MLCUbOqPEKkSigneG2f7YTEXES+0UyiluVg93a4CQY451eqRKKtgFim9tbT5Bb/DliBhM32AavDyx3512WjzJH5u9XjL1qLjO/YauCwUpoafA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ETw2EC0J; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5331C43390; Wed, 6 Mar 2024 18:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709750131; bh=zmBinXKZQKNHCz0LtnMkq9ehI1d7BPLGv1+fCXX2m6c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ETw2EC0J/ohU7u0K634Esd3Evhl2l9bJFPOjSMc68sb+83MbI/IApHw6vVAjo9tU0 r+OEkxX32lwhNtb4ksxN2IAtMLoF1WKP4JN88zQPH6ZCCJeLARyyhwzWqniFmnAo4W p4Av+eD8DUBbKSHzdAHTpWYjLhSuQs8+HjugMS8/+2/JbhhgNDTZLPoc4VMbbVCLNo XqaVQIu8+zFWNCHTHngltJoscx/5sdUc/956vel7Aofay5YZJ2flIowHOZ3KS6Dj3f OmGO4frp+PrVt2Q/3wbrnkoxMRvIkOoTkuFirR/PCElp0Te32+IYfamV9tn9IpvmKN 25u0UK9k+2FmA== Date: Wed, 6 Mar 2024 18:35:26 +0000 From: Conor Dooley To: Charlie Jenkins Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Evan Green , =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Eric Biggers , Elliot Berman , Charles Lohr , Conor Dooley , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 4/4] riscv: Set unaligned access speed at compile time Message-ID: <20240306-football-payday-8c9fa3e17ee9@spud> References: <20240301-disable_misaligned_probe_config-v6-0-612ebd69f430@rivosinc.com> <20240301-disable_misaligned_probe_config-v6-4-612ebd69f430@rivosinc.com> <20240306-bring-gullible-72ec4260fd56@spud> 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="t+tSty/uiOvKCNKB" Content-Disposition: inline In-Reply-To: --t+tSty/uiOvKCNKB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2024 at 10:32:34AM -0800, Charlie Jenkins wrote: > On Wed, Mar 06, 2024 at 04:19:33PM +0000, Conor Dooley wrote: > > On Fri, Mar 01, 2024 at 05:45:35PM -0800, Charlie Jenkins wrote: > > > + > > > +choice > > > + prompt "Unaligned Accesses Support" > > > + default RISCV_PROBE_UNALIGNED_ACCESS > > > + help > >=20 > > > + This selects the hardware support for unaligned accesses. This > >=20 > > "This determines what level of support for..." Reading this back, s/what/the/ > > > + information is used by the kernel to perform optimizations. It is= also > > > + exposed to user space via the hwprobe syscall. The hardware will = be > > > + probed at boot by default. --t+tSty/uiOvKCNKB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZei3bgAKCRB4tDGHoIJi 0iu0AQD87A294NjKr8yzgLFZSsbEa1a8agxZE11Zt8Rf9X5hKwEAvdf9re1vk0l0 wSoxYqqmGV1l4EMCzZlnHdClqrtCiQ4= =9lC8 -----END PGP SIGNATURE----- --t+tSty/uiOvKCNKB--