Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1155628rwr; Thu, 20 Apr 2023 10:39:41 -0700 (PDT) X-Google-Smtp-Source: AKy350bsI9DA++0vDTwD7wC+R9AR2yzaGglkIV5VOnEryNJ9s25QyjDPdx0KPmOspycB7d72gKWf X-Received: by 2002:a05:6a00:2291:b0:63d:4752:4dad with SMTP id f17-20020a056a00229100b0063d47524dadmr2637733pfe.31.1682012381407; Thu, 20 Apr 2023 10:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682012381; cv=none; d=google.com; s=arc-20160816; b=VmTcpYSZBaWCR5TDe+aeqmi6RMvXXdEprUeW5kFKd3KkLAccgce+Tq4BaaU9xlbQit vIaBM7VUur9lNYPmdl4KaGB5XkyRM4AdHCrzvnUgWWar1dquqaQt0SyaHpxti3TJUhFq 742Dhtb5ifobgOdUsa+3XK7awVE7uFU7g26YdsS7TVuQC8UaTxrh+QkB7B97gVR4VAnu y1lC2iREV3bwRqF7ydkrN4Eu25I4PvbP9j7D6cP9oNVTssiF2XrQVz82fAV9IWpPc0fs B0WtE1jTo7D3d512RwJg08Nn6nNgeQ7ndVD9oaF7vDdgV/DQ+KLprnWbhG7Dzr9jlIIV RTUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:date:message-id:subject:references:in-reply-to :dkim-signature; bh=QCEy80G5HOek7evJubycy60H7TmBgXN6S6jqg8NE5AA=; b=EG61WMLqBYoQ80Exn35+SMSLPIZhwuSGXVXqnph4P5t7iD5quvvtIXbl5q/B7F7ErF L0PgUet8jGRpxWR2GbUjZaS3A+KK9U1KRfVTyK6YaQ6k7fXdUV8bO+kmn6/Lv7X8PaFv bZKz2QjbiAXEmkBrbuEvC+x0hQtf5GWcx7GjunACxkH5K/OmNV4F0mzSWVN674LJoxsr TXwwtf8NDBztVICnF8fPHRaXm9cksaAVQ7banOdPEZ1byrLDUzxdO802PsnWK5YggslC 0PEZAXbC9crPrSAfJa7anzZQ/zRYiSqU4cA0Q8/uFMekL8fL4Mnb7RfP5zq2Xbk0XYDw 7j4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=qt34Ca8p; 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 q205-20020a632ad6000000b005210b2d0807si2080332pgq.678.2023.04.20.10.39.28; Thu, 20 Apr 2023 10:39:41 -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=qt34Ca8p; 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 S231269AbjDTRhX (ORCPT + 99 others); Thu, 20 Apr 2023 13:37:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231278AbjDTRhO (ORCPT ); Thu, 20 Apr 2023 13:37:14 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F06259F9 for ; Thu, 20 Apr 2023 10:36:47 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-63b733fd00bso1160916b3a.0 for ; Thu, 20 Apr 2023 10:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1682012206; x=1684604206; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=QCEy80G5HOek7evJubycy60H7TmBgXN6S6jqg8NE5AA=; b=qt34Ca8pJyfInnsKvQsJ+ATBCHwkD8yXhCNubTccdEm/zIin+n/JcbELHJ/pMGu5MD 8vOKkfU1vdV1wENziP8ftZ/SDgzOnklFq26flU1X2bGDp8mLRs77RpZGKHq8Ht/KwiOA fr1kR3jCo8PiqehFpMbwCkSKYX4Y3xMb7Za90C+lrr/1yKWQLAnKRYWc2sYI1SbCVkwq bowcnC98V441QK4Lfiwf3ZUB2lVP0Tr0W0wujC42ZvBXRXTnaMgYK2meYa9Uu0p+s4qO hj2vCz+La3rz6wS3jMsw82niKWKymLdYox/MVL/XPkxwSiISAR4yjgG+0nMkOAbJsA+T kX6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682012206; x=1684604206; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QCEy80G5HOek7evJubycy60H7TmBgXN6S6jqg8NE5AA=; b=cgly0OQy6G6vlhxuw88kOV9dWWogyNdSgFQyNXOy+5SP3zhkRvJGtr22OW33YPNgFp Y6InKib0jbwO32/rS7GIjrxHGm0aBY7ypmkuBBd23LBvNO66DlTKOT5WuBm2tM0Yz74m 3um3TTK//uetf1wrfL8Y+cP4T5UuCJDLwTyLMpvY+pljHsP5CfDgUJezUvjXTvpHA9db kygRozoifa9NXRKoe4Of4BKQcFOrin+aWANDWTQ0/YeoksiJT4Bd1ayePV2jk4934oiz 804/mw//PxQ1oUFxmpsoBiaHt5y7C4+rUIMm1t/mlG4k3+Xhuj7bCCpJN8B9RS8F/XAW wwFw== X-Gm-Message-State: AAQBX9fhWA9dAPW3b0uS7Rk+vgbfLK3/861eOf9BbAeFEVLowp6y3dxv 0pltn5rdApQGi5YY8d21pQqLSg== X-Received: by 2002:a05:6a20:d906:b0:ef:bd:38 with SMTP id jd6-20020a056a20d90600b000ef00bd0038mr2856576pzb.55.1682012206529; Thu, 20 Apr 2023 10:36:46 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id fd22-20020a056a002e9600b0063b6e3e5a39sm1522819pfb.52.2023.04.20.10.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 10:36:46 -0700 (PDT) In-Reply-To: <20230407231103.2622178-1-evan@rivosinc.com> References: <20230407231103.2622178-1-evan@rivosinc.com> Subject: Re: [PATCH v6 0/6] RISC-V Hardware Probing User Interface Message-Id: <168201218504.13763.1031176103296142331.b4-ty@rivosinc.com> Date: Thu, 20 Apr 2023 10:36:25 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-901c5 Cc: slewis@rivosinc.com, heiko@sntech.de, Conor Dooley , Vineet Gupta , Albert Ou , Andrew Bresticker , Andrew Jones , Andrew Morton , Anup Patel , Atish Patra , Catalin Marinas , Celeste Liu , Conor Dooley , Guo Ren , Heiko Carstens , Heiko Stuebner , Jann Horn , Jisheng Zhang , Jonathan Corbet , Ley Foon Tan , "Liam R. Howlett" , Mark Brown , Mike Kravetz , Nathan Chancellor , Palmer Dabbelt , Paul Walmsley , Philipp Tomsich , Samuel Holland , Shuah Khan , Sunil V L , Tobias Klauser , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: Evan Green 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=unavailable 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 Fri, 07 Apr 2023 16:10:57 -0700, Evan Green wrote: > There's been a bunch of off-list discussions about this, including at > Plumbers. The original plan was to do something involving providing an > ISA string to userspace, but ISA strings just aren't sufficient for a > stable ABI any more: in order to parse an ISA string users need the > version of the specifications that the string is written to, the version > of each extension (sometimes at a finer granularity than the RISC-V > releases/versions encode), and the expected use case for the ISA string > (ie, is it a U-mode or M-mode string). That's a lot of complexity to > try and keep ABI compatible and it's probably going to continue to grow, > as even if there's no more complexity in the specifications we'll have > to deal with the various ISA string parsing oddities that end up all > over userspace. > > [...] Applied, thanks! [1/6] RISC-V: Move struct riscv_cpuinfo to new header https://git.kernel.org/palmer/c/ff77cf5b2e03 [2/6] RISC-V: Add a syscall for HW probing https://git.kernel.org/palmer/c/ea3de9ce8aa2 [3/6] RISC-V: hwprobe: Add support for RISCV_HWPROBE_BASE_BEHAVIOR_IMA https://git.kernel.org/palmer/c/00e76e2c6a2b [4/6] RISC-V: hwprobe: Support probing of misaligned access performance https://git.kernel.org/palmer/c/62a31d6e38bd [5/6] selftests: Test the new RISC-V hwprobe interface https://git.kernel.org/palmer/c/287dcc2b0c83 [6/6] RISC-V: Add hwprobe vDSO function and data https://git.kernel.org/palmer/c/aa5af0aa90ba Best regards, -- Palmer Dabbelt