Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp128180rdb; Wed, 20 Dec 2023 08:00:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqNDn0D4EU1aDUqySdL6TJ/qs9VD9eNitBQCSKvaAxnPrnwZBqaho7XFMTQaDTI41Z3r/Y X-Received: by 2002:a62:b40f:0:b0:6d2:80da:8682 with SMTP id h15-20020a62b40f000000b006d280da8682mr4178850pfn.56.1703088057809; Wed, 20 Dec 2023 08:00:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703088057; cv=none; d=google.com; s=arc-20160816; b=IsJek7iBFtNqKyUWOIyrpNC2lwu/5rhc1KXJ97SG1biiOB+DYNLh6oy3fB5yt68Ldh VSYSgeapeoagrQUoLawcr3hjnUG+VrdNLI0iZFspiQvvl90WJ+7TfAivbysltE0VlEEE ZxzNIjYz7NkrX9wgCMGQBVtXBvo8Vwd+znbNu+P1dppfrEZDsFjoOWjwivOrKvOfMUxp oyr9JxR/jmW8QFPTvFqfbK64NXSaJVB0lagGyk6hmVM6Nwxn8GWdY4f7vzzfmL5F3nn6 NeXFI50WWJa8wgUQG+89BV8ex8RXYhUbkpJUSWQrRm0IowRPhrkxkjQL565PpaJTQiqs MhpA== ARC-Message-Signature: i=1; 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=lXGoVjd4u7kYD7llneKYEOWLFOV8IcsaMr6UiEiL8lA=; fh=1hIbTlY9fe47OMjPd4Xg1gGgwqUti2WWb2AlGWqd+q0=; b=KIBTEzO0BhF3/pTrcTjNYMYs8iQomiwqdHvqHvdYpv8reM8wzkTU1mcGCweAffUKKX BXVDZieX0+x+C8OoJnSKnFfIeFQWtotQC3+6rRBFovIZeidPMI9vDTrJ8TZ5fOUfSmLG PgxoypJhLR1H0Gwynti28jPP1HZtfA+PxiepFbg/wCx2htVjr9a62W5TrAQ2jB0wnD5X zjKe6FCPjQh4+BOcMnoWZGs4afWZBEJ4KVb8ccfo7fNKs41mU8xuIGxjoEs6Qu/qxiGc LApqM+ouWBxdCfX9KefzxxPPQoS+mTK0ksdVcQGTaJiHpDnsxFVZv/w9kgV51RLnVQfs dLqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="e/P1rVcY"; spf=pass (google.com: domain of linux-kernel+bounces-7216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7216-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 7-20020a630c47000000b005c69605f795si21039880pgm.75.2023.12.20.08.00.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 08:00:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="e/P1rVcY"; spf=pass (google.com: domain of linux-kernel+bounces-7216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7216-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 11903B236AD for ; Wed, 20 Dec 2023 15:58:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A8BE46427; Wed, 20 Dec 2023 15:57:45 +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="e/P1rVcY" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 5105440C04 for ; Wed, 20 Dec 2023 15:57:41 +0000 (UTC) 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-lf1-f49.google.com with SMTP id 2adb3069b0e04-50bcf41379bso1520386e87.1 for ; Wed, 20 Dec 2023 07:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1703087860; x=1703692660; 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=lXGoVjd4u7kYD7llneKYEOWLFOV8IcsaMr6UiEiL8lA=; b=e/P1rVcYmUsiM1fmhSSFiPrqRd8lPfUKcqkqZ7SZ/A7pKZ/tSf2GzBNbeRhjsMNFci HTLWJPkkHL4UD5dA4mbWb85ohq/10Gm4FGl+nY8y92irooWsF7ix7hOuPImdgr69T64b hlwedr0RAk4uNU9toPWZim8nhfalmtIugZGydZSKyCKbQUA9sAKTbREtpYnrdnx7j6MH EXcUOCibfKZiVORp0gk+pVWMP00QBhzbUl/2ehHjSkGc3QU5NK3IZd8IUt7i6BwlMGB4 AvPf3XFancLBjd570dqHc0vehvTpPtQBD1IGID8TmU6F4GTFPUPvoxU8AsXDbJ1D1SOz xmYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703087860; x=1703692660; 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=lXGoVjd4u7kYD7llneKYEOWLFOV8IcsaMr6UiEiL8lA=; b=oQLrO/4NoIFWuRH1H4NVqWCuTrb7RS5yb4kpO/2Fr6kv2UErZ5YzeYmIGquzmNF3bb AFR1gCKDQTZ58SiXgzzSxmdL1PK5nTkaYZjFr9ZFB19tyGYYTQZtMx2ZzeXBvocb7FA1 IrkLh5ycltAxG2ADyF01F3xP2t0uWwgaggZpbJpNKwRRnQcMzgjOqNWApftYBBXYB+lI KCGkz+0G0xsnauSyeR95BnNI/iqBJDQqu4TOykEYAkYdJ+19GwvKDiyERdxe9T54kt4g uyM70Fwvbq/JSlve6O1rT7/tonQGk/FMPQQXx8mtssNc63TeJkVBERCoYHupyIU8SJy+ z8EQ== X-Gm-Message-State: AOJu0YzfmWk6tLR9lQRxtOLEyq+oEbgt8+4UUXbDl11U68SLhNlTXa2l T+bzJhaJxG18qvnpNbBMSaddtA== X-Received: by 2002:a05:6512:3a95:b0:50e:4a7b:f506 with SMTP id q21-20020a0565123a9500b0050e4a7bf506mr2980459lfu.4.1703087860189; Wed, 20 Dec 2023 07:57:40 -0800 (PST) Received: from carbon-x1.. ([2a01:e0a:999:a3a0:3eae:b70:f27f:7aa1]) by smtp.gmail.com with ESMTPSA id h18-20020adffd52000000b003366af9d611sm7279693wrs.22.2023.12.20.07.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 07:57:39 -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 , Gianluca Guida Subject: [PATCH v2 0/6] riscv: hwprobe: add Zicond, Zacas and Ztso support Date: Wed, 20 Dec 2023 16:57:16 +0100 Message-ID: <20231220155723.684081-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 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 - Zacas - Ztso Series currently based on riscv/for-next. --- Changes in V2: - Removed Zam which is not yet ratified - Link to v1: https://lore.kernel.org/linux-riscv/20231213113308.133176-1-cleger@rivosinc.com/ Clément Léger (6): riscv: add ISA extension parsing for Ztso riscv: hwprobe: export Ztso 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 | 13 +++++++++++++ .../devicetree/bindings/riscv/extensions.yaml | 6 ++++++ arch/riscv/include/asm/hwcap.h | 2 ++ arch/riscv/include/uapi/asm/hwprobe.h | 3 +++ arch/riscv/kernel/cpufeature.c | 2 ++ arch/riscv/kernel/sys_riscv.c | 3 +++ 6 files changed, 29 insertions(+) -- 2.43.0