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=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 A9309C2D0A3 for ; Tue, 3 Nov 2020 08:38:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B60622403 for ; Tue, 3 Nov 2020 08:38:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="pdBoEAt6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727468AbgKCIiS (ORCPT ); Tue, 3 Nov 2020 03:38:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbgKCIiR (ORCPT ); Tue, 3 Nov 2020 03:38:17 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A92E0C0613D1 for ; Tue, 3 Nov 2020 00:38:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=qN0bHUKAHFEL54H3lvuQSCj9tnCx/ESpYXkr6/VPy1E=; b=pdBoEAt6CB5d3scOUIeQioqtKt 7ysFdZ2jQGKsMhyPfcGGZ5wmkjrksdVUVLxJ3jePEVnwYee6uo0DD8bGGQSPHgn+SLMPC+QomEMKr sTwblJDDPD2Od4P76fONdJkUbORtiYRpl2ebO4d+0svUvqRdEDJMrp/0fGn6EHrTkY3NRwRfbZeah 0u8kuvZu1YVEVZFBW7mXj150YT9yoAxAtexlzSK2Xx0QiUy+6ETjmIUP/0RvdB8aiX2uNAfDS5D0M W6Wi2wFODAA0qA+jTa1BRmgDecu9jFPKEHlmYu2HjfDgd89PJu17TAi9kHqX6bpDfJZCXqcCAJ29V 0/exxXVQ==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZrpN-0002k0-0U; Tue, 03 Nov 2020 08:38:05 +0000 Date: Tue, 3 Nov 2020 08:38:04 +0000 From: Christoph Hellwig To: David Hildenbrand Cc: Christoph Hellwig , Mike Rapoport , Sudarshan Rajagopalan , Mark Rutland , Catalin Marinas , Anshuman Khandual , linux-kernel@vger.kernel.org, Steven Price , Suren Baghdasaryan , Greg Kroah-Hartman , Will Deacon , linux-arm-kernel@lists.infradead.org, Pratik Patel Subject: Re: mm/memblock: export memblock_{start/end}_of_DRAM Message-ID: <20201103083804.GE9092@infradead.org> References: <20201030083842.GA4319@kernel.org> <20201031091846.GA30512@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 31, 2020 at 11:05:45AM +0100, David Hildenbrand wrote: > On 31.10.20 10:18, Christoph Hellwig wrote: > > On Fri, Oct 30, 2020 at 10:38:42AM +0200, Mike Rapoport wrote: > > > What do you mean by "system memory block"? There could be a lot of > > > interpretations if you take into account memory hotplug, "mem=" option, > > > reserved and firmware memory. > > > > > > I'd suggest you to describe the entire use case in more detail. Having > > > the complete picture would help finding a proper solution. > > > > I think we need the code for the driver trying to do this as an RFC > > submission. Everything else is rather pointless. > > Sharing RFCs is most probably not what people want when developing advanced > hypervisor features :) Well, if they can't even do that it really has no relevance for kernel development.