Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5250116rdb; Wed, 13 Dec 2023 03:34:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IERMD5ShNNW4zObrbCmpiipAhaWWaBS+J9nRJR96RuNsxS+hDHBrQZUi7BrsjEzfbbamoJF X-Received: by 2002:a17:90b:33cb:b0:286:7529:3598 with SMTP id lk11-20020a17090b33cb00b0028675293598mr9906319pjb.13.1702467260633; Wed, 13 Dec 2023 03:34:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702467260; cv=none; d=google.com; s=arc-20160816; b=FEKiLWeMdK1yuEfjZQutanf67GNnQObAtFWYW6wAjClFzsieRHFHRc2EeaeEEJrk4n 2sz4dER9F+bqYqVLPu2Ypw1xcZVyvbRmECnTHLl7NhpdNyIkF/xIssnFxOR+6Pd78waV kSVhdE8QRjPSNzLM1Bgf9eKWaYGaRCQhm+cphbAA+shuOEhZwVw0K/Z2J8bmqliRgB+5 5iYQf1n11pW3bmVde+j8HmuhZzCadWbe8uKEUDLm9DtHbZoZu8EN02XwMCNUyIuh4bL7 jF5qGAvhfsFHm6DytfBzZfzfecCqKfxVtwBfi6VPj0AFWJzuPojgN9/+pH2R1nmTwRsL oeqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1Atjvu7OpzxGHnkPKQqqXLCnjWBuSkCnCszNZgaSB4s=; fh=xetE2tvUj4KVv4Y1ULtLdPNUjx3CE50rVjiyrCzTN7A=; b=g95yH+f9hl2KB0HF9MOSFeogEnZgOpqe7bCulYTUKcdzmYvR9Wv9TIs1G5PuMhUBGL GDVF4WGQa8mH8Gx+FLbybF9AfH20PpCHEf/rX4P7itWb8t40jn6P+XCDakKydSbpTooH KXbUYNUktL13lwpvJ17USL88ZxK2cS6rhIXjyyC6hUro4OWKDyu2gfzCXTbhm/4/Y1ac AJQAegor4KchLJ/KInBJsfPXNBSaUP8dO+FvScQo6JagiXx54+T6xuyqkkT41jHRRazq hu0QmKX4ZKbQ98Kel8iit2GB+7qRVmv8e7jNglcpLaA7cy0lpT+sm+U7nYpQ+MEtVans i81A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=OSKnrqJg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id pg16-20020a17090b1e1000b0028aee4967a0si381260pjb.142.2023.12.13.03.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 03:34:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=OSKnrqJg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A860F8181BB4; Wed, 13 Dec 2023 03:34:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377672AbjLMLdf (ORCPT + 99 others); Wed, 13 Dec 2023 06:33:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377779AbjLMLdb (ORCPT ); Wed, 13 Dec 2023 06:33:31 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9B89112 for ; Wed, 13 Dec 2023 03:33:13 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50bcf41379bso1878978e87.1 for ; Wed, 13 Dec 2023 03:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1702467192; x=1703071992; 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=1Atjvu7OpzxGHnkPKQqqXLCnjWBuSkCnCszNZgaSB4s=; b=OSKnrqJgH19YrIIAPWS75xo34p2ioAIwMXE+I1DXvozttVQeL0NALcKpVnB1nsEAQc 7HOQLQu5x2l0H645yjf3zWYf1bLCKZwY//8v2Yky7K+SkS0RvaUhljcyjxxTz0jVBfAT bJAW1caZFxTy+XcJaAYxoUyuw4QAkNTFokCZCS0DphgUTKVcdgvv/jh9ENWpgfvyRRXB 5mfic6L9olBpaI8mropePCVLkiryylGnlIbdwrzubn9iCKFpXLybpkVsUtq4ADOyECyh BeMkLluuxBtss233mxpLUiIgQGmbZgisugGpVNISjYAPzEVOlam0+eVGyuE8ctTfOQcm PRUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702467192; x=1703071992; 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=1Atjvu7OpzxGHnkPKQqqXLCnjWBuSkCnCszNZgaSB4s=; b=RTUrtjcbxUEgOdVHbJHL2ejoIg5rGWxtFzpq/nQS7Gkbe1piRjc7BK7jtbAGOyIiul nVaYf8RkRLPZD9BLpbzz0qFUeZerYl5wBby6065QSCNL8b50kq1eXlv96vvla/uiolSU zXu4vDn8Ri9ShOOLbzg+B5/eYu6EHAt+/FGIJD22hlWqV464cq/qOopa2717vAOWz537 Yb5o1W6XZSrE7tjaAlYTNEQhdEucZGzDrwglB+LSzN/SXZCT0XNb2ZSG7sT6iDQkxVST hMVmjI51nv/AFhBVzo17tqUJxELU+pWBrnT8TdnWUItj583hdBrM0BFPqqO5trAxm3l/ HpdQ== X-Gm-Message-State: AOJu0YxoDqTNjhdj7Rhtw7jOpHWbpk+47gg8fnW+wkp4b4piF10RBIwe MBLhiDyVOHfefTceD1DIvmIIaw== X-Received: by 2002:a05:651c:211e:b0:2c9:e7cb:fe8e with SMTP id a30-20020a05651c211e00b002c9e7cbfe8emr8509940ljq.2.1702467191993; Wed, 13 Dec 2023 03:33:11 -0800 (PST) Received: from carbon-x1.. ([2a01:e0a:999:a3a0:c564:f167:d072:5672]) by smtp.gmail.com with ESMTPSA id m27-20020a05600c3b1b00b0040b38292253sm22433137wms.30.2023.12.13.03.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 03:33:11 -0800 (PST) From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Robbin Ehn Subject: [PATCH 0/9] riscv: hwprobe: add Zicond, Zam, Zacas and Ztso support Date: Wed, 13 Dec 2023 12:32:56 +0100 Message-ID: <20231213113308.133176-1-cleger@rivosinc.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 03:34:10 -0800 (PST) This series add support for a few more extensions that are present in the RVA22U64/RVA23U64 (either mandatory or optional) and that are useful for userspace: - Zicond - Zam - Zacas - Ztso Series currently based on riscv/for-next. Clément Léger (9): riscv: add ISA extension parsing for Ztso riscv: hwprobe: export Ztso ISA extension dt-bindings: riscv: add Zam ISA extension description riscv: add ISA extension parsing for Zam riscv: hwprobe: export Zam ISA extension dt-bindings: riscv: add Zacas ISA extension description riscv: add ISA extension parsing for Zacas riscv: hwprobe: export Zacas ISA extension riscv: hwprobe: export Zicond extension Documentation/arch/riscv/hwprobe.rst | 16 ++++++++++++++++ .../devicetree/bindings/riscv/extensions.yaml | 11 +++++++++++ arch/riscv/include/asm/hwcap.h | 3 +++ arch/riscv/include/uapi/asm/hwprobe.h | 4 ++++ arch/riscv/kernel/cpufeature.c | 3 +++ arch/riscv/kernel/sys_riscv.c | 4 ++++ 6 files changed, 41 insertions(+) -- 2.43.0