Received: by 2002:a05:7208:31d3:b0:81:e143:7c29 with SMTP id v19csp427376rbd; Fri, 5 Apr 2024 08:32:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVI38k8+g7tRh6Rx3pdu2vgwNormrs4Wf8TnCDSpi1g1g3V2Y7oreHiDtpdvIxzL1dLRTCRwwFf2G3Z7bn1H9rQBu6yxmPJeGsESlsKRA== X-Google-Smtp-Source: AGHT+IGYQUMFEnn3VAFfuX2YNoEQHDgv4pHWSchshDIQbfVlU8MqGLVagkVCl3zz2B0i6vSobClC X-Received: by 2002:a05:6a00:93a3:b0:6ea:d0f3:a152 with SMTP id ka35-20020a056a0093a300b006ead0f3a152mr2026113pfb.26.1712331153873; Fri, 05 Apr 2024 08:32:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712331153; cv=pass; d=google.com; s=arc-20160816; b=m4wWF9JNZ0tdX3rNM9Ul0mYu0ydaZoqsPZq2CiFQWDHiwwc2PbwTEnpAPgcR/ICEqP 0MeDd+Bk11UG+W/vUk+DMzN+YirgmFqf6l6qb1epcZ6dxm8XcGlelKnO0k7lIv72WHHo owe2QnN0Xw/B/UBYIGuy0QKJT0GuyBkCQrqN6sdaIWpubYMPxJh/0pPBuG8qGnjSLu/W Nj6ks6iqUoXtztTDzjpn+q05KwqzNstHNx1V1hoTtzpiZp8dHC4CIW7ioxnnTJ4PCZpG oAR4fe7wEftHS2JUj7lY/RCBAOJxyGIFCU9QrQ/y2X38faoOANFAwtFZJ2+mlBLwEXry 5vaQ== 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=ed5x3XFfsBgZRAt34RC2mOQsGKeyKPo4QsC0c+Fqv3c=; fh=ojWGTxKkYozc71UBDJnPSfLiCSRqSZB7ExumZV85ga0=; b=dRHTcGK3bK/RPS7S82it+0X3QV1/ViRHugumlOtRyTA54m0dCqz8M3Pxy2JUveGDdK Xzqs4vOkXvEI29gqTVQlJ4Avi63eLBJuHdkEZ4Yyn3da6SZ3vLRvy11+Jv/RWkZmB6SE ucmguiSKXDimWk6DjR7dZ0q9VAlQK/jeMdYOwLf2y9BjZUHVaqnXLFdVbXdRE88uDLfD QlO7VpUIcmaTl1UFxocLnxF3nFmTRawFvUkDu8qykrJpkvHYOcCEiVSF42EY4UYA87zJ YvzxGLcsowi6BSBv9fSyos/jdVWNdzPHwQ8w1jVQPC4E+pMZK7Zf0lBDRRPuDXLrPjv6 K3+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="Wm/RTCN1"; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-133236-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133236-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w2-20020a631602000000b005dbe38b2cfdsi1536995pgl.494.2024.04.05.08.32.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 08:32:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133236-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="Wm/RTCN1"; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-133236-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133236-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1CD24B21A33 for ; Fri, 5 Apr 2024 15:26:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59FA416F901; Fri, 5 Apr 2024 15:26:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="Wm/RTCN1" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 8502743170 for ; Fri, 5 Apr 2024 15:26:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712330769; cv=none; b=rdwWaG6fxrENixc6rFUS+iqndTm0AL7YMWsba+b/RRymQjDa2d1yAu5yKNuhvBYy1aJyYToQqhvHWAU4ThyZN/pOtCM6zBogiDiRU/rWE/X0jRWY1guWekJ8casP+39ZSoQ6zVQJbUZY4tXK5XKAqVmXdoEHc9G+XgpX9sYVL0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712330769; c=relaxed/simple; bh=FpZsHScShuiC5TLeSY6xcW0Dmrsa7iCr6rnrwxcP7HE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Kq9mR6fKEpeFVWsQd90yZ9W1H951tYBtwtgptg1/BgpoFZpEArDaKY66pnrAx8UttvPrgNdBGxSP2fD/WNnLl5Na8ybegP2wLth6CPkBe7AZOHyuTITzPeB54MIPjbtl/QrOLYLBmT3JE2HrxdJZ5zN4Kri0Jy3sdHpLj8XtiYI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=Wm/RTCN1; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-565c6cf4819so5982059a12.1 for ; Fri, 05 Apr 2024 08:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1712330766; x=1712935566; 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=ed5x3XFfsBgZRAt34RC2mOQsGKeyKPo4QsC0c+Fqv3c=; b=Wm/RTCN1H4zqI6tvTsI2Y1Wugd3J7bAQpDuRnLw/ck9uBGNWE/VM6C1KxhdQCJuWG7 rKgt9xO8xILvQgnUy5PsfJ/YeEV3Pjsx0Y09VDcOFlG5Atf8KRg6B/nmOO8s2v3xBnh1 ysR+iPvrpO6LzGBdrGMlgXzAwGxWuNPGLNd7xgaOmS83MjcSAqYh+M9hjZTt40oq7B2H PI5F6th+qQIwqdl4Uwp3OPT0z2HH0NINm8PwFP3XltsulFvCu81hyUsUziw7wtiL8hYT Tj/pXavMeoSa883CsU79YKMIqGQ9fln4AjUYl6GnPzi1R8lshp2PuiHtScOK06csT7ig LWwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712330766; x=1712935566; 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=ed5x3XFfsBgZRAt34RC2mOQsGKeyKPo4QsC0c+Fqv3c=; b=t/ACkDvpjF33xOkQ0Ryvarke8O7uC4ve094NWfBO6VtAu3EGhVKPxdwOcSluwSTkl4 39QphUdfnUJuw3f551Wx1wOGQKtV/iPD7p/LFYglNXZuRItBv8XcXP9oXUDPpuVYJsBN dzqBJU3hikYcnet8kYrSr+l9jWiSb21/trH9jBI5AdGrAUieo/xUoAwwioasmYlc5JEx Fn7bzn4Lnx824qlNkmoep2wThDGYLNpxmKJCoFL1TdU6+noMVoCc7HvT0FQU4iBxkMT+ jWupLGrKdzeySZvj4sIygvlTnu75Y9PKOOfIGmBfg2g9cLRmnFf+RtCu5hd1T23VTd1c /4CA== X-Forwarded-Encrypted: i=1; AJvYcCXMJixhcbVqDj0pbbeJB2cSgmjiuQa38IMGsCPeb9YwbF+QR6Oi+ou2B4RUTsHF7e8J6Kd0HlrXAct64TViNu8Cz8fQer71z8O4H4FO X-Gm-Message-State: AOJu0Yxt0PDzUcEAdaUSJSVRK/Xp4Rl5zawTUiZEDEC2japFbnRR9WLP E9u4iIm9g6cCNF+zuM+AROHAkwcEetS93niKlTvj0DwRYML1yax6ew90OEZsNQU= X-Received: by 2002:a17:906:684f:b0:a4e:2dbf:2eb0 with SMTP id a15-20020a170906684f00b00a4e2dbf2eb0mr2301320ejs.38.1712330765762; Fri, 05 Apr 2024 08:26:05 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id gx5-20020a1709068a4500b00a4e579ce949sm950515ejc.51.2024.04.05.08.26.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 08:26:05 -0700 (PDT) Date: Fri, 5 Apr 2024 17:26:04 +0200 From: Andrew Jones To: =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= 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 0/5] Add parsing for Zimop ISA extension Message-ID: <20240405-091c6c174f023d74b434059d@orel> References: <20240404103254.1752834-1-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: <20240404103254.1752834-1-cleger@rivosinc.com> On Thu, Apr 04, 2024 at 12:32:46PM +0200, Cl?ment L?ger wrote: > The Zimop ISA extension was ratified recently. This series adds support > for parsing it from riscv,isa, hwprobe export and kvm support for > Guest/VM. I'm not sure we need this. Zimop by itself isn't useful, so I don't know if we need to advertise it at all. When an extension comes along that redefines some MOPs, then we'll advertise that extension, but the fact Zimop is used for that extension is really just an implementation detail. Thanks, drew > > Cl?ment L?ger (5): > dt-bindings: riscv: add Zimop ISA extension description > riscv: add ISA extension parsing for Zimop > riscv: hwprobe: export Zimop ISA extension > RISC-V: KVM: Allow Zimop extension for Guest/VM > KVM: riscv: selftests: Add Zimop extension to get-reg-list test > > Documentation/arch/riscv/hwprobe.rst | 4 ++++ > Documentation/devicetree/bindings/riscv/extensions.yaml | 5 +++++ > arch/riscv/include/asm/hwcap.h | 1 + > arch/riscv/include/uapi/asm/hwprobe.h | 1 + > arch/riscv/include/uapi/asm/kvm.h | 1 + > arch/riscv/kernel/cpufeature.c | 1 + > arch/riscv/kernel/sys_hwprobe.c | 1 + > arch/riscv/kvm/vcpu_onereg.c | 2 ++ > tools/testing/selftests/kvm/riscv/get-reg-list.c | 4 ++++ > 9 files changed, 20 insertions(+) > > -- > 2.43.0 > > > -- > kvm-riscv mailing list > kvm-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kvm-riscv