Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6397450rwr; Mon, 1 May 2023 23:04:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5pvLx0ArNdICL8SPiHWBRwctTsGzqwBpejzn81apaWUTUwGa135BFRCOcZlzl3FD7Yi7QM X-Received: by 2002:a05:6a00:1954:b0:63d:254a:3909 with SMTP id s20-20020a056a00195400b0063d254a3909mr23518410pfk.32.1683007475177; Mon, 01 May 2023 23:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683007475; cv=none; d=google.com; s=arc-20160816; b=Ph4yD7+8/UQ+WfJUlUW3owfhhORURvGdiMjmTQlY1RKBYt3iXlTfx56Cnuxd+Edqt7 22/Tzm76XB8opaOy+6wXB5HMJtrMTbnjvO53NDl5SLsMFTV/c0mg1EF8PpUUbBAEGKxw +sHXR4g4lB569aTpih1UaMycVIgSZfGFfUIDIPUwRhfH3Sc+EhG+cLdjQH3NWhdg80dY cmoxH/pluLojeof06Yx6FfWeq9O3lvtccB/Ln0fYstnAs+pG3MeKggkQ4wgD0mFVbmJT ZlnLWpno0KGWVxEP4M65x7zyYOoio5lrUAV3K+FSh4fUxUBNWIKk0MqCus69ymELzD9j HJ4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=QFgaj7LjOrwpefjycjAmRiPltPmbzaKTfT0CxHr+JHM=; b=oIVlSJVOZGfuXkFC66n0Mq/guoQiwkKRNVxpBHVyk9tsHLG22KlFwRhtQ1CFHHUxZp BBXgETJ/OlLH1krkTLxYBFctO7vvzkVwVZjW3IwN7Qf2Z5siTWTqD6BVVouV9Ly/S+/L ZXAjL3NEmZsONd9oBbBqUcOjWb2MX9wVYl+r+oRwX/wVFJl//RyqJiVJ0OgVnGmIRx1f tJVCdlg0oy9+L3lo1d4XAbzk8IK43Lyeeewr2Myz9ArWMokkiWNLeq3OMYzJUuzb806t eUM5GELDN6QupEPpDmdQn6sGXAXGuGa5KkFDL5swFt/MGLgaEkKMI8ZKeFAs34IEZpPX /eaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="hfa//+lu"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f184-20020a6251c1000000b0062550a9236csi29493747pfb.248.2023.05.01.23.04.23; Mon, 01 May 2023 23:04:35 -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=@kernel.org header.s=k20201202 header.b="hfa//+lu"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233495AbjEBFsQ (ORCPT + 99 others); Tue, 2 May 2023 01:48:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233294AbjEBFsP (ORCPT ); Tue, 2 May 2023 01:48:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDE6A19B7 for ; Mon, 1 May 2023 22:48:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 79EE36188A for ; Tue, 2 May 2023 05:48:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87E96C433A1; Tue, 2 May 2023 05:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683006492; bh=QFgaj7LjOrwpefjycjAmRiPltPmbzaKTfT0CxHr+JHM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hfa//+lu0sjGGGOxJsmQ44lujZhVUV+VfiLQUr0aH/LzssxPSs2lOuCQt22bq5KvA Wd+Y8u5Apo4fAjESUe3gn7M49eiSL8pt6WCiAitd7kUMepo2bUEsdbhdV7J6az9z7n I4LP9FNdulOHXU3bJqm5xUJhFQB+e8aFqAzD+0F3REly8K+dod9oBXxU3eVIfgYqh3 76np80FnIzeGF7TmEt7vw+0BPCnRB8z70XaLzMVW15BekKWUOdjb6NZxrhDIFwAu0v p9qVVUBSc7TP6ffTQgWhCuoXxcH9ZqIzDGavMrYmeDb/GJviWwFQ564PsBSDWtEofD JABXIA36Kf2oQ== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Jessica Clarke Cc: Heiko Stuebner , Palmer Dabbelt , linux-riscv , Paul Walmsley , Kito Cheng , Conor Dooley , matthias.bgg@gmail.com, Heinrich Schuchardt , Greentime Hu , nick.knight@sifive.com, christoph.muellner@vrull.eu, philipp.tomsich@vrull.eu, richard.henderson@linaro.org, arnd@arndb.de, linux-kernel@vger.kernel.org, Heiko Stuebner Subject: Re: [PATCH 0/4] Expose the isa-string via the AT_BASE_PLATFORM aux vector In-Reply-To: <7DD2C38C-CBB3-41EE-A195-50E4C2451B7E@jrtc27.com> References: <20230424194911.264850-1-heiko.stuebner@vrull.eu> <87ednz7roh.fsf@all.your.base.are.belong.to.us> <7DD2C38C-CBB3-41EE-A195-50E4C2451B7E@jrtc27.com> Date: Tue, 02 May 2023 07:48:10 +0200 Message-ID: <878re77085.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Jessica Clarke writes: > All I wanted was some simple extension string -> version number function > as a standardised userspace interface... because at the end of the day > people just want to know =E2=80=9Ccan I use extension Y?=E2=80=9D, possib= ly with a > minimum version. But maybe there=E2=80=99s some hope that Linux libcs will > translate such queries into poking at this hwprobe thing. Using hwprobe to plumb such an interface for, say libcs, was what I was envisioning. > Though god knows what they=E2=80=99re going to do about vendor extensions, > especially if those vendor extensions only get supported in vendor > forks of the kernel (who=E2=80=99s allocating their encodings? Xvendorfoo > exists to namespace them and give vendors control...). "they're"? I'm sure your input on how to design such an interface would be be much appreciated! My view is that the "design upfront" strategy here hasn't really worked out, so the hwprobe approach is to start small, and extend when there's need. Hopefully, there will be fewer pains with this approach. That's why I was very surprised to see this series, which introduces Yet Another Interface. Bj=C3=B6rn