[PATCH] nvdimm: make CONFIG_NVDIMM_DAX 'bool'

2016-10-25 Thread Arnd Bergmann
on LIBNVDIMM to DEV_DAX_PMEM, which ensures we can't have that one built-in if the rest is a module. Fixes: 4e65e9381c7a ("/dev/dax: fix Kconfig dependency build breakage") Signed-off-by: Arnd Bergmann <a...@arndb.de> --- drivers/dax/Kconfig| 2 +- drivers/nvdimm/Kconfig | 2 +-

Re: [PATCH] nvdimm: avoid bogus -Wmaybe-uninitialized warning

2017-08-02 Thread Arnd Bergmann
On Wed, Aug 2, 2017 at 12:23 AM, Ross Zwisler <ross.zwis...@linux.intel.com> wrote: > On Tue, Aug 01, 2017 at 02:45:34PM -0700, Andrew Morton wrote: >> On Tue, 1 Aug 2017 13:48:48 +0200 Arnd Bergmann <a...@arndb.de> wrote: >> > --- a/drivers/nvdimm/nd.h

Re: [PATCH 6/6] arm64: uaccess: Implement *_flushcache variants

2017-08-10 Thread Arnd Bergmann
On Tue, Jul 25, 2017 at 12:55 PM, Robin Murphy wrote: > Implement the set of copy functions with guarantees of a clean cache > upon completion necessary to support the pmem driver. > > Signed-off-by: Robin Murphy > --- > arch/arm64/Kconfig

[PATCH] nvdimm: avoid bogus -Wmaybe-uninitialized warning

2017-08-01 Thread Arnd Bergmann
ot;) Fixes: 58100d6e735e ("drivers/nvdimm/pmem.c: remove pmem_rw_page()") Signed-off-by: Arnd Bergmann <a...@arndb.de> --- drivers/nvdimm/nd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/nvdimm/nd.h b/drivers/nvdimm/nd.h index e1b5715bd91f..64f79a1

[PATCH] libnvdimm, btt: use %z format string modifier for size_t

2017-09-08 Thread Arnd Bergmann
to %zx as it should be. Fixes: 86652d2eb347 ("libnvdimm, btt: clean up warning and error messages") Signed-off-by: Arnd Bergmann <a...@arndb.de> --- drivers/nvdimm/btt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nvdimm/btt.c b/drivers/nv

Re: [PATCH 1/2] nfit: Use init_completion() in acpi_nfit_flush_probe()

2017-08-24 Thread Arnd Bergmann
On Thu, Aug 24, 2017 at 3:28 PM, Boqun Feng wrote: > On Thu, Aug 24, 2017 at 03:07:42PM +0200, Thomas Gleixner wrote: >> On Wed, 23 Aug 2017, Boqun Feng wrote: >> >> > There is no need to use COMPLETION_INITIALIZER_ONSTACK() in >> > acpi_nfit_flush_probe(), replace it with

Re: [RFC v2 03/83] Add super.h.

2018-03-15 Thread Arnd Bergmann
On Thu, Mar 15, 2018 at 6:51 PM, Andiry Xu <jix...@eng.ucsd.edu> wrote: > On Thu, Mar 15, 2018 at 2:05 AM, Arnd Bergmann <a...@arndb.de> wrote: >> On Thu, Mar 15, 2018 at 7:11 AM, Andiry Xu <jix...@eng.ucsd.edu> wrote: > > Superblock mtime is not a big proble

Re: [RFC v2 03/83] Add super.h.

2018-03-16 Thread Arnd Bergmann
On Fri, Mar 16, 2018 at 3:59 AM, Theodore Y. Ts'o <ty...@mit.edu> wrote: > On Thu, Mar 15, 2018 at 09:38:29PM +0100, Arnd Bergmann wrote: >> >> You could also have a resolution of less than a nanosecond. Note >> that today, the file time stamps generated by the kernel a

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-24 Thread Arnd Bergmann
On Tue, Sep 18, 2018 at 7:59 PM Jason Gunthorpe wrote: > > On Tue, Sep 18, 2018 at 10:51:08AM -0700, Darren Hart wrote: > > On Fri, Sep 14, 2018 at 09:57:48PM +0100, Al Viro wrote: > > > On Fri, Sep 14, 2018 at 01:35:06PM -0700, Darren Hart wrote: > > > > > > > Acked-by: Darren Hart (VMware) > >

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-24 Thread Arnd Bergmann
On Mon, Sep 24, 2018 at 10:35 PM Jason Gunthorpe wrote: > On Mon, Sep 24, 2018 at 10:18:52PM +0200, Arnd Bergmann wrote: > > On Tue, Sep 18, 2018 at 7:59 PM Jason Gunthorpe wrote: > > > On Tue, Sep 18, 2018 at 10:51:08AM -0700, Darren Hart wrote: > > > > On Fri, Se

Re: [RFC v3 01/19] kunit: test: add KUnit test runner core

2018-12-05 Thread Arnd Bergmann
On Wed, Dec 5, 2018 at 2:42 PM Anton Ivanov wrote: > On 30/11/2018 03:14, Luis Chamberlain wrote: > > On Wed, Nov 28, 2018 at 11:36:18AM -0800, Brendan Higgins wrote: > > Then for the UML stuff, I think if we *really* accept that UML will > > always be a viable option we should probably consider

[PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Arnd Bergmann
, but are not interpreted as integer values. Signed-off-by: Arnd Bergmann --- drivers/android/binder.c| 2 +- drivers/crypto/qat/qat_common/adf_ctl_drv.c | 2 +- drivers/dma-buf/dma-buf.c | 4 +--- drivers/dma-buf/sw_sync.c | 2 +- drivers/dma-buf

[PATCH v3 12/26] compat_ioctl: move more drivers to compat_ptr_ioctl

2019-04-16 Thread Arnd Bergmann
, but are not interpreted as integer values. Acked-by: Jason Gunthorpe Acked-by: Daniel Vetter Acked-by: Mauro Carvalho Chehab Acked-by: Greg Kroah-Hartman Acked-by: David Sterba Acked-by: Darren Hart (VMware) Acked-by: Jonathan Cameron Acked-by: Bjorn Andersson Signed-off-by: Arnd Bergmann --- drivers

Re: [PATCH v3 12/26] compat_ioctl: move more drivers to compat_ptr_ioctl

2019-04-25 Thread Arnd Bergmann
On Thu, Apr 25, 2019 at 5:22 PM Mauro Carvalho Chehab wrote: > Em Tue, 16 Apr 2019 22:25:33 +0200 Arnd Bergmann escreveu: > > If I understand your patch description well, using compat_ptr_ioctl > only works if the driver is not for s390, right? No, the purpose of compat_ptr_ioctl(

Re: [PATCH v3 12/26] compat_ioctl: move more drivers to compat_ptr_ioctl

2019-04-25 Thread Arnd Bergmann
On Thu, Apr 25, 2019 at 5:35 PM Al Viro wrote: > > On Thu, Apr 25, 2019 at 12:21:53PM -0300, Mauro Carvalho Chehab wrote: > > > If I understand your patch description well, using compat_ptr_ioctl > > only works if the driver is not for s390, right? > > No; s390 is where "oh, just set

Re: [PATCH v3 12/26] compat_ioctl: move more drivers to compat_ptr_ioctl

2019-04-26 Thread Arnd Bergmann
On Thu, Apr 25, 2019 at 11:25 PM Johannes Berg wrote: > On Thu, 2019-04-25 at 17:55 +0200, Arnd Bergmann wrote: > > On Thu, Apr 25, 2019 at 5:35 PM Al Viro wrote: > > > > > > On Thu, Apr 25, 2019 at 12:21:53PM -0300, Mauro Carvalho Chehab wrote: > > >

[PATCH v5 13/29] compat_ioctl: move more drivers to compat_ptr_ioctl

2019-07-30 Thread Arnd Bergmann
, but are not interpreted as integer values. Acked-by: Jason Gunthorpe Acked-by: Daniel Vetter Acked-by: Mauro Carvalho Chehab Acked-by: Greg Kroah-Hartman Acked-by: David Sterba Acked-by: Darren Hart (VMware) Acked-by: Jonathan Cameron Acked-by: Bjorn Andersson Signed-off-by: Arnd Bergmann --- drivers

Re: [PATCH 3/6] mm: introduce secretmemfd system call to create "secret" memory areas

2020-07-20 Thread Arnd Bergmann
On Mon, Jul 20, 2020 at 9:16 PM James Bottomley wrote: > On Mon, 2020-07-20 at 20:08 +0200, Arnd Bergmann wrote: > > On Mon, Jul 20, 2020 at 5:52 PM James Bottomley > > > > If there is no way the data stored in this new secret memory area > > would relate to secret

Re: [PATCH 3/6] mm: introduce secretmemfd system call to create "secret" memory areas

2020-07-20 Thread Arnd Bergmann
On Mon, Jul 20, 2020 at 5:52 PM James Bottomley wrote: > On Mon, 2020-07-20 at 13:30 +0200, Arnd Bergmann wrote: > > I'll assume you mean the dmabuf userspace API? Because the kernel API > is completely device exchange specific and wholly inappropriate for > this use case. > &g

Re: [PATCH v2 4/7] arch, mm: wire up memfd_secret system call were relevant

2020-07-27 Thread Arnd Bergmann
On Mon, Jul 27, 2020 at 6:30 PM Mike Rapoport wrote: > > From: Mike Rapoport > > Wire up memfd_secret system call on architectures that define > ARCH_HAS_SET_DIRECT_MAP, namely arm64, risc-v and x86. > > Signed-off-by: Mike Rapoport > Acked-by: Palmer Dabbelt

Re: [PATCH 3/6] mm: introduce secretmemfd system call to create "secret" memory areas

2020-07-20 Thread Arnd Bergmann
On Mon, Jul 20, 2020 at 11:25 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Introduce "secretmemfd" system call with the ability to create memory areas > visible only in the context of the owning process and not mapped not only > to other processes but in the kernel page tables as well. >

Re: [PATCH 3/6] mm: introduce secretmemfd system call to create "secret" memory areas

2020-07-20 Thread Arnd Bergmann
On Mon, Jul 20, 2020 at 4:21 PM Mike Rapoport wrote: > On Mon, Jul 20, 2020 at 01:30:13PM +0200, Arnd Bergmann wrote: > > On Mon, Jul 20, 2020 at 11:25 AM Mike Rapoport wrote: > > > > > > From: Mike Rapoport > > > > > > Introduce "secretme

Re: [PATCH] include: Remove pagemap.h from blkdev.h

2021-03-10 Thread Arnd Bergmann
agemap.h in swap.h): Acked-by: Arnd Bergmann ___ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-le...@lists.01.org

[PATCH] dax: avoid -Wempty-body warnings

2021-03-22 Thread Arnd Bergmann
From: Arnd Bergmann gcc warns about an empty body in an else statement: drivers/dax/bus.c: In function 'do_id_store': drivers/dax/bus.c:94:48: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body] 94 | /* nothing to remove