|
[RFC PATCH 4.19.y-cip 39/50] PCI: rcar: Fix calculating mask for PCIEPAMR register
commit 328263687148bebf0d5daf5d06bcc2a46f3d7b0a upstream.
The mask value was calculated incorrectly for PCIEPAMR register if the
size was less than 128 bytes. Fix this issue by adding a check on
commit 328263687148bebf0d5daf5d06bcc2a46f3d7b0a upstream.
The mask value was calculated incorrectly for PCIEPAMR register if the
size was less than 128 bytes. Fix this issue by adding a check on
|
By
Lad Prabhakar
·
#5559
·
|
|
[RFC PATCH 4.19.y-cip 38/50] PCI: rcar: Move shareable code to a common file
commit 78a0d7f2f5a31357bce68012d886507b4cf33598 upstream.
Move shareable code to common file pcie-rcar.c and the #defines to
pcie-rcar.h so that the common code can be reused with endpoint
commit 78a0d7f2f5a31357bce68012d886507b4cf33598 upstream.
Move shareable code to common file pcie-rcar.c and the #defines to
pcie-rcar.h so that the common code can be reused with endpoint
|
By
Lad Prabhakar
·
#5558
·
|
|
[RFC PATCH 4.19.y-cip 37/50] arm64: defconfig: Enable CONFIG_PCIE_RCAR_HOST
commit fecc5cfcd55f7aacc483726c405a951bd6aaaf2e upstream.
config option PCIE_RCAR internally selects PCIE_RCAR_HOST which builds
the same driver. So this patch renames CONFIG_PCIE_RCAR
commit fecc5cfcd55f7aacc483726c405a951bd6aaaf2e upstream.
config option PCIE_RCAR internally selects PCIE_RCAR_HOST which builds
the same driver. So this patch renames CONFIG_PCIE_RCAR
|
By
Lad Prabhakar
·
#5557
·
|
|
[RFC PATCH 4.19.y-cip 36/50] PCI: rcar: Rename pcie-rcar.c to pcie-rcar-host.c
commit a18f4b6ea50b81e28bd05381883a531ab345f753 upstream.
This commit renames pcie-rcar.c to pcie-rcar-host.c in preparation for
adding support for endpoint mode. CONFIG_PCIE_RCAR is kept so that
commit a18f4b6ea50b81e28bd05381883a531ab345f753 upstream.
This commit renames pcie-rcar.c to pcie-rcar-host.c in preparation for
adding support for endpoint mode. CONFIG_PCIE_RCAR is kept so that
|
By
Lad Prabhakar
·
#5556
·
|
|
[RFC PATCH 4.19.y-cip 35/50] PCI: endpoint: functions/pci-epf-test: Print throughput information
From: Kishon Vijay Abraham I <kishon@...>
commit 5893c2e5353bb9a723d862d8b6ba8028a8f6a6eb upstream.
Print throughput information in KB/s after every completed transfer,
including information on
From: Kishon Vijay Abraham I <kishon@...>
commit 5893c2e5353bb9a723d862d8b6ba8028a8f6a6eb upstream.
Print throughput information in KB/s after every completed transfer,
including information on
|
By
Lad Prabhakar
·
#5555
·
|
|
[RFC PATCH 4.19.y-cip 34/50] 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
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
|
By
Lad Prabhakar
·
#5554
·
|
|
[RFC PATCH 4.19.y-cip 33/50] PCI: endpoint: Pass page size as argument to pci_epc_mem_init()
commit 975cf23e3aa89588cbfc9ad6f2b23bd32af4edc7 upstream.
pci_epc_mem_init() internally used page size equal to *PAGE_SIZE* to
manage the address space so instead just pass the page size as
commit 975cf23e3aa89588cbfc9ad6f2b23bd32af4edc7 upstream.
pci_epc_mem_init() internally used page size equal to *PAGE_SIZE* to
manage the address space so instead just pass the page size as
|
By
Lad Prabhakar
·
#5553
·
|
|
[RFC PATCH 4.19.y-cip 32/50] PCI: dwc: Fix dw_pcie_ep_raise_msix_irq() to get correct MSI-X table address
From: Kishon Vijay Abraham I <kishon@...>
commit 6f5e193bfb55963ce5f4f68cc927f371ddb0913b upstream.
commit beb4641a787d ("PCI: dwc: Add MSI-X callbacks handler"),
in order to raise MSI-X
From: Kishon Vijay Abraham I <kishon@...>
commit 6f5e193bfb55963ce5f4f68cc927f371ddb0913b upstream.
commit beb4641a787d ("PCI: dwc: Add MSI-X callbacks handler"),
in order to raise MSI-X
|
By
Lad Prabhakar
·
#5552
·
|
|
[RFC PATCH 4.19.y-cip 31/50] PCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments
From: Kishon Vijay Abraham I <kishon@...>
commit 83153d9f36e24978c6211d246cb6f532bf54e5dc upstream.
commit 8963106eabdc ("PCI: endpoint: Add MSI-X interfaces") while
adding support to raise MSI-X
From: Kishon Vijay Abraham I <kishon@...>
commit 83153d9f36e24978c6211d246cb6f532bf54e5dc upstream.
commit 8963106eabdc ("PCI: endpoint: Add MSI-X interfaces") while
adding support to raise MSI-X
|
By
Lad Prabhakar
·
#5551
·
|
|
[RFC PATCH 4.19.y-cip 30/50] PCI: endpoint: Fix clearing start entry in configfs
From: Kunihiko Hayashi <hayashi.kunihiko@...>
commit f58d5f53c89479c12ad719c1960176442add5aaa upstream.
After an endpoint is started through configfs, if 0 is written to the
configfs entry
From: Kunihiko Hayashi <hayashi.kunihiko@...>
commit f58d5f53c89479c12ad719c1960176442add5aaa upstream.
After an endpoint is started through configfs, if 0 is written to the
configfs entry
|
By
Lad Prabhakar
·
#5550
·
|
|
[RFC PATCH 4.19.y-cip 29/50] PCI: pci-epf-test: Add support to defer core initialization
From: Vidya Sagar <vidyas@...>
commit 5e50ee27d4a52a817ab152128c48690ec7c5cdf1 upstream.
Add support to defer core initialization for the endpoint mode of
operation.
This would enable
From: Vidya Sagar <vidyas@...>
commit 5e50ee27d4a52a817ab152128c48690ec7c5cdf1 upstream.
Add support to defer core initialization for the endpoint mode of
operation.
This would enable
|
By
Lad Prabhakar
·
#5549
·
|
|
[RFC PATCH 4.19.y-cip 28/50] PCI: endpoint: Add notification for core init completion
From: Vidya Sagar <vidyas@...>
commit 0ef22dcf0c1871888c4c0ee46a9d9c494f2fe997 upstream.
Add support to send notifications to EPF from EPC once the core
registers initialization is
From: Vidya Sagar <vidyas@...>
commit 0ef22dcf0c1871888c4c0ee46a9d9c494f2fe997 upstream.
Add support to send notifications to EPF from EPC once the core
registers initialization is
|
By
Lad Prabhakar
·
#5548
·
|
|
[RFC PATCH 4.19.y-cip 27/50] PCI: endpoint: Add core init notifying feature
From: Vidya Sagar <vidyas@...>
commit 3d5f7d9f6a38ddcc105ebfb23b640630bbabba65 upstream.
Add a new feature core_init_notifier for cores that can notify about
their availability for
From: Vidya Sagar <vidyas@...>
commit 3d5f7d9f6a38ddcc105ebfb23b640630bbabba65 upstream.
Add a new feature core_init_notifier for cores that can notify about
their availability for
|
By
Lad Prabhakar
·
#5547
·
|
|
[RFC PATCH 4.19.y-cip 26/50] PCI: endpoint: Assign function number for each PF in EPC core
From: Kishon Vijay Abraham I <kishon@...>
commit 2499ee84e02774a8573b7b4c76c8f2ea38669313 upstream.
The PCIe endpoint core relies on the drivers that invoke the
pci_epc_add_epf() API to allocate
From: Kishon Vijay Abraham I <kishon@...>
commit 2499ee84e02774a8573b7b4c76c8f2ea38669313 upstream.
The PCIe endpoint core relies on the drivers that invoke the
pci_epc_add_epf() API to allocate
|
By
Lad Prabhakar
·
#5546
·
|
|
[RFC PATCH 4.19.y-cip 25/50] PCI: endpoint: Protect concurrent access to pci_epf_ops with mutex
From: Kishon Vijay Abraham I <kishon@...>
commit 07301c982643a432212840a4b648b5d3f5a061fa upstream.
Protect concurrent access to pci_epf_ops with a mutex.
Signed-off-by: Kishon Vijay Abraham I
From: Kishon Vijay Abraham I <kishon@...>
commit 07301c982643a432212840a4b648b5d3f5a061fa upstream.
Protect concurrent access to pci_epf_ops with a mutex.
Signed-off-by: Kishon Vijay Abraham I
|
By
Lad Prabhakar
·
#5545
·
|
|
[RFC PATCH 4.19.y-cip 24/50] PCI: endpoint: Replace spinlock with mutex
From: Kishon Vijay Abraham I <kishon@...>
commit 3d3248dbd018502f654064c78efcd2e165ab3486 upstream.
The pci_epc_ops is not intended to be invoked from interrupt context.
Hence replace
From: Kishon Vijay Abraham I <kishon@...>
commit 3d3248dbd018502f654064c78efcd2e165ab3486 upstream.
The pci_epc_ops is not intended to be invoked from interrupt context.
Hence replace
|
By
Lad Prabhakar
·
#5544
·
|
|
[RFC PATCH 4.19.y-cip 23/50] PCI: endpoint: Use notification chain mechanism to notify EPC events to EPF
From: Kishon Vijay Abraham I <kishon@...>
commit 5779dd0a7dbd71e82478fb0bf125cc6cd3c43266 upstream.
Use atomic_notifier_call_chain() to notify EPC events like linkup to EPF
driver instead of
From: Kishon Vijay Abraham I <kishon@...>
commit 5779dd0a7dbd71e82478fb0bf125cc6cd3c43266 upstream.
Use atomic_notifier_call_chain() to notify EPC events like linkup to EPF
driver instead of
|
By
Lad Prabhakar
·
#5543
·
|
|
[RFC PATCH 4.19.y-cip 22/50] PCI: endpoint: Cast the page number to phys_addr_t
From: Alan Mikhak <alan.mikhak@...>
commit daee4f4e42c792997f4fee47dcdfa65dd720ec02 upstream.
Modify pci_epc_mem_alloc_addr() to cast the variable 'pageno'
from type 'int' to 'phys_addr_t'
From: Alan Mikhak <alan.mikhak@...>
commit daee4f4e42c792997f4fee47dcdfa65dd720ec02 upstream.
Modify pci_epc_mem_alloc_addr() to cast the variable 'pageno'
from type 'int' to 'phys_addr_t'
|
By
Lad Prabhakar
·
#5542
·
|
|
[RFC PATCH 4.19.y-cip 21/50] PCI: endpoint: Clear BAR before freeing its space
From: Alan Mikhak <alan.mikhak@...>
commit dbb7bbcc8ad248b1ab05bd27dfdb587ef4023dab upstream.
Associated pci_epf_bar structure is needed in pci_epc_clear_bar() to
clear a BAR correctly but it
From: Alan Mikhak <alan.mikhak@...>
commit dbb7bbcc8ad248b1ab05bd27dfdb587ef4023dab upstream.
Associated pci_epf_bar structure is needed in pci_epc_clear_bar() to
clear a BAR correctly but it
|
By
Lad Prabhakar
·
#5541
·
|
|
[RFC PATCH 4.19.y-cip 20/50] PCI: endpoint: Skip odd BAR when skipping 64bit BAR
From: Alan Mikhak <alan.mikhak@...>
commit 3041a643613a2530ade35a9ae97709a9da4c0c72 upstream.
Always skip odd BAR when skipping 64bit BARs in pci_epf_test_set_bar()
and
From: Alan Mikhak <alan.mikhak@...>
commit 3041a643613a2530ade35a9ae97709a9da4c0c72 upstream.
Always skip odd BAR when skipping 64bit BARs in pci_epf_test_set_bar()
and
|
By
Lad Prabhakar
·
#5540
·
|