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.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 0A883CA9ECB for ; Thu, 31 Oct 2019 15:53:31 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (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 CDF89208E3 for ; Thu, 31 Oct 2019 15:53:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="bvfA7G23" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDF89208E3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from new-ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8A463100DC40A; Thu, 31 Oct 2019 08:53:57 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::343; helo=mail-ot1-x343.google.com; envelope-from=dan.j.williams@intel.com; receiver= Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6668D100DC407 for ; Thu, 31 Oct 2019 08:53:56 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id d8so5797452otc.7 for ; Thu, 31 Oct 2019 08:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2RX5Wx5xiTLYEovRDDFwLuk9JtNaRdVkZVutueAa7Zk=; b=bvfA7G23dHAFFSvf+zNar2jGgrlvY+QxT0t3ad89+EPZ0zHZehpyTafYW5/3TQP2qz ylAbGI8DkwLWrXRPYe5pHVzrfSHNTd3D1WPId48yb9jlWZ4lXVEbkY5Ke0u0yH0HNK0i Xm1+WtSzbGt0V0qiFcfMsU+6xOXyRqOusRamz+glDw5ugBfGMm+cfDmBlYV5LqeKUpMv SZalR7VCHbbyvHGSVXmfNHt2VEXhUxSAFLQzklbbRXiSZ7iRmY142ZBn46J1SelSqugJ aaQf3nenbXjvZ8STcimhNbaIhJhSxkOMvKCU52YLwcxdRqPgFnJMfPmIoxtU7owqZBOT 9pGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2RX5Wx5xiTLYEovRDDFwLuk9JtNaRdVkZVutueAa7Zk=; b=txtq4npNp+YIoxOTCidX/grUmde+Mr7tSGWFFRjsxRPur3vSDvRrZOHdXvIEzrmytc sweiOT3CQbQTzVpEOFZcybxCcX3271zw+zswJVkZvKbNOVAPnTBBphXynsTYpoIZI4TJ RUxinssC9lduWQvG1j/ZjKdX10l5ThDhLT2tl2CyI7IXeVOMlEll8+Y96KXewX5luH4d 0UwvLRjf8qqG06VFK+jemsNlrd5GFvhHsClNNRkjt0CBLnTpk/cCgdPIsH7OVbdlasC6 s9hNeg0U1Bm7VTURLyibX7jRz+iGomT8mdeV8333uTXmacWoLgIKPjkiLrK0Xd/BS9Wp Kajg== X-Gm-Message-State: APjAAAWX8Tto/7OWLpKHILCUZY5RKTnfoAv52WgqkuVwKg2r96oH420N t8TMn5seq2ML1SOZoIaUZAMl/ESPIzxEBig+L6GLJA== X-Google-Smtp-Source: APXvYqzGdjUw+psWya1RpMgMepPJxL73tV8uam0VjV5PduuJ7qULjorWMWe4/qApk2lgE5RCcNSLcX6AFBPSOOiTFI8= X-Received: by 2002:a9d:5f11:: with SMTP id f17mr4971128oti.207.1572537208078; Thu, 31 Oct 2019 08:53:28 -0700 (PDT) MIME-Version: 1.0 References: <20191028094825.21448-1-aneesh.kumar@linux.ibm.com> <6f85f4af-788d-aaef-db64-ab8d3faf6b1b@linux.ibm.com> <4c6e5743-663e-853b-2203-15c809965965@linux.ibm.com> <8e29b94c-cb82-2632-965c-567d26791f76@linux.ibm.com> In-Reply-To: <8e29b94c-cb82-2632-965c-567d26791f76@linux.ibm.com> From: Dan Williams Date: Thu, 31 Oct 2019 08:53:17 -0700 Message-ID: Subject: Re: [RFC PATCH 1/4] libnvdimm/namespace: Make namespace size validation arch dependent To: "Aneesh Kumar K.V" Message-ID-Hash: ZDP7K5FSISKIBFO3CSKPA5BDJMUI432X X-Message-ID-Hash: ZDP7K5FSISKIBFO3CSKPA5BDJMUI432X X-MailFrom: dan.j.williams@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Michael Ellerman , linux-nvdimm , linuxppc-dev X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Oct 31, 2019 at 1:38 AM Aneesh Kumar K.V wrote: > > On 10/31/19 12:00 PM, Dan Williams wrote: > > On Wed, Oct 30, 2019 at 10:35 PM Aneesh Kumar K.V > > wrote: > > [..] > > > > > > > All that said, the x86 vmemmap_populate() falls back to use small > > pages in some case to get around this constraint. Can't powerpc do the > > same? It would seem to be less work than the above proposal. > > > > ppc64 supports two translation mode (radix and hash). We can do the > above with radix translation. With hash we use just one page size( in > this specific case 16MB) for direct-map mapping. Ok, if it's truly a hard constraint then yes, more infrastructure is needed to expose that constraint to the namespace provisioning flow. _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org