Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp768956lqo; Fri, 10 May 2024 14:34:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIjQkE+n4CijdQKgJz+jSdzh0rTxhDZrlIpWFYJE3gUSY7RcTMK8B2dbtTVl+jjseQpEd5tOWmS6Pv/okod0m52xKsD8IeWfuYp6HlQg== X-Google-Smtp-Source: AGHT+IHoWJveUAclH/o6Zxud5tiDvakUM+/Tqrd8tfMEVrOril7SSFVaY9yURoFEKK19JeJWCH5d X-Received: by 2002:a17:907:7f94:b0:a59:ab57:741e with SMTP id a640c23a62f3a-a5a2d675779mr322806566b.76.1715376891527; Fri, 10 May 2024 14:34:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715376891; cv=pass; d=google.com; s=arc-20160816; b=phXp/fDlbIiTfC0IyuSwXHhWKK73Et3AAePuk15sqLFHFJFHHnts7tDGKGcKJMDNlb jjunPRtDaqdLHw5Dj6Y6tqpwzhZGSJMtRrMb05J/VApIy1AajeH9UZu1/v8xE0uJlBTZ zgZ5HxMU9LncGQ60x1/o4LzDcxkXzd92c2bSma2VFrsc1cz8VAZj6rep7f0lj256Yr5Z G6hxbBE4ccuVoXWE8tD+VEgbr0Y3O1xEd7dcoHowwIkkq8OyzKzb8BWWWx0fxh7fWVXw FxP7m0UX5Gmgqx7Jcmfxer+cuivSxaqM53RrlPdqDeqxlFno3SMlbMeueNCZLv0LV7FO GvOw== 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=DHL6m0s03pMXyYHLrmoIwSfmMN7IjouNDR+ANcBA6L8=; fh=mBwwpQbay9vhzTgPULjjDn+LkmwbaBeNVRczdYQ/Av4=; b=GDHY7iKwJN/mJ3hzcNzLXJ3bjbPEDSOvaR2iEao92wGjgK2si/EdZ9J6OE4rYpp80F AvzB+WTvY/xp5bXSAd55PEsSjyptJpf+klZ4JfVQeNcEOyrRdiV4793y3LhRwZHIwb3o Fx7tSw5d7Gz2ujB8sEFn8/53KRoNPIJbbJ5SLAZUCZJUzQYWW5PZMjE9daxb3Lrz1e5L eW8aC2s/bRdEZWUll6uU1L0kqJic+Q6e5NFdVSFZ7VFgsIpnEqAPzCewJtUQuqU21he0 oUP1dRG84x288IJapOjgNARwO1C7wZRkvs4II7jhczVK/SIwCb3lsW/qPpWGmQV2LfOC AMtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PW0loYjB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be63a1si243230266b.709.2024.05.10.14.34.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 14:34:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176239-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=@kernel.org header.s=k20201202 header.b=PW0loYjB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176239-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CAC941F21F2B for ; Fri, 10 May 2024 21:32:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44B6013B7B2; Fri, 10 May 2024 21:32:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PW0loYjB" 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 2897613BAD8; Fri, 10 May 2024 21:32:25 +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=1715376747; cv=none; b=DmIn9xt0IszqhYShyfEdJcYWGkAI0f0FLnUimkOhl5V9X5w6a6dUCqWoExSfjN6qYDONhmvc8Shikhg+/QZr/fRtNNfcj0PUr7x2UN/kSnwV+pScFC0DxqU3ANq4eSSsQ4SHg9MsIXft85RwX5wb36Z7RGXO5VTlE+0pXk2g+kk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715376747; c=relaxed/simple; bh=HaAF5YLZNnHFDlTcRRRh1aLznDIBDt54LRmZro1kBkY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Dp+3ehmoTkn87EdalLDWPcTq7n6ySKF67kUaRLd2LvYWqJKBQSBVL2vyuj7Qog2EcOT5onvnONzXZEqyIiB8xah4Mky+o/COyefHpr07KbcrpeLRcS6fytUFCFyuRaoL2YQYuChDqL2XDZJsmxCLC6fJMUqi+HDuVSzcwN9L6Mg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PW0loYjB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4010FC2BD11; Fri, 10 May 2024 21:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715376745; bh=HaAF5YLZNnHFDlTcRRRh1aLznDIBDt54LRmZro1kBkY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PW0loYjBa6QcXh8gmikKKdFQ+JniYLnMAwVmZvGkjTJ0rDFzoJZbvYtI56baJyF+I gc2m1x1XG5f/Df6pBje4TguN/vGK8UrmL+3rV64DotR+AG/+iwJMfgQx78wYWNpv6X kb1gvVD0w4RjMFvfoE1zDAPMNGRkLXkcCJ6AcvZPHLmFJkW5zLMyZoTpIuQOf++BXu 5cqXNmgNIDj8OhwCxbZDyuQ34sZWdpai2kLZHn/qPXBqevODaevVM4e+5E8A8fWiYw 7ZqOFAvSOJLpZR1pveFlSDZhpQyySDjVqIbFXdbrunnUNYO+a9bnZBV0h32zvviK8d T/Or0mgVLdhXQ== Date: Fri, 10 May 2024 22:32:19 +0100 From: Conor Dooley To: Charlie Jenkins Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Conor Dooley , Evan Green , =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Jonathan Corbet , Shuah Khan , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v6 06/17] riscv: Add vendor extensions to /proc/cpuinfo Message-ID: <20240510-unexposed-desecrate-e30674d4530b@spud> References: <20240503-dev-charlie-support_thead_vector_6_9-v6-0-cb7624e65d82@rivosinc.com> <20240503-dev-charlie-support_thead_vector_6_9-v6-6-cb7624e65d82@rivosinc.com> <20240507-divisive-swoop-c2737a2d9a9f@spud> <20240510-childcare-outlook-d18e3cc5ccb3@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="a4gruBJ406lMx+Li" Content-Disposition: inline In-Reply-To: --a4gruBJ406lMx+Li Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 10, 2024 at 02:25:26PM -0700, Charlie Jenkins wrote: > On Fri, May 10, 2024 at 09:50:32PM +0100, Conor Dooley wrote: > > On Tue, May 07, 2024 at 06:03:19PM +0100, Conor Dooley wrote: > > > On Fri, May 03, 2024 at 11:18:21AM -0700, Charlie Jenkins wrote: > > > > All of the supported vendor extensions that have been listed in > > > > riscv_isa_vendor_ext_list can be exported through /proc/cpuinfo. > > > >=20 > > > > Signed-off-by: Charlie Jenkins > > >=20 > > > This seems fine, thanks for updating this interface :) > > >=20 > > > Reviewed-by: Conor Dooley > >=20 > > Hmm, actually the automation on patchwork is complaining a bunch about > > the series, but I think that's mostly false positives except for this > > patch. The nommu defconfigs are prob the easiest way to reproduce this: > > /build/tmp.QPMRM3oUNu/arch/riscv/kernel/vendor_extensions.c:41:55: er= ror: 'struct riscv_isa_vendor_ext_data_list' has no member named 'vendor_bi= tmap' > > /build/tmp.QPMRM3oUNu/arch/riscv/kernel/vendor_extensions.c:42:60: er= ror: 'struct riscv_isa_vendor_ext_data_list' has no member named 'per_hart_= vendor_bitmap'; did you mean 'per_hart_isa_bitmap'? > > /build/tmp.QPMRM3oUNu/arch/riscv/kernel/vendor_extensions.c:43:60: er= ror: 'struct riscv_isa_vendor_ext_data_list' has no member named 'bitmap_si= ze' > >=20 > > Cheers, > > Conor. >=20 > The false negatives always throw me off. Aye, it's pretty frustrating for me trying to report anything. Any time a bunch of headers change produces a bunch of file rebuilds and therefore warnings. That should in theory be caught by the fact that we apply the patch & build, jump back to HEAD~1, build that & grab the "before" warning state and then jump forward, rebuild the patch and gather the "after" state. The idea is that that is an apples:apples comparison as the same files will need to be rebuilt for both but it is falling over somewhere. Maybe I'll have time to look into that soonTM. > The errors are also offset by > one patch. Ye, that's my bad I think. In a rush off to another patch before the thought I had on it left my brain and just pressed reply on the wrong email. Sorry bout that :) > This was actually introduced in the following patch "riscv: > Introduce vendor variants of extension helpers" because I accidentally > fixed this issue in the patch "riscv: cpufeature: Extract common > elements from extension checking" instead of the one it was introduced > in. --a4gruBJ406lMx+Li Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZj6SYwAKCRB4tDGHoIJi 0qSAAP9DtyG6cFxATpySce/LDWJjuSKIYinHHmeKGVGjDvqZkAEAkXi4b5NHBscV XEmApTynzq59bPinnFytkPxtGEnfKAw= =Z9vu -----END PGP SIGNATURE----- --a4gruBJ406lMx+Li--