Files
kernel_oneplus_sm8250/include/linux
Lad Prabhakar bee98e2c8c PCI: endpoint: Add support to handle multiple base for mapping outbound memory
commit d45e3c1a5979efd40dbbac9a5c3586f4fa41f734 upstream.

R-Car PCIe controller has support to map multiple memory regions for
mapping the outbound memory in local system also the controller limits
single allocation for each region (that is, once a chunk is used from the
region it cannot be used to allocate a new one). This features inspires to
add support for handling multiple memory bases in endpoint framework.

With this patch pci_epc_mem_init() initializes address space for endpoint
controller which support single window and pci_epc_multi_mem_init()
initializes multiple windows supported by endpoint controller.

Link: https://lore.kernel.org/r/1588854799-13710-6-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
[PL: manually applied changes to pcie-designware-ep.c]
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Pavel Machek <pavel@denx.de>
2020-10-22 13:50:23 +02:00
..
2019-12-13 08:51:18 +01:00
2019-12-17 20:35:45 +01:00
2018-06-15 18:10:01 -03:00
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2018-06-15 18:10:01 -03:00
2018-06-19 10:06:29 -07:00
2018-08-22 10:52:48 -07:00
2019-11-24 08:19:14 +01:00
2018-07-12 10:04:29 -04:00
2020-09-03 11:24:28 +02:00
2018-07-27 09:57:23 +10:00
2020-03-25 08:06:14 +01:00
2018-06-28 20:32:51 +09:00
2019-10-17 13:45:42 -07:00
2018-08-08 11:06:20 +02:00
2018-06-22 13:43:27 +09:00
2019-12-13 08:52:43 +01:00
2018-07-12 21:35:28 +02:00
2018-06-05 08:50:16 -04:00
2018-06-07 17:34:35 -07:00
2019-12-31 16:35:38 +01:00
2020-07-29 10:16:52 +02:00
2018-06-07 17:34:39 -07:00
2018-08-22 10:52:45 -07:00
2018-07-10 17:22:35 +02:00
2018-06-07 17:34:36 -07:00
2020-03-18 07:14:17 +01:00
2018-07-21 10:43:12 -05:00
2018-08-22 10:52:46 -07:00
2019-06-11 12:20:52 +02:00
2018-07-20 01:11:45 +02:00
2018-06-29 08:48:06 -06:00
2020-04-17 10:48:47 +02:00
2020-04-02 15:28:22 +02:00
2018-06-07 17:34:35 -07:00
2018-07-07 17:25:23 +02:00
2018-08-16 12:14:42 -07:00
2018-06-20 11:35:56 +02:00
2018-11-13 11:08:51 -08:00
2020-05-20 08:18:45 +02:00
2020-04-02 15:28:23 +02:00