From patchwork Thu Oct 22 16:19:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 11851585 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=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 0D57BC388F9 for ; Thu, 22 Oct 2020 16:21:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 8B69A208B6 for ; Thu, 22 Oct 2020 16:21:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SUWQP+Xe"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="088K+Ib2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B69A208B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=c7FGg/JVCaCmg3uQ9TWSRC2g2ieqUz+Vj+QNiBf6qxI=; b=SUWQP+XegJ9L8Pf/sFahivO3ei QKYQ2bOM4mK/X/rQNFVl0TpRPi1YtM6S1W9XpwzF3BLQUz4Lmi7e5jn4HJpFzUiXbYU/UmUJkS6Kn X5xkBUbed3wt2gjtqSx603HfMGJAjG/sat4j91s1MpVjSB86/JMUY8sWS/GpWaWi9B88544cNKcnk jVe23R26p+Pc3OdBU3gdfIwraOi1idro80rFFkrbnAgyY/ZvqhGJSyTriNSyFwb8PBHPGNhYQb5XF ePBoteQWp/RuCXI/hitSKoBFA3TRALn7OMOuwKn9XHg4dYxpqaNOeCeVcRMfnufwoEcq6/+zgD5DC gBVBeMQQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVdJm-0007Zq-G0; Thu, 22 Oct 2020 16:19:58 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVdJi-0007Z0-Tx for linux-arm-kernel@lists.infradead.org; Thu, 22 Oct 2020 16:19:55 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (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 87C63208B6; Thu, 22 Oct 2020 16:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603383593; bh=qIrOo2z31/taIsn/ACV6wfNDT0g2pckjugQNsIbulKw=; h=Date:From:To:Cc:Subject:From; b=088K+Ib28sFxX2tt63cpzdWUQhNtVVcgdX0Huit0Siy3D59z9sh7T+x76X3+toICl wr2mKX/okEfIr15DErTqbJ96KZErdVFy8Q/UWH61PyqJsj4FGEgPdnmHT8kEbv20eY AFCS2ajTvtP+IHgfQQTmWuez9vcGrImusIKjj5eo= Date: Thu, 22 Oct 2020 17:19:48 +0100 From: Will Deacon To: torvalds@linux-foundation.org Subject: [GIT PULL] More arm64 updates for -rc1 Message-ID: <20201022161948.GA19780@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201022_121955_117902_0810502C X-CRM114-Status: GOOD ( 14.72 ) 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@arm.com, kernel-team@android.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Linus, Please pull this small selection of arm64 fixes and updates for -rc1. Most of these are fixes that came in during the merge window, with the exception of the HAVE_MOVE_PMD mremap() speed-up which we discussed back in 2018 and somehow forgot to enable upstream [1]. Anyway, usual summary in the tag. Marc Zyngier managed to get his paws on a Falkor system and offered a Tested-by on the Spectre-v2 mitigation patch, but it came in after I'd applied the thing. Please pull. Thanks, Will [1] https://lore.kernel.org/kvmarm/20181108181201.88826-3-joelaf@google.com/ --->8 The following changes since commit d13027bb35e089bc1bb9f19c4976decf32a09b97: Revert "arm64: initialize per-cpu offsets earlier" (2020-10-09 11:24:17 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-upstream for you to fetch changes up to 66dd3474702aa98d5844367e1577cdad78ef7c65: arm64: proton-pack: Update comment to reflect new function name (2020-10-21 11:07:27 +0100) ---------------------------------------------------------------- More arm64 updates for 5.10 - Improve performance of Spectre-v2 mitigation on Falkor CPUs (if you're lucky enough to have one) - Select HAVE_MOVE_PMD. This has been shown to improve mremap() performance, which is used heavily by the Android runtime GC, and it seems we forgot to enable this upstream back in 2018. - Ensure linker flags are consistent between LLVM and BFD - Fix stale comment in Spectre mitigation rework - Fix broken copyright header - Fix KASLR randomisation of the linear map - Prevent arm64-specific prctl()s from compat tasks (return -EINVAL) ---------------------------------------------------------------- Ard Biesheuvel (1): arm64: mm: use single quantity to represent the PA to VA translation Kalesh Singh (1): arm64: mremap speedup - Enable HAVE_MOVE_PMD Nick Desaulniers (1): arm64: link with -z norelro regardless of CONFIG_RELOCATABLE Palmer Dabbelt (1): arm64: Fix a broken copyright header in gen_vdso_offsets.sh Peter Collingbourne (1): arm64: reject prctl(PR_PAC_RESET_KEYS) on compat tasks Stephen Boyd (1): arm64: proton-pack: Update comment to reflect new function name Will Deacon (1): arm64: spectre-v2: Favour CPU-specific mitigation at EL2 arch/arm64/Kconfig | 1 + arch/arm64/Makefile | 4 +-- arch/arm64/include/asm/memory.h | 5 ++-- arch/arm64/include/asm/pgtable.h | 4 +-- arch/arm64/kernel/fpsimd.c | 4 +-- arch/arm64/kernel/pointer_auth.c | 4 +++ arch/arm64/kernel/proton-pack.c | 40 ++++++++++++++---------------- arch/arm64/kernel/vdso/gen_vdso_offsets.sh | 2 +- arch/arm64/mm/init.c | 30 ++++++++-------------- 9 files changed, 43 insertions(+), 51 deletions(-)