From patchwork Fri May 14 17:29:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catalin Marinas X-Patchwork-Id: 1478630 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=KWozPXnL; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=wRA+EjPi; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 ozlabs.org (Postfix) with ESMTPS id 4FhbBm3qmHz9sWY for ; Sat, 15 May 2021 03:30:07 +1000 (AEST) 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: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=sO3y8GjDzypCncwVmumnBfhZ/DaSoogr7IdZrac6d9k=; b=KWozPXnLR8CEh7hO7FP73N4H9r 7SLDfKazYeEjCzLXr9RPatl8fqAfdOYe+c+v5V6hiKPXya9AYzjVtlPet6sKGgC4WVsYhTfBSQ3R7 E9EXucGzy3BRFRpFyvwVGcWzH7GCd/W3qG23RgShk5QsdGW6p9YMcWrOtsL9sAC8vz1AeGp/CiG2g 8kRhf8V2ZL+8hRhyKYq+8R1cyq2ge6lgI6cFxb5STX1CvBhXo/QkGg+PkQI+vIPEmcara5PTt7w9K WRwdyVjUNVrVcAd9ct1Ar1K8TpoPALnocwR/y2xaYlG6GTfBxAFwQUKEWkVrINJCNI4J8WTVnPEoG SBk9o4rw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhbcj-008ahV-1h; Fri, 14 May 2021 17:29:17 +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 1lhbcg-008ahJ-AP for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 17:29:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=Uw+nYpNZZIYqE2CqgKnVXo/k3qQiO+644dIaw+Fz5K4=; b=wRA+EjPiskc3qKk5psMX/c/Kdf out7lSw397kaF0u1Q/Ry5sr2/o16FH2cT7spVccs7+V66ensQEJEL0IiD/4O/EqOwO2tLFtK0cma1 gmmrZpPG/eCr6wwWcGw16kde6CYJaQkeX7SRPM3C/FFaPOQ5hCvpLLM/3dMVJRCpOYsoKrWE2Nsvf Xt5HZb30JXABcgxP+N4sZAblgaDBZKcnC/CzWnBK1wgMb2yBONMJmzvk5KTLpUi8Vxi9mDyd8TBzi 1wB8Lxif1h4EE/xrvnGGyB7ZBtgPeqWO1h1bCPxYEBKRuvnLgCOGMUWJ1tF+cvlDhoJSMfmNMsHsL aEoEFstQ==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhbcd-00C9QZ-HY for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 17:29:12 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5C75E61183; Fri, 14 May 2021 17:29:09 +0000 (UTC) Date: Fri, 14 May 2021 18:29:06 +0100 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/updates for 5.13-rc2 Message-ID: <20210514172904.GA29470@arm.com> 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-20210514_102911_622927_D0C4C4C4 X-CRM114-Status: GOOD ( 13.31 ) X-Spam-Score: -4.8 (----) 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 the arm64 updates below. Thanks. The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5: Content analysis details: (-4.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 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 the arm64 updates below. Thanks. The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5: Linux 5.13-rc1 (2021-05-09 14:17:44 -0700) 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 588a513d34257fdde95a9f0df0202e31998e85c6: arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() (2021-05-14 17:11:16 +0100) ---------------------------------------------------------------- arm64 fixes and cpucaps.h automatic generation: - Generate cpucaps.h at build time rather than carrying lots of #defines. Merged at -rc1 to avoid some conflicts during the merging window. - Initialise RGSR_EL1.SEED in __cpu_setup() as it may be left as 0 out of reset and the IRG instruction would not function as expected if only the architected pseudorandom number generator is implemented. - Fix potential race condition in __sync_icache_dcache() where the PG_dcache_clean page flag is set before the actual cache maintenance. - Fix header include in BTI kselftests. ---------------------------------------------------------------- Catalin Marinas (1): arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() Mark Brown (3): arm64: Generate cpucaps.h kselftest/arm64: Add missing stddef.h include to BTI tests arm64: tools: Add __ASM_CPUCAPS_H to the endif in cpucaps.h Peter Collingbourne (1): arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup arch/arm64/Makefile | 3 ++ arch/arm64/include/asm/Kbuild | 2 + arch/arm64/include/asm/cpucaps.h | 74 -------------------------------- arch/arm64/mm/flush.c | 4 +- arch/arm64/mm/proc.S | 12 ++++++ arch/arm64/tools/Makefile | 22 ++++++++++ arch/arm64/tools/cpucaps | 65 ++++++++++++++++++++++++++++ arch/arm64/tools/gen-cpucaps.awk | 40 +++++++++++++++++ tools/testing/selftests/arm64/bti/test.c | 1 + 9 files changed, 148 insertions(+), 75 deletions(-) delete mode 100644 arch/arm64/include/asm/cpucaps.h create mode 100644 arch/arm64/tools/Makefile create mode 100644 arch/arm64/tools/cpucaps create mode 100755 arch/arm64/tools/gen-cpucaps.awk