[PATCHv7 12/12] misc: pci_endpoint_test: Add driver data for Layerscape PCIe controllers

Z.q. Hou zhiqiang.hou at nxp.com
Mon Sep 14 03:24:57 AEST 2020


Hi Rob,

Thanks a lot for your review and ack!

Regards,
Zhiqiang

> -----Original Message-----
> From: Rob Herring <robh at kernel.org>
> Sent: 2020年9月11日 2:18
> To: Z.q. Hou <zhiqiang.hou at nxp.com>
> Cc: bhelgaas at google.com; shawnguo at kernel.org; M.h. Lian
> <minghuan.lian at nxp.com>; Leo Li <leoyang.li at nxp.com>;
> linuxppc-dev at lists.ozlabs.org; robh+dt at kernel.org;
> linux-arm-kernel at lists.infradead.org; Roy Zang <roy.zang at nxp.com>;
> andrew.murray at arm.com; linux-pci at vger.kernel.org;
> lorenzo.pieralisi at arm.com; gustavo.pimentel at synopsys.com; Mingkai Hu
> <mingkai.hu at nxp.com>; linux-kernel at vger.kernel.org;
> jingoohan1 at gmail.com; kishon at ti.com; devicetree at vger.kernel.org
> Subject: Re: [PATCHv7 12/12] misc: pci_endpoint_test: Add driver data for
> Layerscape PCIe controllers
> 
> On Tue, 11 Aug 2020 17:54:41 +0800, Zhiqiang Hou wrote:
> > From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> >
> > The commit 0a121f9bc3f5 ("misc: pci_endpoint_test: Use streaming DMA
> > APIs for buffer allocation") changed to use streaming DMA APIs,
> > however,
> > dma_map_single() might not return a 4KB aligned address, so add the
> > default_data as driver data for Layerscape PCIe controllers to make it
> > 4KB aligned.
> >
> > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
> > ---
> > V7:
> >  - New patch.
> >
> >  drivers/misc/pci_endpoint_test.c | 8 ++++++--
> >  1 file changed, 6 insertions(+), 2 deletions(-)
> >
> 
> Acked-by: Rob Herring <robh at kernel.org>


More information about the Linuxppc-dev mailing list