misc: pci_endpoint_test: Add driver data for Layerscape PCIe controllers
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 18 Sep 2020 08:00:24 +0000 (16:00 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 24 Sep 2020 12:53:07 +0000 (13:53 +0100)
commit09fb37b35e34d4735c5cc0a60a6948c44a9c3181
tree75fa141ebad62af35bd238d17ed409aaf4a7c2c6
parent6b8ab42137e9849ed15e00d5feaf1fa3859b4862
misc: pci_endpoint_test: Add driver data for Layerscape PCIe controllers

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.

Link: https://lore.kernel.org/r/20200918080024.13639-13-Zhiqiang.Hou@nxp.com
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
drivers/misc/pci_endpoint_test.c