diff options
| author | Frank Li <[email protected]> | 2025-07-10 19:13:53 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-07-24 21:51:46 +0000 |
| commit | eefb83790a0dda112d1755e4f5e213738d717e76 (patch) | |
| tree | 7a3d2f030eaca0af62804a9fd5de57f64476d406 /drivers/pci/controller/dwc | |
| parent | PCI: endpoint: pci-epf-test: Add doorbell test support (diff) | |
| download | kernel-eefb83790a0dda112d1755e4f5e213738d717e76.tar.gz kernel-eefb83790a0dda112d1755e4f5e213738d717e76.zip | |
misc: pci_endpoint_test: Add doorbell test case
Add doorbell support with the help of three new registers:
PCIE_ENDPOINT_TEST_DB_BAR, PCIE_ENDPOINT_TEST_DB_ADDR, and
PCIE_ENDPOINT_TEST_DB_DATA.
The testcase works by triggering the doorbell in Endpoint by writing the
value from PCI_ENDPOINT_TEST_DB_DATA register to the address provided by
PCI_ENDPOINT_TEST_DB_OFFSET register of the BAR indicated by the
PCIE_ENDPOINT_TEST_DB_BAR register and waiting for the completion status
from the Endpoint.
Signed-off-by: Frank Li <[email protected]>
[mani: removed one spurious change and reworded the commit message]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Tested-by: Niklas Cassel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions
