From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) by kanga.kvack.org (Postfix) with ESMTP id DBB448E00D7 for ; Fri, 25 Jan 2019 12:18:53 -0500 (EST) Received: by mail-oi1-f199.google.com with SMTP id w124so4775975oif.3 for ; Fri, 25 Jan 2019 09:18:53 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id u18sor2312474otq.164.2019.01.25.09.18.52 for (Google Transport Security); Fri, 25 Jan 2019 09:18:52 -0800 (PST) MIME-Version: 1.0 References: <20190124231441.37A4A305@viggo.jf.intel.com> <20190124231448.E102D18E@viggo.jf.intel.com> <0852310e-41dc-dc96-2da5-11350f5adce6@oracle.com> <5A90DA2E42F8AE43BC4A093BF067884825733A5B@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <5A90DA2E42F8AE43BC4A093BF067884825733A5B@SHSMSX104.ccr.corp.intel.com> From: Dan Williams Date: Fri, 25 Jan 2019 09:18:41 -0800 Message-ID: Subject: Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: "Du, Fan" Cc: Jane Chu , Tom Lendacky , Michal Hocko , linux-nvdimm , Takashi Iwai , Dave Hansen , "Huang, Ying" , Linux Kernel Mailing List , Linux MM , =?UTF-8?B?SsOpcj9tZSBHbGlzc2U=?= , Borislav Petkov , Yaowei Bai , Ross Zwisler , Bjorn Helgaas , Andrew Morton , "Wu, Fengguang" On Fri, Jan 25, 2019 at 12:20 AM Du, Fan wrote: > > Dan > > Thanks for the insights! > > Can I say, the UCE is delivered from h/w to OS in a single way in case of machine > check, only PMEM/DAX stuff filter out UC address and managed in its own way by > badblocks, if PMEM/DAX doesn't do so, then common RAS workflow will kick in, > right? The common RAS workflow always kicks in, it's just the page state presented by a DAX mapping needs distinct handling. Once it is hot-plugged it no longer needs to be treated differently than "System RAM". > And how about when ARS is involved but no machine check fired for the function > of this patchset? The hotplug effectively disconnects this address range from the ARS results. They will still be reported in the libnvdimm "region" level badblocks instance, but there's no safe / coordinated way to go clear those errors without additional kernel enabling. There is no "clear error" semantic for "System RAM".