]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_hw_amd: Add memory window support for new AMD hardware
authorSanjay R Mehta <sanju.mehta@amd.com>
Sun, 15 Sep 2019 17:08:35 +0000 (17:08 +0000)
committerJon Mason <jdmason@kudzu.us>
Mon, 23 Sep 2019 21:20:40 +0000 (17:20 -0400)
commitb72ec84e1aa83971ec85b7cb134e1b8f3f03fefb
tree1b6f267d37d1d97ccbee5ca6e96fe9d304db9eb6
parent5d5bb863055c5817777a779957f1c3f71f5aa3de
ntb_hw_amd: Add memory window support for new AMD hardware

The AMD new hardware uses BAR23 and BAR45 as memory windows
as compared to previos where BAR1, BAR23 and BAR45 is used
for memory windows.

This patch add support for both AMD hardwares.

Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c
drivers/ntb/hw/amd/ntb_hw_amd.h