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=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 64D33C32753 for ; Wed, 14 Aug 2019 09:33:18 +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 388F82063F for ; Wed, 14 Aug 2019 09:33:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YKXs8Efv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 388F82063F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=DZhGSCl7QBKGHPlBJBECTWvIGOiPIc9PUQ1c6V30R4Y=; b=YKXs8EfvKfnPG5 JHaH6Bxtffg3NQhNh3aRUDnejS4weT013171u1KiioC+zTSYq1hkgC0c2/k+hKcidBG4VNws/SkOI gOlta1bVwRZAHnkJmCtbhnL9AnTHIFsCw42T8Lh94yBlF8ymEHbgCBuAbGNEVLfpVI0gEOluAEuhh u/f8CC8uIL3zTlZ/Y8yRxvJAJufhbpgSQ+jFmbVsIOuSpnBGsFkL9BZZsgI/iq7obqLSQTx6rd8aP bLBW1hQOB+nJ5pp6J1+GYABvufrAJYFBXR5wJ0yUxP3hDD2JZzvX1V1q8lfcUq+y7opUrfIkuo25V o/j8J8tBEgI4JS1yo0YQ==; 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 1hxpef-0006zh-Sb; Wed, 14 Aug 2019 09:33:17 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hxpec-0006zO-St for linux-arm-kernel@lists.infradead.org; Wed, 14 Aug 2019 09:33:16 +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 73B64344; Wed, 14 Aug 2019 02:33:14 -0700 (PDT) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 70F8B3F694; Wed, 14 Aug 2019 02:33:13 -0700 (PDT) Date: Wed, 14 Aug 2019 10:33:11 +0100 From: Catalin Marinas To: Will Deacon Subject: Re: [PATCH 5/8] arm64: memory: Simplify _VA_START and _PAGE_OFFSET definitions Message-ID: <20190814093311.GE50688@arrakis.emea.arm.com> References: <20190813170149.26037-1-will@kernel.org> <20190813170149.26037-6-will@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190813170149.26037-6-will@kernel.org> 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-20190814_023314_974981_1802AC53 X-CRM114-Status: UNSURE ( 7.72 ) 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 , Andrey Konovalov , Geert Uytterhoeven , Qian Cai , linux-arm-kernel@lists.infradead.org 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 On Tue, Aug 13, 2019 at 06:01:46PM +0100, Will Deacon wrote: > Rather than subtracting from -1 and then adding 1, we can simply > subtract from 0. > > Cc: Steve Capper > Signed-off-by: Will Deacon Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel