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: 1386337 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=SUWQP+Xe; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=088K+Ib2; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CHCJL2y36z9sTL for ; Fri, 23 Oct 2020 03:20:18 +1100 (AEDT) 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-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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+incoming-imx=patchwork.ozlabs.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(-)