summaryrefslogtreecommitdiffstats
path: root/drivers/ntb/hw/Kconfig
diff options
context:
space:
mode:
authorSerge Semin2017-04-12 14:44:45 +0200
committerJon Mason2017-07-06 17:30:07 +0200
commitbf2a952d31d2cd28bb3454f15645a76fda70addd (patch)
tree7fc4c513215f58677619219c87875c5ea86fb656 /drivers/ntb/hw/Kconfig
parentntb_hw_intel: Style fixes: open code macros that just obfuscate code (diff)
downloadkernel-qcow2-linux-bf2a952d31d2cd28bb3454f15645a76fda70addd.tar.gz
kernel-qcow2-linux-bf2a952d31d2cd28bb3454f15645a76fda70addd.tar.xz
kernel-qcow2-linux-bf2a952d31d2cd28bb3454f15645a76fda70addd.zip
NTB: Add IDT 89HPESxNTx PCIe-switches support
IDT 89HPESxNTx device series is PCIe-switches, which support Non-Transparent bridging between domains connected to the device ports. Since new NTB API exposes multi-port interface and messaging API, the IDT NT-functions can be now supported in the kernel. This driver adds the following functionality: 1) Multi-port NTB API to have information of possible NT-functions activated in compliance with available device ports. 2) Memory windows of direct and look up table based address translation with all possible combinations of BARs setup. 3) Traditional doorbell NTB API. 4) One-on-one messaging NTB API. There are some IDT PCIe-switch setups, which must be done before any of the NTB peers started. It can be performed either by system BIOS via IDT SMBus-slave interface or by pre-initialized IDT PCIe-switch EEPROM: 1) NT-functions of corresponding ports must be activated using SWPARTxCTL and SWPORTxCTL registers. 2) BAR0 must be configured to expose NT-function configuration registers map. 3) The rest of the BARs must have at least one memory window configured, otherwise the driver will just return an error. Temperature sensor of IDT PCIe-switches can be also optionally activated by BIOS or EEPROM. (See IDT documentations for details of how the pre-initialization can be done) Signed-off-by: Serge Semin <fancer.lancer@gmail.com> Acked-by: Allen Hubbe <Allen.Hubbe@dell.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/hw/Kconfig')
-rw-r--r--drivers/ntb/hw/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ntb/hw/Kconfig b/drivers/ntb/hw/Kconfig
index 7116472b4625..a89243c9fdd3 100644
--- a/drivers/ntb/hw/Kconfig
+++ b/drivers/ntb/hw/Kconfig
@@ -1,2 +1,3 @@
source "drivers/ntb/hw/amd/Kconfig"
+source "drivers/ntb/hw/idt/Kconfig"
source "drivers/ntb/hw/intel/Kconfig"