Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18094737rwd; Tue, 27 Jun 2023 11:31:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5mf52bnCO9oxKTejFvhz2Nbwv8Z8a2OKc9o4pyWQhS3dDOtA8YB2C0ysPBfboXjEkIU1DM X-Received: by 2002:a17:907:6d8c:b0:992:1b2:4090 with SMTP id sb12-20020a1709076d8c00b0099201b24090mr3590231ejc.64.1687890675909; Tue, 27 Jun 2023 11:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687890675; cv=none; d=google.com; s=arc-20160816; b=FqT6j4jiWgq4gTmjfNU2ao5z5tXHsJhvlsNavRFX/PnDvLVScg7gchR3E6mz+njRaW QVmT0AtAxfc1eJPpc55qgsi4UEEW8hCDYxfx44VvjtKPIwNb+eXLxNfVtRIqQstuudEp VU0/R0EhSpp/PRG5zCe77sa0/2GLI/ZFuacgmq4AS/Q77HVKMIT1UjDl20PpR3hvPZT7 DxUKkqpqMIYFYVj4syMB7fFnfcF4gANItNU7PWZOMlDDs9Wn808Agsks0dDAM0PVoycU nMASpIr4mXb0y6FKARopYCe+bpdF5r+rvd4BWsMdindbdTXdkXPhTuoHxDQhpI+0TmLV JphQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=p0QHGC18vxO2QHVl3y7SYla7+m+avkHqGb8W6MMkPEM=; fh=yT0SPHAhiviHZtUUzEbTvgpZ+RKdIGvU+b8f9nYO0Mc=; b=Y9ItY+od8o7cjydamoEXjWsq7bJXaP0d98eg1/4VlmYsm7VH3RfBQQGeNyCwVPuXq8 hf9OK3ObojifMRLEkQXT4x0iHsh9cFgl/yZ+Inqkoi2zwHWIDrg5UURg6WqWApBOIFYW nT+gcpT+NqPmccmN6tIBx6cYjd75RAFBS6c1esY6yzuZ1HBwPqmWp57TPQ9NQ5Ic0OVZ 0BQF4TKvD/kK1KBQJtFhGPmsyUbFbknQ96YoPXgWCwAnDArhdbMx1W/FfxUKFW0+CRZe Cv2JqbnvEJOH620dDX1FAgzGjP++dx7/oqz8INtCqt3mv3KpBKAqe/NLdUXQxkHQONiT t+TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=tKmSEzN1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lc6-20020a170906f90600b009827b97c89bsi4261671ejb.964.2023.06.27.11.30.50; Tue, 27 Jun 2023 11:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=tKmSEzN1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbjF0SPE (ORCPT + 99 others); Tue, 27 Jun 2023 14:15:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231230AbjF0SO4 (ORCPT ); Tue, 27 Jun 2023 14:14:56 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E4253584 for ; Tue, 27 Jun 2023 11:14:30 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fb77f21c63so3405091e87.2 for ; Tue, 27 Jun 2023 11:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1687889661; x=1690481661; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=p0QHGC18vxO2QHVl3y7SYla7+m+avkHqGb8W6MMkPEM=; b=tKmSEzN1MUFr3JgDwykDdV9fxf49FUdmPMJCMp/pE+IqGWeDxE9B2caQO5GppGpcoJ iMPDOWikOyl/q7Yb8ZAzj5r3MzMNi8HiDhfDCxIXzOrykSuB9Afm/G5g/vgmIXxaxSnj se452nyymxHI2AWS91cvYN3clgF1WZRhn9l4uEI7mIPjXRMccF4omvSmCo8MeZn1oVqz OvDtldD183qgXBU8Log9dVDb9iwsOSzBG3KUuA6oPN6smKDFen8WWfIlu/ZethCG2uVU VrRZUVljz2LRfZ+5sdKNJ0CP8kHFlCWV7TIc9SetsYG8dVcFVVtXB7BKP7L6oO7nzVJj L8rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687889661; x=1690481661; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p0QHGC18vxO2QHVl3y7SYla7+m+avkHqGb8W6MMkPEM=; b=GUNkkcFF6DYCJqDi2/oMqbaKGYn4aFCFbRy6deay1QcR95293YUFRzMVtPXnWxxZoK gt10iopwuVNJ+yE6W1dvgb3vA+yZ3wcSiUNhFGtFEAizVGL+Xbsan8wgVcqYZKs2M4p5 r/5OqbaTbbns7Ua/tCjKMXGaS3PW313jp9qOJfPlQtEr8GWZ5EFnnbOF3Jdj4T7mPgo0 OleOF3f6qYT5GMFbVCnGB293QiSB7Q3NrCDg/TyCNVfTDu1Ud8djQVT5PcbRz/6LV+Jm rzFU2c+ZV+LeK/qNW8neUAkUbdNzvd+eqArYIpGjv/5U97fJtvUE5c4k/eKTdOi7XmZX 0v9A== X-Gm-Message-State: AC+VfDwtT86Kcc4LxC60nmFVowhfgid+C1bFOzJwb3e319ISY5Ohr+RV bU+Ltiw4oUSIxmzR/jtK9+qoO7GrerO0aM/k9tqjog== X-Received: by 2002:a05:6512:3d06:b0:4fb:7be5:8f4e with SMTP id d6-20020a0565123d0600b004fb7be58f4emr4407689lfv.6.1687889661101; Tue, 27 Jun 2023 11:14:21 -0700 (PDT) MIME-Version: 1.0 References: <20230627143747.1599218-1-sameo@rivosinc.com> <20230627143747.1599218-3-sameo@rivosinc.com> In-Reply-To: <20230627143747.1599218-3-sameo@rivosinc.com> From: Evan Green Date: Tue, 27 Jun 2023 11:13:45 -0700 Message-ID: Subject: Re: [PATCH 2/3] RISC-V: hwprobe: Expose Zbc and the scalar crypto extensions To: Samuel Ortiz Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux@rivosinc.com, Conor Dooley , Andrew Jones , Heiko Stuebner , Anup Patel , linux-kernel@vger.kernel.org, "Hongren (Zenithal) Zheng" , Guo Ren , Atish Patra , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 27, 2023 at 7:38=E2=80=AFAM Samuel Ortiz w= rote: > > Zbc was missing from a previous Bit-Manipulation extension hwprobe > patch. > > Add all scalar crypto extensions bits, and define a macro for setting > the hwprobe key/pair in a more readable way. > > Signed-off-by: Samuel Ortiz Reviewed-by: Evan Green