From patchwork Fri Apr 12 16:05:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 10898675 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0CE7A139A for ; Fri, 12 Apr 2019 16:05:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0DB028EA1 for ; Fri, 12 Apr 2019 16:05:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D522628EA6; Fri, 12 Apr 2019 16:05:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8546E28EA1 for ; Fri, 12 Apr 2019 16:05:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject: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=ORDq1uryOoLoR5968edGial649Sm+F0wDEp9wAIiP8U=; b=OTM/nwj1WgKxk3 HQB73GUFb67X4w2TZSKL25O6CLqjGyYCPbzchc34qFsKe072oUg/2NsPu/Bksv0t/O79dXspALmWI aC115W2ICL0T6TrpC1B1Hijo9ay7X3jHqdfHU/haHRiLNILeP7epOegWNcesvO75Xc/YjdaZkWeGr ZvjZ4yEwG/10SHAEgGFPOU4l/PXCeNcN0oryh7khwMC+tCBChhWVqMHvkTGdUFa4qC2SLJAqM1KEd MR6zPcPKzIZpQokdFPKw3/IwPBOGVdcYAjLrrsRLoU0kCz6VT9Z1ulLRKGK+XQj6VgYmUWrtLwi7N FGmqkXnbwk4rIodIF9/g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEyg6-0001eF-UL; Fri, 12 Apr 2019 16:05:22 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEyg3-0001d7-9K for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 16:05:21 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9FE8D15AB; Fri, 12 Apr 2019 09:05:18 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B0A933F557; Fri, 12 Apr 2019 09:05:17 -0700 (PDT) Date: Fri, 12 Apr 2019 17:05:15 +0100 From: Will Deacon To: torvalds@linux-foundation.org Subject: [GIT PULL] arm64 fixes for -rc5 Message-ID: <20190412160515.GH31037@fuggles.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_090519_324718_FF93A28F X-CRM114-Status: GOOD ( 12.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, Please pull these three arm64 fixes for -rc5. The main thing is a fix to our FUTEX_WAKE_OP implementation which was unbelievably broken, but did actually work for the one scenario that GLIBC used to use. Summary in the tag. Thanks, Will --->8 The following changes since commit 15ade5d2e7775667cf191cf2f94327a4889f8b9d: Linux 5.1-rc4 (2019-04-07 14:09:59 -1000) 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 045afc24124d80c6998d9c770844c67912083506: arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value (2019-04-12 15:04:33 +0100) ---------------------------------------------------------------- arm64 fixes for -rc5 - Fix stack unwinding so we ignore user stacks - Fix ftrace module PLT trampoline initialisation checks - Fix terminally broken implementation of FUTEX_WAKE_OP atomics ---------------------------------------------------------------- Ard Biesheuvel (1): arm64/ftrace: fix inadvertent BUG() in trampoline check Will Deacon (2): arm64: backtrace: Don't bother trying to unwind the userspace stack arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value arch/arm64/include/asm/futex.h | 16 ++++++++-------- arch/arm64/include/asm/module.h | 5 +++++ arch/arm64/kernel/ftrace.c | 3 +-- arch/arm64/kernel/traps.c | 15 +++++++++------ 4 files changed, 23 insertions(+), 16 deletions(-)