Message ID | 20240420-dev-charlie-support_thead_vector_6_9-v3-15-67cff4271d1d@rivosinc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 460A8C04FFE for <linux-arm-kernel@archiver.kernel.org>; Sun, 21 Apr 2024 01:07:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=D/xsWh0ZRCgGYsf4Jol5aozMRq1hDhdHRIDQYSF0ORc=; b=TL316pisvozVFn S4i6Gsux4w5GMIi0M6IN/udFP9fq5oODJUnokYxzL2UZHYZ4yrjBgmR9FzZIzG3gsEaqptb7BM7w5 t+hyupYPpcv8yUHs+iGSVM31df5KFzTvBLCzznYHEuaRwk/TDc+v409smoZIX5yc9LLx1Tvld1smx RN84fE0xpR11IFuap/INEgvo5AUNBDJ/FCK/kWoF1XIKAGZJfsp1AbSuM0kXfiFjFhOCo0gky3k3G gQqOUbs9n8Eqky0lHhgHmf8qqTMv01YSvGdvdIIuTggg6ZNE1DOU5QbwHLhJ4+wyKHpyb20WA096e ko5yAnHcGH1EK/pBHflw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryLgJ-00000009Y3y-44fO; Sun, 21 Apr 2024 01:07:48 +0000 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryLdu-00000009W7S-1393 for linux-arm-kernel@lists.infradead.org; Sun, 21 Apr 2024 01:05:24 +0000 Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6eb797e10ceso2052689a34.1 for <linux-arm-kernel@lists.infradead.org>; Sat, 20 Apr 2024 18:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1713661516; x=1714266316; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=C51oJZVlVAvKgqHOYlTKvkb9Lst4yR5a6EpKYVrVIWQ=; b=dIMwYTo0GS3PRA9RPhrm9j/bhmOcUNrdBjbUXielBkpqH6csxfYLegK3MySMzMiuAK wULGguLUqVWdWuxwVtCp5T5PifFDyO/Q0J1HYTiFcNmZXj4DOnnnDjsbtjn+DiiJX9tD r/7aOhr6QNgahq2Ts82ShoOXr5s/ECdeiugCwLwe1A4ALR9JfKMn+6RoYknVxbQM2eyY VatSiIHBXDYT/xkulOIlvCdyRIbHBBG0YHsG+G65DpsvruDdVAIqDroRd/OVIs+mCrTV jx+mZUNwm8enePFvH5CSrPiUDGXIPt17bX2ehH7XLYklmTbI82hwUTtSPIFTbaV1yaxj J/fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713661516; x=1714266316; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C51oJZVlVAvKgqHOYlTKvkb9Lst4yR5a6EpKYVrVIWQ=; b=u3scKrBBu2JmQA/GcQ2zyz4mmwQNhsYB2prSmPI5xDDnKY0dZaEo84bZ1gHJqGsN2u Vy17Z1U5ON4p3sCQQAagDVu+xLcrPGIErKJldcLF9Hs4AoivLZA23p8iqKawdOeNPl/K K2B24M3YljhNkN5/mI5Is/zwvu8dbjV26clCmRiPuhAbSk+B/h2GH5X+pe6cmYtZBQLT RYybPySeUxLfwUz/j+KQKLE9LYJ8ZlJ2sySTEtRFhdvNgUyTU4Kkp03lwCyzmNTeJRcQ xx6SFK3XFr7x42px2C/mm89zS2s3RY9T5GmEDbXCYIMhiRbBNWJDv2wwnxz7pAdaNbBR WL+Q== X-Forwarded-Encrypted: i=1; AJvYcCWgrTQHSKEV2wErUWwwP56BVVeudHVr0cZC+YGrKTcaoHxDDJQJLnqNxcmQ3SC35FDoLxguX6FC9Ubpl0jdGdB5gaHuaoUCz1qG9KtQQ/7sDwQ1GdU= X-Gm-Message-State: AOJu0YwquL+0st35gCAdU8mQ74fLmBhwZQMpnpViL87hvI+u/PO9hVzF vm8jpD+QysUo7U1c9Omf6EA8zZbYOE9KGb934xojEM48C4UbLqI9zCDXAdtXSrWYz7RaNYM6maG T X-Google-Smtp-Source: AGHT+IENYknI+Zklhvw1/6eWC1GH0JmKeh/I0kIxdoG8bvXxlMe6ywbK9ABjZzu5BfvNmYbkvyzc5Q== X-Received: by 2002:a9d:6454:0:b0:6eb:8435:6d with SMTP id m20-20020a9d6454000000b006eb8435006dmr6447023otl.16.1713661516086; Sat, 20 Apr 2024 18:05:16 -0700 (PDT) Received: from charlie.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d6-20020a63d646000000b005dc8702f0a9sm5249627pgj.1.2024.04.20.18.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 18:05:15 -0700 (PDT) From: Charlie Jenkins <charlie@rivosinc.com> Date: Sat, 20 Apr 2024 18:04:47 -0700 Subject: [PATCH v3 15/17] riscv: hwprobe: Document thead vendor extensions and xtheadvector extension MIME-Version: 1.0 Message-Id: <20240420-dev-charlie-support_thead_vector_6_9-v3-15-67cff4271d1d@rivosinc.com> References: <20240420-dev-charlie-support_thead_vector_6_9-v3-0-67cff4271d1d@rivosinc.com> In-Reply-To: <20240420-dev-charlie-support_thead_vector_6_9-v3-0-67cff4271d1d@rivosinc.com> To: Conor Dooley <conor@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Guo Ren <guoren@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Conor Dooley <conor.dooley@microchip.com>, Evan Green <evan@rivosinc.com>, =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= <cleger@rivosinc.com>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <shuah@kernel.org> Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt <palmer@rivosinc.com>, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Charlie Jenkins <charlie@rivosinc.com> X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713661481; l=1205; i=charlie@rivosinc.com; s=20231120; h=from:subject:message-id; bh=SMnAf1KoXdr3XQZFYlKGicPpJwlvTYKEN0qx5DZFIIk=; b=Sr+Ck23MK6b5fBCWQnfAjC3XDtevTk9/L5rpG6sRcM1JIsKOpPpV6wfWEpjZQrv34owaXjk+c T8zyReFWWSJDaCUDm2n9ubLbo5SiTO69cKWy2i/xPXXXBX1kkoWi79W X-Developer-Key: i=charlie@rivosinc.com; a=ed25519; pk=t4RSWpMV1q5lf/NWIeR9z58bcje60/dbtxxmoSfBEcs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240420_180518_416189_D85F8D9B X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
riscv: Support vendor extensions and xtheadvector
|
expand
|
diff --git a/Documentation/arch/riscv/hwprobe.rst b/Documentation/arch/riscv/hwprobe.rst index b2bcc9eed9aa..b2bb305140aa 100644 --- a/Documentation/arch/riscv/hwprobe.rst +++ b/Documentation/arch/riscv/hwprobe.rst @@ -210,3 +210,13 @@ The following keys are defined: * :c:macro:`RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE`: An unsigned int which represents the size of the Zicboz block in bytes. + +* :c:macro:`RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0`: A bitmask containing the + thead vendor extensions that are compatible with the + :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior. + + * T-HEAD + + * :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR`: The xtheadvector vendor + extension is supported in the T-Head ISA extensions spec starting from + commit a18c801634 ("Add T-Head VECTOR vendor extension. ").
Document support for thead vendor extensions using the key RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0 and xtheadvector extension using the key RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR. Signed-off-by: Charlie Jenkins <charlie@rivosinc.com> --- Documentation/arch/riscv/hwprobe.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)