Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp765210lqo; Fri, 10 May 2024 14:25:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXcF8w5DoxtYYqb2ycxLrr8a4wSQIKgCVEeqxK6XvDv9G4O2Cnv7e/md7cWUn98Jsha/5gBR70pNOPJnW2IkrB8yt4/oXjIT99iAHAY4Q== X-Google-Smtp-Source: AGHT+IFBvpUghDkPTKPOgCeSBeulwwM25VB7dd7cVGw/x9X+k9dkQOKTAfZvxWmkf6SVcYT5cwQe X-Received: by 2002:a05:622a:1aa9:b0:437:b7bd:368a with SMTP id d75a77b69052e-43dec074ac9mr118105371cf.19.1715376355060; Fri, 10 May 2024 14:25:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715376355; cv=pass; d=google.com; s=arc-20160816; b=BAMYn9rxt6mPaai1x5P0fhPIEmhwlEviVeDFaXcb6homEbZO7x03R0D456a/Gq6qL4 bJsUkYq72JoHkMj2g4w/5YoDCzQtJmiNC6/YqyfRyTbXazSnX21jJSrxNRJjOMOiuF0u m/D2VU+U3hjkyBNAO2DzZCHPu0GdMnDxMMbpTg6RLbdBkzwM5j9+LPb+to5JH4Llt8EO nKR4fP/6iDoXyCahLMzBLCXUdfatHzSYx1nr7loUYv2NLJbBEjTffrTlWj2xs8QecNWe L8r6XQJvS4GWpfu39AU6GQNiIiBz0pjYmj4crzmKRE54umnY+F3JDZFMXdmsdoc3tEG2 w2NQ== 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=EbHwqyrBSxlaInOgJHXkpBV851gT6eWfUw4RtCMLqkQ=; fh=wn1tbrcWp0Dji09oIv+3UO9Tltdhs+dsjIFnEWXR5ho=; b=m+H3gBDkhpt2orC4jLY752rG7cnBM0gr96XkNodbwaPMCWKkNkDUMCrIZPFvIaFOPS g7RvPwjhL43cvhg49LoQw8rmUr4YG/ZBZzv3g2uOn+Q/zls9iNT6y7oV2vpLcjKcmJEo 2FJ0q6lPgh4cQoX+fERrWsr1xQjV+lUFwIRk+t5sHKaW2/fQnt2sSEqX1MeiSmvicaB0 KEJvDvN/S+q84EdsLixJfZsf9EtTFMPmCajamULZLSRWdwQQ5XVmSPzcLKThEM+N7OSr dshiZa9ODpVNLuDekyeFrSTmBN4y9wALDVMojp6DlKoxyGaFcO/rNh6RU6KN0mnjk3xm XEyw==; 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="G9n/uCfg"; 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-176231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176231-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df54a1186si49097701cf.82.2024.05.10.14.25.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 14:25:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="G9n/uCfg"; 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-176231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176231-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 B81881C2190F for ; Fri, 10 May 2024 21:25:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3C6C13BAD1; Fri, 10 May 2024 21:25:33 +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="G9n/uCfg" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 A225F13B590 for ; Fri, 10 May 2024 21:25:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715376333; cv=none; b=n6HnDtx/xr71H/rZ16wHX4uZfbb2B3L5hV0jdvAkBshfrLkhq4u6Vj93muES94UzfDJAWOaFni/spkHUGsDhKjYO4BEKI8qEEL0Nr84hJ2ldQMmXvBmkVZ3RYBL1M4LqmjRnfp79gEIaHSoODqCQr6g1UCvo/Nq6TUGNH3Me1OI= 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.175 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-f175.google.com with SMTP id d9443c01a7336-1ecd9a81966so25645875ad.0 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=hqcn/IVtmRjhcB3+Y1QziEojCTyvkrCZWIjh3BvelX89f8GZNQVJOlqdTUvjR8Qi8Y 2F3ayei1ORF02uDBin8onX+xtEDZqh/SAVoG+Mp2zTJVbV3soQ5rl0M+umWnlIylEBpZ sgGLxHCql0RX0qobLY9EnzhyJg8fqlJY6Kyt2ZNoFkyyIxJypcwyfj5kN4Q7SivwuzdV OR8qUYpK4D9W8LBDpm+c0SXDjQfDChYIDrVc7d9n7Jm0ph0TWbDpGYLzWWoA6p07F2xY hATYszh9yGuQhLN4bWSyD+jVVxG/s6+yGKYpsNCywUXYKYGHcErJk7pozC9Wpz3kLLkh 2mhg== X-Forwarded-Encrypted: i=1; AJvYcCVezrpA3zOKQcEcI82UTXHyaeo+ZAu9g4cdlu+9wtx1jcGbB03rABaJQfHi7wg1WS22rm0DQhZ1mX7Yfzh1gqIFDKm9XcVchl+tlK3z X-Gm-Message-State: AOJu0YxMOOSIpbn6dmt3EGdSzY391xnF3VYskOJxL2cV+lasXN8QWLsl 0VHXrcs4KKJ4qKdFmKv8QWOudyUJkDVmEyMipUHZuDI2PQkHRgdYUTCpJhba8f0= 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-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-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