From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=no 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 100C6C32750 for ; Tue, 13 Aug 2019 17:02:02 +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 D4CBC2067D for ; Tue, 13 Aug 2019 17:02:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bVpVuU3V" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4CBC2067D 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+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From: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=h6I7Ez+meqRhEg1uPuho2kCsgQauDxxMFVoLqfZ6LWY=; b=bVp VuU3VmXc97EQwJ81TmODPoBkejMUXLJuNgQchzKQs26AOhQj89sMzy8JiiW+xXIT2uodymrg4DtEh PffTG+4x7PEVTlBGJ+9c9GWc6WbuvL9gsC3FdPe/2ndyd+grtPw2+3kmu3eBXLYPVw6KNOxdZ91s/ FJbHtLgaKex+K6uVki0X34hPLbP7YWIyV9Sld1EkZUFwI7EFp87M6agg2pS0WmbdGpRfBcNXX+q3D tNcN4sVViZ2P1b7dE1Ll/Z8L+0OvCO0h1B9NJXp8sLmchC9mLNCrcLrf1U1GjtywQ+Ja2b4q9JQYd mgvnLH/XzKj3aa+jENVN38z5x4KLXPA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxaBM-0008OA-S0; Tue, 13 Aug 2019 17:02:00 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxaBG-0008JF-R4 for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2019 17:01:56 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 454B0337; Tue, 13 Aug 2019 10:01:54 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 244F53F706; Tue, 13 Aug 2019 10:01:53 -0700 (PDT) From: Will Deacon To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/8] Fix issues with 52-bit kernel virtual addressing Date: Tue, 13 Aug 2019 18:01:41 +0100 Message-Id: <20190813170149.26037-1-will@kernel.org> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190813_100154_944287_E3A97C91 X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. 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: Mark Rutland , Steve Capper , Catalin Marinas , Qian Cai , Andrey Konovalov , Geert Uytterhoeven , Will Deacon MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, This patch series addresses some issues with 52-bit kernel VAs reported by Qian Cai and Geert. It's all confined to asm/memory.h and I got a bit carried away cleaning that thing up so the patches get more worthless as you go through the series. Still, I'd like to queue this on top of the 52-bit VA stuff currently sitting in -next. Although Geert and Steve tested my initial hacks, I dropped the tags because I've split things up and could've easily broken things again. Cheers, Will Cc: Mark Rutland Cc: Catalin Marinas Cc: Steve Capper Cc: Qian Cai Cc: Andrey Konovalov Cc: Geert Uytterhoeven --->8 Will Deacon (8): arm64: memory: Fix virt_addr_valid() using __is_lm_address() arm64: memory: Ensure address tag is masked in conversion macros arm64: memory: Rewrite default page_to_virt()/virt_to_page() arm64: memory: Simplify virt_to_page() implementation arm64: memory: Simplify _VA_START and _PAGE_OFFSET definitions arm64: memory: Implement __tag_set() as common function arm64: memory: Add comments to end of non-trivial #ifdef blocks arm64: memory: Cosmetic cleanups arch/arm64/include/asm/memory.h | 89 ++++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 45 deletions(-) -- 2.11.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel