Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp173563rdb; Thu, 19 Oct 2023 00:21:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5KOQbZYP3z5OKSYNfDTLbLCgDnGC0CL3eYDvPKmmkG9EWY44/b6acP4CAVw9qUBVa5EyQ X-Received: by 2002:a17:903:844:b0:1c9:cc41:76e4 with SMTP id ks4-20020a170903084400b001c9cc4176e4mr1376032plb.10.1697700093654; Thu, 19 Oct 2023 00:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697700093; cv=none; d=google.com; s=arc-20160816; b=1KgUuAMdn64rFpF2xsSfCNixUDKljEM0njVXuifG+meYNa3pZfj7s9eiUcyBad1vHy aVGX7KzlmvSTUuwDfRIT+McUk2KezJ7WOqifRk7+F6HBbwUeby4KQCSpBO8aVk4WNzsq PAl+aWWi1f36RIHFmdstJ+3ffYeW3J2RLuy92UbwJQ3p5l1vpeIDuoPDeYEsKIWWyF/v +6Vqlp0FfU2FbGSZlubbzgG5JV2oJC7gPay7m83uT8JPg4FDyc/4Eo9a2ZZVeSOs6E5G tcjINld6Xl/lvYlS5p2EOLjAM8GvbO3aG2iJOHegwXy01v1gtXy61KSl2bKFm/YBXsuU CzKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/caEF9HzcleOEHwneLp6tiCcjo0T3AFNH3jEPiF4Apg=; fh=FVT9K7P16lcnNTn5HAdvHIVOM0JGW/fOPLWnzBW8WbE=; b=0FHrxULqCRKCdVRmjj2H11hXVHenCFcNA+wLr0BGvgXq6Ctv36qxWXVJ9HSMrr85f3 Ud0oaO/aaVfbUoWOAWBmZdODeFsSSmK4UUJfcstWgWtI9XEMpik4WVbbhrW6NY4omvUu KU+f/fOq8oTvQWaMwAtrfC9FP29+wiXzvDlIusw4V4KifOgXzF0vkCc5M8JVgAhcNiMo ALVX+We7JuKNBUth1Px4kgjYg2PMIHGs8Ld5V9h/38UGR8yH/4Ppm61wEHS7q0u0payg sv5xtwsTfjfNF8vVp9J+u3lvRhZ2URPLrn1HQT22VyYaD0vkt8MOVSYUk0jPEvhHErVd J6jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=oFt4Fz7A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t7-20020a170902bc4700b001ca85b89407si1555136plz.106.2023.10.19.00.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 00:21:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=oFt4Fz7A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 77D1780A9ABA; Thu, 19 Oct 2023 00:21:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232800AbjJSHVY (ORCPT + 99 others); Thu, 19 Oct 2023 03:21:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232854AbjJSHVX (ORCPT ); Thu, 19 Oct 2023 03:21:23 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5232E130 for ; Thu, 19 Oct 2023 00:21:20 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6c61dd1c229so1279569a34.0 for ; Thu, 19 Oct 2023 00:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1697700079; x=1698304879; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/caEF9HzcleOEHwneLp6tiCcjo0T3AFNH3jEPiF4Apg=; b=oFt4Fz7AxAw5X4nvPL0AaK2Axx+CD5s6OUpo+sG8NR4YJgtLItfKYVd+Hz3UEK0/6p rU1f9V44aYtwk4888xqtdqrEkwmmbOT42ZYxOtD6qA3Dpu081BTnN+RZvPXNIXbHYlft DsDqqY8DMSiOCwSY7KTmnU3XG4+Daa9WtiGLr/KfwbfwWy2hosF6kLkOpgQYDje2bYwh hjZWLOoK84DeOvUENZZTFqF7hgdrkPO5B9W8Hn3JvszJ/Yb/zgP3WULkt8/AQVW5t6fy oFUCV8dxVGpmFmSyanyBoaRDh1wqFFT1A6z7xnPg2qXH5utsZ2VvxmB3G0ZI59S9dF8P cLeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697700079; x=1698304879; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/caEF9HzcleOEHwneLp6tiCcjo0T3AFNH3jEPiF4Apg=; b=RvjnZY6y6BAngOZAKKbH0cJvEa50q6pbAKcGWzRMOdZSPAxC96tigdJfK4uXS7cc2L GTwPKDbicWFy+LX5I6R6N9H3NkOboITvsXVBCFkwkpjUAZN4oNH9AQn98gF+a3+n1hln kP7BlLlmQRDImuM7le/d5UVgmb+DoBfw9WW/lGmwMuMp1L+t0ryu8tF/gZ6Zg/vH8yn2 PcX9Poz27H+8RqSLDn/PZhlx7HwvFyh1qci2ItOYUy0MfPWodqNGBM/uMxgtSrpPloC9 xEAg5jKOwI2QKYEPLgCUNcTa0UcH4euqlnD9Vyu5qbTCCtstP0iW+t3+0esLLXc1h3qA 33IA== X-Gm-Message-State: AOJu0YzQa/TA1E9hMgj9KMQQGjzCh+XLBz9nlPdlkbiEyrae1xQB7f9Y 6rXuhiOWoPMOXkemDvgGVig50w== X-Received: by 2002:a05:6870:b14:b0:1e9:adec:bf5e with SMTP id lh20-20020a0568700b1400b001e9adecbf5emr1951115oab.2.1697700079549; Thu, 19 Oct 2023 00:21:19 -0700 (PDT) Received: from ?IPV6:2a01:e0a:999:a3a0:6933:1fe3:b858:3dde? ([2a01:e0a:999:a3a0:6933:1fe3:b858:3dde]) by smtp.gmail.com with ESMTPSA id k4-20020a63ba04000000b0057412d84d25sm2436010pgf.4.2023.10.19.00.21.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Oct 2023 00:21:18 -0700 (PDT) Message-ID: Date: Thu, 19 Oct 2023 09:21:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 03/19] riscv: hwprobe: add support for scalar crypto ISA extensions To: Evan Green Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Albert Ou , Jonathan Corbet , Andrew Jones , Conor Dooley , Samuel Ortiz References: <20231017131456.2053396-1-cleger@rivosinc.com> <20231017131456.2053396-4-cleger@rivosinc.com> Content-Language: en-US From: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= In-Reply-To: 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 00:21:31 -0700 (PDT) On 18/10/2023 19:24, Evan Green wrote: > On Tue, Oct 17, 2023 at 6:15 AM Clément Léger wrote: >> >> Export the following scalar crypto extensions through hwprobe: >> >> - Zbkb >> - Zbkc >> - Zbkx >> - Zknd >> - Zkne >> - Zknh >> - Zksed >> - Zksh >> - Zkt >> >> Signed-off-by: Clément Léger >> --- >> Documentation/riscv/hwprobe.rst | 30 +++++++++++++++++++++++++++ >> arch/riscv/include/uapi/asm/hwprobe.h | 10 +++++++++ >> arch/riscv/kernel/sys_riscv.c | 10 +++++++++ >> 3 files changed, 50 insertions(+) >> >> diff --git a/Documentation/riscv/hwprobe.rst b/Documentation/riscv/hwprobe.rst >> index a52996b22f75..968895562d42 100644 >> --- a/Documentation/riscv/hwprobe.rst >> +++ b/Documentation/riscv/hwprobe.rst >> @@ -77,6 +77,36 @@ The following keys are defined: >> * :c:macro:`RISCV_HWPROBE_EXT_ZBS`: The Zbs extension is supported, as defined >> in version 1.0 of the Bit-Manipulation ISA extensions. >> >> + * :c:macro:`RISCV_HWPROBE_EXT_ZBC` The Zbc extension is supported, as defined >> + in version 1.0 of the Scalar Crypto ISA extensions. > > At least in my v1.0.1 version of the crypto scalar spec, I don't see > Zbc. That seems to be defined in the bit manipulation extensions. Thanks for catching this, this should be same than the previous line. I will actually move the ZBC on another patch since it is not scalar crypto. Clément