On Wed, Nov 4, 2020 at 11:32 PM gregkh wrote:
>
> On Wed, Nov 04, 2020 at 03:21:23PM -0800, Dan Williams wrote:
> > On Tue, Nov 3, 2020 at 7:45 AM Jason Gunthorpe wrote:
> > [..]
> > > > +MODULE_DEVICE_TABLE(auxiliary, mlx5v_id_table);
> > > >
On Wed, Nov 4, 2020 at 9:05 PM Stephen Rothwell wrote:
>
> Hi all,
>
> After merging the akpm-current tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> In file included from include/linux/numa.h:25,
> from include/linux/nodemask.h:96,
>
On Tue, Nov 3, 2020 at 7:45 AM Jason Gunthorpe wrote:
[..]
> > +MODULE_DEVICE_TABLE(auxiliary, mlx5v_id_table);
> > +
> > +static struct auxiliary_driver mlx5v_driver = {
> > + .name = "vnet",
> > + .probe = mlx5v_probe,
> > + .remove = mlx5v_remove,
> > + .id_table =
On Wed, Nov 4, 2020 at 8:50 AM Bjorn Helgaas wrote:
>
> On Wed, Nov 04, 2020 at 09:44:04AM +0100, Daniel Vetter wrote:
> > On Tue, Nov 3, 2020 at 11:09 PM Dan Williams
> > wrote:
> > > On Tue, Nov 3, 2020 at 1:28 PM Bjorn Helgaas wrote:
> > > > On Fri, O
On Tue, Nov 3, 2020 at 1:28 PM Bjorn Helgaas wrote:
>
> On Fri, Oct 30, 2020 at 11:08:11AM +0100, Daniel Vetter wrote:
> > There's three ways to access PCI BARs from userspace: /dev/mem, sysfs
> > files, and the old proc interface. Two check against
> > iomem_is_exclusive, proc never did. And
On Mon, Nov 2, 2020 at 10:52 AM Jason Gunthorpe wrote:
>
> On Mon, Nov 02, 2020 at 10:38:28AM -0800, Dan Williams wrote:
>
> > > I think you will be the first to use the namespace stuff for this, it
> > > seems like a good idea and others should probably do so as w
On Mon, Nov 2, 2020 at 10:26 AM Jason Gunthorpe wrote:
>
> On Mon, Nov 02, 2020 at 11:18:33AM -0700, Dave Jiang wrote:
> >
> >
> > On 11/2/2020 10:19 AM, Jason Gunthorpe wrote:
> > > On Mon, Nov 02, 2020 at 08:20:43AM -0800, Raj, Ashok wrote:
> > > > Creating these private interfaces for
fore not a problem.
>
> The only difference in access checks left is that sysfs PCI mmap does
> not check for CAP_RAWIO. I'm not really sure whether that should be
> added or not.
>
> Signed-off-by: Daniel Vetter
> Cc: Jason Gunthorpe
> Cc: Kees Cook
> Cc: Dan Williams
> Cc: Andrew Morton
> Cc: John Hubbard
> Cc: Jérôme Glisse
> Cc: Jan Kara
> Cc: Dan Williams
Looks good to me:
Reviewed-by: Dan Williams
On Thu, Oct 29, 2020 at 4:49 PM Dan Williams wrote:
>
> On Thu, Oct 29, 2020 at 4:29 PM Randy Dunlap wrote:
> >
> > On 10/29/20 4:13 PM, Randy Dunlap wrote:
> > > On 10/29/20 4:09 PM, Philip Li wrote:
> > >> On Thu, Oct 29, 2020 at 03:52:42PM -0700, Dan
On Thu, Oct 29, 2020 at 4:29 PM Randy Dunlap wrote:
>
> On 10/29/20 4:13 PM, Randy Dunlap wrote:
> > On 10/29/20 4:09 PM, Philip Li wrote:
> >> On Thu, Oct 29, 2020 at 03:52:42PM -0700, Dan Williams wrote:
> >>> On Thu, Oct 29, 2020 at 3:44 PM Thomas Gleixner
On Thu, Oct 29, 2020 at 3:44 PM Thomas Gleixner wrote:
>
> Dan,
>
> x86 32bit build fails with the config below with this:
>
> ERROR: modpost: "phys_to_target_node" [drivers/nvdimm/nd_e820.ko]
> undefined!
Acknowledged, I'm on it.
Wonder how 0-day missed this or I missed the 0-day report?
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 3adb776384f2042ef6bda876e91a7a7ac2872c5e
Gitweb:
https://git.kernel.org/tip/3adb776384f2042ef6bda876e91a7a7ac2872c5e
Author:Dan Williams
AuthorDate:Mon, 19 Oct 2020 21:08:03 -07:00
On Mon, 2020-10-26 at 07:38 -0600, Jeffrey Hugo wrote:
> On 10/25/2020 3:46 PM, Jakub Kicinski wrote:
> > On Fri, 23 Oct 2020 16:17:54 -0700 Hemant Kumar wrote:
> > > +UCI driver enables userspace clients to communicate to external
> > > MHI devices
> > > +like modem and WLAN. UCI driver probe
On Fri, Oct 16, 2020 at 12:45 PM Miklos Szeredi wrote:
[..]
> > This is broken... it needs to be converted to 'struct range'. I'll take
> > care of that when I respin the series. Sorry for the thrash it seems
> > this is a new memremap_pages() user since the conversion patches
> > landed.
>
> Hi
revoke mappings.
>
> To prepare for this, move the code from the /dev/kmem driver to
> kernel/resource.c.
>
> Reviewed-by: Greg Kroah-Hartman
> Signed-off-by: Daniel Vetter
> Cc: Jason Gunthorpe
> Cc: Kees Cook
> Cc: Dan Williams
> Cc: Andrew Morton
> Cc: John Hubbard
>
> Signed-off-by: Daniel Vetter
> Cc: Jason Gunthorpe
> Cc: Kees Cook
> Cc: Dan Williams
> Cc: Andrew Morton
> Cc: John Hubbard
> Cc: Jérôme Glisse
> Cc: Jan Kara
> Cc: Dan Williams
Reviewed-by: Dan Williams
On Wed, Oct 21, 2020 at 10:11 AM Nabeel Meeramohideen Mohamed
(nmeeramohide) wrote:
>
> On Tuesday, October 20, 2020 3:36 PM, Dan Williams
> wrote:
> >
> > What does Linux get from merging mpool?
> >
>
> What Linux gets from merging mpool is a generic objec
On Wed, Oct 21, 2020 at 7:24 AM Mike Snitzer wrote:
>
> Hey Dan,
>
> On Fri, Oct 16, 2020 at 6:38 PM Dan Williams wrote:
> >
> > On Fri, Oct 16, 2020 at 2:59 PM Nabeel Meeramohideen Mohamed
> > (nmeeramohide) wrote:
> >
> > > (5) Repre
On Mon, Oct 19, 2020 at 3:30 PM Nabeel Meeramohideen Mohamed
(nmeeramohide) wrote:
>
> Hi Dan,
>
> On Friday, October 16, 2020 4:12 PM, Dan Williams
> wrote:
> >
> > On Fri, Oct 16, 2020 at 2:59 PM Nabeel Meeramohideen Mohamed
> > (nmeeramohide) wrote:
> >
Peter Anvin"
Cc: Vishal Verma
Cc: Dave Jiang
Cc: Ira Weiny
Signed-off-by: Dan Williams
---
arch/x86/Kconfig.debug |3 -
arch/x86/include/asm/copy_mc_test.h | 75 -
arch/x86/lib/copy_mc.c |4 -
arch/x86/lib/copy_mc_64.S
/claim.c
> +++ b/drivers/nvdimm/claim.c
> @@ -200,11 +200,10 @@ ssize_t nd_namespace_store(struct device *dev,
> }
> break;
> default:
> len = -EBUSY;
> goto out_attach;
> - break;
> }
Acked-by: Dan Williams
On Fri, Oct 16, 2020 at 2:59 PM Nabeel Meeramohideen Mohamed
(nmeeramohide) wrote:
>
> On Thursday, October 15, 2020 2:03 AM, Christoph Hellwig
> wrote:
> > I don't think this belongs into the kernel. It is a classic case for
> > infrastructure that should be built in userspace. If anything
On Mon, Oct 12, 2020 at 4:00 AM Joao Martins wrote:
[..]
> On 10/10/20 9:15 AM, yulei zhang wrote:
> > On Fri, Oct 9, 2020 at 7:53 PM Joao Martins
> > wrote:
> >> On 10/9/20 12:39 PM, yulei zhang wrote:
> >>> Joao, thanks a lot for the feedback. One more thing needs to mention
> >>> is that
Cc: Dave Hansen
Cc: Pavel Tatashin
Cc: Brice Goglin
Cc: Dave Jiang
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/kmem.c | 48 ++--
1 file changed, 34 insertions(+), 14 deletions(-)
tree at its own pace.
My thanks to Andrew for wrangling the thrash up to v5, and my apologies
to Andrew et al for not highlighting this gap sooner.
[1]:
http://lore.kernel.org/r/160196728453.2166475.12832711415715687418.st...@dwillia2-desk3.amr.corp.intel.com
---
Dan Williams (2):
device
-by: Boris Ostrovsky
Signed-off-by: Dan Williams
---
drivers/xen/unpopulated-alloc.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/xen/unpopulated-alloc.c b/drivers/xen/unpopulated-alloc.c
index 8c512ea550bb..75ab5de99868 100644
--- a/drivers/xen
On Tue, Oct 13, 2020 at 12:37 PM Matthew Wilcox wrote:
>
> On Tue, Oct 13, 2020 at 11:44:29AM -0700, Dan Williams wrote:
> > On Fri, Oct 9, 2020 at 12:52 PM wrote:
> > >
> > > From: Ira Weiny
> > >
> > > The kmap() calls in this FS are localized t
On Fri, Oct 9, 2020 at 12:52 PM wrote:
>
> From: Ira Weiny
>
> The kmap() calls in this FS are localized to a single thread. To avoid
> the over head of global PKRS updates use the new kmap_thread() call.
>
> Cc: Nicolas Pitre
> Signed-off-by: Ira Weiny
> ---
> fs/cramfs/inode.c | 10
On Mon, Oct 12, 2020 at 10:46 AM Ralph Campbell wrote:
>
> ZONE_DEVICE struct pages have an extra reference count that complicates the
> code for put_page() and several places in the kernel that need to check the
> reference count to see that a page is not being used (gup, compaction,
>
On Fri, Oct 9, 2020 at 7:32 AM Jason Gunthorpe wrote:
>
> On Fri, Oct 09, 2020 at 04:24:45PM +0200, Daniel Vetter wrote:
> > On Fri, Oct 9, 2020 at 2:31 PM Jason Gunthorpe wrote:
> > >
> > > On Fri, Oct 09, 2020 at 09:59:31AM +0200, Daniel Vetter wrote:
> > >
> > > > +struct address_space
On Wed, Oct 7, 2020 at 12:54 PM Borislav Petkov wrote:
>
> On Wed, Oct 07, 2020 at 11:53:15AM -0700, Dan Williams wrote:
> > Oh nice! I just sent a patch [1] to fix this up as well,
>
> Yeah, for some reason it took you a while to see it - wondering if your
> mail s
On Thu, Oct 8, 2020 at 1:13 AM Daniel Vetter wrote:
>
> On Thu, Oct 8, 2020 at 9:50 AM Dan Williams wrote:
> >
> > On Wed, Oct 7, 2020 at 4:25 PM Jason Gunthorpe wrote:
> > >
> > > On Wed, Oct 07, 2020 at 12:33:06PM -0700, Dan Williams wrote:
> >
On Wed, Oct 7, 2020 at 4:25 PM Jason Gunthorpe wrote:
>
> On Wed, Oct 07, 2020 at 12:33:06PM -0700, Dan Williams wrote:
> > On Wed, Oct 7, 2020 at 11:11 AM Daniel Vetter
> > wrote:
> > >
> > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver
On Wed, Oct 7, 2020 at 3:23 PM Dan Williams wrote:
>
> On Wed, Oct 7, 2020 at 12:49 PM Daniel Vetter wrote:
> >
> > On Wed, Oct 7, 2020 at 9:33 PM Dan Williams
> > wrote:
> > >
> > > On Wed, Oct 7, 2020 at 11:11 AM Daniel Vetter
> > > w
On Wed, Oct 7, 2020 at 12:49 PM Daniel Vetter wrote:
>
> On Wed, Oct 7, 2020 at 9:33 PM Dan Williams wrote:
> >
> > On Wed, Oct 7, 2020 at 11:11 AM Daniel Vetter
> > wrote:
> > >
> > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a drive
On Wed, Oct 7, 2020 at 1:25 AM Jan Kara wrote:
>
> On Tue 06-10-20 16:09:30, Ralph Campbell wrote:
> > There are several places where ZONE_DEVICE struct pages assume a reference
> > count == 1 means the page is idle and free. Instead of open coding this,
> > add a helper function to hide this
On Wed, Oct 7, 2020 at 11:11 AM Daniel Vetter wrote:
>
> Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims
> the region") /dev/kmem zaps ptes when the kernel requests exclusive
> acccess to an iomem region. And with CONFIG_IO_STRICT_DEVMEM, this is
> the default for all driver
On Wed, Oct 7, 2020 at 11:47 AM Borislav Petkov wrote:
>
> On Wed, Oct 07, 2020 at 06:45:36PM +0200, Borislav Petkov wrote:
> > It doesn't look like it is toolchain-specific and in both cases,
> > copy_mc_fragile's checksum is 0.
> >
> > SUSE Leap 15.1:
> >
> > Name : binutils
> >
pendency to
the test.
Fixes: ec6347bb4339 ("x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user,
kernel}()")
Reported-by: Borislav Petkov
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Borislav Petkov
Cc: x...@kernel.org
Cc: "H. Peter Anvin"
Cc: Tony Luck
Signed-off-by: D
[ add kbuild robot so they can add this check to their reports ]
On Wed, Oct 7, 2020 at 9:47 AM Borislav Petkov wrote:
>
> On Wed, Oct 07, 2020 at 01:14:47PM +0200, Borislav Petkov wrote:
> > On Tue, Oct 06, 2020 at 09:57:09AM -, tip-bot2 for Dan Williams wrote:
> > > +
On Tue, Oct 6, 2020 at 4:09 PM Ralph Campbell wrote:
>
> There are several places where ZONE_DEVICE struct pages assume a reference
> count == 1 means the page is idle and free. Instead of open coding this,
> add a helper function to hide this detail.
>
> Signed-off-by: Ralph Campbell
>
On Tue, 2020-10-06 at 08:40 -0400, Jes Sorensen wrote:
> On 10/6/20 3:45 AM, Arend Van Spriel wrote:
> > + Jes
> >
> > On 10/5/2020 4:12 PM, Kalle Valo wrote:
> > > Greg Kroah-Hartman writes:
> > >
> > > > On Fri, Oct 02, 2020 at 01:53:58PM +0200, Sebastian Andrzej
> > > > Siewior
> > > >
The following commit has been merged into the ras/core branch of tip:
Commit-ID: ec6347bb43395cb92126788a1a5b25302543f815
Gitweb:
https://git.kernel.org/tip/ec6347bb43395cb92126788a1a5b25302543f815
Author:Dan Williams
AuthorDate:Mon, 05 Oct 2020 20:40:16 -07:00
Committer
The following commit has been merged into the ras/core branch of tip:
Commit-ID: 5da8e4a658109e3b7e1f45ae672b7c06ac3e7158
Gitweb:
https://git.kernel.org/tip/5da8e4a658109e3b7e1f45ae672b7c06ac3e7158
Author:Dan Williams
AuthorDate:Mon, 05 Oct 2020 20:40:25 -07:00
Committer
nk:
https://lkml.kernel.org/r/159643104304.4062302.16561669534797528660.st...@dwillia2-desk3.amr.corp.intel.com
Reported-by: Joao Martins
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 233 +++-
drivers/dax/dax-private.h |9 +-
d
Airlie
Cc: Daniel Vetter
Cc: Ira Weiny
Cc: Bjorn Helgaas
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Stefano Stabellini
Cc: "Jérôme Glisse"
Cc: Andrew Morton
Signed-off-by: Dan Williams
---
arch/powerpc/kvm/book3s_hv_uvmem.c |1
drivers/dax/device.c
.intel.com
[4]: http://lore.kernel.org/r/20200110190313.17144-1-joao.m.mart...@oracle.com
---
Dan Williams (11):
device-dax: make pgmap optional for instance creation
device-dax/kmem: introduce dax_kmem_range()
device-dax/kmem: move resource tracking to drvdata
device-dax: ad
.amr.corp.intel.com
Cc: Vishal Verma
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 120 +
drivers/dax/bus.h
sk3.amr.corp.intel.com
Cc: Vishal Verma
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 301 +++--
drivers/dax/
: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 29 +++--
drivers/dax/bus.h |2 ++
drivers/dax/dax-private.h |4 +++-
drivers/dax/device.c
range.
Cc: David Hildenbrand
Cc: Vishal Verma
Cc: Dave Hansen
Cc: Pavel Tatashin
Cc: Brice Goglin
Cc: Dave Jiang
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Reviewed-by: David Hildenbrand
Signed-off-by: Dan Williams
---
drivers/dax/kmem.c | 40
rnel.org/r/159643102106.4062302.12229802117645312104.st...@dwillia2-desk3.amr.corp.intel.com
Reviewed-by: Greg Kroah-Hartman
Signed-off-by: Dan Williams
---
drivers/base/core.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index bb5806a2bd4c..8d
Vishal Verma
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Reported-by: Hulk Robot
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 18 ++
drivers/dax/bus.h
chmidt
Cc: Vishal Verma
Cc: Vivek Goyal
Cc: Dave Jiang
Cc: Ben Skeggs
Cc: David Airlie
Cc: Daniel Vetter
Cc: Ira Weiny
Cc: Bjorn Helgaas
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Stefano Stabellini
Cc: "Jérôme Glisse"
Cc: Andrew Morton
Reported-by: Dan Carpenter
Signed-
Tatashin
Cc: Brice Goglin
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/dax-private.h |3 --
drivers/dax/kmem.c| 55 +
2 files changed
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 161 ++---
1 file changed, 152 insertions(+), 9 del
that
may write-fault, if it is a user page. So copy_to_user_mcsafe() becomes
copy_mc_to_user() to indicate the separate precautions taken on source
and destination. copy_mc_to_kernel() is introduced as a non-SMAP version
that does not expect write-faults on the destination, but is still
prepared to abort
()")
Signed-off-by: Dan Williams
---
arch/x86/lib/copy_mc.c| 32 +++-
arch/x86/lib/copy_mc_64.S | 36
tools/objtool/check.c |1 +
3 files changed, 60 insertions(+), 9 deletions(-)
diff --git a/arch/x86/lib/copy
Apr 30, 2020 at 6:21 PM Dan Williams
wrote:
> >
> > However now I see that copy_user_generic() works for the wrong reason.
> > It works because the exception on the source address due to poison
> > looks no different than a write fault on the user address to the
On Thu, Oct 1, 2020 at 11:17 AM Ralph Campbell wrote:
>
> This is still an RFC because after looking at the pmem/dax code some
> more, I realized that the ZONE_DEVICE struct pages are being inserted
> into the process' page tables with vmf_insert_mixed() and a zero
> refcount on the ZONE_DEVICE
On Thu, Oct 1, 2020 at 10:39 AM David Hildenbrand wrote:
[..]
> >> include/linux/range.h seems to have this function - why is this here
> >> needed?
> >
> > It's there because I add it later in this series. I waited until
> > "mm/memremap_pages: convert to 'struct range'" to make it global as
>
On Thu, Oct 1, 2020 at 1:41 AM David Hildenbrand wrote:
>
> On 25.09.20 21:11, Dan Williams wrote:
> > The passed in dev_pagemap is only required in the pmem case as the
> > libnvdimm core may have reserved a vmem_altmap for dev_memremap_pages() to
> > place the
On Wed, Sep 30, 2020 at 9:23 AM David Hildenbrand wrote:
>
> On 25.09.20 21:12, Dan Williams wrote:
> > Towards removing the mode specific @dax_kmem_res attribute from the
> > generic 'struct dev_dax', and preparing for multi-range support, change
> > the kmem dri
On Tue, Sep 29, 2020 at 3:25 AM Borislav Petkov wrote:
>
> On Wed, Sep 23, 2020 at 09:41:33AM -0700, Dan Williams wrote:
> > The rename replaces a single top-level memcpy_mcsafe() with either
> > copy_mc_to_user(), or copy_mc_to_kernel().
>
> What is "copy_mc&
On Tue, Sep 29, 2020 at 10:05 PM Borislav Petkov wrote:
>
> On Tue, Sep 29, 2020 at 03:32:07PM -0700, Dan Williams wrote:
> > Given that Linus was the primary source of review feedback on these
> > patches and a version of them have been soaking in -next with only a
> &g
On Wed, Sep 23, 2020 at 10:00 AM Dan Williams wrote:
>
> Changes since v8 [1]:
> - Rebase on v5.9-rc6
>
> - Fix a performance regression in the x86 copy_mc_to_user()
> implementation that was duplicating copies in the "fragile" case.
>
> - Refreshed
> >
> > > lib/test_hmm.c | 44 ++--
> > > 1 file changed, 22 insertions(+), 22 deletions(-)
> >
> > Hi Andrew,
> >
> > I don't have have any hmm related patches this cycle, can you take
> > this into your tree?
> >
> > Reviewed-by: Jason Gunthorpe
>
> Thanks.
>
> It's actually a fix against Dan Williams' -mm patch "mm/memremap_pages:
> convert to 'struct range'"
Yes, sorry, for the fix:
Acked-by: Dan Williams
On Fri, Sep 25, 2020 at 7:22 PM Andrew Morton wrote:
>
> On Fri, 25 Sep 2020 12:13:04 -0700 Dan Williams
> wrote:
>
> > Introduce a device align attribute. While doing so, rename the region
> > align attribute to be more explicitly named as so, but keep it named as
>
nk:
https://lkml.kernel.org/r/159643104304.4062302.16561669534797528660.st...@dwillia2-desk3.amr.corp.intel.com
Reported-by: Joao Martins
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 233 +++-
drivers/dax/dax-private.h |9 +-
d
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 161 ++---
1 file changed, 152 insertions(+), 9 del
/159643105377.4062302.4159447829955683131.st...@dwillia2-desk3.amr.corp.intel.com
Link: https://lore.kernel.org/r/20200716172913.19658-2-joao.m.mart...@oracle.com
Signed-off-by: Joao Martins
Signed-off-by: Dan Williams
---
drivers/dax/bus.c |1 +
drivers/dax/dax-private.h |3
Vishal Verma
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Reported-by: Hulk Robot
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 18 ++
drivers/dax/bus.h
.amr.corp.intel.com
Cc: Vishal Verma
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 120 +
drivers/dax/bus.h
On Fri, Sep 25, 2020 at 1:52 PM Joao Martins wrote:
>
> Hey Dan,
>
> On 9/25/20 8:11 PM, Dan Williams wrote:
> > Changes since v4 [1]:
> > - Rebased on
> > device-dax-move-instance-creation-parameters-to-struct-dev_dax_data.patch
> > in -mm [2]. I.e. patc
On Fri, Sep 25, 2020 at 1:45 PM Ralph Campbell wrote:
>
> There are several places where ZONE_DEVICE struct pages assume a reference
> count == 1 means the page is idle and free. Instead of open coding this,
> add a helper function to hide this detail.
>
> Signed-off-by: Ralph Campbell
> ---
>
lore.kernel.org/r/20200110190313.17144-1-joao.m.mart...@oracle.com
---
Dan Williams (14):
device-dax: make pgmap optional for instance creation
device-dax/kmem: introduce dax_kmem_range()
device-dax/kmem: move resource name tracking to drvdata
device-dax/kmem: replace re
722.st...@dwillia2-desk3.amr.corp.intel.com
Link: https://lore.kernel.org/r/20200716172913.19658-5-joao.m.mart...@oracle.com
Signed-off-by: Joao Martins
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 64 +
1 file changed, 64 insertions(+)
diff
range.
Cc: David Hildenbrand
Cc: Vishal Verma
Cc: Dave Hansen
Cc: Pavel Tatashin
Cc: Brice Goglin
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/kmem.c | 40
Airlie
Cc: Daniel Vetter
Cc: Ira Weiny
Cc: Bjorn Helgaas
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Stefano Stabellini
Cc: "Jérôme Glisse"
Cc: Andrew Morton
Signed-off-by: Dan Williams
---
arch/powerpc/kvm/book3s_hv_uvmem.c |1
drivers/dax/device.c
Ben Skeggs
Cc: David Airlie
Cc: Daniel Vetter
Cc: Ira Weiny
Cc: Bjorn Helgaas
Cc: Boris Ostrovsky
Cc: Juergen Gross
Cc: Stefano Stabellini
Cc: "Jérôme Glisse"
Cc: Andrew Morton
Signed-off-by: Dan Williams
---
arch/powerpc/kvm/book3s_hv_uvmem.c | 13 +++-
sk3.amr.corp.intel.com
Cc: Vishal Verma
Cc: Brice Goglin
Cc: Dave Hansen
Cc: Dave Jiang
Cc: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 301 +++--
drivers/dax/
is enabled.
Link:
https://lkml.kernel.org/r/159643104819.4062302.13691281391423291589.st...@dwillia2-desk3.amr.corp.intel.com
Cc: Joao Martins
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 191 +
drivers/dax/dax-private.h | 14 +++
2 files
rnel.org/r/159643102106.4062302.12229802117645312104.st...@dwillia2-desk3.amr.corp.intel.com
Reviewed-by: Greg Kroah-Hartman
Signed-off-by: Dan Williams
---
drivers/base/core.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index bb5806a2bd4c..8d
: David Hildenbrand
Cc: Ira Weiny
Cc: Jia He
Cc: Joao Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/bus.c | 29 +++--
drivers/dax/bus.h |2 ++
drivers/dax/dax-private.h |9 -
drivers/dax/device.c
Martins
Cc: Jonathan Cameron
Signed-off-by: Dan Williams
---
drivers/dax/dax-private.h |3 ---
drivers/dax/kmem.c| 20 +++-
2 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/drivers/dax/dax-private.h b/drivers/dax/dax-private.h
index 6779f683671d
:
https://lkml.kernel.org/r/159643106460.4062302.5868522341307530091.st...@dwillia2-desk3.amr.corp.intel.com
Link: https://lore.kernel.org/r/20200716172913.19658-4-joao.m.mart...@oracle.com
Signed-off-by: Joao Martins
Signed-off-by: Dan Williams
---
drivers/dax/hmem/hmem.c |5 -
1 file
-off-by: Dan Williams
---
drivers/dax/kmem.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/dax/kmem.c b/drivers/dax/kmem.c
index b0d6a99cf12d..6fe2cb1c5f7c 100644
--- a/drivers/dax/kmem.c
+++ b/drivers/dax/kmem.c
@@ -34,7 +34,7 @@ int
On Thu, Sep 24, 2020 at 2:42 PM David Hildenbrand wrote:
>
>
>
> > Am 24.09.2020 um 23:26 schrieb Dan Williams :
> >
> > [..]
> >>> I'm not suggesting to busy the whole "virtio" range, just the portion
> >>> that's about to be passed
[..]
> > I'm not suggesting to busy the whole "virtio" range, just the portion
> > that's about to be passed to add_memory_driver_managed().
>
> I'm afraid I don't get your point. For virtio-mem:
>
> Before:
>
> 1. Create virtio0 container resource
>
> 2. (somewhen in the future)
On Tue, Sep 1, 2020 at 1:33 AM Roger Pau Monne wrote:
>
> This is in preparation for the logic behind MEMORY_DEVICE_DEVDAX also
> being used by non DAX devices.
>
FWIW I would not call this MEMORY_DEVICE_GENERIC. This is really
MEMORY_DEVICE_SIMPLE and the kernel-doc can clarify in contrast to
[ add Ingo ]
On Thu, Sep 24, 2020 at 7:10 AM Dan Williams wrote:
>
> On Wed, Sep 23, 2020 at 11:45 PM Stephen Rothwell
> wrote:
> >
> > Hi all,
> >
> > Today's linux-next merge of the nvdimm tree got a conflict in:
> >
> > lib/iov_iter.c
> &g
On Wed, Sep 23, 2020 at 11:45 PM Stephen Rothwell wrote:
>
> Hi all,
>
> Today's linux-next merge of the nvdimm tree got a conflict in:
>
> lib/iov_iter.c
>
> between commit:
>
> e33ea6e5ba6a ("x86/uaccess: Use pointer masking to limit uaccess
> speculation")
>
> from the vfs tree and
On Thu, Sep 24, 2020 at 12:26 AM David Hildenbrand wrote:
>
> On 23.09.20 23:41, Dan Williams wrote:
> > On Wed, Sep 23, 2020 at 1:04 AM David Hildenbrand wrote:
> >>
> >> On 08.09.20 17:33, Joao Martins wrote:
> >>> [Sorry for the late respon
On Wed, Sep 23, 2020 at 1:04 AM David Hildenbrand wrote:
>
> On 08.09.20 17:33, Joao Martins wrote:
> > [Sorry for the late response]
> >
> > On 8/21/20 11:06 AM, David Hildenbrand wrote:
> >> On 03.08.20 07:03, Dan Williams wrote:
> >>> @@ -37,109 +
Goyal
Cc: "H. Peter Anvin"
Cc: Andy Lutomirski
Cc: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Linus Torvalds
Reviewed-by: Tony Luck
Reported-by: Erwin Tsaur
Tested-by: Erwin Tsaur
Reported-by: 0day robot
Fixes: 92b0729c34ca ("x86/mm, x86/mce: Add memcpy_mcsafe()")
Signed-
Apr 30, 2020 at 6:21 PM Dan Williams
wrote:
> >
> > However now I see that copy_user_generic() works for the wrong reason.
> > It works because the exception on the source address due to poison
> > looks no different than a write fault on the user address to the
d a kbuild-robot build success notification
across 114 configs, the rebase to v5.9-rc6 did not encounter any
conflicts, and the merge with tip/master is conflict-free.
---
Dan Williams (2):
x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user,kernel}()
x86/copy_mc: I
On Tue, Sep 8, 2020 at 3:46 AM David Hildenbrand wrote:
>
> On 22.08.20 01:21, Andrew Morton wrote:
> > On Wed, 19 Aug 2020 18:53:57 -0700 Dan Williams
> > wrote:
> >
> >>> I think I am missing some important pieces. Bear with me.
> >>
> >>
On Thu, Aug 6, 2020 at 8:35 AM Ingo Molnar wrote:
>
>
> * Dan Williams wrote:
>
> > On Thu, Aug 6, 2020 at 6:35 AM Ingo Molnar wrote:
> > >
> > >
> > > * kernel test robot wrote:
> > >
> > > > Greeting,
> > > &
On Mon, Sep 21, 2020 at 11:35 AM Nick Desaulniers
wrote:
>
> Hello DAX maintainers,
> I noticed our PPC64LE builds failing last night:
> https://travis-ci.com/github/ClangBuiltLinux/continuous-integration/jobs/388047043
>
601 - 700 of 9324 matches
Mail list logo