From patchwork Fri May 7 16:53:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catalin Marinas X-Patchwork-Id: 12244957 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-22.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08EF1C433ED for ; Fri, 7 May 2021 16:56:13 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 412FE61008 for ; Fri, 7 May 2021 16:56:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 412FE61008 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: 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=tQA0el/7FbrTb9coMoIFJ38IlgAhSrXMPcPK0CuPQhM=; b=MAhJGqx8swrHzfyz69WVpdMhQ9 hSzkJZCM7SYYGX5dMXYyYSpE3Romfe01EVBGpptIBjvnrdezEeiueaWl/10GjNNSAVPFzNGb5Jd5O LrKrI4dGeLNoh+phN5moJ1dkw703YZs8qquIA0tsgAuB1uJPSCy13CsbVLVIsAaXRNnuiYaJyV0k1 NWckbawX24BnX37YuqQEmHAHG4RVhGOB9hBzfrSYJQmpvuGdqgsrylApuX4OtxFkZk36aoYxLGqPS z226R9Wn7PhYkY27n+/Kh788JBi/Cc4dt/oo1Ivff6WZv4lrKmD270EM6LrLeuAbGNY/qyhCy30JG FI9wryvg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lf3kQ-007cTz-Dy; Fri, 07 May 2021 16:54:42 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lf3iv-007c9E-D6 for linux-arm-kernel@desiato.infradead.org; Fri, 07 May 2021 16:53:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=dHI3z47L/XGvHKcsJAAA4gWiE5qWkeFiF7ji4gircWk=; b=B0nwW/AWduY13FRRWHyKzsnSJD KYR8/McGkJ6KbrCQ2ouXjg/GvCrLS/EdfWZTc2Dj9c5uEoftevpINpM6p0P1f1n0DQ9F3kUred3m3 VgU97sxALoWfFTGnxCB5piBSWox4amZmEQjmTm1NQpne24Zat9fr7x3NkloWeXdx1/fl7IAkSoW2O fHB8ZQtxo8Me7om/1otFWDUl/oR8ruuJ73DtTTJV4ZIkn6uPKTpEYvevobMp7uaSWyDhPOfPzVgds A52w8U2H11qzEe9nzyZEIPzWeQg14lPQX/vHXNk6trV5kEdc6/74yloFrZVMjpeV+aYE9uGFk2K40 tZoatDzw==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lf3is-00719l-Ct for linux-arm-kernel@lists.infradead.org; Fri, 07 May 2021 16:53:08 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 279ED6145D; Fri, 7 May 2021 16:53:03 +0000 (UTC) From: Catalin Marinas To: Linus Torvalds Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] arm64 updates for 5.13-rc1 (2nd set) Date: Fri, 7 May 2021 17:53:02 +0100 Message-Id: <20210507165302.1626-1-catalin.marinas@arm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210507_095306_530942_0D69584D X-CRM114-Status: GOOD ( 14.47 ) 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 updates below. They contain a mix of fixes and clean-ups that turned up too late for the first pull request this merging window. There is a trivial conflict in alternative.c, my resolution is at the end of this email. Thanks. The following changes since commit a27a8816568964fcef62a3ae5f9d2228ec1ebc68: Merge branch 'for-next/pac-set-get-enabled-keys' into for-next/core (2021-04-15 14:00:48 +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 c76fba33467b96b8234a1bbef852cd257c0dca69: arm64: kernel: Update the stale comment (2021-05-06 12:26:26 +0100) ---------------------------------------------------------------- Assorted arm64 fixes and clean-ups, the most important: - Restore terminal stack frame records. Their previous removal caused traces which cross secondary_start_kernel to terminate one entry too late, with a spurious "0" entry. - Fix boot warning with pseudo-NMI due to the way we manipulate the PMR register. - ACPI fixes: avoid corruption of interrupt mappings on watchdog probe failure (GTDT), prevent unregistering of GIC SGIs. - Force SPARSEMEM_VMEMMAP as the only memory model, it saves with having to test all the other combinations. - Documentation fixes and updates: tagged address ABI exceptions on brk/mmap/mremap(), event stream frequency, update booting requirements on the configuration of traps. ---------------------------------------------------------------- Bill Wendling (1): arm64/vdso: Discard .note.gnu.property sections in vDSO Catalin Marinas (3): arm64: Force SPARSEMEM_VMEMMAP as the only memory management model arm64: doc: Add brk/mmap/mremap() to the Tagged Address ABI Exceptions arm64: Fix the documented event stream frequency Jisheng Zhang (1): arm64: remove HAVE_DEBUG_BUGVERBOSE Marc Zyngier (2): ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure ACPI: irq: Prevent unregistering of GIC SGIs Mark Brown (3): arm64: Relax booting requirements for configuration of traps arm64: Explicitly require that FPSIMD instructions do not trap arm64: Explicitly document boot requirements for SVE Mark Rutland (3): arm64: alternative: simplify passing alt_region arm64: stacktrace: restore terminal records arm64: entry: always set GIC_PRIO_PSR_I_SET during entry Matthew Wilcox (Oracle) (1): arm64: Show three registers per line Nick Desaulniers (1): arm64: vdso32: drop -no-integrated-as flag Shaokun Zhang (1): arm64: kernel: Update the stale comment Yang Li (1): psci: Remove unneeded semicolon kernel test robot (1): arm64: cpufeatures: use min and max Documentation/arm64/booting.rst | 33 +++++++++++++++++++++++++++++- Documentation/arm64/elf_hwcaps.rst | 2 +- Documentation/arm64/tagged-address-abi.rst | 6 ++++++ arch/arm64/Kconfig | 11 +--------- arch/arm64/include/asm/daifflags.h | 3 +++ arch/arm64/include/asm/kernel-pgtable.h | 2 +- arch/arm64/include/asm/memory.h | 4 ++-- arch/arm64/include/asm/sparsemem.h | 3 --- arch/arm64/kernel/alternative.c | 3 +-- arch/arm64/kernel/cpufeature.c | 5 +++-- arch/arm64/kernel/cpuidle.c | 2 +- arch/arm64/kernel/entry-common.c | 17 --------------- arch/arm64/kernel/entry.S | 21 +++++-------------- arch/arm64/kernel/process.c | 9 +++----- arch/arm64/kernel/stacktrace.c | 10 +++++---- arch/arm64/kernel/vdso/vdso.lds.S | 8 +++++++- arch/arm64/kernel/vdso32/Makefile | 8 -------- arch/arm64/mm/init.c | 8 ++------ arch/arm64/mm/mmu.c | 2 -- arch/arm64/mm/ptdump.c | 2 -- drivers/acpi/arm64/gtdt.c | 10 +++++---- drivers/acpi/irq.c | 6 +++++- drivers/firmware/psci/psci.c | 2 +- 23 files changed, 86 insertions(+), 91 deletions(-) Conflict with current mainline (a48b0872e694): -------------------8<-------------------------- +++ b/arch/arm64/kernel/alternative.c @@@ -133,11 -133,10 +133,10 @@@ static void clean_dcache_range_nopatch( } while (cur += d_size, cur < end); } - static void __nocfi __apply_alternatives(void *alt_region, bool is_module, -static void __apply_alternatives(struct alt_region *region, bool is_module, - unsigned long *feature_mask) ++static void __nocfi __apply_alternatives(struct alt_region *region, bool is_module, + unsigned long *feature_mask) { struct alt_instr *alt; - struct alt_region *region = alt_region; __le32 *origptr, *updptr; alternative_cb_t alt_cb; diff --cc arch/arm64/kernel/alternative.c index abc84636af07,f6fd16185040..f6aa38436f56 --- a/arch/arm64/kernel/alternative.c