From patchwork Fri Dec 15 23:47:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catalin Marinas X-Patchwork-Id: 13495196 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 4FD02C35274 for ; Fri, 15 Dec 2023 23:47:57 +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=v8IIpDbveEkTO1HSjCT+wWyyV64WeUZGsJRHkA97yxk=; b=4GAYWQ3aEBpTVx OgCdrPt9BqDgQZRjvQ2OpxbQduswU5dU5jG2l94Bu7lHc8NEWyaRogHSwGArI9djFX77A5d0SUq7j ZqTJ/hJ0IzYw+b7Cr97ujtyB/rfrDr2l8TDubiXrKhHz5U9mAhswEbd8Rwr2CFoJ18zEIPPYZyGSt VMjxJNA8+HZyrMDG3ov3TCMZgU2hWe2PWC9w7qHt1vrhqPD6dvAPRgB1uqMCYLi/BWfoaxMQnbCn+ 0EU6JM7w+w7wjnvSzpur/21tc8o8/mwrFBfDpF7IaSs4iE38REGsg4FbZDaiopulgfLDAv9a4CtJU alIX5yAEdMf59AlYAu7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rEHtv-004syL-2O; Fri, 15 Dec 2023 23:47:27 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rEHts-004sy0-2Q for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2023 23:47:26 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 1965F627B9; Fri, 15 Dec 2023 23:47:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5CBEC433C7; Fri, 15 Dec 2023 23:47:22 +0000 (UTC) Date: Fri, 15 Dec 2023 23:47:20 +0000 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.7-rc6 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-20231215_154724_839135_9702F0C0 X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. 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 f5259997f3e8d6edfcc2daf5b2c0b34f074d7bc0: arm64: Avoid enabling KPTI unnecessarily (2023-11-30 19:07:33 +0000) 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 3c0696076aad60a2f04c019761921954579e1b0e: arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify (2023-12-12 16:25:26 +0000) ---------------------------------------------------------------- arm64 fixes: - Arm CMN perf: fix the DTC allocation failure path which can end up erroneously clearing live counters - arm64/mm: fix hugetlb handling of the dirty page state leading to a continuous fault loop in user on hardware without dirty bit management (DBM). That's caused by the dirty+writeable information not being properly preserved across a series of mprotect(PROT_NONE), mprotect(PROT_READ|PROT_WRITE) ---------------------------------------------------------------- James Houghton (1): arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify Robin Murphy (1): perf/arm-cmn: Fail DTC counter allocation correctly arch/arm64/include/asm/pgtable.h | 6 ++++++ drivers/perf/arm-cmn.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-)