Displaying 9 results from an estimated 9 matches for "vmap_stack".
2017 Mar 17
1
[PATCH] tty: hvc: don't allocate a buffer for console print on stack
On Fri, Feb 17, 2017 at 11:42:45PM +0300, Jan Dakinevich wrote:
> The buffer is used by virtio console driver as DMA buffer. Since v4.9
> (if VMAP_STACK is enabled) we shouldn't use the stack for DMA.
You shouldn't use 'static' data either, that's not always guaranteed to
be DMA-able, right?
>
> Signed-off-by: Jan Dakinevich <jan.dakinevich at gmail.com>
> ---
> drivers/tty/hvc/hvc_console.c | 7 ++++++-
>...
2017 Mar 17
1
[PATCH] tty: hvc: don't allocate a buffer for console print on stack
On Fri, Feb 17, 2017 at 11:42:45PM +0300, Jan Dakinevich wrote:
> The buffer is used by virtio console driver as DMA buffer. Since v4.9
> (if VMAP_STACK is enabled) we shouldn't use the stack for DMA.
You shouldn't use 'static' data either, that's not always guaranteed to
be DMA-able, right?
>
> Signed-off-by: Jan Dakinevich <jan.dakinevich at gmail.com>
> ---
> drivers/tty/hvc/hvc_console.c | 7 ++++++-
>...
2016 Nov 17
0
[PATCH] crypto: add virtio-crypto driver
...er.algo;
> + ctrl.u.sym_create_session.u.cipher.para.keylen =
> cpu_to_le32(keylen);
> + ctrl.u.sym_create_session.u.cipher.para.op = cpu_to_le32(op);
> +
> + sg_init_one(&outhdr, &ctrl, sizeof(ctrl));
I believe this won't work when the new virtually-mapped kernel stack (VMAP_STACK)
is enabled.
Regards,
Salvatore
2017 Oct 03
0
[virtio-dev] [RFC] virtio-iommu version 0.4
...g the v0.4 driver on master I observe a regression: commands
are not received properly by QEMU (typically an attach command is
received with a type of 0). After a bisection of the guest kernel the
first commit the problem appears is:
commit e3067861ba6650a566a6273738c23c956ad55c02
arm64: add basic VMAP_STACK support
After reverting this patch, things resume working.
I observe the problem with a 4kB page guest kernel.
Thanks
Eric
> [5] git://linux-arm.org/kvmtool-jpb.git virtio-iommu/v0.4
> Warning: command-line has changed! Use --viommu vfio[,opts] and
> --viommu virtio[,opts] to...
2017 Oct 09
0
[virtio-dev] [RFC] virtio-iommu version 0.4
...observe a regression: commands
> are not received properly by QEMU (typically an attach command is
> received with a type of 0). After a bisection of the guest kernel the
> first commit the problem appears is:
>
> commit e3067861ba6650a566a6273738c23c956ad55c02
> arm64: add basic VMAP_STACK support
Indeed, thanks for the report. I can reproduce the problem with 4.14 and
kvmtool. We should allocate buffers on the heap for any request (see for
example 9472fe704 or e37e2ff35). I rebased onto 4.14 and pushed the
following patch at: git://linux-arm.org/linux-jpb.git virtio-iommu/v0.4.1
I...
2016 Nov 14
3
[PATCH] crypto: add virtio-crypto driver
This patch introduces virtio-crypto driver for Linux Kernel.
The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The encryption anddecryption requests
are placed in the data queue and are ultimately handled by
thebackend crypto accelerators. The second queue is the
control queue used to create or destroy sessions for
2016 Nov 14
3
[PATCH] crypto: add virtio-crypto driver
This patch introduces virtio-crypto driver for Linux Kernel.
The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The encryption anddecryption requests
are placed in the data queue and are ultimately handled by
thebackend crypto accelerators. The second queue is the
control queue used to create or destroy sessions for
2017 Aug 04
7
[RFC] virtio-iommu version 0.4
This is the continuation of my proposal for virtio-iommu, the para-
virtualized IOMMU. Here is a summary of the changes since last time [1]:
* The virtio-iommu document now resembles an actual specification. It is
split into a formal description of the virtio device, and implementation
notes. Please find sources and binaries at [2].
* Added a probe request to describe to the guest different
2017 Aug 04
7
[RFC] virtio-iommu version 0.4
This is the continuation of my proposal for virtio-iommu, the para-
virtualized IOMMU. Here is a summary of the changes since last time [1]:
* The virtio-iommu document now resembles an actual specification. It is
split into a formal description of the virtio device, and implementation
notes. Please find sources and binaries at [2].
* Added a probe request to describe to the guest different