From patchwork Fri Nov 27 11:40:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1407161 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:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=merlin.20170209 header.b=pKMFEzz6; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=MNf8dDk/; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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 4CjCPV4W09z9sSf for ; Fri, 27 Nov 2020 22:41:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=lduW2LkMiIMp9S8vR8kHqJWwOoTi8OWY5E076+aJ5nA=; b=pKMFEzz6U0Dp1uX+8WrHqVEoU4 Eeoc/xXYbSnkInLTLk9/MsgZccKx39VRkpjgWsgQGl29bN+IS+wiYFlXehywwBePhoow5JDc9QvTS Yp/ovvAagoEyLw2fcUOHlnoLjH7v/iCzfSlF1vFGxXKlO0w1JrvgySiNud2ao6QPXsOVn2pJEL/Qz ZSR7kbPN+K58G70h+Kst0kb+vDdgAEYk6eSdSuls7EAUmTb7w0gsoa7tIcldJqbAvZDoYzy4yNaf+ 3jE/S0NVmlI/VWrcgQ9WChCokVxJAnWg6v6aLdumoiv2YrbwGjTYQYYjE44SdlOGCyEB+pGsPjSg1 VwaY5mNA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kic79-0004Kp-H1; Fri, 27 Nov 2020 11:40:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kic76-0004K3-VH for linux-arm-kernel@lists.infradead.org; Fri, 27 Nov 2020 11:40:33 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2FBCB2054F; Fri, 27 Nov 2020 11:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606477232; bh=8KMLxmCrLtWhrKY8S5nZSN9DLDPsNlgrmadBquXd+VI=; h=Date:From:To:Cc:Subject:From; b=MNf8dDk/Y02pa3jIcSUut/TeDdS2fOkg/qK927C0HAwxhqJIyqWV87eYcH1/G90CF 7wFfHcoe8entTO2DOlFs4j2FHXI6lbutciQbn4djICtjMG2F5rwtmucwmFthm4dmPC pY3G9W3jLQeDXJxDBZ2TuQKyshQt8rRBFc7/71as= Date: Fri, 27 Nov 2020 11:40:27 +0000 From: Will Deacon To: torvalds@linux-foundation.org Subject: [GIT PULL] arm64 fixes for -rc6 Message-ID: <20201127114027.GA20418@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-20201127_064033_146779_68B75D10 X-CRM114-Status: GOOD ( 12.77 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-5.2 points) 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_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from 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_AU Message has a valid DKIM or DK signature from author's domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, kernel-team@android.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi Linus, Here are some arm64 fixes for -rc6. The main changes are relating to our handling of access/dirty bits, where our low-level page-table helpers could lead to stale young mappings and loss of the dirty bit in some cases (the latter has not been observed in practice, but could happen when clearing "soft-dirty" if we enabled that). These were posted as part of a larger series, but the rest of that is less urgent and needs a v2 which I'll get to shortly. In other news, we've now got a set of fixes to resolve the lockdep/tracing problems that have been plaguing us for a while, but they're still a bit "fresh" and I plan to send them to you next week after we've got some more confidence in them (although initial CI results look good). Anyway, summary in the tag; please pull. Cheers, Will --->8 The following changes since commit 23c216416056148136bdaf0cdd18caf4904bb6e1: arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver (2020-11-13 09:47:08 +0000) 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 ff1712f953e27f0b0718762ec17d0adb15c9fd0b: arm64: pgtable: Ensure dirty bit is preserved across pte_wrprotect() (2020-11-23 16:13:18 +0000) ---------------------------------------------------------------- arm64 fixes for -rc6 - Fix kerneldoc warnings generated by ACPI IORT code - Fix pte_accessible() so that access flag is ignored - Fix missing header #include - Fix loss of software dirty bit across pte_wrprotect() when HW DBM is enabled ---------------------------------------------------------------- Randy Dunlap (1): arm64/fpsimd: add to to fix fpsimd build Shiju Jose (1): ACPI/IORT: Fix doc warnings in iort.c Will Deacon (2): arm64: pgtable: Fix pte_accessible() arm64: pgtable: Ensure dirty bit is preserved across pte_wrprotect() arch/arm64/include/asm/pgtable.h | 34 ++++++++++++++++++---------------- arch/arm64/include/asm/probes.h | 2 ++ drivers/acpi/arm64/iort.c | 8 +++++--- 3 files changed, 25 insertions(+), 19 deletions(-)