Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Acked-by: Gabriel Somlo <so...@cmu.edu>
---
drivers/firmware/qemu_fw_cfg.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index
Add an optional kernel module (or command line) parameter
using the following syntax:
[qemu_fw_cfg.]ioport=@[::[:]]
or
[qemu_fw_cfg.]mmio=@[::[:]]
and initializes the register address using given or default offset.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.
Signed-off-by: Marc-André Lureau
Acked-by: Gabriel Somlo
---
drivers/firmware/qemu_fw_cfg.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index 0e2011636fbb..5cfe39f7a45f 100644
--- a/drivers/firmware
Add an optional kernel module (or command line) parameter
using the following syntax:
[qemu_fw_cfg.]ioport=@[::[:]]
or
[qemu_fw_cfg.]mmio=@[::[:]]
and initializes the register address using given or default offset.
Signed-off-by: Marc-André Lureau
Reviewed-by: Gabriel Somlo
uild of "fw_cfg: add DMA register" with CONFIG_FW_CFG_SYSFS_CMDLINE=y
- fix 'Wshift-count-overflow'
v2:
- use platform device for dma mapping
- add etc/vmcoreinfo patch
- some code cleanups
Marc-André Lureau (5):
fw_cfg: fix the command line module name
fw_cfg: add DMA register
uild of "fw_cfg: add DMA register" with CONFIG_FW_CFG_SYSFS_CMDLINE=y
- fix 'Wshift-count-overflow'
v2:
- use platform device for dma mapping
- add etc/vmcoreinfo patch
- some code cleanups
Marc-André Lureau (5):
fw_cfg: fix the command line module name
fw_cfg: add DMA register
- Original Message -
> On Tue, Oct 31, 2017 at 04:19:36PM +0100, Marc-André Lureau wrote:
> > Modify fw_cfg_read_blob() to use DMA if the device supports it.
> > Return errors, because the operation may fail.
> >
> > To avoid polling with unbound amount
- Original Message -
> On Tue, Oct 31, 2017 at 04:19:36PM +0100, Marc-André Lureau wrote:
> > Modify fw_cfg_read_blob() to use DMA if the device supports it.
> > Return errors, because the operation may fail.
> >
> > To avoid polling with unbound amount
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
drivers/firmware/qemu_fw_cfg.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index 0e2011636fbb..5cfe39f7a45f 100644
--- a/d
Signed-off-by: Marc-André Lureau
---
drivers/firmware/qemu_fw_cfg.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index 0e2011636fbb..5cfe39f7a45f 100644
--- a/drivers/firmware/qemu_fw_cfg.c
+++ b
only kmalloc'ed
buffers (instead of using stack/image addresses with dma=false).
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
drivers/firmware/qemu_fw_cfg.c | 154 -
1 file changed, 137 insertions(+), 17 deletions(-)
diff --git a/d
only kmalloc'ed
buffers (instead of using stack/image addresses with dma=false).
Signed-off-by: Marc-André Lureau
---
drivers/firmware/qemu_fw_cfg.c | 154 -
1 file changed, 137 insertions(+), 17 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b
Add an optional kernel module (or command line) parameter
using the following syntax:
[qemu_fw_cfg.]ioport=@[::[:]]
or
[qemu_fw_cfg.]mmio=@[::[:]]
and initializes the register address using given or default offset.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.
c/vmcoreinfo patch
- some code cleanups
Marc-André Lureau (5):
fw_cfg: fix the command line module name
fw_cfg: add DMA register
fw_cfg: do DMA read operation
crash: export paddr_vmcoreinfo_note()
fw_cfg: write vmcoreinfo details
drivers/firmware/qemu_fw_cfg.c | 292 +++
Add an optional kernel module (or command line) parameter
using the following syntax:
[qemu_fw_cfg.]ioport=@[::[:]]
or
[qemu_fw_cfg.]mmio=@[::[:]]
and initializes the register address using given or default offset.
Signed-off-by: Marc-André Lureau
---
drivers/firmware
c/vmcoreinfo patch
- some code cleanups
Marc-André Lureau (5):
fw_cfg: fix the command line module name
fw_cfg: add DMA register
fw_cfg: do DMA read operation
crash: export paddr_vmcoreinfo_note()
fw_cfg: write vmcoreinfo details
drivers/firmware/qemu_fw_cfg.c | 292 +++
changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Marc-André Lureau (9):
shmem: unexport shmem_add_seals()/shmem_get_seals()
shmem: rename functions that are memfd-related
hugetlb: expose hugetlbfs_inode_info in header
hugetlb: implement memfd sealing
shmem:
changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Marc-André Lureau (9):
shmem: unexport shmem_add_seals()/shmem_get_seals()
shmem: rename functions that are memfd-related
hugetlb: expose hugetlbfs_inode_info in header
hugetlb: implement memfd sealing
shmem:
The functions are called through shmem_fcntl() only. And no danger in
removing the EXPORTs as the routines only work with shmem file
structs.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
include/linux/sh
The functions are called through shmem_fcntl() only. And no danger in
removing the EXPORTs as the routines only work with shmem file
structs.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
include/linux/shmem_fs.h | 2 --
mm/shmem.c | 6 ++
2 files changed, 2
Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
mm/
Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
mm/shmem.c | 47 ---
1 file changed, 28 insertions
rite() operation that doesn't exist with hugetlbfs, that
should make sealing as close as it can be to shmem support.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
fs/hugetlbfs/inode.c| 29 ++
rite() operation that doesn't exist with hugetlbfs, that
should make sealing as close as it can be to shmem support.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
fs/hugetlbfs/inode.c| 29 +++--
include/linux/hugetlb.h | 1 +
2 files changed, 28 insert
The memfd & fuse tests will share more common code in the following
commits to test hugetlb support.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
tools/testing/selftests/memfd/Makefile | 5 +++
The memfd & fuse tests will share more common code in the following
commits to test hugetlb support.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
tools/testing/selftests/memfd/Makefile | 5
tools/testing/selftests/memfd/common.c
Suggested-by: Mike Kravetz <mike.krav...@oracle.com>
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
tools/testing/selftests/memfd/fuse_test.c | 38 --
tools/testing/selftests/memfd/run_fuse_test.sh | 2 +-
tools/testing/sel
Suggested-by: Mike Kravetz
Signed-off-by: Marc-André Lureau
---
tools/testing/selftests/memfd/fuse_test.c | 38 --
tools/testing/selftests/memfd/run_fuse_test.sh | 2 +-
tools/testing/selftests/memfd/run_tests.sh | 1 +
3 files changed, 32 insertions(+), 9
Remove most of the special-casing of hugetlbfs now that sealing
is supported.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
tools/testing/selftests/memfd/memfd_test.c | 150 +++--
1 file
Suggested-by: Mike Kravetz <mike.krav...@oracle.com>
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
tools/testing/selftests/memfd/memfd_test.c | 26 --
1 file changed, 16 insertion
Remove most of the special-casing of hugetlbfs now that sealing
is supported.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
tools/testing/selftests/memfd/memfd_test.c | 150 +++--
1 file changed, 15 insertions(+), 135 deletions(-)
diff --git a/tools
Suggested-by: Mike Kravetz
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
tools/testing/selftests/memfd/memfd_test.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/tools/testing/selftests/memfd/memfd_test.c
b/tools/testing
hugetlbfs inode information will need to be accessed by code in mm/shmem.c
for file sealing operations. Move inode information definition from .c
file to header for needed access.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@o
Those functions are called for memfd files, backed by shmem or
hugetlb (the next patches will handle hugetlb).
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
fs/fcntl.c | 2 +-
include/linux/shm
hugetlbfs inode information will need to be accessed by code in mm/shmem.c
for file sealing operations. Move inode information definition from .c
file to header for needed access.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
fs/hugetlbfs/inode.c| 10 --
include
Those functions are called for memfd files, backed by shmem or
hugetlb (the next patches will handle hugetlb).
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
fs/fcntl.c | 2 +-
include/linux/shmem_fs.h | 4 ++--
mm/shmem.c | 10 +-
3 files
Hi
- Original Message -
> On 11/06/2017 06:39 AM, Marc-André Lureau wrote:
> > Suggested-by: Mike Kravetz <mike.krav...@oracle.com>
> > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
> > ---
> > tools/testin
Hi
- Original Message -
> On 11/06/2017 06:39 AM, Marc-André Lureau wrote:
> > Suggested-by: Mike Kravetz
> > Signed-off-by: Marc-André Lureau
> > ---
> > tools/testing/selftests/memfd/fuse_test.c | 30
> > ++
&
The functions are called through shmem_fcntl() only. And no danger in
removing the EXPORTs as the routines only work with shmem file
structs.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
include/linux/sh
The functions are called through shmem_fcntl() only. And no danger in
removing the EXPORTs as the routines only work with shmem file
structs.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
include/linux/shmem_fs.h | 2 --
mm/shmem.c | 6 ++
2 files changed, 2
Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
mm/shmem.c | 47 ---
1 file changed, 28 inse
Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
Signed-off-by: Marc-André Lureau
---
mm/shmem.c | 47 ---
1 file changed, 28 insertions(+), 19 deletions(-)
diff
Suggested-by: Mike Kravetz <mike.krav...@oracle.com>
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
tools/testing/selftests/memfd/fuse_test.c | 30 ++
tools/testing/selftests/memfd/run_fuse_test.sh | 2 +-
tools/testing/sel
Suggested-by: Mike Kravetz
Signed-off-by: Marc-André Lureau
---
tools/testing/selftests/memfd/fuse_test.c | 30 ++
tools/testing/selftests/memfd/run_fuse_test.sh | 2 +-
tools/testing/selftests/memfd/run_tests.sh | 1 +
3 files changed, 28 insertions(+), 5
Remove most of the special-casing of hugetlbfs now that sealing
is supported.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
tools/testing/selftests/memfd/memfd_test.c | 150 +++--
1 file changed, 15 insertions(+), 135 deletions(-)
diff --git a
The memfd & fuse tests will share more common code in the following
commits to test hugetlb support.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
tools/testing/selftests/memfd/Makefile | 5
tools/testing/selftests/memfd/common.
Remove most of the special-casing of hugetlbfs now that sealing
is supported.
Signed-off-by: Marc-André Lureau
---
tools/testing/selftests/memfd/memfd_test.c | 150 +++--
1 file changed, 15 insertions(+), 135 deletions(-)
diff --git a/tools/testing/selftests/memfd
The memfd & fuse tests will share more common code in the following
commits to test hugetlb support.
Signed-off-by: Marc-André Lureau
---
tools/testing/selftests/memfd/Makefile | 5
tools/testing/selftests/memfd/common.c | 45 ++
tools/testing/selft
hugetlbfs inode information will need to be accessed by code in mm/shmem.c
for file sealing operations. Move inode information definition from .c
file to header for needed access.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@o
Those functions are called for memfd files, backed by shmem or
hugetlb (the next patches will handle hugetlb).
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
fs/fcntl.c | 2 +-
include/linux/shm
hugetlbfs inode information will need to be accessed by code in mm/shmem.c
for file sealing operations. Move inode information definition from .c
file to header for needed access.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
fs/hugetlbfs/inode.c| 10 --
include
Those functions are called for memfd files, backed by shmem or
hugetlb (the next patches will handle hugetlb).
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
fs/fcntl.c | 2 +-
include/linux/shmem_fs.h | 4 ++--
mm/shmem.c | 10 +-
3 files
Suggested-by: Mike Kravetz <mike.krav...@oracle.com>
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
tools/testing/selftests/memfd/memfd_test.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/tools/testing/sel
rite() operation that doesn't exist with hugetlbfs, that
should make sealing as close as it can be to shmem support.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Mike Kravetz <mike.krav...@oracle.com>
---
fs/hugetlbfs/inode.c| 29 ++
Suggested-by: Mike Kravetz
Signed-off-by: Marc-André Lureau
---
tools/testing/selftests/memfd/memfd_test.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/tools/testing/selftests/memfd/memfd_test.c
b/tools/testing/selftests/memfd/memfd_test.c
rite() operation that doesn't exist with hugetlbfs, that
should make sealing as close as it can be to shmem support.
Signed-off-by: Marc-André Lureau
Reviewed-by: Mike Kravetz
---
fs/hugetlbfs/inode.c| 29 +++--
include/linux/hugetlb.h | 1 +
2 files changed, 28 insert
seals_ptr()
- update commit messages
- added reviewed-by tags
RFC->v1:
- split rfc patch, after early review feedback
- added patch for memfd-test changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Marc-André Lureau (9):
shmem: unexport shmem_add_seals()/sh
seals_ptr()
- update commit messages
- added reviewed-by tags
RFC->v1:
- split rfc patch, after early review feedback
- added patch for memfd-test changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Marc-André Lureau (9):
shmem: unexport shmem_add_seals()/sh
Hi
- Original Message -
> On 11/03/2017 09:02 AM, Marc-André Lureau wrote:
> > Hi
> >
> > - Original Message -
> >> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> >>> Those functions are called for memfd files, backed by shmem or
&
Hi
- Original Message -
> On 11/03/2017 09:02 AM, Marc-André Lureau wrote:
> > Hi
> >
> > - Original Message -
> >> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> >>> Those functions are called for memfd files, backed by shmem or
&
Hi
- Original Message -
> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> > The following patch is going to access hugetlbfs_inode_info field from
> > mm/shmem.c.
>
> The code looks fine. However, I would prefer something different for the
> commit message.
Hi
- Original Message -
> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> > The following patch is going to access hugetlbfs_inode_info field from
> > mm/shmem.c.
>
> The code looks fine. However, I would prefer something different for the
> commit message.
Hi
- Original Message -
> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> > Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
> >
> > Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
> >
> > Signed-off-by:
Hi
- Original Message -
> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> > Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
> >
> > Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
> >
> > Signed-off-by: Marc-Andr
Hi
- Original Message -
> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> > Those functions are called for memfd files, backed by shmem or
> > hugetlb (the next patches will handle hugetlb).
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lur...@redha
Hi
- Original Message -
> On 10/31/2017 11:40 AM, Marc-André Lureau wrote:
> > Those functions are called for memfd files, backed by shmem or
> > hugetlb (the next patches will handle hugetlb).
> >
> > Signed-off-by: Marc-André Lureau
> > ---
&
user (used by dpdk), so it is reasonable to use memfd
now instead for convenience and security reasons.
Thanks!
RFC->v1:
- split rfc patch, after early review feedback
- added patch for memfd-test changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Mar
user (used by dpdk), so it is reasonable to use memfd
now instead for convenience and security reasons.
Thanks!
RFC->v1:
- split rfc patch, after early review feedback
- added patch for memfd-test changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Mar
rite() operation that doesn't exist with hugetlbfs, that
should make sealing as close as it can be to shmem support.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
fs/hugetlbfs/inode.c| 29 +++--
include/linux/hugetlb.h | 1 +
2 files changed, 28
rite() operation that doesn't exist with hugetlbfs, that
should make sealing as close as it can be to shmem support.
Signed-off-by: Marc-André Lureau
---
fs/hugetlbfs/inode.c| 29 +++--
include/linux/hugetlb.h | 1 +
2 files changed, 28 insertions(+), 2 deletions(-)
Remove most of the special-casing of hugetlbfs now that sealing
is supported.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
tools/testing/selftests/memfd/memfd_test.c | 150 +++--
1 file changed, 15 insertions(+), 135 deletions(-)
diff --git a
Remove most of the special-casing of hugetlbfs now that sealing
is supported.
Signed-off-by: Marc-André Lureau
---
tools/testing/selftests/memfd/memfd_test.c | 150 +++--
1 file changed, 15 insertions(+), 135 deletions(-)
diff --git a/tools/testing/selftests/memfd
Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
mm/shmem.c | 51 ++-
1 file chang
The following patch is going to access hugetlbfs_inode_info field from
mm/shmem.c.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
fs/hugetlbfs/inode.c| 10 --
include/linux/hugetlb.h | 10 ++
2 files changed, 10 insertions(+), 10 deletions(-)
diff
Adapt add_seals()/get_seals() to work with hugetbfs-backed memory.
Teach memfd_create() to allow sealing operations on MFD_HUGETLB.
Signed-off-by: Marc-André Lureau
---
mm/shmem.c | 51 ++-
1 file changed, 30 insertions(+), 21 deletions(-)
diff
The following patch is going to access hugetlbfs_inode_info field from
mm/shmem.c.
Signed-off-by: Marc-André Lureau
---
fs/hugetlbfs/inode.c| 10 --
include/linux/hugetlb.h | 10 ++
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/fs/hugetlbfs/inode.c b/fs
The functions are called through shmem_fcntl() only.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
include/linux/shmem_fs.h | 2 --
mm/shmem.c | 6 ++
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/include/linux/shmem_fs.h b/include
Those functions are called for memfd files, backed by shmem or
hugetlb (the next patches will handle hugetlb).
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
fs/fcntl.c | 2 +-
include/linux/shmem_fs.h | 4 ++--
mm/shmem.c | 10 +--
The functions are called through shmem_fcntl() only.
Signed-off-by: Marc-André Lureau
---
include/linux/shmem_fs.h | 2 --
mm/shmem.c | 6 ++
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/include/linux/shmem_fs.h b/include/linux/shmem_fs.h
index b6c3540e07bc
Those functions are called for memfd files, backed by shmem or
hugetlb (the next patches will handle hugetlb).
Signed-off-by: Marc-André Lureau
---
fs/fcntl.c | 2 +-
include/linux/shmem_fs.h | 4 ++--
mm/shmem.c | 10 +-
3 files changed, 8 insertions(+), 8
user (used by dpdk), so it is reasonable to use memfd
now instead for convenience and security reasons.
Thanks!
RFC->v1:
- split rfc patch, after early review feedback
- added patch for memfd-test changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Mar
user (used by dpdk), so it is reasonable to use memfd
now instead for convenience and security reasons.
Thanks!
RFC->v1:
- split rfc patch, after early review feedback
- added patch for memfd-test changes
- fix build with hugetlbfs disabled
- small code and commit messages improvements
Mar
Add an optional kernel module (or command line) parameter
using the following syntax:
[qemu_fw_cfg.]ioport=@[::[:]]
or
[qemu_fw_cfg.]mmio=@[::[:]]
and initializes the register address using given or default offset.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.
Add an optional kernel module (or command line) parameter
using the following syntax:
[qemu_fw_cfg.]ioport=@[::[:]]
or
[qemu_fw_cfg.]mmio=@[::[:]]
and initializes the register address using given or default offset.
Signed-off-by: Marc-André Lureau
---
drivers/firmware
If the "etc/vmcoreinfo" fw_cfg file is present and we are not running
the kdump kernel, write the addr/size of the vmcoreinfo ELF note.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
drivers/firmware/qemu_fw_cfg.c | 87 ++
The following patch is going to use the symbol from the fw_cfg module.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
kernel/crash_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/crash_core.c b/kernel/crash_core.c
index 6db80fc0810b..47541c891810
If the "etc/vmcoreinfo" fw_cfg file is present and we are not running
the kdump kernel, write the addr/size of the vmcoreinfo ELF note.
Signed-off-by: Marc-André Lureau
---
drivers/firmware/qemu_fw_cfg.c | 87 +-
1 file changed, 86 insert
The following patch is going to use the symbol from the fw_cfg module.
Signed-off-by: Marc-André Lureau
---
kernel/crash_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/crash_core.c b/kernel/crash_core.c
index 6db80fc0810b..47541c891810 100644
--- a/kernel/crash_core.c
+++ b
only kmalloc'ed
buffers (instead of using stack/image addresses with dma=false).
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
drivers/firmware/qemu_fw_cfg.c | 154 -
1 file changed, 137 insertions(+), 17 deletions(-)
diff --git a/d
only kmalloc'ed
buffers (instead of using stack/image addresses with dma=false).
Signed-off-by: Marc-André Lureau
---
drivers/firmware/qemu_fw_cfg.c | 154 -
1 file changed, 137 insertions(+), 17 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b
uot;fw_cfg: fix the command line module name" patch
- fix build of "fw_cfg: add DMA register" with CONFIG_FW_CFG_SYSFS_CMDLINE=y
- fix 'Wshift-count-overflow'
v2:
- use platform device for dma mapping
- add etc/vmcoreinfo patch
- some code cleanups
Marc-André Lureau (5):
fw_cfg: fi
uot;fw_cfg: fix the command line module name" patch
- fix build of "fw_cfg: add DMA register" with CONFIG_FW_CFG_SYSFS_CMDLINE=y
- fix 'Wshift-count-overflow'
v2:
- use platform device for dma mapping
- add etc/vmcoreinfo patch
- some code cleanups
Marc-André Lureau (5):
fw_cfg: fi
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
drivers/firmware/qemu_fw_cfg.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index 0e2011636fbb..5cfe39f7a45f 100644
--- a/d
Signed-off-by: Marc-André Lureau
---
drivers/firmware/qemu_fw_cfg.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c
index 0e2011636fbb..5cfe39f7a45f 100644
--- a/drivers/firmware/qemu_fw_cfg.c
+++ b
Hi
On Tue, May 31, 2016 at 2:52 PM, Gerd Hoffmann <kra...@redhat.com> wrote:
> Pick up the correct source rectangle from framebuffer.
> Without this multihead setups are not working correctly.
>
> Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
Reviewed-by: Marc-And
Hi
On Tue, May 31, 2016 at 2:52 PM, Gerd Hoffmann wrote:
> Pick up the correct source rectangle from framebuffer.
> Without this multihead setups are not working correctly.
>
> Signed-off-by: Gerd Hoffmann
Reviewed-by: Marc-André Lureau
Additionally, I had to modify the page_fli
201 - 296 of 296 matches
Mail list logo