From patchwork Fri Apr 8 16:29:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1614988 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.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=NaZylk3U; 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=fMawvy6u; dkim-atps=neutral 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=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4KZkHb4jphz9sDX for ; Sat, 9 Apr 2022 02:30:03 +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=6L2U4OdoQ8xlcmAq512XZKV57Riz6uBedhiRSL0Rvr4=; b=NaZylk3UXsneJo WTyNgimA6IMX6Ja0Zot4hv79YLz6NoO+S8gzCxWCkCpL47NscSsY5VyR06UgDBXP4xOP94WPTMBSe g3SL+x0U8CXa5xT9Il50m7oKMSeQaMc9y+AogCQ7FQQ/zkV5RSpYfFVyPhsg2SeFM7W9JB6h5ycpu /dSlBuTwWvc5kw7bGEExdgWqROoO+yCBzyDDCsdwr7n9ArkQc/qErVP4o0olvyBjyzS6pcyJZespc txNiB36UWrvbGpSCkL8rKEe+Ir66r8FFVJFScAQgh2EMx6YEcO7Kmd63FpsaM8nMhX9vOLiA/R2o+ 9kdAzDtvu3z5pD/vyayw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncrUL-000Wd5-5i; Fri, 08 Apr 2022 16:29:33 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncrTx-000WTh-0I for linux-arm-kernel@lists.infradead.org; Fri, 08 Apr 2022 16:29:10 +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 ams.source.kernel.org (Postfix) with ESMTPS id 4F55AB82A1C; Fri, 8 Apr 2022 16:29:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04095C385A3; Fri, 8 Apr 2022 16:29:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649435346; bh=x4dhjkETefwHzF0BSywC1YGUzOvL3hMJFwITeWy3G/I=; h=Date:From:To:Cc:Subject:From; b=fMawvy6u03JUiIIegIcQuh61EsdNHKerclvCiSe4VNxU7Z8tU4NKLVCTGes24sPJu tvh6bPCkeykF0E5GmzsGuWWLLi6R1Ue5Olu70wQ63ptqh4td7LHJgV1M2uS7op66Xw 7WUApIV1uYAJRBJ9QZ7hNdo5dO22jY3f3nkQCzk2MqBl5XeVi1tY+CSVrkA5Fiyj47 ZEHizvy5/FxX9Df4lmhFhBKuQpXORmX0ODJpDyrqJP5no21ceBnE2DRh31Sm+g7jCx qoIqXg5fmkhL4SlK/xG5O5gfPPxcpt2cGSObToVDVC/h0S7cdt+iw6NrO0q4If6wLh NSvmxliWVXadw== Date: Fri, 8 Apr 2022 17:29:00 +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 -rc2 Message-ID: <20220408162900.GC28108@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-20220408_092909_416567_3E820213 X-CRM114-Status: GOOD ( 13.60 ) 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 these arm64 fixes for -rc2. The usual summary is in the tag, but the two main things to note are: (1) The bulk of the diffstat is us reverting a horrible bodge we had in place to ease the merging of maple tree during the merge window (which turned out not to be needed, but anyway) 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:4601:e00: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, Please pull these arm64 fixes for -rc2. The usual summary is in the tag, but the two main things to note are: (1) The bulk of the diffstat is us reverting a horrible bodge we had in place to ease the merging of maple tree during the merge window (which turned out not to be needed, but anyway) (2) The TLB invalidation fix is done in core code, as suggested by (and Acked-by) Peter. Cheers, Will --->8 The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17: Linux 5.18-rc1 (2022-04-03 14:08:21 -0700) 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 d02b4dd84e1a90f7f1444d027c0289bf355b0d5a: perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant (2022-04-08 14:17:57 +0100) ---------------------------------------------------------------- arm64 fixes for -rc2 - Revert temporary bodge in MTE coredumping to ease maple tree integration - Fix stack frame size warning reported with 64k pages - Fix stop_machine() race with instruction text patching - Ensure alternatives patching routines are not instrumented - Enable Spectre-BHB mitigation for Cortex-A78AE - Fix hugetlb TLB invalidation when contiguous hint is used - Minor perf driver fixes - Fix some typos ---------------------------------------------------------------- Borislav Petkov (1): perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant Catalin Marinas (1): arm64: mte: Fix the stack frame size warning in mte_dump_tag_range() Chanho Park (1): arm64: Add part number for Arm Cortex-A78AE Geert Uytterhoeven (1): perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER Guo Ren (1): arm64: patch_text: Fixup last cpu should be master Joey Gouly (1): arm64: alternatives: mark patch_alternative() as `noinstr` Julia Lawall (1): arm64: fix typos in comments Phil Auld (1): arch/arm64: Fix topology initialization for core scheduling Steve Capper (1): tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry Will Deacon (1): Revert "arm64: Change elfcore for_each_mte_vma() to use VMA iterator" Xiaomeng Tong (1): perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator Zhiyuan Dai (1): arm64: Fix comments in macro __init_el2_gicv3 arch/arm64/include/asm/cputype.h | 2 ++ arch/arm64/include/asm/el2_setup.h | 2 +- arch/arm64/kernel/alternative.c | 6 ++--- arch/arm64/kernel/elfcore.c | 47 +++++++++++++++++++++----------------- arch/arm64/kernel/hw_breakpoint.c | 2 +- arch/arm64/kernel/module-plts.c | 2 +- arch/arm64/kernel/patching.c | 4 ++-- arch/arm64/kernel/proton-pack.c | 1 + arch/arm64/kernel/smp.c | 2 +- arch/arm64/kernel/suspend.c | 2 +- arch/arm64/mm/init.c | 4 ++-- drivers/perf/Kconfig | 2 +- drivers/perf/fsl_imx8_ddr_perf.c | 2 +- drivers/perf/qcom_l2_pmu.c | 6 ++--- include/asm-generic/tlb.h | 10 +++++--- 15 files changed, 53 insertions(+), 41 deletions(-)