Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp178510lqe; Thu, 4 Apr 2024 03:34:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/8NfBz4PDCnxe2J+qWKpym0QS6UjosB/gqPHvNNBkSw9owNBwMa1u7hWVLlli838US+y322kQE1gIIhYQ+X4fpZA/3Fqit6HUOORyMA== X-Google-Smtp-Source: AGHT+IGAkvcfB0xMVrX1sf3ctfaHPKaBVegQCHSEhuXuIE1354LnCxn4Aa4wlvhXRIhZDsSN1/76 X-Received: by 2002:a17:903:2305:b0:1de:de58:2a55 with SMTP id d5-20020a170903230500b001dede582a55mr1878345plh.26.1712226896853; Thu, 04 Apr 2024 03:34:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712226896; cv=pass; d=google.com; s=arc-20160816; b=c/uJXOfPY8Ye8kqpI3kc3WX+njOcUVDOtrYsHc+dLE6Zd4CeB9IaX1AeQ2aHlyaZ3j DCg/J5t7djM9xEC8UFKuOss4eCWUagC8MLvZ8zMH4wI7mVy374WUKbomTwuCXR6skQKI ylzhster1F8fLxJCJRoqK3LP6c1HEwxyl99EACzsL1lStjApd6mn8qSN1jrrSDMSEymS GyVxrcxUqH5RBspX/dvYWXURDZ25Q+haLQhyZLUGVUA/aVWOVXs6VgOoMllyiMyFjhxx G7IHZrdOHLweu0BxnvM0LYN/2NR9SXoT5vUFWOvZl7dOwoBOG8LESKGrWOyHOX84bIAW EgMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=h0yWpEBMuRREaN4Rfpr4/p3Cbe2kX6z7SdkYvYffV00=; fh=CWgut0idSrIOR3/ApmgFybK+8BjRsT97UZn6ke3R7tI=; b=F1AEv8BV4eD47r8HyrRJL+l3ifTPijEXjmN93Q+EajOBx9uLAtmer5lyVJVBhOgbOH 2AjPu2vr3jtse7bDUSdVEdQcVW+pRu8/K7MS5n85r7GbFggja4EYuQ8pLZ+O9MRmNb0E Ncp/Zkb8LkPyYys/aaKmBvCPqgWmmiojXvI4385MRbYIM5djkprA3MHdmZmGmeGHoQqz rTLwuUkKdSeB8kgGfNwV0AZvPHwA8Y6YPNHCLIjl8s0ZornK+epnqQtYrb3EReZvgWqs 6TQLIAWnHoon87/sncfjveZnKYpEtlVXmW4ChXgrK/MeTQr4a9gzdTM5Wmb2nXVB88uW 5Arw==; 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="m9/oW3Kj"; 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-131241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131241-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d15-20020a170903230f00b001e23d4b762asi11882559plh.389.2024.04.04.03.34.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 03:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="m9/oW3Kj"; 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-131241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131241-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 09E59287E24 for ; Thu, 4 Apr 2024 10:34:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08C587FBD2; Thu, 4 Apr 2024 10:34:28 +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="m9/oW3Kj" Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.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 C631A74E10 for ; Thu, 4 Apr 2024 10:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712226867; cv=none; b=jx/2LB0C7++NQ+BHQ380DBWrnDbLSq7/+LScIE618EBjDFHI8zIVi8KlpHXU+7Yn3m7ZMFsSGjhQF9VoAdZ/Oa435vg7DTf7k3E2px8ad77Zmf8UTuoXLYVXDfCyIXN37hxV5rbb0YeP1lGvNnzk7dwfJuAvz6Eq/fL7RqJedAk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712226867; c=relaxed/simple; bh=2/q4jfOj6U1einCYXJdHvK78eAQ3vHaYbSRzBTdpsBA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=OWS5a7Fk2WrZ2QsP2D6g5EAmoOugBkUNqOD+D87hz7pwSce76rMqc5ZWsUSVQuw8zgRqfkhWmUgyLbnoRmKWYsgGw7ta9OPvV7SXKROBxKbjAz12+qIXVE32oiQmE9afgDb6XLcQ1NFvsI6YIHz3JpvJeXkkJg1QYRdfR3ukZOA= 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=m9/oW3Kj; arc=none smtp.client-ip=209.85.208.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 Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d82422d202so1477261fa.0 for ; Thu, 04 Apr 2024 03:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1712226863; x=1712831663; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=h0yWpEBMuRREaN4Rfpr4/p3Cbe2kX6z7SdkYvYffV00=; b=m9/oW3KjpOr27N9nfPPmNzaCEB8cK9KH3zQA+Xy7uidbef5hRIvmfyD1u9Y06YStT+ BzPXWgetDznouQS8INkOz2wS91EWVtiApc5C1/l5PhRXvJhKI4+/+kX2gqDhpRIJrIi5 HUeipZ+CFkuPtDzHlw5I4YWsYBMydVUwnJ7UKmE4RH4HjmQIw3TDdx0uXM5vnB8NA+fv nT1CCzOP+mdWKaAxpx6Wo5GWFhLq/TeKDcxbUXNkhuR/f5k8Iwa/RQKndW1+aKlQ6Uum DkdXKyrZ14urAGlK7qL+nAvTTf8kZEwT+BF5nAlk8WypzhpmTcwnHa4bBu477jftqZfc ZArA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712226863; x=1712831663; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h0yWpEBMuRREaN4Rfpr4/p3Cbe2kX6z7SdkYvYffV00=; b=eus3i/pNxdAl7T4HspoBsrsIqyO88P2q980PncmbmDBE6JkVrBlhEyW4MAB0IUWmmi ygNBEvLVFd9XLurpcEgFObsTJkoncymyDN+mQ0MYqdfqo2hVygsH3PW9XanfxA7HH2Y9 U01WhZpBYWhRwKwo13F3spalXyjSugQeubAyILGcTgbvfnmUyXMs80JTbZqz0DrgyB1x DtP3+Xq4XiGj43VCVDojgqV4mi0W2oJ4GIPM74dg51SVf2UhKtS0zk/Ign+seZBXpTpR K/hqjnhWDXq51e+XlSfZcvfHUP6QUspi5GwqsGtj60YnK7kXdrmap4/IuKheihQGa+bX L6Cw== X-Forwarded-Encrypted: i=1; AJvYcCXFFi7V03HshoY/prEttlrR0kuGyBoFMnSl8SiGQcGWaJmeI2hCCQOKfPsd/wDp90+hbcEe3DceCt7uTXi+grN4AJQm66A5Jd/aYPlF X-Gm-Message-State: AOJu0YzCZ0JlN+KQzF8BZklwe8llygvfaL+vHRQ/CP9nWrmioqDSaxZT xOaPU0paRepdeVJwz/sT1XSQ/kpKxHf4lB8s9QMHf/S1HMkRQDwkVecM7uLs7/U= X-Received: by 2002:a2e:99cf:0:b0:2d6:c59e:37bd with SMTP id l15-20020a2e99cf000000b002d6c59e37bdmr1469136ljj.3.1712226862690; Thu, 04 Apr 2024 03:34:22 -0700 (PDT) Received: from carbon-x1.. ([2a01:e0a:999:a3a0:555b:1d2e:132d:dd32]) by smtp.gmail.com with ESMTPSA id ju8-20020a05600c56c800b00416253a0dbdsm2171340wmb.36.2024.04.04.03.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 03:34:22 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Anup Patel , Shuah Khan Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , 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: [PATCH 0/5] Add parsing for Zimop ISA extension Date: Thu, 4 Apr 2024 12:32:46 +0200 Message-ID: <20240404103254.1752834-1-cleger@rivosinc.com> X-Mailer: git-send-email 2.43.0 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=UTF-8 Content-Transfer-Encoding: 8bit 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. 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