Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1342943lqb; Thu, 30 May 2024 07:38:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV46jOAQq0PWv/zGHQHLtrhJ/dwkq+A4bPl5Am9qWoecu2U2hKojn46M8rLGiLVdA41vkHWyC4qbDDjFv5euT8oAopaTyWEBcPQyDcKWQ== X-Google-Smtp-Source: AGHT+IGlMpjN47y0ee5PHR/kfzm+iiF7sedJH9tgDK8Hpmkp2wUUIp27uoyohMY4JNbexsi8ZrxL X-Received: by 2002:ac2:443c:0:b0:516:d232:2516 with SMTP id 2adb3069b0e04-52b7d419b28mr1901032e87.6.1717079881124; Thu, 30 May 2024 07:38:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717079881; cv=pass; d=google.com; s=arc-20160816; b=o0v5TRJs3M2nLMixy2h0UbqQ0VcfflbnQXeCAFJYxD1WppN9I3dTaIIFL9In5NTCPV ca8QbYxKH2HOhY9YB357cM0L4V7YGKK3ne/pMl+QTE0VCyo/UM5iWjSFDaIvjA5MfnvJ 1CoTKRpmEciPR7/E9FTiIVJVjJE8etDJmZiTbeKAkejJy2EG4X6Pdx5A2Rwv0M1rKzuJ U/NtUg862eKllaJ7RQHo2jjYEQZeKk3waTfhNrQ8aybux1tLT6jG4qcWHGlQ5hpj26RF pQoUG8k0+Cgn3q70on81I7jyD79hLrWtSzKXlUVeQLkS2GNJ8B7Ge7JMFGp9yK6iWWMP ReyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Dr7MGcIZCht+4Sl3Mt64k5vSbdLUfxkiP98jMWV/Dt8=; fh=IBvkZbVUdLbcOtu+34y8iQLLoIfMg3amIkvODLlK9ho=; b=ZmI6Ryk/CDZErhkFYG3TCiAdTq/uyjL9byx1RR+h0T1O+KwoSLtgaenmlzFgR2IJOb Vy9MAarWC/rdAvkVgvjaE47SkF+wU2eiG9KtcARPBhyfY0jmut59AnLqrBcqZdTL1eRH tAD0xOXphTtveHSf1t3f3CerYHlGTxcz1pOKYKjjZYVFCIJOr4bL2SG37H9UG+zutWgv LQpjeZet7B1V/M2XwTuzLoqhrYT46558sHBtShW88Yxb9IBtBwNk7jTnBY8Nkn+brVUV +GSAq2wcRCyBXIDhyndqPnM7klU/T6xiZCly40vCH+ET8S3mkEtZfgN0oMXuP/oZveoz vXZg==; 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="XNpmgt/O"; 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-195531-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195531-linux.lists.archive=gmail.com@vger.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-a66bc720db5si30736066b.16.2024.05.30.07.38.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 07:38:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195531-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=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="XNpmgt/O"; 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-195531-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195531-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2EACA1F244A5 for ; Thu, 30 May 2024 14:37:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF3B517C239; Thu, 30 May 2024 14:37:43 +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="XNpmgt/O" Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (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 11967186E57 for ; Thu, 30 May 2024 14:37:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717079862; cv=none; b=N59uEBboD74HqwtBgHAUpwRKdYvEsYbB9DfuIOzTORB+UDFiM9VCVBvG7npTZeCTx/RVcEyA8U+NjRU9li8UCP7ngryBFabu0vrj/er/66DtY7Hb4FpAeI1Zp736ekzx3SQi0hZulOwwn3U0yFHLXLzrJJ2nZUg1wmECDyo9wvU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717079862; c=relaxed/simple; bh=U3LbKVgqL/u1hQeuo5yC32Kn/VinvVfWfYKY8hhTfFI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i6CXD6isbdgiQrlSNcsHyOBwcV3KzSqmjKOFO6pWfYUOHtlLwF8fOehJKioUNjrrwZ+mvQ8HrTZRf5m1zwrFIURxxdDpzZzLE08tJgJYhIEyzk7Bm4kcUPi8VtWwA4FHdVeccWycXPw4WrWM3hwiGQ/JboxejZOnmYeqv0MwEwg= 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=XNpmgt/O; arc=none smtp.client-ip=209.85.214.179 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-f179.google.com with SMTP id d9443c01a7336-1f480624d04so8774105ad.2 for ; Thu, 30 May 2024 07:37:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1717079860; x=1717684660; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Dr7MGcIZCht+4Sl3Mt64k5vSbdLUfxkiP98jMWV/Dt8=; b=XNpmgt/OCJUPuhZl+INdzQay53hz0AM0dPZfBA7y6E0fMenHxBAnyL63Q+sO5YHZ0c N13gj8ia4eCgTy42l1C/c0/qJnzE/p2bZ+PktrFA5bmpTmKG4pris905n5c/cvx1T5Qq aDZbrBT9r5d6/r4yWEO0rAgmlwMXFXrjFEuQD1/sQiu2pROLCVrDPGraSJTdnWuNAM/M jC1UJJZfLLLmRj1f2Y3cCdRrkVpM9Mu3VlrvGyuBWIFhDeYI80Dhgtg/NcpnrrOGzYlH fwkwj+DeS/UQ6q/NA6+pa7NIzjRGOdXxhbHUh2C645X+cozIdbI6QgL6lrIbVzKRWsHq 1Fig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717079860; x=1717684660; h=in-reply-to:content-transfer-encoding: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=Dr7MGcIZCht+4Sl3Mt64k5vSbdLUfxkiP98jMWV/Dt8=; b=wdq3JzShdpo1IMWPJWNxGWLBrv6HNqgQ/fueyQBBmuktjbO8lR9aINCI7REp+BJXUY w8yNjSPSZ6vwnNOYtUR2ZrcH3/31KhgToeYltY9wg7fxkmeUei2mBjW7sY+RRXIlw6DZ RSakt9nFwO4VqX/neKurQGUb66ykEX3mE5xUDZuwhpfTnAKIFbdVtWEp+kqRi9D9Atp+ yoe6LymGoyf4iBxP2UR8pyQPuQuCUAbza7Eq4yPYBLF8OEnkP2lDJ8Zlhq9HKVm4AG5T GpEpeSb6Oyj+FPGw9lpkdCNovGiIYjaQWJU/eKzUizAwezpY8smzHacPxSEnmOekYned Bg4w== X-Forwarded-Encrypted: i=1; AJvYcCXlGSIQdO3FqQZneZjIZ08HwA2KlEWFi1PRZl1gnIGRmWNLp9tjFAHK27vyPyHKRf0JWMtkC8c7U4rd+S99Zi/sPJGuIO/lc9NWSA/S X-Gm-Message-State: AOJu0YyEw2yHz5yDQUV3EwsC3EIdNqE4HmXM39yQ6AHgzLH5OlseXOL3 ooJYN62KOUb5vIkIvVMmfm9Fzh6hQZVXOz46TnJLOd6MVFq+eCbJxU7dWAa2uck= X-Received: by 2002:a17:903:2307:b0:1f4:98f4:4763 with SMTP id d9443c01a7336-1f619932a97mr28337145ad.53.1717079860232; Thu, 30 May 2024 07:37:40 -0700 (PDT) Received: from ghost (mobile-166-137-160-039.mycingular.net. [166.137.160.39]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f466d30277sm103103765ad.63.2024.05.30.07.37.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 07:37:39 -0700 (PDT) Date: Thu, 30 May 2024 07:37:35 -0700 From: Charlie Jenkins To: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= Cc: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Anup Patel , Shuah Khan , Atish Patra , linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v5 02/16] riscv: add ISA extension parsing for Zimop Message-ID: References: <20240517145302.971019-1-cleger@rivosinc.com> <20240517145302.971019-3-cleger@rivosinc.com> <4d23f17e-cc1e-45e3-9ca2-a884baacf207@rivosinc.com> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4d23f17e-cc1e-45e3-9ca2-a884baacf207@rivosinc.com> On Thu, May 30, 2024 at 10:12:39AM +0200, Cl?ment L?ger wrote: > > > On 30/05/2024 00:21, Charlie Jenkins wrote: > > On Wed, May 29, 2024 at 03:08:39PM -0700, Charlie Jenkins wrote: > >> On Fri, May 17, 2024 at 04:52:42PM +0200, Cl?ment L?ger wrote: > >>> Add parsing for Zimop ISA extension which was ratified in commit > >>> 58220614a5f of the riscv-isa-manual. > >>> > >>> Signed-off-by: Cl?ment L?ger > >>> --- > >>> arch/riscv/include/asm/hwcap.h | 1 + > >>> arch/riscv/kernel/cpufeature.c | 1 + > >>> 2 files changed, 2 insertions(+) > >>> > >>> diff --git a/arch/riscv/include/asm/hwcap.h b/arch/riscv/include/asm/hwcap.h > >>> index 1f2d2599c655..b1896dade74c 100644 > >>> --- a/arch/riscv/include/asm/hwcap.h > >>> +++ b/arch/riscv/include/asm/hwcap.h > >>> @@ -80,6 +80,7 @@ > >>> #define RISCV_ISA_EXT_ZFA 71 > >>> #define RISCV_ISA_EXT_ZTSO 72 > >>> #define RISCV_ISA_EXT_ZACAS 73 > >>> +#define RISCV_ISA_EXT_ZIMOP 74 > >> > >> Since my changes for removing xandespmu haven't landed here yet I think > >> you should keep RISCV_ISA_EXT_XANDESPMU in the diff here and make > >> RISCV_ISA_EXT_ZIMOP have a key of 75. Palmer can probably resolve the > >> conflicting keys when these two series are merged. > >> > >> - Charlie > > > > I missed that other patches in this series were based off my > > xtheadvector changes. It's not in the cover letter that there is a > > dependency though. What do you need from that series for this series to > > work? > > Hey Charlie, I'm not based directly on any of your series, but on > riscv/for-next which probably already contains your patches. > > Cl?ment There was some churn here so I didn't expect those to be merged, it looks like a subset of the patches were added to riscv/for-next, sorry for the confusion! Reviewed-by: Charlie Jenkins > > > > > - Charlie > > > >> > >>> > >>> #define RISCV_ISA_EXT_XLINUXENVCFG 127 > >>> > >>> diff --git a/arch/riscv/kernel/cpufeature.c b/arch/riscv/kernel/cpufeature.c > >>> index 2993318b8ea2..41f8ae22e7a0 100644 > >>> --- a/arch/riscv/kernel/cpufeature.c > >>> +++ b/arch/riscv/kernel/cpufeature.c > >>> @@ -241,6 +241,7 @@ const struct riscv_isa_ext_data riscv_isa_ext[] = { > >>> __RISCV_ISA_EXT_DATA(zihintntl, RISCV_ISA_EXT_ZIHINTNTL), > >>> __RISCV_ISA_EXT_DATA(zihintpause, RISCV_ISA_EXT_ZIHINTPAUSE), > >>> __RISCV_ISA_EXT_DATA(zihpm, RISCV_ISA_EXT_ZIHPM), > >>> + __RISCV_ISA_EXT_DATA(zimop, RISCV_ISA_EXT_ZIMOP), > >>> __RISCV_ISA_EXT_DATA(zacas, RISCV_ISA_EXT_ZACAS), > >>> __RISCV_ISA_EXT_DATA(zfa, RISCV_ISA_EXT_ZFA), > >>> __RISCV_ISA_EXT_DATA(zfh, RISCV_ISA_EXT_ZFH), > >>> -- > >>> 2.43.0 > >>> > >>> > >>> _______________________________________________ > >>> linux-riscv mailing list > >>> linux-riscv@lists.infradead.org > >>> http://lists.infradead.org/mailman/listinfo/linux-riscv > >>