|
[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
·
|
|
[RFC PATCH 4.19.y-cip 19/50] PCI: endpoint: Allocate enough space for fixed size BAR
From: Alan Mikhak <alan.mikhak@...>
commit f16fb16ed16c7f561e9c41c9ae4107c7f6aa553c upstream.
PCI endpoint test function code should honor the .bar_fixed_size parameter
from underlying
From: Alan Mikhak <alan.mikhak@...>
commit f16fb16ed16c7f561e9c41c9ae4107c7f6aa553c upstream.
PCI endpoint test function code should honor the .bar_fixed_size parameter
from underlying
|
By
Lad Prabhakar
·
#5539
·
|
|
[RFC PATCH 4.19.y-cip 18/50] PCI: endpoint: Set endpoint controller pointer to NULL
From: Alan Mikhak <alan.mikhak@...>
commit db7a62482d2f6a63f36f30f62c4cbf1e53035719 upstream.
Set endpoint controller pointer to NULL in pci_epc_remove_epf()
to avoid -EBUSY on subsequent
From: Alan Mikhak <alan.mikhak@...>
commit db7a62482d2f6a63f36f30f62c4cbf1e53035719 upstream.
Set endpoint controller pointer to NULL in pci_epc_remove_epf()
to avoid -EBUSY on subsequent
|
By
Lad Prabhakar
·
#5538
·
|
|
[RFC PATCH 4.19.y-cip 17/50] PCI: endpoint: Add support to specify alignment for buffers allocated to BARs
From: Kishon Vijay Abraham I <kishon@...>
commit 2a9a801620efac92885fc9cd53594c0b9aba87a4 upstream.
The address that is allocated using pci_epf_alloc_space() is
directly written to the target
From: Kishon Vijay Abraham I <kishon@...>
commit 2a9a801620efac92885fc9cd53594c0b9aba87a4 upstream.
The address that is allocated using pci_epf_alloc_space() is
directly written to the target
|
By
Lad Prabhakar
·
#5537
·
|
|
[RFC PATCH 4.19.y-cip 16/50] PCI: endpoint: Fix a potential NULL pointer dereference
From: Kangjie Lu <kjlu@...>
commit 507b820009a457afa78202da337bcb56791fbb12 upstream.
In case alloc_workqueue() fails, return -ENOMEM to avoid
potential NULL pointer
From: Kangjie Lu <kjlu@...>
commit 507b820009a457afa78202da337bcb56791fbb12 upstream.
In case alloc_workqueue() fails, return -ENOMEM to avoid
potential NULL pointer
|
By
Lad Prabhakar
·
#5536
·
|
|
[RFC PATCH 4.19.y-cip 15/50] PCI: endpoint: Remove features member in struct pci_epc
From: Kishon Vijay Abraham I <kishon@...>
commit 35ce0d7922d68021062a955407740d262f9ac811 upstream.
Since EPC features are now implemented using pci_epc_features and
all the EPC drivers are moved
From: Kishon Vijay Abraham I <kishon@...>
commit 35ce0d7922d68021062a955407740d262f9ac811 upstream.
Since EPC features are now implemented using pci_epc_features and
all the EPC drivers are moved
|
By
Lad Prabhakar
·
#5535
·
|
|
[RFC PATCH 4.19.y-cip 14/50] PCI: designware-plat: Remove setting epc->features in Designware plat EP driver
From: Kishon Vijay Abraham I <kishon@...>
commit 92f2b028418c6f59f92703eed111136ca0d22c39 upstream.
Now that pci-epf-test uses get_features callback and
dw_plat_pcie_epc_features in Designware
From: Kishon Vijay Abraham I <kishon@...>
commit 92f2b028418c6f59f92703eed111136ca0d22c39 upstream.
Now that pci-epf-test uses get_features callback and
dw_plat_pcie_epc_features in Designware
|
By
Lad Prabhakar
·
#5534
·
|
|
[RFC PATCH 4.19.y-cip 13/50] PCI: rockchip: Remove pci_epf_linkup() from Rockchip EP driver
From: Kishon Vijay Abraham I <kishon@...>
commit f1267978457e77ae7ddabe82ad48cf34f54e96fb upstream.
pci_epf_linkup() is intended to be invoked if the EPC supports linkup
notification. Now that
From: Kishon Vijay Abraham I <kishon@...>
commit f1267978457e77ae7ddabe82ad48cf34f54e96fb upstream.
pci_epf_linkup() is intended to be invoked if the EPC supports linkup
notification. Now that
|
By
Lad Prabhakar
·
#5533
·
|
|
[RFC PATCH 4.19.y-cip 12/50] PCI: cadence: Remove pci_epf_linkup() from Cadence EP driver
From: Kishon Vijay Abraham I <kishon@...>
commit c274c9f4ea758bd6667a363f275e45275f2b5672 upstream.
pci_epf_linkup() is intended to be invoked if the EPC supports linkup
notification. Now that
From: Kishon Vijay Abraham I <kishon@...>
commit c274c9f4ea758bd6667a363f275e45275f2b5672 upstream.
pci_epf_linkup() is intended to be invoked if the EPC supports linkup
notification. Now that
|
By
Lad Prabhakar
·
#5532
·
|
|
[RFC PATCH 4.19.y-cip 11/50] PCI: pci-epf-test: Use pci_epc_get_features() to get EPC features
From: Kishon Vijay Abraham I <kishon@...>
commit 2c04c5b8eef797dca99699cfb55ff42dd3c12c23 upstream.
Use pci_epc_get_features() to get EPC features such as linkup
notifier support, MSI/MSIX
From: Kishon Vijay Abraham I <kishon@...>
commit 2c04c5b8eef797dca99699cfb55ff42dd3c12c23 upstream.
Use pci_epc_get_features() to get EPC features such as linkup
notifier support, MSI/MSIX
|
By
Lad Prabhakar
·
#5531
·
|
|
[RFC PATCH 4.19.y-cip 10/50] PCI: pci-epf-test: Do not allocate next BARs memory if current BAR is 64Bit
From: Kishon Vijay Abraham I <kishon@...>
commit b866c56b66d88a632e2fa6b922c4ea051937acbd upstream.
It's useless to allocate memory for next BAR if the current BAR is a
64Bit BAR. Stop allocating
From: Kishon Vijay Abraham I <kishon@...>
commit b866c56b66d88a632e2fa6b922c4ea051937acbd upstream.
It's useless to allocate memory for next BAR if the current BAR is a
64Bit BAR. Stop allocating
|
By
Lad Prabhakar
·
#5530
·
|