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: 12972878 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 34390ECAAA1 for ; Sun, 11 Sep 2022 11:38:41 +0000 (UTC) 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-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+linux-arm-kernel=archiver.kernel.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(-)