diff mbox series

[SRU,J:linux-bluefield,v3,6/6] UBUNTU: [Config] bluefield: add config for VFIO P2P

Message ID 20240906194908.1127733-7-witu@nvidia.com
State New
Headers show
Series Add VFIO P2P support | expand

Commit Message

William Tu Sept. 6, 2024, 7:49 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2077887

Addd CONFIG_PCI_P2PDMA and CONFIG_DMABUF_MOVE_NOTIFY.

PCI_P2PDMA enables support for p2p DMA transactions.
DMABUF provides two ways to share a buffer between kernel drivers.
CONFIG_DMABUF_MOVE_NOTIFY enables the dynamic way for DMABUF APIs,
so no need to pin the memory.

Co-authored-by: Sergey Gorenko <sergeygo@nvidia.com>
Signed-off-by: William Tu <witu@nvidia.com>
Signed-off-by: Sergey Gorenko <sergeygo@nvidia.com>
---
 debian.bluefield/config/annotations | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/debian.bluefield/config/annotations b/debian.bluefield/config/annotations
index 553d4d84c1d3..2f405bdb9745 100644
--- a/debian.bluefield/config/annotations
+++ b/debian.bluefield/config/annotations
@@ -211,6 +211,7 @@  CONFIG_DE2104X                                  policy<{'arm64': '-'}>
 CONFIG_DE2104X_DSL                              policy<{'arm64': '-'}>
 CONFIG_DL2K                                     policy<{'arm64': '-'}>
 CONFIG_DM9102                                   policy<{'arm64': '-'}>
+CONFIG_DMABUF_MOVE_NOTIFY                       policy<{'arm64': 'y'}>
 CONFIG_DNET                                     policy<{'arm64': 'n'}>
 CONFIG_DPAA_ERRATUM_A050385                     policy<{'arm64': '-'}>
 CONFIG_DPLL                                     policy<{'arm64': 'y'}>
@@ -807,6 +808,7 @@  CONFIG_OCTEONTX2_PF                             policy<{'arm64': '-'}>
 CONFIG_OCTEONTX2_VF                             policy<{'arm64': '-'}>
 CONFIG_OWL_EMAC                                 policy<{'arm64': '-'}>
 CONFIG_PARMAN                                   policy<{'arm64': '-'}>
+CONFIG_PCI_P2PDMA                               policy<{'arm64': 'y'}>
 CONFIG_PCMCIA_XIRCOM                            policy<{'arm64': '-'}>
 CONFIG_PCNET32                                  policy<{'arm64': '-'}>
 CONFIG_PCS_LYNX                                 policy<{'arm64': '-'}>