From patchwork Fri Aug 6 13:53:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 12423523 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=-21.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham 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 8A0CDC4338F for ; Fri, 6 Aug 2021 13:55:33 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4F15261158 for ; Fri, 6 Aug 2021 13:55:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4F15261158 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=rtVwi+Q6uq50iiHAt8xwL1S3XBYsyxeBqAQj0QP3sEE=; b=x5X82oG46U/DdE xmWltjXeDbVMc08zXYiCVhn9VpflsaO6wv3gpjEUVJUqE22R4n/CcbGE65ECiCMOM/SWWbWzyXUDy zMbkoWaUW2EIIaAHVAlPQK6b418duAR4sFKrMxYXj2oVzX2rnUsgtWh7lkLG5dfYt+tJpb8HoxWD8 SgfAKL3PygqvSYxUVaC16W3hrRrotpZ5JjqCFBK0gn9Tre2lPJADBXzPoUvluPlnp3ELjrxLRqKf9 IXEV+lYX3LTD8omaBEsmP1L2P+iMuqbQdlTlWfMfaPPfcrUHgpEVk+wcnbv9Yo5DNXVewxzVMExWV 6gpbn5S5QJlZNcImnNqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mC0I7-00Cgpa-St; Fri, 06 Aug 2021 13:53:40 +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 1mC0I4-00CgpF-KR for linux-arm-kernel@lists.infradead.org; Fri, 06 Aug 2021 13:53:37 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 407C360F70; Fri, 6 Aug 2021 13:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628258016; bh=HJzP5YP4DYQESm9BV+H2EfIFsF7Mzd+YPm8A9nWkj3g=; h=Date:From:To:Cc:Subject:From; b=CsVJKkRwfeUetV5oVR54+pqKArGdOHRuwQ7qYVdNFl+W0HpU5hYmBaRqz9y96UkKW Dha72e8wwl+0krdrRvxPE+jl8RROAskdNCRJqfwjoHPHH0kTX4WrcAp2+cbMlm4YVc Sal5XgZOVcPe14qrvvq5NdN0Bsi4voXMUB/b7L2Lot82PhS+ohSw/mr8Q3Yp0cYu7v NPpXphkPUhAW+ZDgMNvunsg/jmUvu/lJScKAndgaLQpaYz6yCyZyzHpEaLbEdXVFU8 VN5gipq+RVLKf9Leo1UYiw/Svymz4zffsvuIQCd/qawdxoQM9VMveqEp8y33Ztd7X5 29C9LfINmId1g== Date: Fri, 6 Aug 2021 14:53:32 +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 -rc5 Message-ID: <20210806135331.GA2951@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-20210806_065336_737990_593821E1 X-CRM114-Status: GOOD ( 10.17 ) 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 these arm64 fixes for -rc5. It's all pretty minor but the main fix is sorting out how we deal with return values from 32-bit system calls as audit expects error codes to be sign-extended to 64 bits Brief summary in the tag. Cheers, Will --->8 The following changes since commit d8a719059b9dc963aa190598778ac804ff3e6a87: Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge" (2021-07-21 11:28:09 +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 0c32706dac1b0a72713184246952ab0f54327c21: arm64: stacktrace: avoid tracing arch_stack_walk() (2021-08-03 10:39:35 +0100) ---------------------------------------------------------------- arm64 fixes for -rc5 - Fix extension/truncation of return values from 32-bit system calls - Fix interaction between unwinding and tracing - Fix spurious toolchain warning emitted during make - Fix Kconfig help text for RANDOMIZE_MODULE_REGION_FULL ---------------------------------------------------------------- Barry Song (1): arm64: fix the doc of RANDOMIZE_MODULE_REGION_FULL Mark Rutland (3): arm64: fix compat syscall return truncation arm64: stacktrace: fix comment arm64: stacktrace: avoid tracing arch_stack_walk() Masahiro Yamada (1): arm64: move warning about toolchains to archprepare arch/arm64/Kconfig | 9 ++++++--- arch/arm64/Makefile | 21 ++++++++++++--------- arch/arm64/include/asm/ptrace.h | 12 +++++++++++- arch/arm64/include/asm/stacktrace.h | 2 +- arch/arm64/include/asm/syscall.h | 19 ++++++++++--------- arch/arm64/kernel/kaslr.c | 4 +++- arch/arm64/kernel/ptrace.c | 2 +- arch/arm64/kernel/signal.c | 3 ++- arch/arm64/kernel/stacktrace.c | 2 +- arch/arm64/kernel/syscall.c | 9 +++------ 10 files changed, 50 insertions(+), 33 deletions(-)