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: 11935577 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=-20.5 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=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 AA81FC2D0E4 for ; Fri, 27 Nov 2020 11:41:56 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 2D952206CA for ; Fri, 27 Nov 2020 11:41:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pKMFEzz6"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="MNf8dDk/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D952206CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=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-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+linux-arm-kernel=archiver.kernel.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(-)