Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2017697rwn; Fri, 9 Sep 2022 07:27:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5TBJkWiTto6DY4JYOIneZSNfn6q/GUmAgoHt/b0O3RSTX5iw4rfRUaGUJrNGOrrAuvi01x X-Received: by 2002:a05:6a00:124d:b0:538:148b:b989 with SMTP id u13-20020a056a00124d00b00538148bb989mr14683453pfi.82.1662733636044; Fri, 09 Sep 2022 07:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662733636; cv=none; d=google.com; s=arc-20160816; b=zyCioePkzXQeProMroIcmGxyRMY8eYxR8o1A1m2CdE1JBZmv1O53DzuVeXiSdwF+AT I9w4yPojGMfkW1PPHV+YekRFhnOdhB6aBu9g1cSXsbT8LvNNRg++PFvKW8RUDb4RZuvQ b71LNy0APsqwU3werRwqklR44nX5NAgIi7APKjMh1CVHAfR+OINtc6Db2HPM8A/nWQqG iwYbrRrboGO3TSoQE44XqY4ombkjTDUQr0i0ATwEiRxjbsrUdJT5+qXEU9l0z9kxlCIO 1a+dStQIYAlinifoZvsJlbIMbCttqpdwpXrGLjwCLEzIeKWAV7ZBxbOqEtLVUljr1kjp xFMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Yr49xowD5E0ObZRJfbT+dQd8XVpQB1cxcWCwR8s8o4k=; b=o+n5LgqLoU4iYl0rPrtX5cF93bt1Qbw/JV046sc/2BmjmfkpEU2vYIHTObEpDOiCoJ yHtOHS/ZTMITVUYULBsHTsIiMumQ0/hA8nG6ycA8+TbnrCeLgjvIA0P5OtcakxsLYXBe +6CEzy82O8FeJr7Jm7utsmgSENtF7c2nWDio9XDM2fjANOkYysV7t/AmRPOB3hhdxZnb G75QfLNdORVWBmIoDt0M2z4tKY2mJLFS+oKdOb5N+dagR1co94f9yPNt3+F9bbFdyr5J G5jR1eokaSiiMN+0wb2HaW7yaf/L/gI1IddidRYnzm8eMw8TogWQp07yAPsR2NnLwBw1 +LEA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y23-20020a170902b49700b0017492fb90b0si623571plr.182.2022.09.09.07.27.04; Fri, 09 Sep 2022 07:27:16 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229774AbiIIOJE (ORCPT + 99 others); Fri, 9 Sep 2022 10:09:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231917AbiIIOHv (ORCPT ); Fri, 9 Sep 2022 10:07:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 555D125D5 for ; Fri, 9 Sep 2022 07:07: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 ams.source.kernel.org (Postfix) with ESMTPS id 97907B824F4 for ; Fri, 9 Sep 2022 14:07:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B021C433C1; Fri, 9 Sep 2022 14:07:08 +0000 (UTC) Date: Fri, 9 Sep 2022 15:07:04 +0100 From: Catalin Marinas To: George Pee Cc: Robin Murphy , Russell King , "Russell King (Oracle)" , "Kirill A. Shutemov" , Austin Kim , Ard Biesheuvel , Mike Rapoport , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Report support for optional ARMv8.2 half-precision floating point extension Message-ID: References: <20220901141307.2361752-1-georgepee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 On Fri, Sep 09, 2022 at 08:34:26AM -0500, George Pee wrote: > Adding the hwcap was part of the diagnosis process-- I added it just > to make sure that the cpu in question supported the optional > extension. > It seems like it could be useful to be able to check for support in > /proc/cpuinfo. Ah, I wasn't aware that the feature doesn't work on arm32. I don't think it makes sense to expose a hwcap bit to user in this case. -- Catalin