lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <C246CAC1457055469EF09E3A7AC4E11A4A5EC400@XAP-PVEXMBX01.xlnx.xilinx.com>
Date:   Thu, 15 Sep 2016 03:24:38 +0000
From:   Appana Durga Kedareswara Rao <appana.durga.rao@...inx.com>
To:     Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>,
        "dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "vinod.koul@...el.com" <vinod.koul@...el.com>,
        "dan.j.williams@...el.com" <dan.j.williams@...el.com>,
        "andriy.shevchenko@...ux.intel.com" 
        <andriy.shevchenko@...ux.intel.com>,
        "linux-snps-arc@...ts.infradead.org" 
        <linux-snps-arc@...ts.infradead.org>
Subject: RE: [PATCH] dmaengine: dmatest: Restore "memcpy" as default mode



> -----Original Message-----
> From: Eugeniy Paltsev [mailto:Eugeniy.Paltsev@...opsys.com]
> Sent: Wednesday, September 14, 2016 11:11 PM
> To: dmaengine@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org; Appana Durga Kedareswara Rao
> <appanad@...inx.com>; vinod.koul@...el.com; dan.j.williams@...el.com;
> andriy.shevchenko@...ux.intel.com; linux-snps-arc@...ts.infradead.org; Eugeniy
> Paltsev <Eugeniy.Paltsev@...opsys.com>
> Subject: [PATCH] dmaengine: dmatest: Restore "memcpy" as default mode
> 
> Commit 0d4cb44da6ca0e8 ("dmaengine: dmatest: Add support for scatter-
> gather DMA mode") changes default "dmatest" behavior by changing default
> mode from "memcpy" to "scatter-gather".
> Now "memcpy" gets back as default mode.
> 
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>

Reviewed-by: Kedareswara rao Appana <appanad@...inx.com>


Thanks,
Kedar.

> ---
>  drivers/dma/dmatest.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index
> 53e9728..cf76fc6 100644
> --- a/drivers/dma/dmatest.c
> +++ b/drivers/dma/dmatest.c
> @@ -56,10 +56,10 @@ module_param(sg_buffers, uint, S_IRUGO | S_IWUSR);
> MODULE_PARM_DESC(sg_buffers,
>  		"Number of scatter gather buffers (default: 1)");
> 
> -static unsigned int dmatest = 1;
> +static unsigned int dmatest;
>  module_param(dmatest, uint, S_IRUGO | S_IWUSR);
> MODULE_PARM_DESC(dmatest,
> -		"dmatest 0-memcpy 1-slave_sg (default: 1)");
> +		"dmatest 0-memcpy 1-slave_sg (default: 0)");
> 
>  static unsigned int xor_sources = 3;
>  module_param(xor_sources, uint, S_IRUGO | S_IWUSR);
> --
> 2.5.5

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ