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 X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F31DC31E5B for ; Tue, 18 Jun 2019 16:51:48 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 62D612084B for ; Tue, 18 Jun 2019 16:51:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ExzgZgoP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62D612084B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=0bY7LncuFdkjNu6ru5noMxSYYlfYZGQSmLnnQ8Xt/dY=; b=ExzgZgoPUSIeWB dGvy4M/4uuaxWoZwghVcC7YKl0oRt6OWvDKYUJZ2mSDxr+4atoaEU0XRqhWNHjnVbjTjPXD9FucX5 /fvppgTBjvLIfacSC4pZT0BQo2aofCxyPHOtS5qWQUzAchgvWJ9dofl+o/SbP7hLQkkqrchzZXmqz Ghw+hFlxbdZ1hvuQkonK6ITvAiwM1lVO/OOGnPYAJXx0eMoXJ/HKDscMcMDP/8YXrWdv2T12t6Kjj 9soMd4TmwdqjlPZpWIoXfx1FCCqnyL8sSQr3B4IKh6MPO26Nts5TyqF0K4Ja4G5zlrqRo4eJRb7Nc HRBjEtXU8fVkLKGwajwA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdHKj-0000kO-IK; Tue, 18 Jun 2019 16:51:45 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdHKc-0000e3-GA for linux-arm-kernel@lists.infradead.org; Tue, 18 Jun 2019 16:51:39 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0DC5E344; Tue, 18 Jun 2019 09:51:38 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 763673F246; Tue, 18 Jun 2019 09:51:37 -0700 (PDT) Date: Tue, 18 Jun 2019 17:51:35 +0100 From: Will Deacon To: Mark Brown Subject: Re: [PATCH 2/2] arm64: Expose FRINT capability to userspace Message-ID: <20190618165135.GD4270@fuggles.cambridge.arm.com> References: <20190617112656.2614-1-broonie@kernel.org> <20190617112656.2614-2-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190617112656.2614-2-broonie@kernel.org> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190618_095138_619176_52CE23C7 X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 17, 2019 at 12:26:56PM +0100, Mark Brown wrote: > ARMv8.5 introduces the FRINT series of instructions for rounding floating > point numbers to integers. Provide a capability to userspace in order to > allow applications to determine if the system supports these instructions. > > Signed-off-by: Mark Brown > --- > Documentation/arm64/elf_hwcaps.txt | 4 ++++ > arch/arm64/include/asm/hwcap.h | 1 + > arch/arm64/include/asm/sysreg.h | 1 + > arch/arm64/include/uapi/asm/hwcap.h | 1 + > arch/arm64/kernel/cpufeature.c | 1 + > arch/arm64/kernel/cpuinfo.c | 1 + > 6 files changed, 9 insertions(+) > > diff --git a/Documentation/arm64/elf_hwcaps.txt b/Documentation/arm64/elf_hwcaps.txt > index 08e8e380a826..783e2997a0c0 100644 > --- a/Documentation/arm64/elf_hwcaps.txt > +++ b/Documentation/arm64/elf_hwcaps.txt > @@ -227,6 +227,10 @@ HWCAP_PACG > ID_AA64ISAR1_EL1.GPI == 0b0001, as described by > Documentation/arm64/pointer-authentication.txt. > > +HWCAP_FRINT HWCAP2_FRINT > + > + Functionality implied by ID_AA64ISAR1_EL1.FRINTTTS == 0b0001. ID_AA64ISAR1_EL1.FRINTTS With those: Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel