From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93FC0ECAAD3 for ; Fri, 9 Sep 2022 14:08:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vSWOIXFP5M8m/L2mm0jrZOevkKrrvtjTo5/f5xwtC6k=; b=22F8ZJ74+nRt+4 //ysTajbnpboDHBN8bQnTRuEWgq9JMJLEPe9tT6np7+sygTG7JWWIqMvFzSnLdU8zE+SFw+Eer6/B aZdlRN7NKJVBgzhB8YQXIXI4Gyk/bFP3YLnKJZOPTEsvCGg7UE34pGAJcFn7BTYpWXIRUVhSAKXrd un7ip5nq8hrROdTsW5alOJEJlWSOZHjK9e/kIrshWRgj82O2XBZuhyaXCL173gT0NqloF+cK+xZTy NoKO5pIbxZPF7xlyeQq20FqocqTY26oC/fuH6Vk0xxahpE5OjUoXBcxjgf3xosCwydQ7ODwkdKVyS GJ2OG0s4WFGMFZfXdZEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWef5-00GbOc-Fa; Fri, 09 Sep 2022 14:07:15 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWef2-00GbNN-Vw for linux-arm-kernel@lists.infradead.org; Fri, 09 Sep 2022 14:07:14 +0000 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 9980DB82508; 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220909_070713_192916_EAE25015 X-CRM114-Status: GOOD ( 15.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97A6CECAAD3 for ; Fri, 9 Sep 2022 14:09:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbiIIOJE (ORCPT ); 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: 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