Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp930459lqb; Wed, 29 May 2024 15:21:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5OkPVbnkviJDQw7zLpWO958ioD8z6u4mrDEkh8NmNTi8IXzyOgLW24O1YZRRTtfRG4rKp0gRx3t2uPa/bNAnvfng0W0YBZ3xc0notQA== X-Google-Smtp-Source: AGHT+IH321LzbKgeHTpAejGpj3Qb/LmhFIep+bKvhylOA031rAkeB4Y8ZXCq5eyJ/ULh9SdjUMuw X-Received: by 2002:a05:6122:4109:b0:4d3:3846:73bb with SMTP id 71dfb90a1353d-4eaf21af29emr563742e0c.7.1717021288510; Wed, 29 May 2024 15:21:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717021288; cv=pass; d=google.com; s=arc-20160816; b=uc5EwZjrxWFhfY0+mz6DJxZjCWmV3p11Oq/OTgkkAEkzArAgFPTBoxhfWGWN9mlA7n y9qNDBUvcxZpofXtvY5zrRrund0ijs+mEESdyxKpZ9yZ06MIJBv9lnNHGpSfUJ0I1xeY kEmVmPwRxSm9KseXEafkxcAshtef62Knol0bAG7eCpVR/AxaipX6WJF7Lu4d1jbnV/b9 yKC7CKfRhzKfTqedvNw2qPfktusRRGdrWU+FHcwZ7lVtqjwWwPPM6LeRzVXBKXshcDsB doJ0i/QCApeomkpa/iT5WWo/da/ChMlo04tcZz4R3B95ZaC94tD2iqbz4bzsD+ikJwxZ pCew== 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=+33JepHINIVhbAh8qOzaJpAIf0uqs6BRQtkDENj6cbg=; fh=l6aUZZNV+as2CJ+5oSB2JNVKowoFO0XtGDOwleIJdxw=; b=PmA1LEyyzAnA7KDZ8/v4Tb0at3tFshJBjhXnLFNvNFH8ctsUEPmdBF2uGyG35y4+nc zwE5k7teeIN5/nuGIQ52VhzfxuZ8r4cW/8oQdQPjHq/5dHs6tkyo+Fq8+Sl9oU4PRyZp X4c5w1wha4E8yeMj2JWXsB17aG/W9UVw34ZbITMFC6gKDMJfCWVOhmbxsLFLvj5KYChl /uXQ4YMVhJoHGuWF5l9HDY0FbBUfLYqrfk3qxC1MgRuJ0pM73AeMoNdKJhpuhn9B3Gnx 3N3CG+EwG4whXrPsZ2EnpmsMXj2rp4MfhEx7u9MiIeINKqUliMGyQiZLVBQvSAlQ+TLt LywQ==; 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=cSzXdvnF; 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-194742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194742-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 af79cd13be357-794abcc66d0si1349198385a.188.2024.05.29.15.21.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 15:21:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194742-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=cSzXdvnF; 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-194742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194742-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 24BDB1C214DF for ; Wed, 29 May 2024 22:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2059316E89C; Wed, 29 May 2024 22:21:16 +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="cSzXdvnF" Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 48A5E15B11E for ; Wed, 29 May 2024 22:21:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717021275; cv=none; b=rKuP35taliQ7wnEYLdNYvv1wVxjHVHsuV52aYVZK2w1lANKXug95HuDdJ0mgGFOhV5/848fZn2kH7Jpvfqa/+BIttpG7BDLN0qtb2kgyIKyDK5FckDhs47+3QSE9l17S0L31UFjRpH3KAjWW4a772g6xAUFkq3duZURG6Ff/jcA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717021275; c=relaxed/simple; bh=4BJG6CuqZgaW7Arz6k1E8rNnqlKsn97Py6v+FY/aJtA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bHG9MYc5RsCw1F59jmSCaQ+cikrmC1H6zchYjv8eVLj+8Vxzf/Btd2jJf0H9Ek6NQ8M9/daGR2hH5U227ovcTggKhcAtmFiaYPrH2gpcSEhcOxc0gsHQvIsx+A8IKvEh/FiVgna+U2dXNyRGvHT28kJJezNty39RXiagyQCqdE8= 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=cSzXdvnF; arc=none smtp.client-ip=209.85.210.173 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-pf1-f173.google.com with SMTP id d2e1a72fcca58-70224f928edso292612b3a.0 for ; Wed, 29 May 2024 15:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1717021272; x=1717626072; 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=+33JepHINIVhbAh8qOzaJpAIf0uqs6BRQtkDENj6cbg=; b=cSzXdvnFbNAmqiliopKvnovDFLaoz8KmRb1PMiKqHImXns8EZcFEwCzU3031QdB8/Y RYJRMcTW9C3q0LfjiHxODmSXGVQXR9+Ko10oNaY1H3x3PpTa0NtZlm96/prK1eQytXrR XpcVSEvWVfLuZC1zECQj4Zhvy2npmAFdWdEOLyCfOGRQ0M4L6NyqSx4LfEsFl7PBiG/Z asiL9AsOXNQzM4NIzqmV3VJpv3yaldEJzDrLkF/u4aO0dRImHT/CixgZBU2S3Pk63jU6 wEErUESGP31rxhPzSp2Vmt0Qlt122kEjdVZVPnkOJQ2n0l9f8k+Ob2m5MCrPtc+aRsBq lATg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717021272; x=1717626072; 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=+33JepHINIVhbAh8qOzaJpAIf0uqs6BRQtkDENj6cbg=; b=P+Y/QKRfsi0v168NXIxnxK5NuQRgKGDjklpGUhKQI3ClMMC2szJpvHALqCIvTb521Q MfigSdweJHu+FQ14HUd5NUz2OcuK62YvP1r0F3GhiNm72Los8EP083ENIRMFr71XNzQx oNhgAfO8PL5UrUIK57nwtt4DqJ5AGQ1uK+Alg2Ek3MHDACz9QkeqcQRc13TyGY3jcPg0 HGO2/Ju16goHUv7mMdhJM9PVeWrWWW/dqost4GLqBZyc79OV7rrhJsioG8io5O3fiOaI v3jcCUooVWnG/XY1X2qk7o2bAaTI0JpN/IKJ0za+lajx59jBQ7awu3pQAi/EONNXVda6 Yaog== X-Forwarded-Encrypted: i=1; AJvYcCXwf4FMmICPsQBoU6CuPK+tGjIVIA94OHrmrSF8rGY4tDNL7ZeVcvYCtgsZVAZASlU+jCPiwQHUFFSBCTrLlahQaHggQLLB2oAEZe5x X-Gm-Message-State: AOJu0Yyp/j/yIYckCk9KSOa3/dLRtN7MCMajolM9RVd7IzFFDUgVxiTx 8M356kqWu9+OoPz1JvyIcpBUsiPJodnijl4WbfsxQXtu2WzkbY5tZEhCnPLY288= X-Received: by 2002:a05:6a20:5651:b0:1b1:e35f:3eeb with SMTP id adf61e73a8af0-1b26460d454mr361563637.46.1717021272535; Wed, 29 May 2024 15:21:12 -0700 (PDT) Received: from ghost ([2601:647:5700:6860:32f9:8d5b:110a:1952]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7022ca54847sm533889b3a.183.2024.05.29.15.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 15:21:11 -0700 (PDT) Date: Wed, 29 May 2024 15:21:09 -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> 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: 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? - 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 >