Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1258095imm; Tue, 3 Jul 2018 08:07:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpepPszn6mXYEqmnAIiK7w2InHUlCxkgBi3foBAB80uq1yVar6DwPjXIQkyJ69RFVDR9a2Ig X-Received: by 2002:a62:9dcc:: with SMTP id a73-v6mr19104864pfk.249.1530630427814; Tue, 03 Jul 2018 08:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530630427; cv=none; d=google.com; s=arc-20160816; b=FmnZRtS21IcxcZBDFzVCA7CorXy4XohMrPRLYqYQnLaGx0y3+xzd1k+qhEXfIYZcXk PQ7EHEPBx0UtMyJXEJN3Ps72A/1mfWMr1WYgvomyA8DWeOMZKT7VL4l5e7GNDYwXJZOp fLrI4EwtRU1KLcBQ0163AxaehZ4U+bdHrtMUgWq6MAI9Fm07axeDNXZTVFScn3LyK6+X NG6MCEWFqszchMaDELWoFDu10bWGvesSiGS5FnRzbk+i8D5CFKYjil4WpUZ9FzPpCNJS LTAhni1tWFd4/olkC9Tgj583FH16EWBLovwxFann/HllwQ6YOj8tqNnx49b8LwgyCQ3e YjFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=TurinIbeBRO+xA952J0WjUq9gfU9wwJxMRN4DxyCZ/k=; b=VvSUbd8djni3UjmKre0ikqVwoEXf6kZ/O0KrQQ5x/YIxCcXDVkQQhDqLU0q317gVpj vUzcDOh0fXhJk+S5dQoIHXuu7xh8bqnkpboDy+abSCopTbwJAEq/+ngQIzD5z2hj4SyB 6f7fcNt6o38qBqSSHxNsFdHO2yjmnj4Uyn2sAXGZyiTscky22sIY3/mYNEBdR0K+BF5Z oDIlKzT1VpIx46JJSxY1SBcWXv5LaJzLZBzWEU1k+7Ea+fURX5HyT1XVpU55KFGH+S7w LNkopcoxMnm7ClyWrLOb9EkToHOEQAJB4LZcNW9gUI8SjOFT8JR25r9wMKhvWTzYXSYg iBNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=B++RIK3N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20-v6si1220052plp.267.2018.07.03.08.06.52; Tue, 03 Jul 2018 08:07:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=B++RIK3N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933329AbeGCPGT (ORCPT + 99 others); Tue, 3 Jul 2018 11:06:19 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41674 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932234AbeGCPGQ (ORCPT ); Tue, 3 Jul 2018 11:06:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TurinIbeBRO+xA952J0WjUq9gfU9wwJxMRN4DxyCZ/k=; b=B++RIK3NiENbXM6t2ADVDVPNX ussgREQoVTM2DLROxLTTI/Rn7TIeLVOUX4D6+XPmNYXRLkFbIVj/t0BXdX6wLvJEP51/T6pY+CuB0 L39VE00+N8yyyMjtJh3L6Kow4zTjb0JjMbpbTfdSkn/Uq04/ta8RSEO6k7lMNk3BVHGukZMvw6SDG epfICduzSwCsJO2oQzXo58AVNyM/+SwaRCP2/7o8H5EOXJPg0cAPkMSuOi0KXrpU3s6exL0vKPFXA 9qEZM2Oh/oWyZMYmSuafKGvp5TQuy8r0rMXdBJR6S+bthCx1cNKn47bhO+P/DoD9Gp8O8h3Ifg31l JdHtzQymw==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1faMs3-0004SR-6p; Tue, 03 Jul 2018 15:05:35 +0000 Date: Tue, 3 Jul 2018 08:05:35 -0700 From: Matthew Wilcox To: Mike Rapoport Cc: Michal Hocko , Geert Uytterhoeven , Greg Ungerer , Sam Creasey , linux-m68k@lists.linux-m68k.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] m68k/page_no.h: force __va argument to be unsigned long Message-ID: <20180703150535.GA21590@bombadil.infradead.org> References: <1530613795-6956-1-git-send-email-rppt@linux.vnet.ibm.com> <1530613795-6956-3-git-send-email-rppt@linux.vnet.ibm.com> <20180703142054.GL16767@dhcp22.suse.cz> <20180703150315.GC4809@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180703150315.GC4809@rapoport-lnx> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 06:03:16PM +0300, Mike Rapoport wrote: > On Tue, Jul 03, 2018 at 04:20:54PM +0200, Michal Hocko wrote: > > On Tue 03-07-18 13:29:54, Mike Rapoport wrote: > > > Add explicit casting to unsigned long to the __va() parameter > > > > Why is this needed? > > To make it consitent with other architecures and asm-generic :) > > But more importantly, __memblock_free_late() passes u64 to page_to_pfn(). Why does memblock work in terms of u64 instead of phys_addr_t?