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

William Tu witu at nvidia.com
Wed Sep 11 20:57:37 UTC 2024


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 at nvidia.com>
Signed-off-by: William Tu <witu at nvidia.com>
Signed-off-by: Sergey Gorenko <sergeygo at nvidia.com>
---
 debian.bluefield/config/annotations | 2 ++
 1 file changed, 2 insertions(+)

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': '-'}>
-- 
2.34.1




More information about the kernel-team mailing list