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

From: Z.q. Hou
Date: Sun Sep 13 2020 - 13:25:15 EST


Hi Rob,

Thanks a lot for your review and ack!

Regards,
Zhiqiang

> -----Original Message-----
> From: Rob Herring <robh@xxxxxxxxxx>
> Sent: 2020年9月11日 2:18
> To: Z.q. Hou <zhiqiang.hou@xxxxxxx>
> Cc: bhelgaas@xxxxxxxxxx; shawnguo@xxxxxxxxxx; M.h. Lian
> <minghuan.lian@xxxxxxx>; Leo Li <leoyang.li@xxxxxxx>;
> linuxppc-dev@xxxxxxxxxxxxxxxx; robh+dt@xxxxxxxxxx;
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; Roy Zang <roy.zang@xxxxxxx>;
> andrew.murray@xxxxxxx; linux-pci@xxxxxxxxxxxxxxx;
> lorenzo.pieralisi@xxxxxxx; gustavo.pimentel@xxxxxxxxxxxx; Mingkai Hu
> <mingkai.hu@xxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx;
> jingoohan1@xxxxxxxxx; kishon@xxxxxx; devicetree@xxxxxxxxxxxxxxx
> 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@xxxxxxx>
> >
> > 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@xxxxxxx>
> > ---
> > V7:
> > - New patch.
> >
> > drivers/misc/pci_endpoint_test.c | 8 ++++++--
> > 1 file changed, 6 insertions(+), 2 deletions(-)
> >
>
> Acked-by: Rob Herring <robh@xxxxxxxxxx>