Legacy virtio defines the virtqueue base using a 32-bit PFN field, with
a read-only register indicating a fixed page size of 4k.
This can cause problems for DMA allocators that allocate top down from
the DMA mask, which is set to 64 bits. In this case, the addresses are
silently truncated to
Hi Michael,
On Wed, Sep 14, 2016 at 03:42:25PM +0300, Michael S. Tsirkin wrote:
> On Wed, Sep 14, 2016 at 12:16:28PM +0100, Will Deacon wrote:
> > Legacy virtio defines the virtqueue base using a 32-bit PFN field, with
> > a read-only register indicating a fixed page size of 4k.
> >
> > This can
From: Markus Elfring
Date: Wed, 14 Sep 2016 14:00:35 +0200
The kfree() function was called in up to five cases
by the init_vqs() function during error handling even if
the passed variable contained a null pointer.
* Return directly after a call of the function
From: Markus Elfring
Date: Wed, 14 Sep 2016 15:37:52 +0200
Adjust a jump label according to the current Linux coding style convention.
Thus replace the identifier "out" by "unlock".
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Wed, 14 Sep 2016 15:20:30 +0200
Adjust jump labels according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 11 +--
1 file changed,
From: Markus Elfring
Date: Wed, 14 Sep 2016 15:15:06 +0200
Adjust a jump label according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 6 +++---
1 file changed, 3
From: Markus Elfring
Date: Wed, 14 Sep 2016 15:07:42 +0200
Adjust jump labels according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 9 -
1 file changed, 4
From: Markus Elfring
Date: Wed, 14 Sep 2016 15:01:51 +0200
Adjust a jump label according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 9 -
1 file changed, 4
From: Markus Elfring
Date: Wed, 14 Sep 2016 14:58:24 +0200
Adjust a jump label according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 6 +++---
1 file changed, 3
From: Markus Elfring
Date: Wed, 14 Sep 2016 14:53:00 +0200
Adjust jump labels according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 21 ++---
1
From: Markus Elfring
Date: Wed, 14 Sep 2016 14:24:05 +0200
Adjust jump labels according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 17 -
1 file
From: Markus Elfring
Date: Wed, 14 Sep 2016 14:10:24 +0200
Adjust jump labels according to the current Linux coding style convention.
Signed-off-by: Markus Elfring
---
drivers/char/virtio_console.c | 6 +++---
1 file changed, 3
From: Markus Elfring
Date: Wed, 14 Sep 2016 11:23:59 +0200
* Multiplications for the size determination of memory allocations
indicated that array data structures should be processed.
Thus use the corresponding function "kmalloc_array".
This issue was
From: Markus Elfring
Date: Wed, 14 Sep 2016 15:43:21 +0200
Several update suggestions were taken into account
from static source code analysis.
Markus Elfring (11):
Use kmalloc_array() in init_vqs()
Less function calls in init_vqs() after error detection
On Tue, Sep 13, 2016 at 11:06:16AM -0700, Bjorn Andersson wrote:
> > I hate to send a ping,
>
> Sorry about that.
>
> > but do you think we can merge this fdma series? It has gone
> > through quite a few review rounds now.
> >
>
> I think the remoteproc part looks good.
yeah I was waiting for
On Wed, Sep 14, 2016 at 12:16:28PM +0100, Will Deacon wrote:
> Legacy virtio defines the virtqueue base using a 32-bit PFN field, with
> a read-only register indicating a fixed page size of 4k.
>
> This can cause problems for DMA allocators that allocate top down from
> the DMA mask, which is set
Legacy virtio defines the virtqueue base using a 32-bit PFN field, with
a read-only register indicating a fixed page size of 4k.
This can cause problems for DMA allocators that allocate top down from
the DMA mask, which is set to 64 bits. In this case, the addresses are
silently truncated to
> FWIW, he already gained a place on my ignore list for pestering me
> offline about his patches and not stopping even when told to do so.
How did I "pester" you "offline"?
> So while I won't object if you choose to apply selected patches,
Another bit of interesting information, isn't it?
>
On Tue, 13 Sep 2016, Bjorn Andersson wrote:
> On Mon 05 Sep 06:16 PDT 2016, Peter Griffin wrote:
>
> > slim core is used as a basis for many IPs in the STi
> > chipsets such as fdma and demux. To avoid duplicating
> > the elf loading code in each device driver a slim
> > rproc driver has been
On Tue, 13 Sep 2016 20:24:58 +0200
Christian Borntraeger wrote:
> See, some of your patches are accepted, e.g. the memdup_user changes have
> usually
> been applied by most maintainers including myself. If maintainers won't take
> other change,
> please accept that. If
On Wed, 14 Sep 2016 00:17:28 +0300
"Michael S. Tsirkin" wrote:
> On Tue, Sep 13, 2016 at 11:18:12AM -0400, Aaron Conole wrote:
(...)
> > If negotiated, the driver uses \field{mtu} as
> > +the maximum MTU value supplied to the driver.
>
> Drop "supplied to the driver"
>>How much will it matter in general that two function calls are performed
>>in this use case without checking their return values immediately?
>>https://cwe.mitre.org/data/definitions/252.html
>>
>> if (!names || !callbacks || !vqs) { …
>>
>>
On 09/13/2016 05:18 PM, Aaron Conole wrote:
> It is helpful for a host to indicate it's MTU to be set on guest NICs
> other than the assumed 1500 byte value. This helps in situations where
> the host network is using Jumbo Frames, or aiding in PMTU discovery by
> configuring a homogenous network.
23 matches
Mail list logo