On Fri, 2011-12-23 at 09:35 -0700, Matthew Wilcox wrote:
> I really think this wants to be a separate function.
> dma_alloc_coherent
> is for allocating memory to be shared between the kernel and a driver;
> we already have dma_map_sg for mapping userspace I/O as an alternative
> interface. This f
On Fri, 2011-12-23 at 17:54 +0100, Alexander Graf wrote:
> Hi guys,
>
> While trying to test my latest patch queue for ppc kvm, I realized
> that even though the device trees got updated, the p1020 box still is
> unstable. The trace below is the one I've seen the most. It only
> occurs during netw
Greetings All,
I have a basic question. I have 512 MB memory. I want my kernel to use only
last 128 MB of memory starting from address 0x1000. I have configured the
kernel CONFIG_PHYSICAL_START=0x1000 and in kernel boot parameter I have set
mem=128M. In this scenario my kernel is not bo
rmu needs to be freed before leaving the function in an error case.
A simplified version of the semantic match that finds the problem is as
follows: (http://coccinelle.lip6.fr)
//
@r exists@
local idexpression x;
statement S;
identifier f1;
position p1,p2;
expression *ptr != NULL;
@@
x@p1 = \(k
Hi guys,
While trying to test my latest patch queue for ppc kvm, I realized that even
though the device trees got updated, the p1020 box still is unstable. The trace
below is the one I've seen the most. It only occurs during network I/O which
happens a lot on that box, since I'm running it usin
On Fri, Dec 23, 2011 at 01:27:19PM +0100, Marek Szyprowski wrote:
> The first issue we identified is the fact that on some platform (again,
> mainly ARM) there are several functions for allocating DMA buffers:
> dma_alloc_coherent, dma_alloc_writecombine and dma_alloc_noncoherent
Is this write-com
On 15.12.2011, at 13:00, Paul Mackerras wrote:
> This series of patches builds on top of my previous series and
> modifies the Book3S HV memory management code to use the hardware
> reference and change bits in the guest hashed page table. This makes
> kvm_age_hva() more efficient, lets us imple
On 22.12.2011, at 17:21, Kyle Moffett wrote:
> This file, like many others, needs to include .
>
> Signed-off-by: Kyle Moffett
Thanks, I already applied a patch from Scott that addresses the same issue.
Alex
___
Linuxppc-dev mailing list
Linuxppc-
On 20.12.2011, at 10:21, Paul Mackerras wrote:
> This moves gfn_to_memslot(), and the functions it calls, that is,
> search_memslots() and __gfn_to_memslot(), from kvm_main.c to kvm_host.h
> so that gfn_to_memslot() can be called from non-modular code even
> when KVM is a module. On powerpc, the
On 15.12.2011, at 13:04, Paul Mackerras wrote:
> This adds implementations for the H_CLEAR_REF (test and clear reference
> bit) and H_CLEAR_MOD (test and clear changed bit) hypercalls. These
> hypercalls are not used by Linux guests at this stage, and these
> implementations are only compile tes
On 15.12.2011, at 13:03, Paul Mackerras wrote:
> This changes the implementation of kvm_vm_ioctl_get_dirty_log() for
> Book3s HV guests to use the hardware C (changed) bits in the guest
> hashed page table. Since this makes the implementation quite different
> from the Book3s PR case, this moves
DMA_ATTR_NON_CONSISTENT lets the platform to choose to return either
consistent or non-consistent memory as it sees fit. By using this API,
you are guaranteeing to the platform that you have all the correct and
necessary sync points for this memory in the driver should it choose to
return non-cons
From: Andrzej Pietrasiewicz
Adapt core Unicore32 architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/unicore32/include/asm/dma-mappin
Remove old, unused alloc_coherent and free_coherent methods from
dma_map_ops structure.
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
include/linux/dma-mapping.h |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/linux/dma-mapping.h b/include/
From: Andrzej Pietrasiewicz
Adapt core SPARC architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/sparc/include/asm/dma-mapping.h |
Introduce new generic mmap method with attributes argument.
This method lets drivers to create a userspace mapping for a DMA buffer
in generic, architecture independent way.
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
include/linux/dma-mapping.h |3 +++
1 files changed
DMA_ATTR_WRITE_COMBINE specifies that writes to the mapping may be
buffered to improve performance. It will be used by the replacement for
ARM/ARV32 specific dma_alloc_writecombine() function.
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
Documentation/DMA-attributes.txt |
From: Andrzej Pietrasiewicz
Adapt core Microblaze architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/microblaze/include/asm/dma-mapp
From: Andrzej Pietrasiewicz
Adapt core PowerPC architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/powerpc/include/asm/dma-mapping.h
From: Andrzej Pietrasiewicz
Adapt core SH architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/sh/include/asm/dma-mapping.h | 28 +++
From: Andrzej Pietrasiewicz
Adapt core Alpha architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/alpha/include/asm/dma-mapping.h |
From: Andrzej Pietrasiewicz
Adapt core X86 architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/x86/include/asm/dma-mapping.h | 26 +
From: Andrzej Pietrasiewicz
Adapt core MIPS architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/mips/include/asm/dma-mapping.h | 18
From: Andrzej Pietrasiewicz
Adapt core IA64 architecture code for dma_map_ops changes: replace
alloc/free_coherent with generic alloc/free methods.
Signed-off-by: Andrzej Pietrasiewicz
Signed-off-by: Marek Szyprowski
Signed-off-by: Kyungmin Park
---
arch/ia64/hp/common/sba_iommu.c | 11
Hello eveyone,
On Linaro Memory Management meeting in Budapest (May 2011) we have
discussed about the design of DMA mapping framework. We tried to
identify the drawbacks and limitations as well as to provide some a
solution for them. The discussion was mainly about ARM architecture, but
some of th
Introduce new generic alloc and free methods with attributes argument.
Existing alloc_coherent and free_coherent can be implemented on top of the
new calls with NULL attributes argument. Later also dma_alloc_non_coherent
can be implemented using DMA_ATTR_NONCOHERENT attribute as well as
dma_alloc_
26 matches
Mail list logo