From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 8EA5B495E5 for ; Fri, 10 May 2024 21:25:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715376333; cv=none; b=aJEquCUoS88uWNC5s1M753ijsJP/pZv3HVKcms3WPXojWn8kqiMdX25CRL94paXkJ9x+/bhTKKGp0CJwT5MrboWHDsl+ADo0ZEj0ESei8lPyJ7pfmtHH00dFydpM9zBhki/Y0Y9EuXp0zuD7XH3YKOFywb4QdcSKRdeHS07YdFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715376333; c=relaxed/simple; bh=pKK8FmPjaKeVmC/x9esCm6cF6BXhvjrK1358Io/3/iI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RcUyobIVtkZDpm6hq3d15ApGpFs3hDqRz7hu5BeLh4vunyAQbe/X7gjw/9crDkrVGKSEF2kHi+vmq7b+r+LRPmqn/dy4pOKmPKgD21cmASXLd0wVFcZr7nuj/hdbxQsfiep75EGi/Ju+hKuZJFXJ1/m4OtmT7EKv23CH06NGO90= 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=G9n/uCfg; arc=none smtp.client-ip=209.85.214.171 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 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="G9n/uCfg" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1ed012c1afbso20306695ad.1 for ; Fri, 10 May 2024 14:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1715376330; x=1715981130; 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=EbHwqyrBSxlaInOgJHXkpBV851gT6eWfUw4RtCMLqkQ=; b=G9n/uCfgON6ywj/zfp1Ci/0I71/3JmcoDhvTP2CXKj+T2adelSnjxVu2IAoVuypos6 Via86B9ib8j/WgX2MeVHL13F00Dpf6FRFUpVHbr6o21r6aEb7ER8xEjqyUn0a4+ABW3x fHTIWKuMfjCA6gcGXqhWL+xNHl5+nIJOEfP6ZrmMAwQ7+7RrG4L98S1OqkrsKpcDaQtD /ey7IkoIWXJzLASvaVVu51+z6kC2T1dMPm1wOBWApBVDWhLrHBNdMS2x9ejuo7bJL/nV n2Tpg/rbQjXhoR0/l8DOcIEVhGs7xygxm1AYa4npJ0WtiVJ/kpwqxdzkeACKlgZ9x1lE aupA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715376330; x=1715981130; 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=EbHwqyrBSxlaInOgJHXkpBV851gT6eWfUw4RtCMLqkQ=; b=sqBqen+d37B2Lhb9jd8eaB0J4eCQkcx4TYpmK+GgfMpbjjEagcC1MKmUxKseuT8Acz GpTyaWhbYdbltjjDqGib/WNap4VaYCFHvkED8Qe4C7tmRDmoazhNNYQrDRBUbeevKkNl aaefdupOsqLdrM8RnSZf+llM8aTOeokIB7GQTWXfFRACPIDawKdASn8mhZGfYD0DVJiu 1/4aNkcD6XxA9FA0V4kibKpB4wZFXRAXQdQEFtdGF2TD//MdUrCImc31Gdoo6XAayBa1 B4H+NF5U9IF4SZr4J+KPCGSqILSBdciZCp1sUj/RmL0U9HdDVhPuSpFnehug08N4ftJ8 vy2w== X-Forwarded-Encrypted: i=1; AJvYcCW8eTfnsLxepEz4CjEIGg+y0fiAD45vvuk1i8pRuObHr+smSgEni4FdRK180GOx41IIHZHi7JW4JWnWxjjUU1gtnMQmV+fdBwbP X-Gm-Message-State: AOJu0YxYIPYRkiWypFM3m/aQspnjstPLEE8Mi2+lfqKVFRx/JbV2Ovd9 +k44IeY3101PQo4h76iT0V17eyxpeyO4ZeOGD4tlM47ShiWT8L89gdSvOJMqOlo= X-Google-Smtp-Source: AGHT+IEW69BEVO8myOChhepwVIMyAvXTkksrs6sLcKMonG9mCSm10McFQyRA5n6lZJBf+YbxIyRNZA== X-Received: by 2002:a17:903:2443:b0:1ec:b6e2:da8f with SMTP id d9443c01a7336-1eefa03a440mr105945135ad.12.1715376330278; Fri, 10 May 2024 14:25:30 -0700 (PDT) Received: from ghost ([2601:647:5700:6860:629e:3f2:f321:6c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0bf30fddsm36780655ad.136.2024.05.10.14.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 14:25:29 -0700 (PDT) Date: Fri, 10 May 2024 14:25:26 -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> Precedence: bulk X-Mailing-List: linux-doc@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-childcare-outlook-d18e3cc5ccb3@spud> 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. The errors are also offset by one patch. 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. - Charlie