diff options
author | Frank Li <Frank.Li@nxp.com> | 2025-07-10 15:13:53 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-07-24 16:51:46 -0500 |
commit | eefb83790a0dda112d1755e4f5e213738d717e76 (patch) | |
tree | 7a3d2f030eaca0af62804a9fd5de57f64476d406 /net/lapb/lapb_timer.c | |
parent | eff0c286aa916221a69126a43eee7c218d6f4011 (diff) |
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 <Frank.Li@nxp.com>
[mani: removed one spurious change and reworded the commit message]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Niklas Cassel <cassel@kernel.org>
Link: https://patch.msgid.link/20250710-ep-msi-v21-7-57683fc7fb25@nxp.com
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions