From patchwork Thu Jul 22 15:55:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1508791 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=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) 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=bombadil.20210309 header.b=I2yCDnBP; 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=OPZoGJlq; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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 4GVxr41fvnz9sXJ for ; Fri, 23 Jul 2021 01:55:48 +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=7sR9nXFwcr6b7yGH/C4z9J9p2s+wxPlT4ZLv1WBsit8=; b=I2yCDnBPnioQr9 79VsG5TBOZBkQgf34M2DTxQpzZ3v0Nb3iiVVBJglmB0HDI6ct0bBsuOKYzSgCjK9jCOqCD8H1D/kc WJI+ekwky8XNCsXRpZruMqnxFhlrMXhkyRhlqAUe0qQwYvo4VsdjtNQWCizgKis+9PqpUsUJoKIss 96zmw63Mv+Q7SYbJT8QGHPjEyZFdnuJmG8lihlMbZtx5jTbIQIXNeBvp9rdw2xvoV3EB22sR3HOlT 8RCW+34KAy8DSziINBa4REu9DeVVX7eYr6SlaznEh7GMdmstzOxssJguJU4C9gDKq+qgs758XddTl 3goUz7NPSOAd/7SqpHHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6b2d-0022Bq-Ig; Thu, 22 Jul 2021 15:55:19 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6b2Z-0022Ae-Ce for linux-arm-kernel@lists.infradead.org; Thu, 22 Jul 2021 15:55:16 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id BE53C6101E; Thu, 22 Jul 2021 15:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626969315; bh=QUR6QNDvRdcJPSeR2Cm6YLmShamr5QXRO3rk1PHR2lo=; h=Date:From:To:Cc:Subject:From; b=OPZoGJlqlCo/IaBWy7NOJgQSGbH4YbgtRX+TXJr8ZM4ETtJnDvbfl3/44FbPWnH6N H6LBxwYlV2gvJD8oaIe8RCxUoFuSKA8mVpTQm/eP9nq3GLTStbCJyKOOjc1/1p5T2+ jR26SgHGAYZNdOuBnWgCz3ZRozP7D+Ep7CMl0OA5///BOD3c0hRnzv7XsbMPOWxbHB xardrtdITXxRblI0R8Ya1rQvPXDGlmz9ZpZ3ndFnZjweClC5Wh8rI9XYWgHaYQqoyX IpF01gjoWWSl+97FTKjybw1JpTnREt0fD/0totAcsPMtwX/ZBnxgmbneEMjHW0f4A0 vAuoD8Lm+KyrQ== Date: Thu, 22 Jul 2021 16:55:10 +0100 From: Will Deacon To: torvalds@linux-foundation.org Cc: catalin.marinas@arm.com, maz@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com, mpe@ellerman.id.au Subject: [GIT PULL] arm64 fixes for -rc3 Message-ID: <20210722155509.GA12627@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-20210722_085515_533133_5058C6A0 X-CRM114-Status: GOOD ( 12.84 ) 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, Please pull this pair of arm64 fixes for -rc3. The straightforward one is a fix to our firmware calling stub, which accidentally started corrupting the link register on machines with SVE. Since these [...] 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 [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_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, Please pull this pair of arm64 fixes for -rc3. The straightforward one is a fix to our firmware calling stub, which accidentally started corrupting the link register on machines with SVE. Since these machines don't really exist yet, it wasn't spotted in -next. The other fix is a revert-and-a-bit of a patch originally intended to allow PTE-level huge mappings for the VMAP area on 32-bit PPC 8xx. A side-effect of this change was that our pXd_set_huge() implementations could be replaced with generic dummy functions depending on the levels of page-table being used, which in turn broke the boot if we fail to create the linear mapping as a result of using these functions to operate on the pgd. Huge thanks to Michael Ellerman for modifying the revert so as not to regress PPC 8xx in terms of functionality. Anyway, that's the background and it's also available in the commit message along with Link tags pointing at all of the fun. Please pull. Cheers, Will --->8 The following changes since commit e6f85cbeb23bd74b8966cf1f15bf7d01399ff625: arm64: entry: fix KCOV suppression (2021-07-15 17:37:55 +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 d8a719059b9dc963aa190598778ac804ff3e6a87: Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge" (2021-07-21 11:28:09 +0100) ---------------------------------------------------------------- arm64 fixes for -rc3 - Fix hang when issuing SMC on SVE-capable system due to clobbered LR - Fix boot failure due to missing block mappings with folded page-table ---------------------------------------------------------------- Jean-Philippe Brucker (1): arm64: smccc: Save lr before calling __arm_smccc_sve_check() Jonathan Marek (1): Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge" arch/arm64/kernel/smccc-call.S | 9 ++++++--- arch/arm64/mm/mmu.c | 20 ++++++++------------ arch/powerpc/mm/nohash/8xx.c | 10 ++++++++++ arch/x86/mm/pgtable.c | 34 +++++++++++++++------------------- include/linux/pgtable.h | 26 +------------------------- 5 files changed, 40 insertions(+), 59 deletions(-)