| From a08a902d073305c5dc8e4af16fc443b53ff4bf35 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Mon, 3 Nov 2025 09:28:30 +0200 |
| Subject: Documentation: PCI: endpoint: Fix ntb/vntb copy & paste errors |
| |
| From: Baruch Siach <baruch@tkos.co.il> |
| |
| [ Upstream commit ad0c6da5be901f5c181490f683d22b416059bccb ] |
| |
| Fix copy & paste errors by changing the references from 'ntb' to 'vntb'. |
| |
| Fixes: 4ac8c8e52cd9 ("Documentation: PCI: Add specification for the PCI vNTB function device") |
| Signed-off-by: Baruch Siach <baruch@tkos.co.il> |
| [mani: squashed the patches and fixed more errors] |
| Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> |
| Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> |
| Reviewed-by: Frank Li <Frank.Li@nxp.com> |
| Link: https://patch.msgid.link/b51c2a69ffdbfa2c359f5cf33f3ad2acc3db87e4.1762154911.git.baruch@tkos.co.il |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| Documentation/PCI/endpoint/pci-vntb-howto.rst | 14 +++++++------- |
| 1 file changed, 7 insertions(+), 7 deletions(-) |
| |
| diff --git a/Documentation/PCI/endpoint/pci-vntb-howto.rst b/Documentation/PCI/endpoint/pci-vntb-howto.rst |
| index 9a7a2f0a68498..3679f5c302549 100644 |
| --- a/Documentation/PCI/endpoint/pci-vntb-howto.rst |
| +++ b/Documentation/PCI/endpoint/pci-vntb-howto.rst |
| @@ -52,14 +52,14 @@ pci-epf-vntb device, the following commands can be used:: |
| # cd /sys/kernel/config/pci_ep/ |
| # mkdir functions/pci_epf_vntb/func1 |
| |
| -The "mkdir func1" above creates the pci-epf-ntb function device that will |
| +The "mkdir func1" above creates the pci-epf-vntb function device that will |
| be probed by pci_epf_vntb driver. |
| |
| The PCI endpoint framework populates the directory with the following |
| configurable fields:: |
| |
| - # ls functions/pci_epf_ntb/func1 |
| - baseclass_code deviceid msi_interrupts pci-epf-ntb.0 |
| + # ls functions/pci_epf_vntb/func1 |
| + baseclass_code deviceid msi_interrupts pci-epf-vntb.0 |
| progif_code secondary subsys_id vendorid |
| cache_line_size interrupt_pin msix_interrupts primary |
| revid subclass_code subsys_vendor_id |
| @@ -111,13 +111,13 @@ A sample configuration for virtual NTB driver for virtual PCI bus:: |
| # echo 0x080A > functions/pci_epf_vntb/func1/pci_epf_vntb.0/vntb_pid |
| # echo 0x10 > functions/pci_epf_vntb/func1/pci_epf_vntb.0/vbus_number |
| |
| -Binding pci-epf-ntb Device to EP Controller |
| +Binding pci-epf-vntb Device to EP Controller |
| -------------------------------------------- |
| |
| NTB function device should be attached to PCI endpoint controllers |
| connected to the host. |
| |
| - # ln -s controllers/5f010000.pcie_ep functions/pci-epf-ntb/func1/primary |
| + # ln -s controllers/5f010000.pcie_ep functions/pci_epf_vntb/func1/primary |
| |
| Once the above step is completed, the PCI endpoint controllers are ready to |
| establish a link with the host. |
| @@ -139,7 +139,7 @@ lspci Output at Host side |
| ------------------------- |
| |
| Note that the devices listed here correspond to the values populated in |
| -"Creating pci-epf-ntb Device" section above:: |
| +"Creating pci-epf-vntb Device" section above:: |
| |
| # lspci |
| 00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0000 (rev 01) |
| @@ -152,7 +152,7 @@ lspci Output at EP Side / Virtual PCI bus |
| ----------------------------------------- |
| |
| Note that the devices listed here correspond to the values populated in |
| -"Creating pci-epf-ntb Device" section above:: |
| +"Creating pci-epf-vntb Device" section above:: |
| |
| # lspci |
| 10:00.0 Unassigned class [ffff]: Dawicontrol Computersysteme GmbH Device 1234 (rev ff) |
| -- |
| 2.51.0 |
| |