Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp773589lqo; Fri, 10 May 2024 14:47:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxuMWFJQfC6dsYKoBeqJwkPf3CHuWOpEVZiNCOBYjeQDBTGfvHT12HGtpAPolKHDGFSn3HbMGQB0XpeSIoczO4cUfDs8fzGsBgbZ12UA== X-Google-Smtp-Source: AGHT+IEFF2GNRZEGiK2njPd7v3Kg7i78/OPztW9ZQ6icQgS58J8EeTsTwLn6GgpdiuWm1wWCg96f X-Received: by 2002:a05:622a:44e:b0:43a:7886:eca7 with SMTP id d75a77b69052e-43deba96f75mr109327861cf.0.1715377658254; Fri, 10 May 2024 14:47:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715377658; cv=pass; d=google.com; s=arc-20160816; b=izpk/+2R85C6pTdEhtGG2udOv161aj5pESwi0fONPbV8gn37KuOX9RYsbhXA22/J/K dAl7nNLxGvG1t6K9RxXyvvYC6Hm9E0iHWGuxkW6u7HB3+SJ9C94Jq0994VxQuKWcTIHP Luc6k+BAG9u6yCLZkmkTSxExC5SieZtxKxFztQrRyzXV+oBUpHJJT7uWHE/3LsyhHn/X ibW8V8NPuYVGh6jFCq5m/cGdvLUuyycnQHrcJTP2MNEP1P70xVPG7Bl8uQdZIR6zx1eI 0ROK66a16c3p1xCnVl7XmQrwythLvlK0b+1pDjnAvmCUjC4rVMyhxkHqPOiuFAc05Xbi s8Pg== 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=/hdC9JzZ0lCEDEfdvCSKJ054LE730kwHqEMbc1syn4Y=; fh=2e6FKl7CBB8QneT7SNlicJCnvoMUWiHRq29vedcpCY4=; b=puo7ORKp/vnGozTlAdbpQXQbY/QuVKKXUg4lzoiV4XEW4CeATqIYKq5gbLCfhtrZin FNkW+PH2WDBgc9owyQ08IF3mHj+KwlV9MpLaZT0Asb9BE6g0DSzLY13m825St/ivM+R4 6XqVCZMdCrF/ym0/ull7HJataUh8UqmAjS+a6Iyxk/HR6RtfdTmb5371Pk/YH1rGv3Qv 7b6y1lxVVJrzecuv66WZ5+BEn5brzzReUe+8lf6vLHSrEKB6v8KCWx5KicOVX+HXeE/O /TI3Ek+xazf/Zk/1mSBg84fftwQuLLnBfwyR6O9lZ8ejLV4Yg7TZHE4QwXkiAaGv0tAc mIHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=VVr3Cjty; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-176257-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176257-linux.lists.archive=gmail.com@vger.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 d75a77b69052e-43df54b3e7esi37131551cf.170.2024.05.10.14.47.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 14:47:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176257-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=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=VVr3Cjty; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-176257-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176257-linux.lists.archive=gmail.com@vger.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 AC91F1C20298 for ; Fri, 10 May 2024 21:47:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83B3013CFB7; Fri, 10 May 2024 21:47:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="VVr3Cjty" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.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 1A0A71BDC8 for ; Fri, 10 May 2024 21:47:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715377649; cv=none; b=SNOIAZ1mBzn2652RA0GmAnD3eyi/9dhN0x1X2x6V82c9PdaFD28PrgO2twovM1bPN5gyzcMXf2iZLOqa8c5VfL2Bx9BPa0DVthx4YWHm9Yn+XlzH8HOTY+4izvJoGWE1z7hAXLIRQfj3zWckFqWioFsqyQT2uwcuTUi6LRHq4/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715377649; c=relaxed/simple; bh=5PYGqPb7LxaoIJQZEfb1VXfIqZRIfuMWFVa30lwrHLk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KQiaU+Kof287iT1nPUFnhLSuCKUU5G8zuldgewwwAxGJv+yCBRB2Z35B29Q0U1WbcfIVUhQcXRK7P/4plbF0wf/OAAMQ9jK+E/Jgr4aLlk31s5jILDn+XoZbvbRA4FSxWchLDHLIKGLW82lwH8Viw5nLYucUKqQuc+IGW4pv0T0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=VVr3Cjty; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1ed012c1afbso20430665ad.1 for ; Fri, 10 May 2024 14:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1715377647; x=1715982447; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/hdC9JzZ0lCEDEfdvCSKJ054LE730kwHqEMbc1syn4Y=; b=VVr3CjtyftxFz2H8JrzjP40ruQbp2vWE5vWgrcPOmlKbcTTsiTpzwUPUPw9doQxO5d aJZND96hUf8FfhLID379wb/mheLiqCrWVkJvZ6x0ZpJg2sypTBbO069OVDUg8T9W5v4V CEs00/AM3rrgj+2DoJr8HCAuiB6yDpeacVGhdCQC75xTsFAhsI1eaaH8hE1v7zOEbPSJ S9jcq6CvBq597R6AXjz00bRqonpAgeJvS5iNvQYwNWRKfAtXXfwe0FKgzPe6J9dH1NS8 YPoj8RhGFQDPbrmXqM68Ty284g0CW1Azt2wY68Q1METBy6Sx6LyMDx8VQCO2luLNX12B WN9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715377647; x=1715982447; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/hdC9JzZ0lCEDEfdvCSKJ054LE730kwHqEMbc1syn4Y=; b=lAYzblp7jbz6T0qxsL09/mqccPm/Ak8AJLmR4AcUL0BM1DzwkXzMzZ7yc2DrrV6NJh RCF9ffg1OgwYY7ugtMVZAdSYvMQETgZRmzU8zvUST24enfsEJJBAXH8SVn8ifwR8XFmW 4a/UW2K63uglzU2ztbuJlrKJzGNqanYgZzW4z7ZANt0bIiR4wFEbOW0ybMGGG7xx9F9w fe0ztZFYD5dbWLNRRwyUAmnka5dITMBfQ4kmEUXKYzp729C05717WjtETRUTDxSiPFeE DdG/7DSB0Nt6WIKDCLvI6C1pQz4dvquDouD+ytcVRLdwHAf9xuUNxhV2X+KsBwuwHZVA +vDg== X-Forwarded-Encrypted: i=1; AJvYcCX5GOyoBH3XON8TeY9cuj+4AkMPZmzLu40ZINY5yPPe88EMtdsErW8OVp+zmMopfBfgwoUhsPGaHaWNJ9AozXDyL5++JD128boz4tXe X-Gm-Message-State: AOJu0Yx1QMFdKdbi2dxgO2bXMXu+NtnGGLIHqq3A47njeughLWyBS7QR P4VtLyKsRWKmYrcQlKdQpM5brgueQCE5jOd+FHr1PAjx1nqAKzza9XbRDhTThRY= X-Received: by 2002:a17:903:234c:b0:1e8:682b:7f67 with SMTP id d9443c01a7336-1ef432a0c85mr53371555ad.29.1715377647449; Fri, 10 May 2024 14:47:27 -0700 (PDT) Received: from ghost ([2601:647:5700:6860:629e:3f2:f321:6c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0c038ce5sm36930875ad.195.2024.05.10.14.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 14:47:27 -0700 (PDT) Date: Fri, 10 May 2024 14:47:24 -0700 From: Charlie Jenkins To: Conor Dooley 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: 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> <20240510-unexposed-desecrate-e30674d4530b@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240510-unexposed-desecrate-e30674d4530b@spud> On Fri, May 10, 2024 at 10:32:19PM +0100, Conor Dooley wrote: > 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. > > > > > > > > > > Signed-off-by: Charlie Jenkins > > > > > > > > This seems fine, thanks for updating this interface :) > > > > > > > > Reviewed-by: Conor Dooley > > > > > > 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: error: 'struct riscv_isa_vendor_ext_data_list' has no member named 'vendor_bitmap' > > > /build/tmp.QPMRM3oUNu/arch/riscv/kernel/vendor_extensions.c:42:60: error: '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: error: 'struct riscv_isa_vendor_ext_data_list' has no member named 'bitmap_size' > > > > > > Cheers, > > > Conor. > > > > 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 :) > The error message in full is: Patch 7/17: Test 2/12: .github/scripts/patches/tests/build_rv64_clang_allmodconfig.sh Redirect to /build/tmp.OCcmyhkGEw and /build/tmp.TsjyVLqMfy Tree base: fefb1e9ecc34 ("riscv: Add vendor extensions to /proc/cpuinfo") Building the whole tree with the patch ../arch/riscv/kernel/vendor_extensions.c:41:42: error: no member named 'vendor_bitmap' in 'struct riscv_isa_vendor_ext_data_list' ../arch/riscv/kernel/vendor_extensions.c:42:46: error: no member named 'per_hart_vendor_bitmap' in 'struct riscv_isa_vendor_ext_data_list'; did you mean 'per_hart_isa_bitmap'? ../arch/riscv/kernel/vendor_extensions.c:43:47: error: no member named 'bitmap_size' in 'struct riscv_isa_vendor_ext_data_list' It knows it's on patch 7 but then it prints the title of patch 6. - Charlie > > 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. >