Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp196399imu; Fri, 25 Jan 2019 00:22:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Lh98cFpymde0SPZ2yf18xZb1i3eoDAMjwuF3v5uO7XFlrv9KZHRymo1kRd70g3naLw6EM X-Received: by 2002:a63:83:: with SMTP id 125mr8907414pga.343.1548404521894; Fri, 25 Jan 2019 00:22:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548404521; cv=none; d=google.com; s=arc-20160816; b=qncWycNZ4lQJFaUKByIpVeybn07g6JOba54i3jh6Oe2OrjcaM456fCi2cZFL4lGPNI 8kaVvKyqU+jhQcDeqZioVsX0oPOfUUzJallup+igpDPV7Q9lzEC0c5SYg4xItsUTOdvV jTYjCsAqUlr688tp4RlT4lBNLIxS1boZVVRe16AQ3RWH0BYAtvymd21SSt8xHtC/cgJK vO0e6OGspf1006TEUJ1RBQfXZ/jyfq+NvVw/Ro4MiSw1+f7JcUd2pBYUC0gE747LEVeI pPLVAP9iCxHbr5uq874lEMmZC364qVW3KNGiE05hqV+GAEkgIjr+yehwcaybDZTu25xA 5X5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=IYBUtkoF8kjIFx5RBtNumQvSuhSIqOC0zng9jjqSumg=; b=hnc3NJfvJoxsfNWLblQxQox05Qt4+9Q4xpxFMxUMgnTU3xcNkc87rI85IkyxUtPW5F xAF5zO9op21ZoyTRBc1JYZByw0xuXsrDBJLqlIvELiW9RAY3GRXf+J/MWW48vqbBI+Jq UmAKr8nxFtG/wC5g7VUFxSDGRYrdTNiEbd/a8EWzkLHw6hUUPbNpSMAwE0cE4w88Dtr1 XP3ViEsdBPdWQfJodNhNJOPDYp0DRVySC4kWYKxzkR2a1C3gAeWC7B6hfp9NkYENgJuv ZOJsmOIWpPsyC47oxXlqiqnWsHzrdNIlyymNSa0tVnL1C9Nl3BfjbmWnsXZgUWwaMb+X I1lQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si5204009plp.151.2019.01.25.00.21.46; Fri, 25 Jan 2019 00:22:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728400AbfAYIUt convert rfc822-to-8bit (ORCPT + 99 others); Fri, 25 Jan 2019 03:20:49 -0500 Received: from mga11.intel.com ([192.55.52.93]:9312 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbfAYIUt (ORCPT ); Fri, 25 Jan 2019 03:20:49 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jan 2019 00:20:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,520,1539673200"; d="scan'208";a="313406334" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 25 Jan 2019 00:20:48 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 25 Jan 2019 00:20:48 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 25 Jan 2019 00:20:48 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.102]) by shsmsx102.ccr.corp.intel.com ([169.254.2.207]) with mapi id 14.03.0415.000; Fri, 25 Jan 2019 16:20:46 +0800 From: "Du, Fan" To: "Williams, Dan J" , Jane Chu CC: Tom Lendacky , Michal Hocko , linux-nvdimm , Takashi Iwai , "Dave Hansen" , "Huang, Ying" , Linux Kernel Mailing List , Linux MM , =?iso-8859-1?Q?J=E9r=3Fme_Glisse?= , Borislav Petkov , Yaowei Bai , Ross Zwisler , "Bjorn Helgaas" , Andrew Morton , "Wu, Fengguang" , "Du, Fan" Subject: RE: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM Thread-Topic: [PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM Thread-Index: AQHUtDueC+prTFW/9U2I5MbyKGdviaW++3cAgAAELwCAAKO5YA== Date: Fri, 25 Jan 2019 08:20:45 +0000 Message-ID: <5A90DA2E42F8AE43BC4A093BF067884825733A5B@SHSMSX104.ccr.corp.intel.com> References: <20190124231441.37A4A305@viggo.jf.intel.com> <20190124231448.E102D18E@viggo.jf.intel.com> <0852310e-41dc-dc96-2da5-11350f5adce6@oracle.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTY4ZGQ4ODktYmRjNi00ODlmLWI4MzEtOWIzNWFhNzhhNjZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOWxHTmc3Q28wdjRHSVViU3FXRFM5QWNHRHdHeG1cL3Z3ZWhCTWdEWnYzSStFWk82cEJDUlwvZ1wvaHBNeFgyS2pzOSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? And how about when ARS is involved but no machine check fired for the function of this patchset? >-----Original Message----- >From: Linux-nvdimm [mailto:linux-nvdimm-bounces@lists.01.org] On Behalf >Of Dan Williams >Sent: Friday, January 25, 2019 2:28 PM >To: Jane Chu >Cc: Tom Lendacky ; Michal Hocko >; linux-nvdimm ; Takashi >Iwai ; Dave Hansen ; Huang, >Ying ; Linux Kernel Mailing List >; Linux MM ; J?r?me >Glisse ; Borislav Petkov ; Yaowei Bai >; Ross Zwisler ; >Bjorn Helgaas ; Andrew Morton >; Wu, Fengguang >Subject: Re: [PATCH 5/5] dax: "Hotplug" persistent memory for use like >normal RAM > >On Thu, Jan 24, 2019 at 10:13 PM Jane Chu wrote: >> >> Hi, Dave, >> >> While chatting with my colleague Erwin about the patchset, it occurred >> that we're not clear about the error handling part. Specifically, >> >> 1. If an uncorrectable error is detected during a 'load' in the hot >> plugged pmem region, how will the error be handled? will it be >> handled like PMEM or DRAM? > >DRAM. > >> 2. If a poison is set, and is persistent, which entity should clear >> the poison, and badblock(if applicable)? If it's user's responsibility, >> does ndctl support the clearing in this mode? > >With persistent memory advertised via a static logical-to-physical >storage/dax device mapping, once an error develops it destroys a >physical *and* logical part of a device address space. That loss of >logical address space makes error clearing a necessity. However, with >the DRAM / "System RAM" error handling model, the OS can just offline >the page and map a different one to repair the logical address space. >So, no, ndctl will not have explicit enabling to clear volatile >errors, the OS will just dynamically offline problematic pages. >_______________________________________________ >Linux-nvdimm mailing list >Linux-nvdimm@lists.01.org >https://lists.01.org/mailman/listinfo/linux-nvdimm