From patchwork Sun Sep 11 11:37:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1676518 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=2SRpUXgn; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=gbjhLGqR; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MQSQV6BZ6z1yhR for ; Sun, 11 Sep 2022 21:37:53 +1000 (AEST) 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:MIME-Version: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:In-Reply-To:References: List-Owner; bh=MIFF7W5qCx6mgs3wHWlr/tmJRhIY9MH5XRJ6V1pQw+s=; b=2SRpUXgn/GxZex mCZa8AfoqATv4dRnsZvFNp3MYlCO6VakXLATMEcxRqJl8E6p6YFWIeSJy1x98kte6Pwwv5NzTYVGp ibZfcPagKOkMGOxgpCyi4c6kTSG5PdGfxoBVYsVdUps4FxxDAOJMFKMzFG4fDYRA8uxE8RWriKKHv vjbHsKqg8OZycQR2ObUiTiYjUXWugLlnssTazhNzwJWwsfY2BNCDvL/MXCQJeRgQohhEY5oUwXbxm Pc34BVcIkMa95Rtx8EVxKYXO2goIeMVlmb9iuZmA7zdC1wCZ6Wb+Www1Aj8nxwFnRnNzfE3FO5Cyj 0Wl6Xfp/swqeWvWDBw9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oXLHN-000tZC-Mz; Sun, 11 Sep 2022 11:37:37 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oXLHL-000tSh-B7 for linux-arm-kernel@lists.infradead.org; Sun, 11 Sep 2022 11:37:36 +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 dfw.source.kernel.org (Postfix) with ESMTPS id B0AF960C88; Sun, 11 Sep 2022 11:37:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E5DCC433D6; Sun, 11 Sep 2022 11:37:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662896252; bh=csZ/jPvWDw1YIi3MWBz7R54yOulFDj016aE61Oqqpz0=; h=Date:From:To:Cc:Subject:From; b=gbjhLGqRuEyjqFOPMugmxqF7qBw+oxmTUeLy4LOxl1RzyDKu6F+UdMBq9UB/c0+5W zwMaM8ouoN74xDwQHt9i2aRKr5Xhm/IUcE4y/rNx1wLMFShXhIh8CfC0dJk/npn7aM kVDzVTOjbz5yrcKIBfWPJ30uRVCQo/0o8Vz/+11HH939Yu8itnvhMJjrhxw7ksjaLR bVp7Blv+Xtsgsi+t46rsa58NmgaVLJ0N/rAwMTLwjpnWONbGfn87al55NyipagIZ4D H/iBGwCi164BoE5qATF2a/Eo79htK25X+I+P7YYajDDMwybzN4YxULyTyXqYNfywwW 7eIUr1SopKDLw== Date: Sun, 11 Sep 2022 12:37:27 +0100 From: Will Deacon To: torvalds@linux-foundation.org Cc: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: [GIT PULL] arm64 fixes for -rc5 Message-ID: <20220911113725.GA2070@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-20220911_043735_471479_A964760E X-CRM114-Status: GOOD ( 13.03 ) X-Spam-Score: -5.4 (-----) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Linus, When you get a moment, please can you pull these three small arm64 fixes? They're all related to optional architecture extensions: BTI, SME and 52-bit virtual addressing. Summary in the tag. Content analysis details: (-5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [2604:1380:4641:c500:0:0:0:1 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_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.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi Linus, When you get a moment, please can you pull these three small arm64 fixes? They're all related to optional architecture extensions: BTI, SME and 52-bit virtual addressing. Summary in the tag. Cheers, Will --->8 The following changes since commit 5fbc49cef91916140a305f22f7430e9a7ea0c6b4: arm64: mm: Reserve enough pages for the initial ID map (2022-09-01 12:02:39 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes for you to fetch changes up to 3fe3fd5f30720b4afd3345cc186808125e7f5848: arm64: mm: fix resume for 52-bit enabled builds (2022-09-10 14:46:28 +0100) ---------------------------------------------------------------- arm64 fixes for -rc5 - Disable in-kernel BTI when compiling with GCC, as it makes invalid assumptions about the distance between functions which has led to crashes when calling modules on a CPU with BTI support. - Remove bogus TIF_SME flag management if memory allocation fails in the ptrace code. - Fix the resume path when configured for 52-bit virtual addressing. ---------------------------------------------------------------- Joey Gouly (1): arm64: mm: fix resume for 52-bit enabled builds Mark Brown (2): arm64/bti: Disable in kernel BTI when cross section thunks are broken arm64/ptrace: Don't clear calling process' TIF_SME on OOM arch/arm64/Kconfig | 2 ++ arch/arm64/kernel/ptrace.c | 2 -- arch/arm64/kernel/sleep.S | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-)