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=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 96E97C352A3 for ; Sat, 15 Feb 2020 20:22:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6E4632083B for ; Sat, 15 Feb 2020 20:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581798130; bh=X9z+M6RBVGLaLQJqU0GzAqWo15nR6ul72uM2PPlhBGk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Ycuy3XVtfVEo1Fs4mIjahcrfMknocjnaAJ9+Yb44J+Ds3OmofokaIrJKs3CJBihOi DRQ+KQmeYI3riquyidVUdXbnzDLplqhnBfl3ga5m33avogdqJ6UHpvUZCyrEfOmLmS 7DnklP1r2YA/u5Cou65hSnHftZEk85KopVChuT2w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726273AbgBOUWK (ORCPT ); Sat, 15 Feb 2020 15:22:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:51608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726254AbgBOUWJ (ORCPT ); Sat, 15 Feb 2020 15:22:09 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1E823207FF; Sat, 15 Feb 2020 20:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581798129; bh=X9z+M6RBVGLaLQJqU0GzAqWo15nR6ul72uM2PPlhBGk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B7m1Jq1zmCHBsL8vIHnCnRCE6LozQRZlDhIuvEFRSdYisfngPrKpoyQ4xRUGAGnhB tOcInL79hqd71yHcLRs+v3TLGgP9+uTK23s0UqIftVa9xh31BBY9N1QBsW871cfngE aliHdlIHNN+34Cd7HUR3XzRp6U6YqWuwwxG6+nbs= Date: Sat, 15 Feb 2020 15:22:08 -0500 From: Sasha Levin To: Suzuki K Poulose Cc: stable@vger.kernel.org, gregkh@linuxfoundation.org, catalin.marinas@arm.com, mark.rutland@arm.com, maz@kernel.org, will@kernel.org, ard.biesheuvel@linaro.org, Ard Biesheuvel Subject: Re: [stable 4.19 PATCH 1/2] arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly Message-ID: <20200215202208.GH1734@sasha-vm> References: <20200214165734.1999618-1-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20200214165734.1999618-1-suzuki.poulose@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, Feb 14, 2020 at 04:57:33PM +0000, Suzuki K Poulose wrote: >commit 7ef1ab8792c50797c6c5c7c5150a02460 upstream > >We set the compat_elf_hwcap bits unconditionally on arm64 to >include the VFP and NEON support. However, the FP/SIMD unit >is optional on Arm v8 and thus could be missing. We already >handle this properly in the kernel, but still advertise to >the COMPAT applications that the VFP is available. Fix this >to make sure we only advertise when we really have them. > >Cc: stable@vger.kernel.org # v4.19 >Cc: Will Deacon >Cc: Mark Rutland >Reviewed-by: Ard Biesheuvel >Reviewed-by: Catalin Marinas >Signed-off-by: Suzuki K Poulose Queued both up for 4.19, thank you. -- Thanks, Sasha