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 2F187C388F7 for ; Sat, 31 Oct 2020 09:18:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BEEA520739 for ; Sat, 31 Oct 2020 09:18:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="J39OokUj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726645AbgJaJSz (ORCPT ); Sat, 31 Oct 2020 05:18:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbgJaJSy (ORCPT ); Sat, 31 Oct 2020 05:18:54 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32979C0613D5 for ; Sat, 31 Oct 2020 02:18:54 -0700 (PDT) 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=kYWfALRVcBCFHBQ/RrdwzZwApPa0veZid43YJsFg5rs=; b=J39OokUjROh49fMqP/g9P0k59t vy1GzdFhgDsLcq+KKG6sombhhx4enctFBxjAZ9bfNgcFMuIDxVwPqx5drpS5jC8myPifQd5Vd4XZ3 4TZIOLl/cQJvecYUtu/Pw0IP5xmdCXziqKBLcvvFK9lGpoMsvs/pxLCBH4il4kpqUkZqLZ6qfblI5 jjrVIcNNdxJK01PzKiV9RyNB98FSHSR8SbOlqC2uT5gUSPjv6h3D/8pG61VhS+t3xzIYsLLplvOgM dX9t9Wg5Hf+PK/TQsSE31eD95m3lnEydYWKhNCiKEYczL3VffV2X180mH6m3Pg7g3wJZ61tZu/wMn bdoTRjxg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYn26-000842-I3; Sat, 31 Oct 2020 09:18:46 +0000 Date: Sat, 31 Oct 2020 09:18:46 +0000 From: Christoph Hellwig To: Mike Rapoport Cc: Sudarshan Rajagopalan , Mark Rutland , David Hildenbrand , 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: <20201031091846.GA30512@infradead.org> References: <20201030083842.GA4319@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201030083842.GA4319@kernel.org> 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 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. 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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 0BBAEC388F7 for ; Sat, 31 Oct 2020 09:19:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 A638D20739 for ; Sat, 31 Oct 2020 09:19:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="srVl5MxR"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="J39OokUj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A638D20739 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.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=jnuoECpo8w/l0dcgkCiUN1V0KAr/GLSn5MjpeZAE7Ew=; b=srVl5MxRKBYCh4MzM34pu89kh AGz1hqw2VIWH08ox5lViupoQaWW8urV3TjhmApTdwN1zEZquVkcjSc+85kbzubwEwKGv7nUm8sPP2 Wd7g8O2vKbVf4I0jpo+JcrW39CV6Io3qU7AsyUCWc/HZz9pFN+NoSNGn3GYEK3t3E9y+ER0HftjDw ruji1fGJJJMglGpp6NeSzG8EpBVr9qrMvHGwU9ZRo+/SFB5CNB3n4ZjLwzG7knJrl1hWqaJxyovaC k5mPqwhn0w/j3frRZEe2wg1vohleqpuQ6Rszj/iEZM29yOCDUG5eOZbJ6B/qDUWVFXabIcZgfkNYa eaPEPrrKw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYn29-0005Hu-RS; Sat, 31 Oct 2020 09:18:49 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYn28-0005HM-Fa for linux-arm-kernel@merlin.infradead.org; Sat, 31 Oct 2020 09:18:48 +0000 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=kYWfALRVcBCFHBQ/RrdwzZwApPa0veZid43YJsFg5rs=; b=J39OokUjROh49fMqP/g9P0k59t vy1GzdFhgDsLcq+KKG6sombhhx4enctFBxjAZ9bfNgcFMuIDxVwPqx5drpS5jC8myPifQd5Vd4XZ3 4TZIOLl/cQJvecYUtu/Pw0IP5xmdCXziqKBLcvvFK9lGpoMsvs/pxLCBH4il4kpqUkZqLZ6qfblI5 jjrVIcNNdxJK01PzKiV9RyNB98FSHSR8SbOlqC2uT5gUSPjv6h3D/8pG61VhS+t3xzIYsLLplvOgM dX9t9Wg5Hf+PK/TQsSE31eD95m3lnEydYWKhNCiKEYczL3VffV2X180mH6m3Pg7g3wJZ61tZu/wMn bdoTRjxg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYn26-000842-I3; Sat, 31 Oct 2020 09:18:46 +0000 Date: Sat, 31 Oct 2020 09:18:46 +0000 From: Christoph Hellwig To: Mike Rapoport Subject: Re: mm/memblock: export memblock_{start/end}_of_DRAM Message-ID: <20201031091846.GA30512@infradead.org> References: <20201030083842.GA4319@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201030083842.GA4319@kernel.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html 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 , Sudarshan Rajagopalan , Will Deacon , David Hildenbrand , Catalin Marinas , Anshuman Khandual , linux-kernel@vger.kernel.org, Steven Price , Greg Kroah-Hartman , Suren Baghdasaryan , linux-arm-kernel@lists.infradead.org, Pratik Patel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel