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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 7A671C2D0C3 for ; Wed, 18 Dec 2019 08:30:28 +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 5081F20717 for ; Wed, 18 Dec 2019 08:30:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="N4wb12xR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5081F20717 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=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:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wYeFkI6owIUbC8hrFV3LHdXnmmmYBLtuevxuoKXn3os=; b=N4wb12xRlx8EDmG+96PfsFmlS E9ODHKb1Jgb98zNoEUY6Tva3yaFVQkpCMdX1XMIt09WUdNgTzgdezTN2mIkdgsVNyh1j3VKuL9Fi0 8SgzX9lrUEDzAYP3sb85gq6zkIFJYC1LhWDP4Z7j/sqE2CW3XJ/Ll5daWs3ONaLqUY3gk6HMS+N6f uCfpKXCx84pBHLbN6lLcIxvUO/Nis3xXAa/xybc2gHRNH8+2cOX15K92DLw1KVqGOhikEGfJZ87Lz mGFdTHSZBL1P4/ZxSnN5f0qmcIrUYZ/tnz/1ZPXh8LEUqtN8TbM/FLPs5+2a0fRxsNrPxYsTFj2LZ /YCjPv6Ng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ihUix-0008UV-BX; Wed, 18 Dec 2019 08:30:27 +0000 Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ihUiu-0008TL-9d for linux-riscv@lists.infradead.org; Wed, 18 Dec 2019 08:30:25 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7234EAC52; Wed, 18 Dec 2019 08:30:20 +0000 (UTC) From: Andreas Schwab To: David Abdurachmanov Subject: Re: [PATCH] define vmemmap before pfn_to_page calls References: <20191217131530.513096-1-david.abdurachmanov@sifive.com> X-Yow: Yow! Now we can become alcoholics! Date: Wed, 18 Dec 2019 09:30:19 +0100 In-Reply-To: <20191217131530.513096-1-david.abdurachmanov@sifive.com> (David Abdurachmanov's message of "Tue, 17 Dec 2019 15:15:28 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191218_003024_483342_781D71D7 X-CRM114-Status: UNSURE ( 7.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Albert Ou , Alexandre Ghiti , David Abdurachmanov , Anup Patel , linux-kernel@vger.kernel.org, Mike Rapoport , Yash Shah , Palmer Dabbelt , Paul Walmsley , Greentime Hu , Thomas Gleixner , Logan Gunthorpe , linux-riscv@lists.infradead.org Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Dez 17 2019, David Abdurachmanov wrote: > pfn_to_page call depends on `vmemmap` being available before the call. Only if CONFIG_SPARSEMEM_VMEMMAP, as it seems. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."