Skip to content

Commit a1b3695

Browse files
xliyujonmason
authored andcommitted
NTB: Add support for AMD PCI-Express Non-Transparent Bridge
This adds support for AMD's PCI-Express Non-Transparent Bridge (NTB) device on the Zeppelin platform. The driver connnects to the standard NTB sub-system interface, with modification to add hooks for power management in a separate patch. The AMD NTB device has 3 memory windows, 16 doorbell, 16 scratch-pad registers, and supports up to 16 PCIe lanes running a Gen3 speeds. Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com> Reviewed-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
1 parent 8a7b6a7 commit a1b3695

File tree

7 files changed

+1376
-0
lines changed

7 files changed

+1376
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7586,6 +7586,12 @@ W: https://github.com/jonmason/ntb/wiki
75867586
T: git git://github.com/jonmason/ntb.git
75877587
F: drivers/ntb/hw/intel/
75887588

7589+
NTB AMD DRIVER
7590+
M: Xiangliang Yu <Xiangliang.Yu@amd.com>
7591+
L: linux-ntb@googlegroups.com
7592+
S: Supported
7593+
F: drivers/ntb/hw/amd/
7594+
75897595
NTFS FILESYSTEM
75907596
M: Anton Altaparmakov <anton@tuxera.com>
75917597
L: linux-ntfs-dev@lists.sourceforge.net

drivers/ntb/hw/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
source "drivers/ntb/hw/amd/Kconfig"
12
source "drivers/ntb/hw/intel/Kconfig"

drivers/ntb/hw/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
obj-$(CONFIG_NTB_AMD) += amd/
12
obj-$(CONFIG_NTB_INTEL) += intel/

drivers/ntb/hw/amd/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
config NTB_AMD
2+
tristate "AMD Non-Transparent Bridge support"
3+
depends on X86_64
4+
help
5+
This driver supports AMD NTB on capable Zeppelin hardware.
6+
7+
If unsure, say N.

drivers/ntb/hw/amd/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
obj-$(CONFIG_NTB_AMD) += ntb_hw_amd.o

0 commit comments

Comments
 (0)