From patchwork Fri Apr 19 17:51:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catalin Marinas X-Patchwork-Id: 13636693 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 42E00C4345F for ; Fri, 19 Apr 2024 17:51:26 +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=x5A5UJRq9Qgl+zbYrW40lX+Pvz/Zq4T07fyytvSQYUE=; b=Mn12ENLRSGBz2i +v0GPpNASzg3uQsTkNDpGuUqlMOVgD6yF7mkgdspZpqseJEmjmJuT8uz+vfXGfBJM+6FBx/ZM7/nh HIJ8BeSAlOsnNoqqBP8qGUzBL8ULVzpb0gensnyiCGPIFJ90dBgYl/DOlluXFrL3xz+9mi26mz0YE M+ebpXJQ5Ktxtai78zu3rMj7BQgqqSjSuFYTcDTZc+iLNRvRW+xT/mEIYFqWLKM5eHYoiU0EY2W5j ZDt/WfHpOYJ5z5PC2D5+4v5xYf7oyUwXldxByYssBik85X3XrQFzyqfMAbQbfL2WHQle6MGzW5QNT pg2728kK5WL4CKRjmg2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxsOF-00000006ZrG-1ueq; Fri, 19 Apr 2024 17:51:11 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxsOC-00000006Zqq-1HP9 for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 17:51:10 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6B2B161A02; Fri, 19 Apr 2024 17:51:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22067C116B1; Fri, 19 Apr 2024 17:51:04 +0000 (UTC) Date: Fri, 19 Apr 2024 18:51:03 +0100 From: Catalin Marinas To: Linus Torvalds Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] arm64 fixes for 6.9-rc5 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240419_105108_414401_5567B595 X-CRM114-Status: GOOD ( 11.41 ) 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, Please pull the arm64 fixes below. Thanks. The following changes since commit e3ba51ab24fddef79fc212f9840de54db8fd1685: arm64: tlb: Fix TLBI RANGE operand (2024-04-10 18:22:28 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes for you to fetch changes up to 50449ca66cc5a8cbc64749cf4b9f3d3fc5f4b457: arm64: hibernate: Fix level3 translation fault in swsusp_save() (2024-04-19 16:33:00 +0100) ---------------------------------------------------------------- arm64 fixes: - Fix a kernel fault during page table walking in huge_pte_alloc() with PTABLE_LEVELS=5 due to using p4d_offset() instead of p4d_alloc() - head.S fix and cleanup to disable the MMU before toggling the HCR_EL2.E2H bit when entering the kernel with the MMU on from the EFI stub. Changing this bit (currently from VHE to nVHE) causes some system registers as well as page table descriptors to be interpreted differently, potentially resulting in spurious MMU faults - Fix translation fault in swsusp_save() accessing MEMBLOCK_NOMAP memory ranges due to kernel_page_present() returning true in most configurations other than rodata_full == true, CONFIG_DEBUG_PAGEALLOC=y or CONFIG_KFENCE=y ---------------------------------------------------------------- Anshuman Khandual (1): arm64/hugetlb: Fix page table walk in huge_pte_alloc() Ard Biesheuvel (2): arm64/head: Drop unnecessary pre-disable-MMU workaround arm64/head: Disable MMU at EL2 before clearing HCR_EL2.E2H Yaxiong Tian (1): arm64: hibernate: Fix level3 translation fault in swsusp_save() arch/arm64/kernel/head.S | 7 +++++-- arch/arm64/mm/hugetlbpage.c | 5 ++++- arch/arm64/mm/pageattr.c | 3 --- 3 files changed, 9 insertions(+), 6 deletions(-)