From: Ingo Molnar <mingo@kernel.org>
To: Dan Williams <dan.j.williams@intel.com>
Cc: "Luck, Tony" <tony.luck@intel.com>,
Borislav Petkov <bp@alien8.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-edac@vger.kernel.org,
the arch/x86 maintainers <x86@kernel.org>,
Jens Axboe <axboe@fb.com>,
"Verma, Vishal L" <vishal.l.verma@intel.com>,
Jeff Moyer <jmoyer@redhat.com>,
"linux-nvdimm@lists.01.org" <linux-nvdimm@ml01.01.org>
Subject: Re: [PATCH 3/3] x86, ras: Add mcsafe_memcpy() function to recover from machine checks
Date: Mon, 14 Dec 2015 10:55:00 +0100 [thread overview]
Message-ID: <20151214095500.GA31573@gmail.com> (raw)
In-Reply-To: <CAA9_cmcGbnzKLufKwT-LE_=82L2PTJ8bjfQCkPUhMxDA31ixmg@mail.gmail.com>
* Dan Williams <dan.j.williams@intel.com> wrote:
> [ adding nvdimm folks ]
>
> On Fri, Nov 27, 2015 at 2:16 AM, Ingo Molnar <mingo@kernel.org> wrote:
> >
> > * Luck, Tony <tony.luck@intel.com> wrote:
> >
> >> On Thu, Nov 12, 2015 at 08:53:13AM +0100, Ingo Molnar wrote:
> >> > > +extern phys_addr_t mcsafe_memcpy(void *dst, const void __user *src,
> >> > > + unsigned size);
> >> >
> >> > So what's the longer term purpose, where will mcsafe_memcpy() be used?
> >>
> >> The initial plan is to use this for file systems backed by NVDIMMs. They will
> >> have a large amount of memory, and we have a practical recovery path - return
> >> -EIO just like legacy h/w.
> >>
> >> We can look for other places in the kernel where we read large amounts of memory
> >> and have some idea how to recover if the memory turns out to be bad.
> >
> > I see, that's sensible!
> >
> > Thanks,
> >
> > Ingo
>
> Is that an "Acked-by"? I'd like to pull this plus Vishal's
> gendisk-badblocks patches into a unified libnvdimm-error-handling
> branch. We're looking to have v4.5 able to avoid or survive nvdimm
> media errors through the pmem driver and DAX paths.
So there was some feedback for v2 as well - I'd like to see v3 before an Acked-by.
But yeah, this is progressing in the right direction, and I suspect it's a
relatively urgent feature from an nvdimm POV?
Thanks,
Ingo
prev parent reply other threads:[~2015-12-14 9:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1447093568.git.tony.luck@intel.com>
[not found] ` <02ef9e0e0b73591aa8ec37aae2409274d108af60.1447093569.git.tony.luck@intel.com>
[not found] ` <20151112075313.GA5984@gmail.com>
[not found] ` <20151112200106.GA32073@agluck-desk.sc.intel.com>
[not found] ` <20151127101611.GA1087@gmail.com>
2015-12-08 21:30 ` [PATCH 3/3] x86, ras: Add mcsafe_memcpy() function to recover from machine checks Dan Williams
2015-12-08 22:08 ` Luck, Tony
2015-12-14 9:55 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151214095500.GA31573@gmail.com \
--to=mingo@kernel.org \
--cc=axboe@fb.com \
--cc=bp@alien8.de \
--cc=dan.j.williams@intel.com \
--cc=jmoyer@redhat.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvdimm@ml01.01.org \
--cc=tony.luck@intel.com \
--cc=vishal.l.verma@intel.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox