* Re: [PATCH 3/3] x86, ras: Add mcsafe_memcpy() function to recover from machine checks
[not found] ` <20151127101611.GA1087@gmail.com>
@ 2015-12-08 21:30 ` Dan Williams
2015-12-08 22:08 ` Luck, Tony
2015-12-14 9:55 ` Ingo Molnar
0 siblings, 2 replies; 3+ messages in thread
From: Dan Williams @ 2015-12-08 21:30 UTC (permalink / raw)
To: Ingo Molnar
Cc: Luck, Tony, Borislav Petkov, Linux Kernel Mailing List,
linux-edac, the arch/x86 maintainers, Jens Axboe, Verma, Vishal L,
Jeff Moyer, linux-nvdimm@lists.01.org
[ 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH 3/3] x86, ras: Add mcsafe_memcpy() function to recover from machine checks
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
1 sibling, 0 replies; 3+ messages in thread
From: Luck, Tony @ 2015-12-08 22:08 UTC (permalink / raw)
To: Williams, Dan J, Ingo Molnar
Cc: Borislav Petkov, Linux Kernel Mailing List,
linux-edac@vger.kernel.org, the arch/x86 maintainers, Jens Axboe,
Verma, Vishal L, Jeff Moyer, linux-nvdimm@lists.01.org
> 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.
I'm making a V2 that fixes some build errors for 32-bit and addresses other commentary
from the community. Perhaps a couple more days before I finish it up ready to post.
-Tony
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 3/3] x86, ras: Add mcsafe_memcpy() function to recover from machine checks
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
1 sibling, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2015-12-14 9:55 UTC (permalink / raw)
To: Dan Williams
Cc: Luck, Tony, Borislav Petkov, Linux Kernel Mailing List,
linux-edac, the arch/x86 maintainers, Jens Axboe, Verma, Vishal L,
Jeff Moyer, linux-nvdimm@lists.01.org
* 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-14 9:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox