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
| ||
|
Date: Sat, 23 Mar 2013 12:25:28 +0530 From: Viresh Kumar <viresh.kumar@...aro.org> To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com> Cc: Vinod Koul <vinod.koul@...el.com>, Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org, spear-devel <spear-devel@...t.st.com>, linux-arm-kernel@...ts.infradead.org Subject: Re: [PATCH 4/4] dmaengine: dw_dmac: simplify master selection On 22 March 2013 20:13, Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote: > From: Arnd Bergmann <arnd@...db.de> > > The patch to add the common DMA binding added a dummy dw_dma_slave > structure into the dw_dma_chan structure in order to configure the > masters correctly. It turns out that this can be simplified if we > pick the DMA masters in the dwc_alloc_chan_resources function instead > and save them in the dw_dma_chan structure directly. > > This could be simplified further once all users that today use > dw_dma_slave for configuration get converted to device tree based > setup instead. > > Signed-off-by: Arnd Bergmann <arnd@...db.de> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com> > Cc: linux-arm-kernel@...ts.infradead.org > --- > drivers/dma/dw_dmac.c | 76 ++++++++++++++++++---------------------------- > drivers/dma/dw_dmac_regs.h | 5 ++- > 2 files changed, 33 insertions(+), 48 deletions(-) Acked-by: Viresh Kumar <viresh.kumar@...aro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists