Re: [kvm-unit-tests PATCH v1 0/5] arm64: Change the default --processor to max

2025-01-13 Thread Vladimir Murzin
removes extra hassle of setting up -cpu to match required feature. My MTE test continue working fine and require one less configuration option - undeniable improvement in user experience! FWIW: Tested-by: Vladimir Murzin # arm64 Vladimir > Alexandru Elisei (5): > configure: Document tha

Re: [PATCH] mm/memtest: Add ARCH_USE_MEMTEST

2021-02-05 Thread Vladimir Murzin
Hi Anshuman, On 2/5/21 4:10 AM, Anshuman Khandual wrote: > early_memtest() does not get called from all architectures. Hence enabling > CONFIG_MEMTEST and providing a valid memtest=[1..N] kernel command line > option might not trigger the memory pattern tests as would be expected in > normal circu

Re: [PATCH 29/33] dma-direct: retry allocations using GFP_DMA for small masks

2018-01-10 Thread Vladimir Murzin
ges(page, page_order); > + page = NULL; > + > + if (dev->coherent_dma_mask < DMA_BIT_MASK(32) && > + !(gfp & GFP_DMA)) { > + gfp = (gfp & ~GFP_DMA32) | GFP_DMA; > + goto again; > + } > + } > + > if (!page) > return NULL; > > Reviewed-by: Vladimir Murzin Cheers Vladimir

Re: [PATCH 11/33] dma-mapping: move swiotlb arch helpers to a new header

2018-01-10 Thread Vladimir Murzin
On 10/01/18 08:00, Christoph Hellwig wrote: > index 9110988b92a1..f00833acb626 100644 > --- a/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h > +++ b/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h > @@ -61,6 +61,14 @@ static inline void plat_post_dma_flush(struct device *dev) >

Re: [PATCH 31/67] dma-direct: make dma_direct_{alloc, free} available to other implementations

2018-01-02 Thread Vladimir Murzin
ze_t > size, > return page_address(page); > } > > -static void dma_direct_free(struct device *dev, size_t size, void *cpu_addr, > +void dma_direct_free(struct device *dev, size_t size, void *cpu_addr, > dma_addr_t dma_addr, unsigned long attrs) > { > unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT; > Reviewed-by: Vladimir Murzin Thanks Vladimir

Re: [PATCH 30/67] dma-direct: retry allocations using GFP_DMA for small masks

2018-01-02 Thread Vladimir Murzin
On 29/12/17 08:18, Christoph Hellwig wrote: > If we got back an allocation that wasn't inside the support coherent mask, > retry the allocation using GFP_DMA. > > Based on the x86 code. > > Signed-off-by: Christoph Hellwig > --- > lib/dma-direct.c | 25 - > 1 file change

Re: [PATCH 26/67] dma-direct: use phys_to_dma

2018-01-02 Thread Vladimir Murzin
g)); > - va = sg_virt(sg); > - sg_dma_address(sg) = (dma_addr_t)virt_to_phys(va) - offset; > + > + sg_dma_address(sg) = phys_to_dma(dev, sg_phys(sg)); > sg_dma_len(sg) = sg->length; > } > > >From ARM NOMMU perspective Reviewed-by: Vladimir Murzin Thanks Vladimir

Re: [PATCH 25/67] dma-direct: rename dma_noop to dma_direct

2018-01-02 Thread Vladimir Murzin
tion dir, unsigned long attrs) > { > int i; > struct scatterlist *sg; > @@ -58,12 +54,11 @@ static int dma_noop_map_sg(struct device *dev, struct > scatterlist *sgl, int nent > return nents; > } > > -const struct dma_map_ops dma_noop_ops = { > - .alloc = dma_noop_alloc, > - .free = dma_noop_free, > - .map_page = dma_noop_map_page, > - .map_sg = dma_noop_map_sg, > +const struct dma_map_ops dma_direct_ops = { > + .alloc = dma_direct_alloc, > + .free = dma_direct_free, > + .map_page = dma_direct_map_page, > + .map_sg = dma_direct_map_sg, > .is_phys= true, > }; > - > -EXPORT_SYMBOL(dma_noop_ops); > +EXPORT_SYMBOL(dma_direct_ops); > >From ARM NOMMU perspective Reviewed-by: Vladimir Murzin Thanks Vladimir

Re: consolidate direct dma mapping and swiotlb support

2017-12-29 Thread Vladimir Murzin
On 29/12/17 08:18, Christoph Hellwig wrote: > Almost every architecture supports a direct dma mapping implementation, > where no iommu is used and the device dma address is a 1:1 mapping to > the physical address or has a simple linear offset. Currently the > code for this implementation is most d

[PATCH] powerpc: fix section mismatch warning in free_lppacas

2013-09-29 Thread Vladimir Murzin
This is often because .free_lppacas lacks a __initdata annotation or the annotation of lppaca_size is wrong. Fix it by using proper annotation for free_lppacas. Additionally, annotate {allocate,new}_llpcas properly. Signed-off-by: Vladimir Murzin --- arch/powerpc/kernel/paca.c | 6 +++--- 1

[PATCH v2 2/2] ppc: bpf_jit: support MOD operation

2013-09-28 Thread Vladimir Murzin
commit b6069a9570 (filter: add MOD operation) added generic support for modulus operation in BPF. This patch brings JIT support for PPC64 Signed-off-by: Vladimir Murzin Acked-by: Matt Evans --- Changelog v1->v2 Definition for r_scratch2 was moved to header file. arch/powerpc/net/bpf_ji

[PATCH v2 1/2] powerpc: net: filter: fix DIVWU instruction opcode

2013-09-28 Thread Vladimir Murzin
Currently DIVWU stands for *signed* divw opcode: 7d 2a 4b 96 divwu r9,r10,r9 7d 2a 4b d6 divwr9,r10,r9 Use the *unsigned* divw opcode for DIVWU. Suggested-by: Vassili Karpov Reviewed-by: Vassili Karpov Signed-off-by: Vladimir Murzin Acked-by: Matt Evans --- Changelog v1->

Re: [RESEND PATCH 2/2] ppc: bpf_jit: support MOD operation

2013-09-22 Thread Vladimir Murzin
On Mon, Sep 23, 2013 at 01:13:45AM +1000, Matt Evans wrote: > Hi Vladimir, > > On 21 Sep 2013, at 17:25, Vladimir Murzin wrote: > > > commit b6069a9570 (filter: add MOD operation) added generic > > support for modulus operation in BPF. > > > > Thi

[RESEND PATCH 2/2] ppc: bpf_jit: support MOD operation

2013-09-21 Thread Vladimir Murzin
commit b6069a9570 (filter: add MOD operation) added generic support for modulus operation in BPF. This patch brings JIT support for PPC64 Signed-off-by: Vladimir Murzin Acked-by: Matt Evans --- arch/powerpc/net/bpf_jit_comp.c | 22 ++ 1 file changed, 22 insertions(+) diff

[RESEND PATCH 1/2] powerpc: net: filter: fix DIVWU instruction opcode

2013-09-21 Thread Vladimir Murzin
Currently DIVWU stands for *signed* divw opcode: 7d 2a 4b 96 divwu r9,r10,r9 7d 2a 4b d6 divwr9,r10,r9 Use the *unsigned* divw opcode for DIVWU. Signed-off-by: Vladimir Murzin Acked-by: Matt Evans --- arch/powerpc/include/asm/ppc-opcode.h |2 +- 1 file changed, 1 insertion

Re: [PATCH] ppc: bpf_jit: support MOD operation

2013-09-11 Thread Vladimir Murzin
; > On Mon, 2013-09-02 at 19:48 +0200, Vladimir Murzin wrote: > >> Ping > >> > >> On Wed, Aug 28, 2013 at 02:49:52AM +0400, Vladimir Murzin wrote: > >>> commit b6069a9570 (filter: add MOD operation) added generic > >>> support for modulus ope

Re: [PATCH] powerpc: net: filter: fix DIVWU instruction opcode

2013-09-11 Thread Vladimir Murzin
On Thu, Sep 12, 2013 at 10:28:03AM +0930, Matt Evans wrote: > On 12 Sep 2013, at 10:02, Michael Neuling wrote: > > > Vladimir Murzin wrote: > > > >> Currently DIVWU stands for *signed* divw opcode: > >> > >> 7d 2a 4b 96divwu r9,r10,r9 > &g

Re: [PATCH] ppc: bpf_jit: support MOD operation

2013-09-11 Thread Vladimir Murzin
On Wed, Sep 04, 2013 at 09:04:04AM +0200, Daniel Borkmann wrote: > On 09/03/2013 10:52 PM, Daniel Borkmann wrote: > > On 09/03/2013 09:58 PM, Vladimir Murzin wrote: > [...] > >>> Do you have a test case/suite by any chance ? > >>> > >>> Ben. &

Re: [PATCH 1/3] powerpc: export cpu_to_chip_id

2013-09-11 Thread Vladimir Murzin
On Wed, Sep 11, 2013 at 12:07:45PM +0530, Vasant Hegde wrote: > On 09/10/2013 10:08 PM, Vladimir Murzin wrote: > > While cross-building for PPC64 I've got > > > Vladimir, > > Below commit ID fixes this issue. Great! For whatever reason I thought _GPL is default polic

[PATCH] powerpc: net: filter: fix DIVWU instruction opcode

2013-09-11 Thread Vladimir Murzin
Currently DIVWU stands for *signed* divw opcode: 7d 2a 4b 96 divwu r9,r10,r9 7d 2a 4b d6 divwr9,r10,r9 Use the *unsigned* divw opcode for DIVWU. Signed-off-by: Vladimir Murzin --- arch/powerpc/include/asm/ppc-opcode.h |2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 3/3] fbdev/ps3fb: fix section mismatch warning for ps3fb_probe

2013-09-10 Thread Vladimir Murzin
annotation from ps3fb_fix. Signed-off-by: Vladimir Murzin --- drivers/video/ps3fb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index dbfe2c1..b269abd 100644 --- a/drivers/video/ps3fb.c +++ b/drivers/video/ps3fb.c @@ -952,7 +

[PATCH 2/3] powerpc: fix section mismatch warning for prom_rtas_call

2013-09-10 Thread Vladimir Murzin
minit .free_area_init_core.isra.47() references a function __init .set_pageblock_order(). If .set_pageblock_order is only used by .free_area_init_core.isra.47 then annotate .set_pageblock_order with a matching annotation. Fix it by proper annotation of prom_rtas_call. Signed-off-by: Vladimir Murzin ---

[PATCH 1/3] powerpc: export cpu_to_chip_id

2013-09-10 Thread Vladimir Murzin
Signed-off-by: Vladimir Murzin --- arch/powerpc/kernel/smp.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 442d8e2..1d9c1c2 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c @@ -611,6 +611,7 @@ int cpu_to_

Re: [PATCH 3/3] fbdev/ps3fb: fix section mismatch warning for ps3fb_probe

2013-09-10 Thread Vladimir Murzin
On Tue, Sep 10, 2013 at 06:56:33PM +0200, Geert Uytterhoeven wrote: > On Tue, Sep 10, 2013 at 6:46 PM, Vladimir Murzin wrote: > > diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c > > index dbfe2c1..b269abd 100644 > > --- a/drivers/video/ps3fb.c > >

Re: [PATCH] ppc: bpf_jit: support MOD operation

2013-09-03 Thread Vladimir Murzin
On Tue, Sep 03, 2013 at 06:45:50AM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2013-09-02 at 19:48 +0200, Vladimir Murzin wrote: > > Ping > > > > On Wed, Aug 28, 2013 at 02:49:52AM +0400, Vladimir Murzin wrote: > > > commit b6069a9570 (filter: add MOD operation) a

Re: [PATCH] ppc: bpf_jit: support MOD operation

2013-09-02 Thread Vladimir Murzin
Ping On Wed, Aug 28, 2013 at 02:49:52AM +0400, Vladimir Murzin wrote: > commit b6069a9570 (filter: add MOD operation) added generic > support for modulus operation in BPF. > > This patch brings JIT support for PPC64 > > Signed-off-by: Vladimir Murzin > --- > arch/po

[PATCH] ppc: bpf_jit: support MOD operation

2013-08-27 Thread Vladimir Murzin
commit b6069a9570 (filter: add MOD operation) added generic support for modulus operation in BPF. This patch brings JIT support for PPC64 Signed-off-by: Vladimir Murzin --- arch/powerpc/net/bpf_jit_comp.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/powerpc