Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4236369imj; Tue, 12 Feb 2019 12:11:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IY8cgU+8NRDrZG/lpmIAF3v8tYqGeF7jOTt+5rvIj1tnjAue0RNRBjBswz3DXYo6KgV/YGX X-Received: by 2002:a17:902:a40f:: with SMTP id p15mr5858696plq.286.1550002300106; Tue, 12 Feb 2019 12:11:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550002300; cv=none; d=google.com; s=arc-20160816; b=HAlgNY/bsLCRLdJozLqY7q/pxYaPKUumqSizfPGaBKeL3GZg3LlFW0NtrZnCMFcr6Y CJYG6/MpweLI0krkG9xTIzxi6WDJn6lZosTuO1aUd8wV9p2eswUw1fveZGhzFhsdZeQO GzKzwfQhCDRugPUQdWj3xFsgxx4ADs+hRAvTH12ga+1Qs2r+pr9oJ5k44e8/a1gu9r27 v4pPP4/j0lnAYAQZ9L9ezs1+xLAzuebIVS96Ahl8HtfUeO4rV91KIqZNHQW5V/wQQBe8 /brblefuGF0bZ7C5r1NYKG5e8eWLOayklqadxAtTfEMvOrSUdmRhtsNNCd9va5+yUw7M bCoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject; bh=IjzmFBhdim6dECDIk+JrSVdbZ49N+J/1PEzH2LKdzOg=; b=tzZ6ybmdCVseNL4aM8ccFNa+BB9t7pznQeRvaHVOaZ02jXdrku73SP3loAs04NT5YC Vla07hSds+AGLDMzxno3zqH35tv8RodpqyKLHFHZwgobQjwnQ49LfCgnNxElenASe2DT mWU6NjJAvck67gcr2KC5OBll5j23rdbo56su0iu3KEesGk2w3Lieejk1d5Gom2/5PB94 t0eBU+nqnozXhDxMpDouDfl/ZOEYGyBq/KM3do9wo/yhbIa+wkFkXtOv/uMlOusgSCJi uGkF+4ZEUvVi974NRPtZVx25RbmZp40//P58hZwnMPJjaGmsoAEHDLc7U96rfFOHpbDr kHJA== ARC-Authentication-Results: i=1; mx.google.com; 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 v8si13554689pgj.21.2019.02.12.12.11.23; Tue, 12 Feb 2019 12:11:40 -0800 (PST) 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; 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 S1730404AbfBLT7u (ORCPT + 99 others); Tue, 12 Feb 2019 14:59:50 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:56257 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbfBLT7t (ORCPT ); Tue, 12 Feb 2019 14:59:49 -0500 X-IronPort-AV: E=Sophos;i="5.58,362,1544482800"; d="scan'208";a="295985158" Received: from 91-160-5-165.subs.proxad.net (HELO [192.168.44.23]) ([91.160.5.165]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA; 12 Feb 2019 20:59:45 +0100 Subject: Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM To: Dave Hansen , linux-kernel@vger.kernel.org Cc: thomas.lendacky@amd.com, mhocko@suse.com, linux-nvdimm@lists.01.org, tiwai@suse.de, ying.huang@intel.com, linux-mm@kvack.org, jglisse@redhat.com, bp@suse.de, baiyaowei@cmss.chinamobile.com, zwisler@kernel.org, bhelgaas@google.com, fengguang.wu@intel.com, akpm@linux-foundation.org References: <20190124231441.37A4A305@viggo.jf.intel.com> <20190124231448.E102D18E@viggo.jf.intel.com> <26ac36f4-7391-5321-217b-50d67e2119d7@intel.com> From: Brice Goglin Openpgp: preference=signencrypt Autocrypt: addr=Brice.Goglin@inria.fr; prefer-encrypt=mutual; keydata= mQINBFNg91oBEADMfOyfz9iilNPe1Yy3pheXLf5O/Vpr+gFJoXcjA80bMeSWBf4on8Mt5Fg/ jpVuNBhii0Zyq4Lip1I2ve+WQjfL3ixYQqvNRLgfw/FL0gNHSOe9dVFo0ol0lT+vu3AXOVmh AM4IrsOp2Tmt+w89Oyvu+xwHW54CJX3kXp4c7COz79A6OhbMEPQUreerTavSvYpH5pLY55WX qOSdjmlXD45yobQbMg9rFBy1BECrj4DJSpym/zJMFVnyC5yAq2RdPFRyvYfS0c491adD/iw9 eFZY1XWj+WqLSW8zEejdl78npWOucfin7eAKvov5Bqa1MLGS/2ojVMHXJN0qpStpKcueV5Px igX8i4O4pPT10xCXZ7R6KIGUe1FE0N7MLErLvBF6AjMyiFHix9rBG0pWADgCQUUFjc8YBKng nwIKl39uSpk5W5rXbZ9nF3Gp/uigTBNVvaLO4PIDw9J3svHQwCB31COsUWS1QhoLMIQPdUkk GarScanm8i37Ut9G+nB4nLeDRYpPIVBFXFD/DROIEfLqOXNbGwOjDd5RWuzA0TNzJSeOkH/0 qYr3gywjiE81zALO3UeDj8TaPAv3Dmu7SoI86Bl7qm6UOnSL7KQxZWuMTlU3BF3d+0Ly0qxv k1XRPrL58IyoHIgAVom0uUnLkRKHczdhGDpNzsQDJaO71EPp8QARAQABtCRCcmljZSBHb2ds aW4gPEJyaWNlLkdvZ2xpbkBpbnJpYS5mcj6JAjgEEwECACIFAlNg+aMCGwMGCwkIBwMCBhUI AgkKCwQWAgMBAh4BAheAAAoJEESRkPMjWr076RoQAJhJ1q5+wlHIf+YvM0N1V1hQyf+aL35+ BPqxlyw4H65eMWIN/63yWhcxrLwNCdgY1WDWGoiW8K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zXJo/OfC3mwNW4zQWJkG233UOf6YE rmrSaTIBTIWF8CxGY9iXPaJGNYSUa6R/VJS09EWeZgRz9Gk3h5AyDrdo5RFN9HNwOj41o0cj eLDF69092Lg5p5isuOqsrlPi5imHKcDtrXS7LacUI6H0c8onWoH9LuW99WznEtFgPJg++TAv f9M2x57Gzl+/nYTB5/Kpl1qdPPC91zUipiKbnF5f8bQpol0WC+ovmQARAQABiQIfBBgBAgAJ BQJTYPdaAhsMAAoJEESRkPMjWr074+0P/iEcN27dx3oBTzoeGEBhZUVQRZ7w4A61H/vW8oO8 IPkZv9kFr5pCfIonmHEbBlg6yfjeHXwF5SF2ywWRKkRsFHpaFWywxqk9HWXu8cGR1pFsrwC3 EdossuVbEFNmhjHvcAo11nJ7JFzPTEnlPjE6OY9tEDwl+kp1WvyXqNk9bosaX8ivikhmhB47 7BA3Kv8uUE7UL6p7CBdqumaOFISi1we5PYE4P/6YcyhQ9Z2wH6ad2PpwAFNBwxSu+xCrVmaD skAwknf6UVPN3bt67sFAaVgotepx6SPhBuH4OSOxVHMDDLMu7W7pJjnSKzMcAyXmdjON05Sz SaILwfceByvHAnvcFh2pXK9U4E/SyWZDJEcGRRt79akzZxls52stJK/2Tsr0vKtZVAwogiaK uSp+m6BRQcVVhTo/Kq3E0tSnsTHFeIO6QFHKJCJv4FRE3Dmtz15lueihUBowsq9Hk+u3UiLo SmrMAZ6KgA4SQxB2p8/M53kNJl92HHc9nc//aCQDi1R71NyhtSx+6PyivoBkuaKYs+S4pHmt sFE+5+pkUNROtm4ExLen4N4OL6Kq85mWGf2f6hd+OWtn8we1mADjDtdnDHuv+3E3cacFJPP/ wFV94ZhqvW4QcyBWcRNFA5roa7vcnu/MsCcBoheR0UdYsOnJoEpSZswvC/BGqJTkA2sf Message-ID: <453f13cd-a7fe-33eb-9a27-8490825ca29c@inria.fr> Date: Tue, 12 Feb 2019 20:59:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <26ac36f4-7391-5321-217b-50d67e2119d7@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 11/02/2019 à 17:22, Dave Hansen a écrit : > On 2/9/19 3:00 AM, Brice Goglin wrote: >> I've used your patches on fake hardware (memmap=xx!yy) with an older >> nvdimm-pending branch (without Keith's patches). It worked fine. This >> time I am running on real Intel hardware. Any idea where to look ? > I've run them on real Intel hardware too. > > Could you share the exact sequence of commands you're issuing to > reproduce the hang? My guess would be that there's some odd interaction > between Dan's latest branch and my now (slightly) stale patches. > > I'll refresh them this week and see if I can reproduce what you're seeing. # ndctl disable-region all # ndctl zero-labels all # ndctl enable-region region0 # ndctl create-namespace -r region0 -t pmem -m devdax { "dev":"namespace0.0", "mode":"devdax", "map":"dev", "size":"1488.37 GiB (1598.13 GB)", "uuid":"ad0096d7-3fe7-4402-b529-ad64ed0bf789", "daxregion":{ "id":0, "size":"1488.37 GiB (1598.13 GB)", "align":2097152, "devices":[ { "chardev":"dax0.0", "size":"1488.37 GiB (1598.13 GB)" } ] }, "align":2097152 } # ndctl enable-namespace namespace0.0 # echo -n dax0.0 > /sys/bus/dax/drivers/device_dax/remove_id I tried with and without dax_pmem_compat loaded, but it doesn't help. Brice